/* RPK24 V1.5.12 — larger homepage HERO on phones ONLY.
   This stylesheet deliberately does not modify desktop/tablet layout, the news
   ticker, quick links, navigation, database, or slideshow JavaScript. */
@media (max-width: 600px) {
  /* The original image ratio (typically ~3:1) made the banner too shallow.
     A modest wider-than-video crop makes the banner noticeably taller while
     retaining most of the original artwork and central school title. */
  body.rpk-homepage .rpk24-hero-region .rpk24-hero {
    aspect-ratio: 2.20 / 1 !important;
    min-height: 170px !important;
    max-height: none !important;
    height: auto !important;
    border-radius: 0 !important;
    overflow: hidden !important;
  }
  body.rpk-homepage .rpk24-hero-region .rpk24-hero-track,
  body.rpk-homepage .rpk24-hero-region .rpk24-hero-slide {
    inset: 0 !important;
  }
  body.rpk-homepage .rpk24-hero-region .rpk24-hero-slide img.rpk24-hero-foreground {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    transform: none !important;
  }
  /* Smaller controls leave more of the enlarged artwork visible. */
  body.rpk-homepage .rpk24-hero-region .rpk24-hero-arrow {
    width: 30px !important;
    height: 30px !important;
    font-size: 12px !important;
    border-width: 1px !important;
    background: rgba(5, 35, 92, .72) !important;
  }
  body.rpk-homepage .rpk24-hero-region .rpk24-hero-prev { left: 5px !important; }
  body.rpk-homepage .rpk24-hero-region .rpk24-hero-next { right: 5px !important; }
  body.rpk-homepage .rpk24-hero-region .rpk24-hero-meta {
    min-height: 22px !important;
    padding: 3px 8px 5px !important;
  }
  body.rpk-homepage .rpk24-hero-region .rpk24-hero-dot {
    width: 12px !important;
    height: 6px !important;
  }
  body.rpk-homepage .rpk24-hero-region .rpk24-hero-dot.is-active { width: 24px !important; }
  /* Ensure the quick-access panel never covers the bottom of the banner. */
  body.rpk-homepage .rpk24-shortcuts-section { margin-top: 0 !important; }
}
