/*
 * Wildcard AEO - Collection hero block styles.
 *
 * Inherits font, color, and background from the merchant's theme
 * (no `font-family`, `color`, or `background` rules here) so the
 * block reads as native theme content. Only structural rules
 * (spacing, heading rhythm, comfortable measure) live here.
 */

.wildcard-aeo-collection-hero {
  margin: 1.25rem 0;
}

.wildcard-aeo-collection-hero__heading {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.wildcard-aeo-collection-hero__body {
  margin: 0;
  line-height: 1.55;
  max-width: 60ch;
}

/*
 * Some themes justify body copy (`p { text-align: justify }` or a
 * section-level rule). Justified text in a 60ch measure opens rivers
 * of whitespace, and merchants can't restyle an app block's text, so
 * pin the alignment. The doubled class outranks typical theme
 * selectors like `.section p`; `start` keeps RTL storefronts right.
 */
.wildcard-aeo-collection-hero .wildcard-aeo-collection-hero__heading,
.wildcard-aeo-collection-hero .wildcard-aeo-collection-hero__body {
  text-align: start;
  text-align-last: auto;
}
