/* media (max-width: 991px) — no Figma tablet frame was supplied (project
   responsive:false). Per explicit request, this tier keeps the SAME
   side-by-side row layout as desktop (not a stack) all the way down to
   767px — only image width, card gap, and title font-size shrink to
   keep the row fitting without the content card having to do all the
   work via its own flex-shrink. Actual vertical stacking now happens at
   767px (home_hero-banner--mobile.css) instead of here. */

.home_hero-banner {
  --home-hero-banner-image-w: 280px;
  --home-hero-banner-card-gap: var(--sp6);
  /* Reduced from the base sp8 (30px) floor — the row layout is tighter
     here with the shrunk image/card, so this tier needs less of the
     section's own side padding than desktop does. */
  padding-right: var(--sp5);
  padding-left: var(--sp5);
}

.home_hero-banner__slide {
  padding: 40px 0 0;
}

/* slide.banner_image_style == 'medium' — scaled by the same ratio the
   default image width shrinks at this tier (280/360 of the max-1600
   value), direct declaration wins over the ancestor var above. */
.home_hero-banner__slide--image-medium .home_hero-banner__media {
  --home-hero-banner-image-w: 350px;
}

.home_hero-banner__inner {
  padding: 0 var(--sp6);
}

.home_hero-banner__content-inner {
  padding: var(--sp7) var(--sp6);
}

.home_hero-banner__desc {
  font-size: 16px;
}

.section-nav-wrapper {
  display: none;
}

/* Step cards (FASTR-style, .goal-card--step) drop their own per-card
   background/border/radius/padding starting at this tier (was ≤520px,
   moved wider per explicit request) - one full-width-ish card each
   already reads as a stack of flat bars at this width, not a grid, so
   each one carrying its own chrome looked redundant/heavy. That chrome
   moves up to the shared .goals wrapper instead (one panel around the
   whole list), :has()-scoped so a parent with no step cards (e.g. the
   plain 2-goal-card case) is completely unaffected. Number + label also
   goes row-wise (badge left, text after it) instead of stacked, like a
   plain list row instead of a mini standalone card. */
.home_hero-banner__goals:has(.home_hero-banner__goal-card--step) {
  flex-direction: column;
  /* home_hero-banner--mobile.css's own .goals{flex-wrap:wrap} (≤767px, a
     row-of-cards grid rule) would wrap this into a SECOND COLUMN instead
     once the list runs long, sitting the step rows side-by-side again -
     a single-column list never wraps. Specificity here (class+:has())
     already beats that plain class rule regardless of load order. */
  flex-wrap: nowrap;
  gap: 0;
  background: var(--home-hero-banner-goal-card-static-bg);
  border: 1px solid var(--home-hero-banner-goal-card-static-border-clr);
  border-radius: var(--home-hero-banner-goal-card-radius);
  padding: 12px;
}

.home_hero-banner__goal-card--step {
  flex: none;
  flex-direction: row;
  align-items: center;
  gap: var(--sp3);
  min-height: 0;
  padding: 5px 0;
  background: none;
  border-color: transparent;
  border-radius: 0;
}

.home_hero-banner__goal-card--step .home_hero-banner__goal-kicker {
  flex: none;
}

/* Motif stays visible here (unlike <=767px, see home_hero-banner--mobile.css)
   — the row layout persists at this tier, same as desktop, just shrunk. */
