/* ============================================================
   Clubs page — hero + grid of all 31 associations
   ============================================================ */

/* Hero -------------------------------------------------------- */
.clubs-page-hero {
  padding: 96px 0 64px;
  background: var(--color-bg-pink, #FBEAEE);
  position: relative;
  overflow: hidden;
}

.clubs-page-hero-header {
  max-width: 880px;
  text-align: left;
}

.clubs-page-hero h1 {
  font-family: var(--font-display, "Inria Serif", serif);
  font-weight: 700;
  font-size: clamp(48px, 7vw, 96px);
  line-height: 1.02;
  color: var(--color-primary, #870B22);
  text-transform: uppercase;
  margin: 0 0 24px;
  letter-spacing: -0.02em;
}

.clubs-page-hero-sub {
  font-family: var(--font-body, "Instrument Sans", sans-serif);
  font-size: 20px;
  line-height: 32px;
  color: #3d0512;
  max-width: 720px;
  margin: 0;
}

/* Grid section ----------------------------------------------- */
.clubs-grid-section {
  padding: 64px 0 120px;
  background: #ffffff;
}

.clubs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 32px;
}

/* Override the carousel-oriented .club-card so it fits a grid cell */
.clubs-grid .club-card {
  flex: none;
  width: 100%;
  height: 504px;
}

/* Placeholder cards ------------------------------------------ */
.club-card-placeholder {
  opacity: 0.85;
}

.club-card-placeholder .club-logo {
  background: rgba(255, 255, 255, 0.9);
}

.club-card-placeholder .club-name {
  opacity: 0.8;
}

.club-card-placeholder::before {
  content: "Coming soon";
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 3;
  font-family: var(--font-body, "Instrument Sans", sans-serif);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 6px 10px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* Responsive -------------------------------------------------- */
@media (max-width: 900px) {
  .clubs-page-hero { padding: 72px 0 48px; }
  .clubs-page-hero h1 { font-size: 44px; }
  .clubs-page-hero-sub { font-size: 17px; line-height: 27px; }

  .clubs-grid-section { padding: 48px 0 80px; }
  .clubs-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
  .clubs-grid .club-card { height: 460px; }
}

@media (max-width: 520px) {
  .clubs-page-hero h1 { font-size: 36px; }
  .clubs-page-hero h1 br { display: none; }
  .clubs-grid { grid-template-columns: 1fr; }
  .clubs-grid .club-card { height: 440px; }
}
