/*
Theme Name: TAVV Theme
Theme URI: https://tavv.nl
Author: TAVV Webteam
Author URI: https://tavv.nl
Description: Officieel thema voor Ter Aarse Voetbal Vereniging
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tavv-theme
Tags: sports, football, club, responsive
*/

/* ─────────────────────────────────────────────────
   DESIGN TOKENS
───────────────────────────────────────────────── */
:root {
  --blue:       #1A5EB8;
  --blue-mid:   #1A73D4;
  --blue-light: #3A8FE8;
  --blue-dark:  #0F3D7A;
  --white:      #FFFFFF;
  --off-white:  #F0F5FB;
  --gray:       #7A8BA6;
  --gray-light: #DDE8F5;
  --text:       #0D2545;
  --radius:     12px;
  --nav-h:      60px;
  --topbar-h:   38px;
}

/* ─────────────────────────────────────────────────
   RESET & BASE
───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; color: var(--text); background: var(--white); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5, h6 { font-family: 'Bebas Neue', sans-serif; line-height: 1.05; letter-spacing: 1px; }

/* ─────────────────────────────────────────────────
   TOPBAR
───────────────────────────────────────────────── */
.topbar {
  height: var(--topbar-h); background: var(--blue-dark);
  display: flex; align-items: center; justify-content: flex-end;
  padding: 0 24px; gap: 4px;
}
.topbar a {
  width: 30px; height: 30px; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.08); transition: background .2s;
}
.topbar a:hover { background: var(--blue); }
.topbar svg { width: 14px; height: 14px; fill: white; }

/* ─────────────────────────────────────────────────
   HERO BANNER
───────────────────────────────────────────────── */
.hero-banner {
  position: relative; overflow: hidden; height: 340px;
}
.hero-banner-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center top; background-repeat: no-repeat;
}
.hero-banner-bg--gradient {
  background: linear-gradient(108deg, #071e4a 0%, #0d3a8a 28%, #1a5eb8 52%, #2471c8 68%, #1a4d9a 85%, #0a2a62 100%);
}
.hero-banner-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(5,18,50,.25) 0%, rgba(5,18,50,.05) 45%, rgba(5,18,50,.55) 100%);
}
.hero-banner-inner {
  position: relative; z-index: 2;
  max-width: 1280px; margin: 0 auto; padding: 0 32px;
  height: 100%; display: flex; align-items: center; justify-content: space-between;
}
.hero-banner-logo a { display: block; }
.hero-banner-logo svg,
.hero-banner-logo img { width: 155px; height: auto; filter: drop-shadow(0 6px 24px rgba(0,0,0,.5)); }

.hero-banner-title { text-align: right; }
.hero-banner-title h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(40px, 5.5vw, 76px);
  color: white; letter-spacing: 2px; line-height: 1;
  text-shadow: 0 2px 24px rgba(0,0,0,.6);
}
.hero-banner-title p {
  font-size: 16px; font-weight: 300; color: rgba(255,255,255,.78);
  margin-top: 8px; text-shadow: 0 1px 8px rgba(0,0,0,.4);
}
.hero-banner-btns { display: flex; gap: 10px; margin-top: 20px; justify-content: flex-end; }
.hero-btn-primary {
  background: white; color: var(--blue); font-weight: 700; font-size: 14px;
  padding: 10px 22px; border-radius: 8px; box-shadow: 0 3px 14px rgba(0,0,0,.25);
  transition: transform .2s, box-shadow .2s;
}
.hero-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 22px rgba(0,0,0,.35); }
.hero-btn-outline {
  border: 1.5px solid rgba(255,255,255,.5); color: white;
  font-weight: 500; font-size: 14px; padding: 10px 22px; border-radius: 8px;
  transition: background .2s;
}
.hero-btn-outline:hover { background: rgba(255,255,255,.15); }

/* ─────────────────────────────────────────────────
   NAVBAR  (sticky)
───────────────────────────────────────────────── */
#site-header {
  position: sticky; top: 0; z-index: 200;
  box-shadow: 0 2px 16px rgba(10,40,100,.18);
}
.navbar { height: var(--nav-h); background: var(--blue); }
.navbar-inner {
  max-width: 1280px; margin: 0 auto; width: 100%;
  display: flex; align-items: stretch; height: 100%; padding: 0 16px;
}

/* Logo in nav */
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  padding: 6px 16px 6px 0;
  border-right: 1px solid rgba(255,255,255,.15);
  margin-right: 8px; flex-shrink: 0;
}
.nav-logo svg { width: 36px; height: auto; filter: drop-shadow(0 1px 3px rgba(0,0,0,.3)); }
.nav-logo-text strong { display: block; font-family: 'Bebas Neue', sans-serif; font-size: 19px; letter-spacing: 2px; color: white; line-height: 1.1; }
.nav-logo-text small { display: block; font-size: 9px; letter-spacing: 1px; color: rgba(255,255,255,.5); text-transform: uppercase; }

/* Menu items */
#primary-menu {
  display: flex; align-items: stretch;
  list-style: none; margin: 0; padding: 0; flex: 1;
}
#primary-menu > li { position: relative; display: flex; align-items: stretch; }
#primary-menu > li > a {
  display: flex; align-items: center; gap: 4px; padding: 0 13px;
  font-size: 13.5px; font-weight: 600; color: rgba(255,255,255,.9);
  white-space: nowrap; border-bottom: 3px solid transparent;
  transition: background .15s, border-color .15s;
}
#primary-menu > li > a:hover,
#primary-menu > li.current-menu-item > a,
#primary-menu > li.current-menu-parent > a {
  background: rgba(255,255,255,.1); border-bottom-color: white;
}

/* Pijltje bij menu-items met kinderen */
#primary-menu > li.menu-item-has-children > a::after {
  content: ''; display: inline-block; width: 5px; height: 5px;
  border-right: 1.5px solid rgba(255,255,255,.55);
  border-bottom: 1.5px solid rgba(255,255,255,.55);
  transform: rotate(45deg) translateY(-2px); margin-left: 2px;
  transition: transform .2s;
}
#primary-menu > li.menu-item-has-children:hover > a::after {
  transform: rotate(-135deg) translateY(1px);
}

/* CTA knop (klasse "menu-cta" in WP menu-beheer) */
#primary-menu li.menu-cta { display: flex; align-items: stretch; }
#primary-menu li.menu-cta > a {
  background: white !important; color: var(--blue) !important;
  border-radius: 8px; margin: 10px 4px; padding: 0 16px !important;
  height: auto; align-self: center;
  font-weight: 700 !important;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
  border-bottom: none !important;
  transition: transform .15s, box-shadow .15s !important;
}
#primary-menu li.menu-cta > a:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(0,0,0,.2); }

/* ── Dropdown (1e niveau) ── */
#primary-menu .sub-menu {
  position: absolute; top: 100%; left: 0;
  min-width: 220px; background: white;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 14px 44px rgba(10,40,100,.18);
  border-top: 3px solid var(--blue);
  list-style: none; margin: 0; padding: 0;
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(-6px);
  transition: opacity .2s, transform .2s, visibility .2s;
  z-index: 300;
}
#primary-menu li.menu-item-has-children:hover > .sub-menu {
  opacity: 1; visibility: visible; pointer-events: all; transform: translateY(0);
}
#primary-menu .sub-menu li { position: relative; list-style: none; }
#primary-menu .sub-menu li a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 18px; font-size: 14px; font-weight: 500; color: var(--text);
  border-bottom: 1px solid var(--gray-light); white-space: nowrap;
  transition: background .15s, color .15s;
}
#primary-menu .sub-menu li:last-child > a { border-bottom: none; }
#primary-menu .sub-menu li a:hover { background: var(--off-white); color: var(--blue); }
#primary-menu .sub-menu li.menu-item-has-children > a::after {
  content: '›'; font-size: 17px; color: var(--gray); margin-left: 12px;
}

/* ── Sub-dropdown (2e niveau) ── */
#primary-menu .sub-menu .sub-menu {
  position: absolute; top: 0; left: 100%;
  border-radius: 0 12px 12px 12px;
  border-top: 3px solid var(--blue-light);
  transform: translateX(-6px);
}
#primary-menu .sub-menu li.menu-item-has-children:hover > .sub-menu {
  opacity: 1; visibility: visible; pointer-events: all; transform: translateX(0);
}
#primary-menu .sub-menu .sub-menu li a { font-size: 13px; font-weight: 400; }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column;
  justify-content: center; gap: 5px;
  cursor: pointer; padding: 10px; border: none;
  background: none; margin-left: auto;
}
.hamburger span { display: block; width: 22px; height: 2px; background: white; border-radius: 2px; transition: .3s; }

/* ─────────────────────────────────────────────────
   MOBIEL MENU
───────────────────────────────────────────────── */
.mobile-nav {
  display: none; position: fixed;
  top: var(--nav-h); left: 0; right: 0; bottom: 0;
  background: var(--blue-dark); overflow-y: auto; z-index: 199;
  padding: 12px 0 40px;
}
.mobile-nav.open { display: block; }

/* Walker genereert <ul><li><a> structuur */
.mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.mobile-nav ul li a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 24px; font-size: 15px; font-weight: 600; color: rgba(255,255,255,.9);
  border-bottom: 1px solid rgba(255,255,255,.07);
  transition: background .15s;
}
.mobile-nav ul li a:hover { background: rgba(255,255,255,.06); color: white; }
/* Sub-items */
.mobile-nav ul ul { background: rgba(0,0,0,.15); display: none; }
.mobile-nav ul ul.open { display: block; }
.mobile-nav ul ul li a { font-size: 14px; font-weight: 400; color: rgba(255,255,255,.7); padding-left: 40px; }
/* Toggle pijl */
.mobile-nav .menu-item-has-children > a .mobile-arrow { font-size: 18px; color: rgba(255,255,255,.4); transition: transform .2s; }
.mobile-nav .menu-item-has-children.open > a .mobile-arrow { transform: rotate(90deg); }

/* ─────────────────────────────────────────────────
   BREADCRUMB
───────────────────────────────────────────────── */
.breadcrumb-bar {
  background: var(--off-white); border-bottom: 1px solid var(--gray-light); padding: 10px 0;
}
.breadcrumb-inner {
  max-width: 860px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; color: var(--gray); flex-wrap: wrap;
}
.breadcrumb-inner a { color: var(--blue); }
.breadcrumb-inner a:hover { color: var(--blue-dark); }
.breadcrumb-inner .sep { color: var(--gray-light); }

/* ─────────────────────────────────────────────────
   SECTIONS  (gedeelde stijlen)
───────────────────────────────────────────────── */
.site-section { padding: 72px 24px; }
.container { max-width: 1200px; margin: 0 auto; }
.section-label {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 2.5px;
  color: var(--blue-light); text-transform: uppercase; margin-bottom: 8px;
}
.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(30px, 4vw, 50px); color: var(--blue); line-height: 1.05; margin-bottom: 12px;
}
.section-sub { font-size: 15px; font-weight: 300; line-height: 1.65; color: var(--gray); max-width: 500px; }
.fade-up { opacity: 0; transform: translateY(20px); transition: opacity .55s ease, transform .55s ease; }
.fade-up.visible { opacity: 1; transform: none; }

/* ─────────────────────────────────────────────────
   NIEUWS SLIDER
───────────────────────────────────────────────── */
.section-nieuws { background: var(--off-white); }

.slider-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 32px; gap: 16px; flex-wrap: wrap;
}
.slider-controls { display: flex; gap: 10px; flex-shrink: 0; }
.slider-btn {
  width: 44px; height: 44px; border-radius: 10px;
  border: 2px solid var(--blue); background: white; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, opacity .2s, transform .15s;
}
.slider-btn:hover { background: var(--blue); }
.slider-btn:hover svg { stroke: white; }
.slider-btn:active { transform: scale(.92); }
.slider-btn svg { width: 18px; height: 18px; stroke: var(--blue); fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

.slider-viewport { overflow: hidden; position: relative; }
.slider-track { display: flex; gap: 20px; transition: transform .42s cubic-bezier(.4,0,.2,1); will-change: transform; }

.news-card {
  flex: 0 0 calc(33.333% - 14px);
  background: white; border-radius: var(--radius);
  overflow: hidden; box-shadow: 0 2px 12px rgba(10,40,100,.06);
  transition: transform .25s, box-shadow .25s;
  display: flex; flex-direction: column;
  text-decoration: none; color: inherit;
}
.news-card:hover { transform: translateY(-5px); box-shadow: 0 14px 40px rgba(10,40,100,.14); }
.news-card-img {
  position: relative; aspect-ratio: 16/9; overflow: hidden;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-light)); flex-shrink: 0;
}
.news-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.news-card:hover .news-card-img img { transform: scale(1.04); }
.news-category {
  position: absolute; top: 12px; left: 12px;
  color: white; font-size: 10px; font-weight: 800; letter-spacing: 1px;
  text-transform: uppercase; padding: 4px 10px; border-radius: 6px;
  background: var(--blue);
}
.news-body { padding: 18px 20px 20px; flex: 1; display: flex; flex-direction: column; }
.news-meta { display: flex; align-items: center; gap: 7px; margin-bottom: 9px; }
.news-date { font-size: 11px; color: var(--gray); font-weight: 500; }
.news-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--gray-light); }
.news-title { font-weight: 700; font-size: 15px; line-height: 1.45; color: var(--text); margin-bottom: auto; }
.news-excerpt { font-size: 13px; line-height: 1.6; color: var(--gray); margin-top: 9px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-read {
  display: inline-flex; align-items: center; gap: 5px;
  margin-top: 14px; font-size: 13px; font-weight: 600; color: var(--blue-light);
}
.slider-dots { display: flex; justify-content: center; gap: 8px; margin-top: 24px; }
.slider-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gray-light); border: none; cursor: pointer; padding: 0; transition: background .2s, transform .2s; }
.slider-dot.active { background: var(--blue); transform: scale(1.35); }
.slider-all {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 28px; font-size: 14px; font-weight: 600; color: var(--blue);
  border-bottom: 1.5px solid transparent; transition: border-color .2s;
}
.slider-all:hover { border-bottom-color: var(--blue); }

/* ─────────────────────────────────────────────────
   VOOR & NABESCHOUWINGEN
───────────────────────────────────────────────── */
.section-beschouwingen { background: var(--white); }

.beschouwingen-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 44px;
  border: 1px solid var(--gray-light); border-radius: var(--radius); overflow: hidden;
  background: white; box-shadow: 0 2px 16px rgba(10,40,100,.06);
}
.beschouwingen-col { display: flex; flex-direction: column; }
.beschouwingen-col:first-child { border-right: 1px solid var(--gray-light); }
.beschouwingen-col-header {
  padding: 20px 28px 16px; border-bottom: 2px solid var(--gray-light);
  display: flex; align-items: center; justify-content: space-between;
}
.beschouwingen-col-header h3 { font-family: 'Bebas Neue', sans-serif; font-size: 24px; letter-spacing: 1px; color: var(--blue); }

.verslag-list { flex: 1; }
.verslag-item {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px 28px; border-bottom: 1px solid var(--gray-light);
  text-decoration: none; color: inherit; transition: background .15s;
}
.verslag-item:hover { background: var(--off-white); }
.verslag-item:last-child { border-bottom: none; }
.verslag-thumb {
  flex-shrink: 0; width: 100px; height: 72px; border-radius: 8px; overflow: hidden;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-light));
}
.verslag-thumb img { width: 100%; height: 100%; object-fit: cover; }
.beschouwingen-col:last-child .verslag-thumb { background: linear-gradient(135deg, #065f46, #059669); }
.verslag-body { flex: 1; min-width: 0; }
.verslag-title { font-weight: 700; font-size: 15px; line-height: 1.4; color: var(--blue); margin-bottom: 6px; }
.verslag-item:hover .verslag-title { color: var(--blue-mid); }
.verslag-excerpt { font-size: 13px; line-height: 1.6; color: var(--gray); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 8px; }
.verslag-date { display: flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 500; color: var(--blue-light); }

.beschouwingen-col-footer { padding: 20px 28px; border-top: 1px solid var(--gray-light); display: flex; justify-content: center; }
.btn-meer {
  display: inline-block; background: var(--blue); color: white;
  font-weight: 600; font-size: 14px; padding: 11px 28px; border-radius: 8px;
  transition: background .2s, transform .2s;
}
.btn-meer:hover { background: var(--blue-dark); transform: translateY(-1px); }

/* ─────────────────────────────────────────────────
   PROGRAMMA & UITSLAGEN
───────────────────────────────────────────────── */
.programma-grid {
  display: flex;
  gap: 30px;
  flex-wrap: wrap; /* mobiel: kolommen onder elkaar */
}

.programma-grid > div {
  flex: 1;
  background-color: #f9f9f9; /* lichte achtergrond */
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  min-height: 400px; /* gelijkmatige hoogte */
}

/* Kolom titels */
.programma-col-title {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: #003366; /* primaire kleur site */
}

/* Tabellen styling */
.programma-table table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
}

.programma-table table th,
.programma-table table td {
  padding: 10px 12px;
  text-align: left;
  vertical-align: middle;
  border-bottom: 1px solid #e1e4e8;
}

/* Eerste kolom (datum) breder maken */
.programma-table table th:first-child,
.programma-table table td:first-child {
  width: 140px;
  min-width: 140px;
  font-weight: 600;
}

/* Rest van de kolommen nemen de overige ruimte */
.programma-table table th:not(:first-child),
.programma-table table td:not(:first-child) {
  white-space: nowrap;
}

/* Headers styling */
.programma-table table th {
  background-color: #003366; /* header kleur */
  color: #ffffff;
  font-weight: 600;
  border-bottom: 2px solid #002244;
}

/* Zebra-striping voor leesbaarheid */
.programma-table table tr:nth-child(even) {
  background-color: #f0f4f8;
}

/* Hover effect */
.programma-table table tr:hover {
  background-color: #e0e8f0;
}

/* Scores of uitslag badge styling */
.programma-table table td[data-field="uitslag"] {
  font-weight: 600;
  color: #003366;
}

/* Responsive */
@media screen and (max-width: 1024px) {
  .programma-grid > div {
    min-height: auto;
  }
}

@media screen and (max-width: 768px) {
  .programma-grid {
    flex-direction: column;
    gap: 20px;
  }
  .programma-table table th,
  .programma-table table td {
    padding: 8px;
  }
}
/* ─────────────────────────────────────────────────
   TEAMS
───────────────────────────────────────────────── */
.section-teams { background: var(--blue); }
.section-teams .section-label { color: rgba(255,255,255,.55); }
.section-teams .section-title { color: white; }
.section-teams .section-sub { color: rgba(255,255,255,.6); }
.teams-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 10px; margin-top: 40px; }
.team-chip {
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
  border-radius: 10px; padding: 15px; text-align: center;
  transition: background .2s, transform .2s; text-decoration: none;
}
.team-chip:hover { background: rgba(255,255,255,.2); transform: translateY(-2px); }
.team-chip-name { font-weight: 700; font-size: 14px; color: white; }
.team-chip-type { font-size: 11px; color: rgba(255,255,255,.5); margin-top: 3px; }

/* ─────────────────────────────────────────────────
   SPONSOREN
───────────────────────────────────────────────── */
.section-sponsoren { background: var(--off-white); }
.sponsor-track { overflow: hidden; margin-top: 40px; mask: linear-gradient(90deg, transparent, black 12%, black 88%, transparent); }
.sponsor-row { display: flex; gap: 18px; animation: marquee 24s linear infinite; width: max-content; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.sponsor-chip {
  background: white; border: 1px solid var(--gray-light); border-radius: 10px;
  padding: 13px 26px; font-weight: 700; font-size: 14px; color: var(--gray);
  white-space: nowrap; transition: border-color .2s, color .2s;
}
.sponsor-chip:hover { border-color: var(--blue); color: var(--blue); }
.sponsor-cta { margin-top: 32px; text-align: center; }
.sponsor-chip {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px;
  min-width: 120px;
}

.sponsor-thumb {
  max-width: 150px; /* grotere afbeelding */
  max-height: 150px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.sponsor-chip:hover .sponsor-thumb {
  transform: scale(1.1); /* subtiel hover-effect */
}
/* ─────────────────────────────────────────────────
   BUTTONS
───────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: white; color: var(--blue); font-weight: 700; font-size: 15px;
  padding: 13px 26px; border-radius: 10px;
  transition: transform .2s, box-shadow .2s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255,255,255,.25); }
.btn-blue {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--blue); color: white; font-weight: 600; font-size: 15px;
  padding: 13px 26px; border-radius: 10px;
  transition: background .2s, transform .2s;
}
.btn-blue:hover { background: var(--blue-dark); transform: translateY(-2px); }

/* ─────────────────────────────────────────────────
   SINGLE POST
───────────────────────────────────────────────── */
.post-page { max-width: 860px; margin: 0 auto; padding: 48px 24px 80px; }

.post-category-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase;
  color: white; background: var(--blue); padding: 5px 12px; border-radius: 20px;
  margin-bottom: 16px;
}
.post-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(28px, 5vw, 48px); color: var(--blue-dark); line-height: 1.1; margin-bottom: 20px;
}
.post-meta {
  display: flex; align-items: center; flex-wrap: wrap; gap: 16px;
  padding: 16px 0; border-top: 1px solid var(--gray-light); border-bottom: 1px solid var(--gray-light);
}
.post-meta-item { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--gray); font-weight: 500; }
.post-meta-item svg { width: 14px; height: 14px; stroke: var(--gray); fill: none; stroke-width: 2; flex-shrink: 0; }
.post-meta-item strong { color: var(--text); font-weight: 600; }

.post-featured-media { margin: 32px 0; border-radius: var(--radius); overflow: hidden; box-shadow: 0 4px 24px rgba(10,40,100,.1); }
.post-featured-media img { width: 100%; height: auto; }
.post-video-wrap { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; }
.post-video-wrap iframe,
.post-video-wrap video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }

.entry-content { font-size: 16px; line-height: 1.8; color: #2A3E5A; }
.entry-content p { margin-bottom: 20px; }
.entry-content h2 { font-family: 'Bebas Neue', sans-serif; font-size: 26px; letter-spacing: .5px; color: var(--blue); margin: 36px 0 14px; }
.entry-content h3 { font-size: 18px; font-weight: 700; color: var(--text); margin: 28px 0 10px; }
.entry-content strong { font-weight: 700; color: var(--text); }
.entry-content em { font-style: italic; }
.entry-content a { color: var(--blue); border-bottom: 1px solid var(--gray-light); transition: border-color .2s; }
.entry-content a:hover { border-bottom-color: var(--blue); }
.entry-content ul, .entry-content ol { margin: 0 0 20px 24px; }
.entry-content li { margin-bottom: 6px; line-height: 1.7; }
.entry-content blockquote {
  margin: 28px 0; padding: 20px 24px;
  border-left: 4px solid var(--blue);
  background: var(--off-white); border-radius: 0 8px 8px 0;
  font-size: 17px; font-style: italic; color: var(--blue-dark); line-height: 1.7;
}
.entry-content figure { margin: 28px 0; }
.entry-content figure img { border-radius: 8px; }
.entry-content figcaption { font-size: 12px; font-style: italic; color: var(--gray); text-align: center; margin-top: 8px; }

.post-tags-wrap { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--gray-light); display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.post-tags-label { font-size: 12px; font-weight: 700; color: var(--gray); text-transform: uppercase; letter-spacing: 1px; }
.post-tag {
  background: var(--off-white); color: var(--blue); font-size: 12px; font-weight: 600;
  padding: 5px 12px; border-radius: 20px; border: 1px solid var(--gray-light);
  transition: background .15s, border-color .15s;
}
.post-tag:hover { background: var(--blue); color: white; border-color: var(--blue); }

.post-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--gray-light); }
.post-nav a { font-size: 14px; font-weight: 600; color: var(--blue); }
.post-nav a:hover { color: var(--blue-dark); }

.related-section { background: var(--off-white); padding: 52px 24px; }
.related-inner { max-width: 860px; margin: 0 auto; }
.related-title { font-family: 'Bebas Neue', sans-serif; font-size: 28px; color: var(--blue); margin-bottom: 24px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.related-card {
  background: white; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--gray-light); text-decoration: none; color: inherit;
  transition: transform .2s, box-shadow .2s; display: flex; flex-direction: column;
}
.related-card:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(10,40,100,.1); }
.related-card-img { aspect-ratio: 16/9; overflow: hidden; background: linear-gradient(135deg, var(--blue-dark), var(--blue-light)); }
.related-card-img img { width: 100%; height: 100%; object-fit: cover; }
.related-card-body { padding: 14px 16px 16px; flex: 1; }
.related-card-cat { font-size: 10px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--blue-light); margin-bottom: 6px; }
.related-card-title { font-weight: 700; font-size: 14px; line-height: 1.4; color: var(--text); margin-bottom: 8px; }
.related-card-date { font-size: 11px; color: var(--gray); }

/* ─────────────────────────────────────────────────
   FOOTER
───────────────────────────────────────────────── */
#colophon { background: var(--text); color: rgba(255,255,255,.6); padding: 52px 24px 28px; }
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px;
  padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand-name { font-family: 'Bebas Neue', sans-serif; font-size: 22px; letter-spacing: 3px; color: white; }
.footer-brand p { font-size: 14px; line-height: 1.7; margin-top: 12px; max-width: 270px; }
.footer-col h4 { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; color: rgba(255,255,255,.3); text-transform: uppercase; margin-bottom: 14px; }
.footer-col a { display: block; margin-bottom: 9px; font-size: 14px; color: rgba(255,255,255,.6); transition: color .2s; }
.footer-col a:hover { color: white; }
.footer-bottom { max-width: 1200px; margin: 24px auto 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 12px; }
.socials { display: flex; gap: 8px; margin-top: 18px; }
.social-btn { width: 34px; height: 34px; border-radius: 8px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; transition: background .2s; }
.social-btn:hover { background: rgba(255,255,255,.15); }
.social-btn svg { width: 15px; height: 15px; fill: rgba(255,255,255,.65); }

/* ─────────────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .news-card { flex: 0 0 calc(50% - 10px); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .hero-banner-logo svg { width: 115px; }
}
@media (max-width: 860px) {
  #primary-menu { display: none; }
  .hamburger { display: flex; }
  .nav-logo { border: none; }
  .related-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .site-section { padding: 52px 20px; }
  .hero-banner { height: 260px; }
  .hero-banner-logo svg { width: 86px; }
  .hero-banner-title h1 { font-size: 34px; }
  .hero-banner-title p { display: none; }
  .news-card { flex: 0 0 calc(85vw); }
  .programma-grid { grid-template-columns: 1fr; gap: 20px; }
  .beschouwingen-grid { grid-template-columns: 1fr; }
  .beschouwingen-col:first-child { border-right: none; border-bottom: 2px solid var(--gray-light); }
  .teams-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .post-page { padding: 32px 18px 60px; }
  .related-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .hero-banner { height: 200px; }
  .hero-banner-logo { display: none; }
  .hero-banner-title { text-align: center; width: 100%; }
  .hero-banner-btns { justify-content: center; }
  .hero-banner-title h1 { font-size: 32px; }
}

/* ─────────────────────────────────────────────────
   GUTENBERG BLOK-BREEDTE FIX
   Zorgt dat blokken niet tot de rand lopen
───────────────────────────────────────────────── */

/* Alle blokken: max 900px en gecentreerd */
.page-content .wp-block {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Knoppen */
.page-content .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0; }
.page-content .wp-block-button__link {
  background: var(--blue); color: white !important;
  padding: 12px 26px; border-radius: 8px; font-weight: 600; font-size: 15px;
  text-decoration: none !important; border-bottom: none !important;
  display: inline-block; transition: background .2s;
}
.page-content .wp-block-button__link:hover { background: var(--blue-dark); }
.page-content .wp-block-button.is-style-outline .wp-block-button__link {
  background: transparent !important; color: var(--blue) !important;
  border: 2px solid var(--blue) !important;
}

/* Kolommen */
.page-content .wp-block-columns { display: flex; gap: 28px; margin: 28px 0; flex-wrap: wrap; }
.page-content .wp-block-column { flex: 1; min-width: 240px; }

/* Groep met achtergrond */
.page-content .wp-block-group.has-background { border-radius: var(--radius); padding: 24px 28px; }

/* Quote */
.page-content .wp-block-quote {
  margin: 32px 0; padding: 20px 24px;
  border-left: 4px solid var(--blue) !important;
  background: var(--off-white); border-radius: 0 8px 8px 0;
  font-style: italic; color: var(--blue-dark); line-height: 1.7;
}
.page-content .wp-block-quote p { font-size: 17px; margin: 0; }
.page-content .wp-block-quote cite { font-size: 13px; color: var(--gray); font-style: normal; }

/* Scheidingslijn */
.page-content .wp-block-separator {
  border: none !important; border-top: 2px solid var(--gray-light) !important; margin: 40px auto;
}

/* Tabel */
.page-content .wp-block-table { margin: 28px 0; }
.page-content .wp-block-table table { width: 100%; border-collapse: collapse; font-size: 15px; }
.page-content .wp-block-table thead th { background: var(--blue); color: white; padding: 11px 16px; text-align: left; font-weight: 600; font-size: 13px; }
.page-content .wp-block-table td { padding: 10px 16px; border-bottom: 1px solid var(--gray-light); }
.page-content .wp-block-table tr:hover td { background: var(--off-white); }

/* Afbeelding */
.page-content .wp-block-image img { border-radius: 8px; }
.page-content .wp-block-image figcaption { font-size: 13px; font-style: italic; color: var(--gray); text-align: center; margin-top: 8px; }

/* Volledige / brede uitlijning */
.page-content .alignfull { max-width: 100%; width: calc(100% + 48px); margin-left: -24px; margin-right: -24px; }
.page-content .alignwide { max-width: calc(100% + 120px); margin-left: -60px; margin-right: -60px; }

@media (max-width: 960px) {
  .page-content .alignwide { margin-left: 0; margin-right: 0; max-width: 100%; }
  .page-content .wp-block-columns { flex-direction: column; }
}

/* ─────────────────────────────────────────────────
   BREDE PAGINA TEMPLATE
───────────────────────────────────────────────── */
.page-main--wide {
  padding: 0 0 80px;   /* geen zijdelingse padding — blokken bepalen het zelf */
}
.page-content--wide {
  font-size: 16px;
  line-height: 1.8;
  color: #2A3E5A;
}

/* Blokken in brede modus: wél typografie-stijlen, geen breedte-beperking */
.page-content--wide p               { margin-bottom: 20px; }
.page-content--wide h2              { font-family: 'Bebas Neue', sans-serif; font-size: clamp(22px,3vw,32px); color: var(--blue); margin: 44px 0 14px; padding-bottom: 10px; border-bottom: 2px solid var(--gray-light); }
.page-content--wide h3              { font-size: 19px; font-weight: 700; color: var(--text); margin: 32px 0 10px; }
.page-content--wide strong          { font-weight: 700; color: var(--text); }
.page-content--wide a               { color: var(--blue); border-bottom: 1px solid var(--gray-light); }
.page-content--wide ul,
.page-content--wide ol              { margin: 0 0 22px 26px; }
.page-content--wide li              { margin-bottom: 7px; line-height: 1.7; }
.page-content--wide blockquote,
.page-content--wide .wp-block-quote { margin: 32px 0; padding: 20px 24px; border-left: 4px solid var(--blue) !important; background: var(--off-white); border-radius: 0 8px 8px 0; font-style: italic; color: var(--blue-dark); line-height: 1.7; }
.page-content--wide .wp-block-button__link { background: var(--blue); color: white !important; padding: 12px 26px; border-radius: 8px; font-weight: 600; font-size: 15px; border-bottom: none !important; display: inline-block; transition: background .2s; }
.page-content--wide .wp-block-button__link:hover { background: var(--blue-dark); }

/* ─────────────────────────────────────────────────
   FIX: stijlen ook op directe blokken in page-container
   (voor losse paragrafen/blokken zonder .page-content wrapper)
───────────────────────────────────────────────── */

/* Alles binnen page-container krijgt dezelfde stijl,
   ongeacht of er een .page-content wrapper omheen zit */
.page-container > *,
.page-container > .wp-block,
.page-container > p,
.page-container > h2,
.page-container > h3,
.page-container > ul,
.page-container > ol,
.page-container > blockquote,
.page-container > figure,
.page-container > table,
.page-container > hr,
.page-container > .wp-block-group,
.page-container > .wp-block-columns,
.page-container > .wp-block-image,
.page-container > .wp-block-table,
.page-container > .wp-block-quote,
.page-container > .wp-block-separator,
.page-container > .wp-block-buttons {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

/* Zorg dat de container zelf niet smaller is dan nodig */
.page-container {
  width: 100%;
  padding-left: 24px;
  padding-right: 24px;
}

/* Typografie direct in page-container (losse paragrafen) */
.page-container > p {
  font-size: 16px;
  line-height: 1.8;
  color: #2A3E5A;
  margin-bottom: 20px;
}
.page-container > h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(22px, 3vw, 32px);
  color: var(--blue);
  margin: 44px 0 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gray-light);
}
.page-container > h3 {
  font-size: 19px; font-weight: 700; color: var(--text); margin: 32px 0 10px;
}
.page-container > ul,
.page-container > ol {
  font-size: 16px; line-height: 1.8; color: #2A3E5A;
  margin: 0 0 22px 50px;
}
.page-container > li { margin-bottom: 7px; }
.page-container > blockquote {
  margin: 32px 0; padding: 20px 24px;
  border-left: 4px solid var(--blue) !important;
  background: var(--off-white); border-radius: 0 8px 8px 0;
  font-style: italic; color: var(--blue-dark); line-height: 1.7;
}

@media (max-width: 600px) {
  .page-container { padding-left: 18px; padding-right: 18px; }
}

/* ─────────────────────────────────────────────────
   SPACING FIX: ruimte tussen titel en blokken
───────────────────────────────────────────────── */

/* Ruimte onder de paginatitel */
.page-title {
  margin-bottom: 36px !important;
}

/* Ruimte tussen alle blokken onderling */
.page-container > * + * {
  margin-top: 20px;
}

/* Koppen krijgen meer ruimte erboven */
.page-container > h2 { margin-top: 44px !important; }
.page-container > h3 { margin-top: 32px !important; }

/* Gutenberg voegt soms zijn eigen margin-blokken toe — overschrijven */
.page-container > .wp-block + .wp-block { margin-top: 20px; }
.page-container > p + p { margin-top: 0; }  /* alinea's direct na elkaar: eigen margin-bottom is genoeg */

/* Gutenberg block spacing (--wp--style--block-gap) resetten naar onze waarden */
.page-container .wp-block-group,
.page-container .wp-block-columns {
  gap: 28px;
}

/* Paragrafen in .page-content (voor wie wél een wrapper heeft) */
.page-content > * + * { margin-top: 20px; }
.page-content > h2 { margin-top: 44px !important; }
.page-content > h3 { margin-top: 32px !important; }

/* ─────────────────────────────────────────────────
   SPACING: ruimte boven en onder de pagina-inhoud
───────────────────────────────────────────────── */
.page-main {
  padding-top: 52px;
  padding-bottom: 80px;
}

@media (max-width: 768px) {
  .page-main { padding-top: 36px; padding-bottom: 60px; }
}

/* ─────────────────────────────────────────────────
   SPONSORENPAGINA TEMPLATE
───────────────────────────────────────────────── */

/* Intro tekst boven de groepen */
.page-content--intro {
  margin-bottom: 48px;
  font-size: 16px; line-height: 1.8; color: #2A3E5A;
}

/* Groep sectie */
.sponsor-groep {
  margin-bottom: 56px;
}
.sponsor-groep:last-of-type {
  margin-bottom: 32px;
}

/* Groep titel */
.sponsor-groep-titel {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 26px; letter-spacing: 1px;
  color: var(--blue);
  margin-bottom: 8px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gray-light);
}

/* Optionele groep omschrijving */
.sponsor-groep-omschrijving {
  font-size: 14px; color: var(--gray);
  margin-bottom: 20px; margin-top: 6px;
}

/* Grid van sponsor kaartjes — 4 kolommen zoals de screenshot */
.sponsor-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 20px;
}

/* Sponsor kaart */
.sponsor-card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
a.sponsor-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(10,40,100,.1);
  border-color: var(--blue-light);
}

/* Logo vlak — vaste hoogte, logo gecentreerd */
.sponsor-card-logo {
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: var(--white);
  border-bottom: 1px solid var(--gray-light);
}
.sponsor-card-logo img {
  max-width: 100%;
  max-height: 90px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Placeholder als er geen logo is */
.sponsor-card-logo-placeholder {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--blue);
  display: flex; align-items: center; justify-content: center;
}
.sponsor-card-logo-placeholder span {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px; color: white; letter-spacing: 1px;
}

/* Naam en omschrijving onder het logo */
.sponsor-card-body {
  padding: 14px 16px 16px;
  flex: 1;
}
.sponsor-card-naam {
  font-weight: 600; font-size: 14px;
  color: var(--blue); line-height: 1.4;
}
a.sponsor-card:hover .sponsor-card-naam {
  color: var(--blue-mid);
}
.sponsor-card-omschrijving {
  font-size: 12px; color: var(--gray);
  line-height: 1.5; margin-top: 5px;
}

/* Word sponsor CTA */
.sponsor-cta-wrap {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 2px solid var(--gray-light);
  text-align: center;
}
.btn-sponsor-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--blue); color: white;
  font-weight: 700; font-size: 16px;
  padding: 15px 36px; border-radius: 10px;
  transition: background .2s, transform .2s;
  box-shadow: 0 4px 16px rgba(26,94,184,.25);
}
.btn-sponsor-cta:hover {
  background: var(--blue-dark); transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 900px) {
  .sponsor-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .sponsor-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .sponsor-card-logo { height: 100px; }
}
@media (max-width: 400px) {
  .sponsor-grid { grid-template-columns: 1fr 1fr; }
}

/* ─────────────────────────────────────────────────
   FIX: h2 direct na paginatitel krijgt geen extra ruimte
───────────────────────────────────────────────── */

/* Reset de grote margin-top op h2/h3 direct na de paginatitel */
.page-container > .page-title + h2,
.page-container > .page-title + .wp-block-heading,
.page-container > .page-title + * { margin-top: 0 !important; }

/* H2 krijgt pas extra ruimte als er inhoud boven staat */
.page-container > * + h2 { margin-top: 44px !important; }
.page-container > .page-title + h2 { margin-top: 0 !important; }

/* ─────────────────────────────────────────────────
   FIX v2: paginatitel spacing — harde override
───────────────────────────────────────────────── */

/* Paginatitel: minder ruimte eronder */
.page-title {
  margin-top: 0 !important;
  margin-bottom: 24px !important;
  padding-bottom: 16px !important;
}

/* Eerste element in page-content: geen extra ruimte erboven */
.page-content > *:first-child,
.page-content > .wp-block:first-child,
.page-content > .wp-block-heading:first-child {
  margin-top: 0 !important;
}

/* Gutenberg reset: blokken beginnen zonder top-margin */
.page-content .wp-block-heading:first-child,
.page-content > h2:first-child,
.page-content > h3:first-child {
  margin-top: 0 !important;
}

/* ─────────────────────────────────────────────────
   FIX: .site-section binnen page-content heeft
   geen homepage-padding nodig
───────────────────────────────────────────────── */
.page-content .site-section,
.page-content .section-programma,
.page-content .section-nieuws,
.page-content .section-teams,
.page-content .section-sponsoren {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* ─────────────────────────────────────────────────
   VERBERG JETPACK DELEN & VIND IK LEUK
   (optioneel — beter om dit via Jetpack instellingen
   uit te zetten, maar dit werkt ook)
───────────────────────────────────────────────── */
.sharedaddy,
.sd-sharing-enabled,
.jp-relatedposts,
.jetpack-likes-widget-wrapper,
#likes-other-gravatars {
  display: none !important;
}

/* ─────────────────────────────────────────────────
   MEDIA PARTNERS SECTIE (homepage)
───────────────────────────────────────────────── */
.section-mediapartners {
  background: var(--white);
  border-top: 1px solid var(--gray-light);
}

/* Grid: logo's naast elkaar, gecentreerd */
.mediapartners-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 32px 48px;
  margin-top: 40px;
}

/* Elke media partner kaart */
.mediapartner-card {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  opacity: 0.75;
  transition: opacity .2s, transform .2s;
  filter: grayscale(30%);
}
a.mediapartner-card:hover {
  opacity: 1;
  transform: translateY(-2px);
  filter: grayscale(0%);
}

/* Logo afbeelding */
.mediapartner-card img {
  max-height: 100px;
  max-width: 220px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Fallback tekst als er geen logo is */
.mediapartner-naam {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  color: var(--blue-dark);
  letter-spacing: 1px;
}

/* Scheidingslijn tussen sponsoren en media partners */
.section-mediapartners .container {
  padding-top: 56px;
  padding-bottom: 64px;
}

@media (max-width: 600px) {
  .mediapartners-grid { gap: 24px 32px; }
  .mediapartner-card img { max-height: 72px; max-width: 160px; }
}

/* ═════════════════════════════════════════════════
   TEAM PAGINA'S
═════════════════════════════════════════════════ */

/* ── Team Hero ── */
.team-hero {
  position: relative;
  height: 320px;
  background: var(--blue-dark);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.team-hero-foto {
  position: absolute;
  inset: 0;
}
.team-hero-foto img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
}
.team-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,30,70,.85) 0%, rgba(10,30,70,.3) 60%, transparent 100%);
}
.team-hero-content {
  position: relative;
  z-index: 2;
  padding: 0 40px 32px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}
.team-hero-categorie {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 8px;
}
.team-hero-naam {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(36px, 6vw, 64px);
  color: white;
  line-height: 1;
  letter-spacing: 1px;
  margin: 0;
}
.team-hero-sponsor {
  margin-top: 14px;
}
.team-hero-sponsor img {
  max-height: 40px;
  max-width: 140px;
  object-fit: contain;
  background: white;
  padding: 6px 12px;
  border-radius: 6px;
}

/* ── Tab navigatie ── */
.team-tabs-nav {
  background: var(--blue-dark);
  position: sticky;
  top: 60px; /* hoogte van de sticky navbar */
  z-index: 90;
  box-shadow: 0 2px 12px rgba(0,0,0,.15);
}
.team-tabs-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.team-tabs-inner::-webkit-scrollbar { display: none; }
.team-tab {
  display: inline-flex;
  align-items: center;
  padding: 16px 22px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,.65);
  text-decoration: none;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
  transition: color .2s, border-color .2s;
}
.team-tab:hover {
  color: white;
}
.team-tab--actief {
  color: white;
  border-bottom-color: var(--blue-light);
}

/* ── Tab inhoud wrapper ── */
.team-main {
  padding: 48px 0 80px;
}
.team-container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}
.team-tab-content {
  animation: tab-fade-in .2s ease;
}
@keyframes tab-fade-in {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Sectie titels binnen team ── */
.team-sectie {
  margin-bottom: 48px;
}
.team-sectie-titel {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  color: var(--blue);
  letter-spacing: .5px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gray-light);
}

/* ── Trainingstabel ── */
.team-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  box-shadow: 0 2px 12px rgba(10,40,100,.06);
}
.team-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
}
.team-table thead th {
  background: var(--blue);
  color: white;
  padding: 12px 18px;
  text-align: left;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .3px;
}
.team-table tbody tr {
  border-bottom: 1px solid var(--gray-light);
  transition: background .15s;
}
.team-table tbody tr:last-child { border-bottom: none; }
.team-table tbody tr:hover { background: var(--off-white); }
.team-table td {
  padding: 13px 18px;
  color: var(--text);
}
.team-table td strong { color: var(--blue-dark); }

/* ── Teamsponsor card ── */
.team-sponsor-card {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: white;
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  padding: 18px 24px;
  box-shadow: 0 2px 10px rgba(10,40,100,.06);
}
.team-sponsor-link {
  display: flex; align-items: center; gap: 16px;
  text-decoration: none; color: inherit;
}
.team-sponsor-link:hover .team-sponsor-naam { color: var(--blue); }
.team-sponsor-logo {
  max-height: 56px;
  max-width: 160px;
  object-fit: contain;
}
.team-sponsor-naam {
  font-weight: 600;
  font-size: 16px;
  color: var(--text);
  transition: color .2s;
}

/* ── Spelerslijst ── */
.team-spelers-lijst {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.team-spelers-lijst li {
  background: white;
  border: 1px solid var(--gray-light);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}
.team-spelers-lijst li::before {
  content: '⚽';
  margin-right: 8px;
  font-size: 12px;
}

/* ── Geen data melding ── */
.team-geen-data {
  background: var(--off-white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  color: var(--gray);
  font-size: 15px;
}
.team-geen-data a { color: var(--blue); }

/* ── Sportlink wrapper ── */
.team-main .sportlink-wrap {
  background: white;
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  padding: 4px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(10,40,100,.05);
}

/* ── Team omschrijving ── */
.team-omschrijving {
  font-size: 16px;
  line-height: 1.8;
  color: #2A3E5A;
  margin-bottom: 40px;
}

/* ═════════════════════════════════════════════════
   TEAMS OVERZICHT (archive)
═════════════════════════════════════════════════ */
.teams-categorie-sectie {
  margin-bottom: 56px;
}
.teams-categorie-titel {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 30px;
  color: var(--blue);
  letter-spacing: .5px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gray-light);
}
.teams-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 18px;
}
.team-kaart {
  background: white;
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.team-kaart:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 32px rgba(10,40,100,.12);
  border-color: var(--blue-light);
}
.team-kaart-foto {
  height: 140px;
  overflow: hidden;
  background: var(--blue-dark);
}
.team-kaart-foto img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .3s;
}
.team-kaart:hover .team-kaart-foto img { transform: scale(1.04); }
.team-kaart-foto-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
}
.team-kaart-foto-placeholder svg {
  width: 48px; height: 48px;
  color: rgba(255,255,255,.3);
}
.team-kaart-body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.team-kaart-naam {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 20px;
  color: var(--blue-dark);
  letter-spacing: .5px;
  line-height: 1.1;
}
.team-kaart-excerpt {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.5;
  margin: 0;
}
.team-kaart-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  margin-top: auto;
}

/* ── Responsief ── */
@media (max-width: 768px) {
  .team-hero { height: 240px; }
  .team-hero-content { padding: 0 20px 24px; }
  .team-tabs-inner { padding: 0 12px; }
  .team-tab { padding: 14px 14px; font-size: 13px; }
  .team-container { padding: 0 18px; }
  .team-main { padding: 32px 0 60px; }
  .teams-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .team-spelers-lijst { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .teams-grid { grid-template-columns: 1fr 1fr; }
}

/* ── Team hero zonder foto (blauwe balk) ── */
.team-hero {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%) !important;
}
.team-hero-foto,
.team-hero-overlay { display: none; }

/* ── Teamfoto als losse sectie ── */
.team-foto-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(10,40,100,.1);
}
.team-foto {
  width: 100%;
  height: auto;
  display: block;
}

/* ── Team subtitel (categorie boven de titel) ── */
.team-subtitel {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 6px;
}

/* ── Hero volledig verbergen ── */
.team-hero { display: none !important; }

/* ── Team paginatitel: links uitlijnen, spacing strakker ── */
.team-page-header {
  padding: 32px 0 0;
}
.team-page-header .page-container {
  padding-bottom: 0;
}
.team-subtitel {
  color: var(--blue) !important;
  margin-bottom: 4px;
}
.team-page-header .page-title {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
  border-bottom: none !important;
}

/* ── Tabs direct aansluitend op de titel ── */
.team-tabs-nav {
  margin-top: 24px;
}
.team-tabs-inner {
  justify-content: flex-start;
}

/* ── Team tabs: subtiel, geen blauwe balk ── */
.team-tabs-nav {
  background: transparent !important;
  box-shadow: none !important;
  position: static !important;
  border-bottom: 2px solid var(--gray-light);
  margin-top: 20px;
}
.team-tabs-inner {
  max-width: 900px !important;
  padding: 0 24px !important;
}
.team-tab {
  color: var(--gray) !important;
  border-bottom: 2px solid transparent !important;
  margin-bottom: -2px;
  padding: 12px 18px 12px 0 !important;
  margin-right: 8px;
  font-size: 15px !important;
}
.team-tab:hover {
  color: var(--blue) !important;
}
.team-tab--actief {
  color: var(--blue-dark) !important;
  border-bottom-color: var(--blue) !important;
  font-weight: 700 !important;
}

/* Zorg dat .team-container dezelfde breedte en padding heeft */
.team-container {
  max-width: 900px !important;
}

/* ═════════════════════════════════════════════════
   SPORTLINK / NAVAJOFEEDS TABEL STYLING
   Maakt de automatisch gegenereerde tabellen
   hetzelfde als de trainingstijden tabel
═════════════════════════════════════════════════ */

.team-main .sportlink-wrap {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

/* Elke Navajofeeds tabel */
.team-main .sportlink-wrap table,
.team-main .sportlink-wrap .navajo-table,
.team-main [data-article] table {
  width: 100% !important;
  border-collapse: collapse !important;
  font-size: 15px !important;
  background: white !important;
  border-radius: var(--radius) !important;
  overflow: hidden !important;
  box-shadow: 0 2px 12px rgba(10,40,100,.06) !important;
  font-family: 'DM Sans', sans-serif !important;
}

/* Header rij */
.team-main .sportlink-wrap table thead tr,
.team-main .sportlink-wrap table tr:first-child,
.team-main [data-article] table thead tr,
.team-main [data-article] table tr:first-child {
  background: var(--blue) !important;
}
.team-main .sportlink-wrap table thead th,
.team-main .sportlink-wrap table thead td,
.team-main .sportlink-wrap table tr:first-child th,
.team-main .sportlink-wrap table tr:first-child td,
.team-main [data-article] table thead th,
.team-main [data-article] table tr:first-child th,
.team-main [data-article] table tr:first-child td {
  background: var(--blue) !important;
  color: white !important;
  padding: 12px 14px !important;
  text-align: left !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: .3px !important;
  border: none !important;
  white-space: nowrap !important;
}

/* Data rijen */
.team-main .sportlink-wrap table tbody tr,
.team-main [data-article] table tbody tr {
  border-bottom: 1px solid var(--gray-light) !important;
  transition: background .15s !important;
}
.team-main .sportlink-wrap table tbody tr:last-child,
.team-main [data-article] table tbody tr:last-child {
  border-bottom: none !important;
}
.team-main .sportlink-wrap table tbody tr:hover,
.team-main [data-article] table tbody tr:hover {
  background: var(--off-white) !important;
}
.team-main .sportlink-wrap table tbody td,
.team-main [data-article] table tbody td {
  padding: 12px 14px !important;
  color: var(--text) !important;
  border: none !important;
  font-size: 14px !important;
  vertical-align: middle !important;
}

/* Positienummer (eerste kolom in stand) */
.team-main .sportlink-wrap table tbody td:first-child,
.team-main [data-article] table tbody td:first-child {
  font-weight: 700 !important;
  color: var(--blue-dark) !important;
  width: 32px !important;
}

/* TAVV zelf highlighten in de stand */
.team-main .sportlink-wrap table tbody tr td[class*="eigen"],
.team-main .sportlink-wrap table tbody tr.eigen-team td,
.team-main [data-article] table tbody tr td[class*="eigen"],
.team-main [data-article] table tbody tr.eigen-team td {
  background: #EEF4FC !important;
  font-weight: 600 !important;
}

/* Punten kolom iets dikker */
.team-main .sportlink-wrap table tbody td:nth-child(7),
.team-main [data-article][data-article="poulestand"] table tbody td:last-child {
  font-weight: 700 !important;
  color: var(--blue-dark) !important;
}

/* Lege staat — als tabel alleen een header heeft */
.team-main .sportlink-wrap table tbody:empty::after,
.team-main [data-article] table:not(:has(tbody tr)) tbody::after {
  content: 'Geen wedstrijden gevonden.';
  display: block;
  padding: 24px 16px;
  color: var(--gray);
  font-size: 14px;
  text-align: center;
}

/* Fallback empty state via JS (zie single-tavv_team.php) */
.team-empty-state {
  background: var(--off-white);
  border: 1px dashed var(--gray-light);
  border-radius: var(--radius);
  padding: 40px 24px;
  text-align: center;
  color: var(--gray);
  font-size: 15px;
  margin-top: 16px;
}
.team-empty-state svg {
  width: 40px; height: 40px;
  margin: 0 auto 12px;
  display: block;
  opacity: .35;
}
.team-empty-state p { margin: 0; }

@media (max-width: 640px) {
  .team-main .sportlink-wrap table thead th,
  .team-main .sportlink-wrap table thead td,
  .team-main .sportlink-wrap table tr:first-child th,
  .team-main .sportlink-wrap table tr:first-child td {
    font-size: 11px !important;
    padding: 10px 8px !important;
  }
  .team-main .sportlink-wrap table tbody td,
  .team-main [data-article] table tbody td {
    font-size: 12px !important;
    padding: 10px 8px !important;
  }
}

/* ── Sportlink tabel fix: eerste TR is altijd header ── */

/* Reset eerdere brede selectors die data-rijen blauw maakten */
.team-main .sportlink-wrap table tr:first-child td,
.team-main [data-article] table tr:first-child td {
  background: var(--blue) !important;
  color: white !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  padding: 12px 14px !important;
  border: none !important;
}

/* Data rijen (tweede rij en verder) krijgen witte achtergrond */
.team-main .sportlink-wrap table tr:not(:first-child) td,
.team-main [data-article] table tr:not(:first-child) td {
  background: white !important;
  color: var(--text) !important;
  font-weight: 400 !important;
  font-size: 14px !important;
  padding: 12px 14px !important;
  border-bottom: 1px solid var(--gray-light) !important;
}
.team-main .sportlink-wrap table tr:not(:first-child):hover td,
.team-main [data-article] table tr:not(:first-child):hover td {
  background: var(--off-white) !important;
}
.team-main .sportlink-wrap table tr:last-child td,
.team-main [data-article] table tr:last-child td {
  border-bottom: none !important;
}

/* Verberg de losse empty state box — Navajofeeds eigen melding is voldoende */
.team-empty-state { display: none !important; }

/* ── Sportlink fix v2: tweede TR is eerste datarij ──
   Navajofeeds genereert: tr(header) + tr(data) + tr(data)...
   Geen thead/tbody — alles zit in dezelfde <table>
─────────────────────────────────────────────── */
.team-main .sportlink-wrap table tr:nth-child(n+2) td,
.team-main [data-article] table tr:nth-child(n+2) td {
  background: white !important;
  color: var(--text) !important;
  font-weight: 400 !important;
  font-size: 14px !important;
  padding: 12px 14px !important;
  border-top: none !important;
  border-bottom: 1px solid var(--gray-light) !important;
}
.team-main .sportlink-wrap table tr:nth-child(n+2):hover td,
.team-main [data-article] table tr:nth-child(n+2):hover td {
  background: var(--off-white) !important;
}
.team-main .sportlink-wrap table tr:last-child td,
.team-main [data-article] table tr:last-child td {
  border-bottom: none !important;
}

/* Eerste kolom (positienummer/datum) iets dikker */
.team-main .sportlink-wrap table tr:nth-child(n+2) td:first-child,
.team-main [data-article] table tr:nth-child(n+2) td:first-child {
  font-weight: 700 !important;
  color: var(--blue-dark) !important;
}

/* ── Navajofeeds hover via klasse (overschrijft inline stijlen) ── */
.team-main .sportlink-wrap table tr.navajo-hover td {
  background: #F0F5FB !important;
}

/* ── Team paginatitel uitlijnen met tabs en inhoud ── */
.team-page-header .team-container {
  padding-top: 32px;
}

/* ═════════════════════════════════════════════════
   WEBSHOP SECTIE (homepage)
═════════════════════════════════════════════════ */
.section-webshop {
  background: var(--off-white);
}

.webshop-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: center;
}

/* ── Foto ── */
.webshop-foto {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(10,40,100,.12);
  aspect-ratio: 3/4;
  background: var(--blue-dark);
}
.webshop-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.webshop-foto-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  min-height: 320px;
}
.webshop-foto-placeholder svg {
  width: 64px; height: 64px;
  color: rgba(255,255,255,.25);
}

/* ── Content ── */
.webshop-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.webshop-titel {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(28px, 4vw, 46px);
  color: var(--blue-dark);
  line-height: 1.1;
  letter-spacing: .5px;
  margin: 0;
}
.webshop-tekst {
  font-size: 16px;
  line-height: 1.8;
  color: #2A3E5A;
}
.webshop-tekst p { margin-bottom: 14px; }
.webshop-tekst p:last-child { margin-bottom: 0; }
.webshop-tekst a { color: var(--blue); font-weight: 600; }

/* ── Kortingscode badge ── */
.webshop-korting {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: white;
  border: 1.5px solid var(--blue-light);
  border-radius: 10px;
  padding: 14px 20px;
  font-size: 15px;
  color: var(--blue-dark);
  line-height: 1.4;
}
.webshop-korting svg { flex-shrink: 0; color: var(--blue); }
.webshop-korting strong { color: var(--blue); }

/* ── CTA knop ── */
.btn-webshop {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue);
  color: white !important;
  font-weight: 700;
  font-size: 16px;
  padding: 15px 32px;
  border-radius: 10px;
  text-decoration: none !important;
  transition: background .2s, transform .2s;
  box-shadow: 0 4px 16px rgba(26,94,184,.25);
  align-self: flex-start;
}
.btn-webshop:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
}

/* ── Responsief ── */
@media (max-width: 860px) {
  .webshop-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .webshop-foto {
    aspect-ratio: 16/9;
    max-height: 300px;
  }
  .webshop-foto img { object-position: center 20%; }
}

/* ═════════════════════════════════════════════════
   GUTENBERG TABEL STYLING
   Zelfde stijl als de trainingstijden tabel
═════════════════════════════════════════════════ */
.wp-block-table table,
.wp-block-table table.has-fixed-layout {
  width: 100% !important;
  border-collapse: collapse !important;
  font-size: 15px !important;
  font-family: 'DM Sans', sans-serif !important;
  background: white !important;
  border-radius: var(--radius) !important;
  overflow: hidden !important;
  box-shadow: 0 2px 12px rgba(10,40,100,.06) !important;
}

/* Header */
.wp-block-table table thead tr {
  background: var(--blue) !important;
}
.wp-block-table table thead th {
  background: var(--blue) !important;
  color: white !important;
  padding: 12px 18px !important;
  text-align: left !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: .3px !important;
  border: none !important;
}

/* Data rijen */
.wp-block-table table tbody tr {
  border-bottom: 1px solid var(--gray-light) !important;
  transition: background .15s !important;
}
.wp-block-table table tbody tr:last-child {
  border-bottom: none !important;
}
.wp-block-table table tbody tr:hover {
  background: var(--off-white) !important;
}
.wp-block-table table tbody td {
  padding: 12px 18px !important;
  color: var(--text) !important;
  border: none !important;
  font-size: 14px !important;
  vertical-align: middle !important;
}

/* Figuur wrapper reset */
.wp-block-table {
  margin: 28px 0 !important;
  overflow-x: auto !important;
}
.wp-block-table figcaption {
  font-size: 13px !important;
  font-style: italic !important;
  color: var(--gray) !important;
  text-align: center !important;
  margin-top: 8px !important;
}

@media (max-width: 640px) {
  .wp-block-table table thead th { font-size: 11px !important; padding: 10px 10px !important; }
  .wp-block-table table tbody td { font-size: 13px !important; padding: 10px 10px !important; }
}

/* ═════════════════════════════════════════════════
   MOBIEL MENU FIXES
═════════════════════════════════════════════════ */

/* Menu over de navbar heen, niet eronder */
.mobile-nav {
  z-index: 300 !important;
  top: 0 !important;
  padding-top: calc(var(--nav-h) + 12px) !important;
}

/* TAVV logo + sluitknop bovenin het menu */
.mobile-nav-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: var(--blue-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 301;
}

/* Grotere touch targets voor menu items */
.mobile-nav ul li a {
  padding: 16px 24px !important;
  font-size: 16px !important;
  min-height: 54px !important;
}
.mobile-nav ul ul li a {
  padding: 14px 24px 14px 44px !important;
  min-height: 48px !important;
}

/* Grotere uitklap pijl — makkelijker te tikken */
.mobile-nav .menu-item-has-children > a {
  position: relative;
}
.mobile-nav .menu-item-has-children > a .mobile-arrow {
  font-size: 22px !important;
  color: rgba(255,255,255,.6) !important;
  padding: 8px 4px 8px 16px !important; /* extra tik-gebied */
  margin-right: -4px;
}

/* Vergroot het klikbare gebied van de pijl */
.mobile-nav .menu-item-has-children > a::after {
  content: '';
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 60px;
}

/* Mobiele nav header (logo + sluit) */
.mobile-nav-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 24px;
  color: white !important;
  text-decoration: none !important;
  letter-spacing: 1px;
}
.mobile-close {
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: .8;
}
.mobile-close:hover { opacity: 1; }

/* ── Meerdere teamsponsoren grid ── */
.team-sponsoren-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}
.team-sponsoren-grid .team-sponsor-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 16px;
  background: white;
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  box-shadow: 0 2px 8px rgba(10,40,100,.05);
}
.team-sponsoren-grid .team-sponsor-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  width: 100%;
}
.team-sponsoren-grid .team-sponsor-logo {
  max-height: 70px;
  width: auto;
  object-fit: contain;
}
.team-sponsoren-grid .team-sponsor-naam {
  font-size: 13px;
  font-weight: 600;
  color: var(--blue-dark);
}

/* ── Alle teams knop op homepage ── */
.btn-alle-teams {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: var(--blue) !important;
  font-weight: 700;
  font-size: 15px;
  padding: 12px 28px;
  border-radius: 10px;
  border: 2px solid var(--blue);
  text-decoration: none !important;
  transition: background .2s, color .2s;
}
.btn-alle-teams:hover {
  background: var(--blue);
  color: white !important;
}

/* ═════════════════════════════════════════════════
   FOOTER CONTACT KOLOM
═════════════════════════════════════════════════ */
.footer-contact-blok {
  margin-bottom: 18px;
}
.footer-contact-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: 5px !important;
}
.footer-contact p {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255,255,255,.6);
  margin-bottom: 4px !important;
}
.footer-contact a {
  color: rgba(255,255,255,.6) !important;
  text-decoration: none !important;
  transition: color .15s;
}
.footer-contact a:hover {
  color: white !important;
}

/* ── Mobiel menu pijl als losse knop ── */
.mobile-nav li {
  position: relative;
}
.mobile-nav .mobile-arrow {
  position: absolute;
  right: 0; top: 0;
  height: 54px;
  width: 54px;
  background: none;
  border: none;
  color: rgba(255,255,255,.6);
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s, color .2s;
  padding: 0;
}
.mobile-nav .mobile-arrow:hover {
  color: white;
}
/* Zorg dat de link niet de volle breedte pakt zodat de knop klikbaar blijft */
.mobile-nav ul li a {
  padding-right: 60px !important;
}

/* ── Mobiel submenu open state fix ── */
.mobile-nav .mobile-sub-menu { display: none; background: rgba(0,0,0,.15); }
.mobile-nav .mobile-sub-menu.open { display: block; }
.mobile-nav .mobile-sub-menu li a { font-size: 14px; font-weight: 400; color: rgba(255,255,255,.7); padding-left: 40px !important; }