/* ===================================================================
   BC DE IJSSEL - OFFICIELE HUISSTIJL (CLUBTENUE EDITIE)
   Geinspireerd op het officiele tenue van Badmintonclub De IJssel:
   - Primair (Krachtig Teal/Turquoise): #0da58e
   - Mint Groen Accent: #38d59f
   - Turquoise Aqua Accent: #51e3c2
   - Electric Cyan Accent: #66e8f6
   - Horizontale Lijn Accent: #3cd8a6
   - Neutraal Donker (Zwart / Slate / Antraciet): #000000 / #111827 / #374151
   - Neutraal Licht (Zacht Wit / IJsblauw-grijs): #ffffff / #f8fafc
   =================================================================== */

:root {
  --font-heading: 'Oswald', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Nieuwe Huisstijl Kleuren (Geinspireerd op het tenue logo & gradient) */
  --club-primary: #0da58e;
  --club-primary-dark: #087d6c;
  --club-primary-light: #e6faf5;
  --club-primary-hover: #099681;

  --club-mint: #38d59f;
  --club-turquoise: #51e3c2;
  --club-cyan: #66e8f6;
  --club-green-line: #3cd8a6;

  --club-accent: #38d59f;
  --club-accent-dark: #1fb884;
  --club-accent-light: #e2fbf3;
  --club-accent-cyan: #66e8f6;

  /* Huisstijl Gradients direct uit het tenue */
  --club-gradient-accent: linear-gradient(135deg, #38d59f 0%, #51e3c2 50%, #66e8f6 100%);
  --club-gradient-primary: linear-gradient(135deg, #0da58e 0%, #38d59f 100%);
  --club-gradient-hover: linear-gradient(135deg, #087d6c 0%, #2ec48e 100%);
  --club-gradient-subtle: linear-gradient(135deg, rgba(56, 213, 159, 0.12) 0%, rgba(102, 232, 246, 0.12) 100%);

  /* Aliassen voor naadloze compatibiliteit met alle bestaande stijlen */
  --club-red: var(--club-primary);
  --club-red-dark: var(--club-primary-dark);
  --club-red-light: var(--club-primary-light);
  --club-red-hover: var(--club-primary-hover);
  
  --club-black: #000000;
  --club-black-soft: #111827;
  --club-black-card: #1a1a1a;
  --club-slate-dark: #374151;
  
  --bg-light: #f8f9fa;
  --bg-white: #ffffff;
  --border-light: #e5e7eb;
  --border-dark: #27272a;
  
  --text-dark: #1f2937;
  --text-muted: #4b5563;
  --text-white: #ffffff;
  
  /* Afronding & Schaduwen */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 14px rgba(0,0,0,0.1);
  --shadow-lg: 0 12px 24px -4px rgba(0,0,0,0.15);
  
  --transition: all 0.22s ease-in-out;
  --container-max: 1220px;
}

/* Reset & Basis Typografie */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  scroll-padding-top: 100px;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--club-black);
  line-height: 1.2;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* ================= Top Bar (Submenu balk) ================= */
.top-notice-bar {
  background-color: #ffffff;
  border-bottom: 2px solid #e5e7eb;
  color: #374151;
  font-size: 0.85rem;
  padding: 0.45rem 0;
}

.top-notice-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.top-badge-red {
  background: linear-gradient(135deg, #0da58e 0%, #38d59f 100%);
  color: #ffffff;
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-weight: 600;
  font-size: 0.75rem;
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-sm);
  letter-spacing: 0.5px;
}

/* ================= Header & Logo Ribbon ================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #ffffff;
  transition: var(--transition);
  border-bottom: 3px solid var(--club-mint);
}

.site-header.scrolled {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.header-top-brand {
  background-color: #ffffff;
  padding: 0.85rem 0;
}

.header-top-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand-logo-img {
  height: 60px;
  width: auto;
  object-fit: contain;
}

/* De authentieke ribbon in tenue gradient stijl */
.brand-ribbon {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, #0da58e 0%, #38d59f 100%);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.4rem 1.2rem;
  position: relative;
  letter-spacing: 0.5px;
  border-radius: 2px;
  box-shadow: 0 2px 8px rgba(13, 165, 142, 0.25);
}

.brand-ribbon::after {
  content: '';
  position: absolute;
  left: 100%;
  top: 0;
  border-width: 21px 0 21px 12px;
  border-style: solid;
  border-color: transparent transparent transparent #38d59f;
}

/* ================= Zwarte Hoofdnavigatiebalk (Huisstijl) ================= */
.navbar-black {
  background-color: var(--club-black);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 52px;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  height: 100%;
  margin: 0;
  padding: 0;
  gap: 0;
  flex-wrap: wrap;
}

.nav-menu li {
  height: 100%;
  display: flex;
  align-items: center;
}

.nav-link {
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  color: #ffffff;
  padding: 0.85rem 1rem;
  height: 100%;
  display: flex;
  align-items: center;
  position: relative;
  transition: var(--transition);
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  background: linear-gradient(135deg, #0da58e 0%, #38d59f 100%);
  color: #ffffff;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background-color: var(--club-cyan);
}

.nav-cta-btn {
  background: linear-gradient(135deg, #0da58e 0%, #38d59f 100%);
  color: #ffffff;
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  letter-spacing: 0.5px;
  transition: var(--transition);
  white-space: nowrap;
}

.nav-cta-btn:hover {
  background: linear-gradient(135deg, #087d6c 0%, #2ec48e 100%);
  box-shadow: 0 4px 14px rgba(56, 213, 159, 0.4);
}

/* ================= Subpagina Header Banner ================= */
.page-hero {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 60%, #111111 100%);
  color: #ffffff;
  padding: 3.5rem 0 3.75rem;
  border-bottom: 4px solid var(--club-mint);
  position: relative;
}

.page-hero-title {
  color: #ffffff;
  font-size: 2.8rem;
  margin-bottom: 0.5rem;
}

.page-hero-desc {
  font-size: 1.1rem;
  color: #d1d5db;
  max-width: 650px;
}

.breadcrumb-trail {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #9ca3af;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  font-family: var(--font-heading);
  letter-spacing: 0.5px;
}

.breadcrumb-trail a {
  color: #d1d5db;
}

.breadcrumb-trail a:hover {
  color: var(--club-red);
}

.breadcrumb-sep {
  color: var(--club-red);
}

.nav-toggle-btn {
  display: none;
  background: transparent;
  border: none;
  color: #ffffff;
  cursor: pointer;
  padding: 0.5rem;
}

/* ================= Knoppen ================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-align: center;
}

.btn-red {
  background: linear-gradient(135deg, #0da58e 0%, #38d59f 100%);
  color: #ffffff;
  border: 2px solid transparent;
}

.btn-red:hover {
  background: linear-gradient(135deg, #087d6c 0%, #2ec48e 100%);
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(56, 213, 159, 0.4);
}

.btn-black {
  background-color: var(--club-black);
  color: #ffffff;
  border: 2px solid var(--club-black);
}

.btn-black:hover {
  background-color: #27272a;
  border-color: #27272a;
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.btn-outline-white:hover {
  background: #ffffff;
  color: var(--club-black);
  transform: translateY(-2px);
}

/* ================= Hero Section (Huisstijl Sporty) ================= */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, #0a0a0a 0%, #1f1f1f 60%, #141414 100%);
  color: #ffffff;
  padding: 5rem 0 5.5rem;
  border-bottom: 5px solid var(--club-red);
  overflow: hidden;
}

.hero-diagonal-pattern {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.02) 0, rgba(255, 255, 255, 0.02) 1px, transparent 0, transparent 24px);
  opacity: 0.8;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3.5rem;
  position: relative;
  z-index: 2;
}

.hero-subtitle-tag {
  display: inline-block;
  background: var(--club-red);
  color: #ffffff;
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 0.35rem 0.9rem;
  border-radius: 2px;
  margin-bottom: 1.25rem;
}

.hero-title {
  color: #ffffff;
  font-size: 3.4rem;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.hero-title span {
  color: var(--club-red);
}

.hero-lead {
  font-size: 1.15rem;
  color: #d1d5db;
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-stats-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-stat-val {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--club-red);
  line-height: 1;
}

.hero-stat-lbl {
  font-size: 0.85rem;
  color: #9ca3af;
  text-transform: uppercase;
  font-family: var(--font-heading);
  letter-spacing: 0.5px;
}

/* Hero Feature Kaart */
.hero-match-box {
  background: #ffffff;
  border-radius: var(--radius-sm);
  border-top: 4px solid var(--club-mint);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  color: var(--text-dark);
  padding: 2rem;
}

.hero-match-box-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  text-transform: uppercase;
  color: var(--club-black);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #f3f4f6;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.badge-tag {
  background-color: var(--club-black);
  color: #ffffff;
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  border-radius: 2px;
}

.schedule-quick-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.75rem 0;
  border-bottom: 1px dashed #e5e7eb;
}

.schedule-quick-item:last-child {
  border-bottom: none;
}

.schedule-quick-icon {
  background-color: var(--club-red-light);
  color: var(--club-red);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* ================= Algemene Secties ================= */
.section {
  padding: 5rem 0;
}

.section-white {
  background-color: #ffffff;
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem;
}

.section-title {
  font-size: 2.4rem;
  margin-bottom: 0.65rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #0da58e 0%, #38d59f 50%, #66e8f6 100%);
  margin: 0.65rem auto 0;
  border-radius: 2px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-top: 1rem;
}

/* ================= USP Grid ================= */
.usp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}

.usp-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 2.25rem 1.75rem;
  border-top: 3px solid var(--club-black);
  transition: var(--transition);
  position: relative;
}

.usp-card:hover {
  border-top-color: var(--club-red);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.usp-icon {
  width: 52px;
  height: 52px;
  background-color: var(--club-black);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
  transition: var(--transition);
}

.usp-card:hover .usp-icon {
  background-color: var(--club-red);
}

.usp-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.65rem;
}

.usp-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* ================= Speeltijden & Locatie ================= */
.schedule-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: stretch;
}

.info-card-box {
  background: #ffffff;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  border-top: 4px solid var(--club-mint);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.venue-photo {
  margin: 1.5rem 0 0;
}

.venue-photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
}

.time-banner-red {
  background: linear-gradient(135deg, #0da58e 0%, #38d59f 100%);
  color: #ffffff;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  margin: 1.25rem 0;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.time-banner-red strong {
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-size: 1.25rem;
  display: block;
  letter-spacing: 0.5px;
}

.court-list {
  list-style: none;
  margin: 1rem 0 1.5rem;
}

.court-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.95rem;
}

.court-badge-black {
  background-color: var(--club-black);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  padding: 0.2rem 0.55rem;
  border-radius: 2px;
  white-space: nowrap;
}

.map-container {
  border: 1px solid var(--border-light);
  border-top: 4px solid var(--club-black);
  background: #ffffff;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.map-iframe-wrap {
  width: 100%;
  height: 250px;
  background-color: #e5e7eb;
}

.map-iframe-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.map-details {
  padding: 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* ================= Lidmaatschap & Contributie ================= */
.pricing-switcher {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.switch-btn {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: #e5e7eb;
  border: none;
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  color: #374151;
  cursor: pointer;
  transition: var(--transition);
}

.switch-btn.active {
  background: var(--club-red);
  color: #ffffff;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.pricing-card {
  background: #ffffff;
  border-radius: var(--radius-sm);
  border: 2px solid var(--border-light);
  padding: 2.5rem 2rem;
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}

.pricing-card.featured {
  border-color: var(--club-mint);
  box-shadow: var(--shadow-lg);
}

.pricing-tag {
  position: absolute;
  top: -14px;
  right: 20px;
  background: linear-gradient(135deg, #0da58e 0%, #38d59f 100%);
  color: #ffffff;
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 0.25rem 0.85rem;
  border-radius: 2px;
}

.pricing-price {
  margin: 1.25rem 0;
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
}

.home-pricing-price {
  margin-bottom: 0.25rem;
  flex-wrap: wrap;
}

.price-year-summary {
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.price-currency {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--club-black);
}

.price-num {
  font-family: var(--font-heading);
  font-size: 3.4rem;
  font-weight: 700;
  color: var(--club-black);
  letter-spacing: -1px;
}

.price-period {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.pricing-list {
  list-style: none;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.pricing-list li {
  padding: 0.55rem 0;
  border-bottom: 1px solid #f3f4f6;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.pricing-list li::before {
  content: '';
  color: var(--club-red);
  font-weight: bold;
}

.bank-info-box {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-left: 5px solid var(--club-red);
  padding: 1.5rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

/* ================= Training & Teams ================= */
.teams-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.75rem;
  margin-bottom: 3.5rem;
}

.team-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 1.75rem;
  border-top: 4px solid var(--club-mint);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.team-card:hover {
  border-top-color: var(--club-cyan);
  transform: translateY(-4px);
  box-shadow: 0 10px 24px -4px rgba(56, 213, 159, 0.25);
}

.team-division-badge {
  font-family: var(--font-heading);
  background: linear-gradient(135deg, #e6faf5 0%, #e2fbf3 100%);
  color: #087d6c;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 9999px;
  display: inline-block;
  border: 1px solid #51e3c2;
}

.team-type-badge {
  font-family: var(--font-heading);
  background-color: #f1f5f9;
  color: #475569;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 8px;
  border-radius: 4px;
  display: inline-block;
}

.team-specs-list {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
  font-size: 0.86rem;
  color: #4b5563;
  line-height: 1.7;
}

.team-specs-list li {
  padding: 4px 0;
  border-bottom: 1px dashed #f1f5f9;
}

.team-specs-list li:last-child {
  border-bottom: none;
}

/* Team Showcase Card (Tenue & Foto) */
.team-showcase-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-top: 4px solid var(--club-primary);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 3rem;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
}

.team-showcase-body {
  padding: 2.5rem;
}

.team-showcase-img-wrap {
  background: #0b1320;
  padding: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 380px;
}

.team-showcase-img {
  max-width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
  display: block;
}

@media (max-width: 900px) {
  .team-showcase-card {
    grid-template-columns: 1fr;
  }
  .team-showcase-body {
    padding: 2rem 1.5rem;
  }
  .team-showcase-img-wrap {
    min-height: auto;
    padding: 1.25rem 1rem;
  }
}

/* ================= Team Authentic Detail Pagina ================= */
.team-tabs-container {
  max-width: 960px;
  margin: 0 auto 3.5rem;
}

.team-nav-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0;
  flex-wrap: wrap;
  border-bottom: 2px solid #e2e8f0;
}

.team-tab-btn {
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #cbd5e1;
  border-bottom: none;
  padding: 0.85rem 1.75rem;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.5px;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  top: 2px;
}

.team-tab-btn:hover {
  background: var(--club-primary-light);
  color: var(--club-primary);
}

.team-tab-btn.active {
  background: var(--club-black);
  color: #ffffff;
  border-color: var(--club-black);
}

.team-tab-panel {
  display: none;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-top: none;
  box-shadow: var(--shadow-sm);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

.team-tab-panel.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

.team-header-bar {
  background-color: var(--club-black);
  color: #ffffff;
  padding: 1.15rem 1.75rem;
  position: relative;
  text-align: left;
}

.team-header-bar h2 {
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 1.75rem;
  margin: 0;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.team-header-bar::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 14px 14px 0 14px;
  border-style: solid;
  border-color: var(--club-black) transparent transparent transparent;
  z-index: 2;
}

.team-content-body {
  padding: 2.5rem 2.25rem 2rem;
  font-size: 1rem;
  color: #374151;
  line-height: 1.8;
}

.team-players-table {
  width: 100%;
  max-width: 600px;
  border-collapse: collapse;
  margin: 1.5rem 0 2rem;
  font-size: 0.96rem;
}

.team-players-table tr {
  border-bottom: 1px solid #f1f5f9;
}

.team-players-table tr:last-child {
  border-bottom: none;
}

.team-players-table td {
  padding: 0.45rem 0.5rem 0.45rem 0;
  vertical-align: middle;
}

.team-players-table .role-cell {
  width: 80px;
  color: #4b5563;
}

.team-players-table .name-cell {
  font-weight: 600;
  color: #111827;
}

.team-players-table .bond-cell {
  color: #6b7280;
  text-align: right;
  font-family: inherit;
  font-variant-numeric: tabular-nums;
}

.team-photo-wrapper {
  margin: 2rem 0 1rem;
}

.team-photo-img {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  display: block;
  border: 1px solid var(--border-light);
}

.team-caption {
  font-size: 0.92rem;
  color: #4b5563;
  margin-top: 0.85rem;
  line-height: 1.6;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.trainer-section-box {
  background: var(--club-black);
  color: #ffffff;
  border-radius: var(--radius-sm);
  padding: 3rem;
  display: grid;
  grid-template-columns: 0.3fr 1fr;
  align-items: center;
  gap: 2.5rem;
  border-left: 6px solid var(--club-red);
}

.trainer-avatar {
  width: 120px;
  height: 120px;
  background-color: #27272a;
  border: 3px solid var(--club-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  margin: 0 auto;
}

/* ================= Fotogalerij ================= */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  background-color: var(--club-black);
  border: 2px solid var(--club-black);
}

.gallery-item:hover {
  border-color: var(--club-red);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13, 165, 142, 0.9) 0%, rgba(56, 213, 159, 0.85) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  color: #ffffff;
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

/* ================= Bestuur ================= */
.board-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

@media (max-width: 900px) {
  .board-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .board-grid {
    grid-template-columns: 1fr;
  }
}

.board-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 1.75rem 1.25rem;
  text-align: center;
  border-bottom: 3px solid var(--club-black);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  height: 100%;
}

.board-card:hover {
  border-bottom-color: var(--club-mint);
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

.board-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0da58e 0%, #38d59f 100%);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.85rem;
  box-shadow: 0 4px 12px rgba(56, 213, 159, 0.35);
}

.board-card h4 {
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}

.board-role {
  font-size: 0.85rem;
  color: var(--club-red);
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-weight: 600;
}

/* ================= FAQ Accordion ================= */
.faq-wrap {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active {
  border-left: 4px solid var(--club-red);
}

.faq-question {
  width: 100%;
  padding: 1.15rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--club-black);
}

.faq-chevron {
  transition: transform 0.3s ease;
  color: var(--club-red);
  font-size: 0.9rem;
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.3s ease;
  padding: 0 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  max-height: 400px;
  padding: 0 1.5rem 1.25rem;
}

/* ================= Contact Sectie ================= */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3.5rem;
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.25rem;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-left: 4px solid var(--club-red);
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
}

.form-box {
  background: #ffffff;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  border-top: 4px solid var(--club-red);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: var(--club-black);
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background-color: #fafafa;
  color: var(--club-black);
  transition: var(--transition);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--club-red);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(13, 124, 113, 0.18);
}

.form-textarea {
  resize: vertical;
  min-height: 110px;
}

.form-alert {
  display: none;
  padding: 1rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
  font-weight: 600;
}

.form-alert.success {
  display: block;
  background-color: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
}

/* ================= Footer (Huisstijl Zwart met Rood) ================= */
.site-footer {
  background-color: var(--club-black);
  color: #9ca3af;
  padding: 4.5rem 0 2rem;
  border-top: 4px solid var(--club-red);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1.2rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--club-red);
  display: inline-block;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.65rem;
}

.footer-links a {
  color: #d1d5db;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--club-red);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid #27272a;
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-content {
  max-width: 90vw;
  max-height: 85vh;
  position: relative;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 85vh;
  border: 3px solid var(--club-red);
  border-radius: var(--radius-sm);
}

.lightbox-close {
  position: absolute;
  top: -45px;
  right: 0;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 2.2rem;
  cursor: pointer;
}

/* ================= Sponsoren Fade Slider ================= */
.sponsors-section {
  background-color: #ffffff;
  padding: 4.5rem 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 3px solid var(--club-red);
}

.sponsors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1140px;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .sponsors-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .sponsors-grid {
    grid-template-columns: 1fr;
  }
}

.sponsor-slider-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  max-width: 1140px;
  margin: 0 auto;
  position: relative;
  min-height: 310px;
}

.sponsor-slide {
  grid-area: 1 / 1 / 2 / 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.75s ease-in-out, visibility 0.75s ease-in-out, transform 0.75s ease-in-out;
  transform: scale(0.98);
}

.sponsor-slide .sponsor-card {
  width: 100%;
}

@media (max-width: 900px) {
  .sponsor-slide {
    grid-template-columns: repeat(2, 1fr);
  }
  .sponsor-slider-wrapper {
    min-height: 460px;
  }
}

@media (max-width: 600px) {
  .sponsor-slide {
    grid-template-columns: 1fr;
  }
  .sponsor-slider-wrapper {
    min-height: 880px;
  }
}

.sponsor-slide.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: scale(1);
}

.sponsor-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-sm);
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 135px;
  transition: var(--transition);
  text-align: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.sponsor-card:hover {
  border-color: var(--club-red);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.sponsor-logo {
  max-height: 60px;
  max-width: 170px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: var(--transition);
}

.sponsor-card:hover .sponsor-logo {
  transform: scale(1.06);
}

.sponsor-name {
  margin-top: 0.75rem;
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 700;
  color: #4b5563;
  letter-spacing: 0.5px;
}

.sponsor-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 2rem;
}

.sponsor-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #d1d5db;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}

.sponsor-dot.active {
  background-color: var(--club-red);
  transform: scale(1.25);
}

@media (max-width: 900px) {
  .sponsor-slide {
    flex-wrap: wrap;
  }
  .sponsor-slide .sponsor-card {
    flex: 0 1 calc(50% - 1rem);
    max-width: none;
  }
}

@media (max-width: 600px) {
  .sponsor-slide .sponsor-card {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

/* Responsiviteit */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-title {
    font-size: 2.75rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .trainer-section-box {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .brand-ribbon {
    font-size: 1.15rem;
    padding: 0.3rem 0.8rem;
  }
  .brand-ribbon::after {
    border-width: 16px 0 16px 10px;
  }
  .brand-logo-img {
    height: 48px;
  }
  .navbar-black {
    position: relative;
  }
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--club-black);
    flex-direction: column;
    align-items: stretch;
    height: auto;
    padding: 0.5rem 0;
    border-bottom: 4px solid var(--club-red);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    display: none;
    z-index: 999;
  }
  .nav-menu.open {
    display: flex;
  }
  .nav-menu li {
    height: auto;
  }
  .nav-link {
    padding: 0.85rem 1.5rem;
  }
  .nav-toggle-btn {
    display: block;
  }
  .nav-cta-btn {
    display: none;
  }
  .schedule-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .hero-stats-bar {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}


/* ==========================================================================
   Captcha Anti-Spam Styling (BC De IJssel)
   ========================================================================== */
.captcha-group {
  margin-top: 1.25rem;
  margin-bottom: 1.25rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 4px solid var(--club-mint, #38d59f);
  padding: 1.15rem 1.25rem;
  border-radius: var(--radius-sm, 6px);
}

.captcha-label {
  display: block;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--club-black, #111827);
  margin-bottom: 0.5rem;
}

.captcha-box {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.captcha-question {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 1rem;
  font-weight: 600;
  color: #1f2937;
  background: #ffffff;
  padding: 0.45rem 0.85rem;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
}

.captcha-badge {
  background: linear-gradient(135deg, #0da58e 0%, #38d59f 100%);
  color: #ffffff;
  padding: 2px 7px;
  border-radius: 3px;
  font-family: var(--font-heading, 'Oswald', sans-serif);
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.2;
}

.captcha-input {
  width: 95px !important;
  text-align: center;
  font-size: 1.15rem !important;
  font-weight: 700 !important;
  color: var(--club-black, #111827) !important;
  padding: 0.5rem 0.6rem !important;
  border: 2px solid var(--club-primary, #0da58e) !important;
  border-radius: 4px !important;
  background: #ffffff !important;
}

.captcha-input:focus {
  outline: none !important;
  border-color: var(--club-mint, #38d59f) !important;
  box-shadow: 0 0 0 3px rgba(56, 213, 159, 0.25) !important;
}

.btn-refresh-captcha {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: var(--club-primary, #0da58e);
  font-size: 1.25rem;
  line-height: 1;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  user-select: none;
}

.btn-refresh-captcha:hover {
  background: var(--club-primary, #0da58e);
  color: #ffffff;
  border-color: var(--club-primary, #0da58e);
  transform: rotate(180deg);
}

.bc-hidden-hp {
  display: none !important;
  visibility: hidden !important;
  position: absolute !important;
  left: -9999px !important;
}

.captcha-hint {
  font-size: 0.8rem;
  color: #6b7280;
  margin-top: 0.4rem;
  display: block;
}


/* ==========================================================================
   Full-Width Canvas & WordPress Block Theme Override (Twenty Twenty-Five etc.)
   ========================================================================== */

/* Verberg thema header, post-titel en thema footer op alle BC De IJssel pagina's */
body.bc-deijssel-active-page header.wp-block-template-part,
body.bc-deijssel-active-page .wp-block-post-title,
body.bc-deijssel-active-page footer.wp-block-template-part,
body:has(#bc-deijssel-wrapper) header.wp-block-template-part,
body:has(#bc-deijssel-wrapper) .wp-block-post-title,
body:has(#bc-deijssel-wrapper) footer.wp-block-template-part,
body:has(.site-header) header.wp-block-template-part,
body:has(.site-header) .wp-block-post-title,
body:has(.site-header) footer.wp-block-template-part,
body:has(.brand-ribbon) header.wp-block-template-part,
body:has(.brand-ribbon) .wp-block-post-title,
body:has(.brand-ribbon) footer.wp-block-template-part,
body.page-template-elementor_canvas header.wp-block-template-part,
body.page-template-elementor_canvas .wp-block-post-title,
body.page-template-elementor_canvas footer.wp-block-template-part {
  display: none !important;
}

/* Zorg voor 100% paginavullende breedte en verwijder Gutenberg containers */
body.bc-deijssel-active-page,
body.bc-deijssel-active-page .wp-site-blocks,
body.bc-deijssel-active-page main.wp-block-group,
body.bc-deijssel-active-page .wp-block-post-content,
body.bc-deijssel-active-page .entry-content,
body.bc-deijssel-active-page .is-layout-constrained,
body.bc-deijssel-active-page .is-layout-flow,
body:has(#bc-deijssel-wrapper),
body:has(#bc-deijssel-wrapper) .wp-site-blocks,
body:has(#bc-deijssel-wrapper) main.wp-block-group,
body:has(#bc-deijssel-wrapper) .wp-block-post-content,
body:has(#bc-deijssel-wrapper) .entry-content,
body:has(#bc-deijssel-wrapper) .is-layout-constrained,
body:has(#bc-deijssel-wrapper) .is-layout-flow {
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* Heft de 620px beperking van Twenty Twenty-Five op */
body.bc-deijssel-active-page .is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)),
body:has(#bc-deijssel-wrapper) .is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
  max-width: 100% !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Hoofdcontainer van de BC De IJssel site */
#bc-deijssel-wrapper {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  position: relative !important;
}
