/* Homepage isolated CSS 2026-11-20b. Does not overwrite Wave 1 QA styles.css. */

/* Must-fix 1: static Hero lead — hide carousel controls when only the harbour slide remains. */
.hero.hero-static .hero-controls,
.hero.hero-static #hero-prev,
.hero.hero-static #hero-next,
.hero.hero-static #hero-dots {
  display: none !important;
}

/* Layout only: at narrow widths, .home-club-media (aspect-ratio 16/10 + min-height 280px)
   grew wider than the card. Constrain it to the card width. Do not re-show 示意圖片 badges. */
body[data-page="home"] .home-club-card,
#home-club .home-club-card {
  min-width: 0;
  max-width: 100%;
}
body[data-page="home"] .home-club-media,
#home-club .home-club-media {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
@media (max-width: 879px) {
  body[data-page="home"] .home-club-media,
  #home-club .home-club-media {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 0;
    max-height: none;
    aspect-ratio: 16 / 10;
  }
}
