/* media (max-width: 1600px) — narrower-desktop tier, above the 991px
   stack breakpoint. Shrinks the slide photo's own column width so the
   410+660=1070px row doesn't crowd the viewport before the layout
   actually needs to stack. */

.home_hero-banner {
  --home-hero-banner-image-w: 360px;
}

.home_hero-banner__slide {
  padding-top: 25px;
}

/* slide.banner_image_style == 'medium' — direct declaration on the
   element itself wins over the ancestor var above. */
.home_hero-banner__slide--image-medium .home_hero-banner__media {
  --home-hero-banner-image-w: 500px;
}

/* Below 1200px specifically - shrinks further on the way to the 991px
   stack breakpoint (360px here -> 290px -> tablet's own 280px). Not
   touched for .home_hero-banner__slide--image-medium - that modifier's
   own direct declaration on .home_hero-banner__media already wins over
   this ancestor var regardless of breakpoint (see comment above). */
@media (max-width: 1200px) {
  .home_hero-banner {
    --home-hero-banner-image-w: 290px;
  }
}

@media (max-width: 1024px) {
  .home_hero-banner__slide--image-medium .home_hero-banner__media {
    --home-hero-banner-image-w: 400px;
  }

  /* field_title_description sits right beside the title (home_hero-
     banner.css's own .title-row) - padding-top:6px there nudges it to
     roughly the title's own cap-height baseline at the full desktop
     title size; nudged down further here since the card itself is
     narrower at this tier and the two read too close together. */
  .home_hero-banner__title-description {
    padding-top: 14px;
  }

  .home_hero-banner__title-row {
    flex-direction: column;
    gap: 0;
  }
}
