/* EBF homepage slider — mid size v3 (2026-11-16).
   Between the original small card and v2. Keeps two-column hero
   (intro left, slider right). Does not change intro title font-size
   (must stay the original clamp). Mobile / <1100px unchanged.
*/

/* 1280-class desktops: card ~638px, image ~604×358 (midway). */
@media (min-width: 1100px) {
  html body .hero > .wrap {
    max-width: 1320px;
    width: 100%;
  }
  html body .hero-grid {
    grid-template-columns: minmax(420px, 1fr) 638px;
    gap: 56px;
    align-items: center;
  }
  html body .hero-card-img[style*="url("] {
    height: 358px !important;
    aspect-ratio: auto;
  }
}

/* Mid-wide: slightly larger card, still leave the intro a generous column. */
@media (min-width: 1440px) {
  html body .hero > .wrap {
    max-width: 1480px;
  }
  html body .hero-grid {
    grid-template-columns: minmax(520px, 1fr) 700px;
    gap: 52px;
  }
  html body .hero-card-img[style*="url("] {
    height: auto !important;
    aspect-ratio: 16 / 9;
  }
}

/* 1920-class: card ~750px. Do not cap the wrap at 1400px (original wrap is
   ~1560px here) and do not override .hero-title — the original heading
   is ~74.8px and must not shrink. */
@media (min-width: 1600px) {
  html body section.hero > .wrap {
    max-width: 1560px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  html body .hero-grid {
    grid-template-columns: minmax(640px, 1fr) 750px;
    gap: 48px;
  }
  html body .hero-card-img[style*="url("] {
    height: auto !important;
    aspect-ratio: 16 / 9;
  }
}
