/* ==========================================================
   BC Tielt – basisstijl
   Clubkleuren: geel (#f8de00, zoals op de originele site) en zwart
   ========================================================== */
:root {
  --yellow: #f8de00;
  --yellow-dark: #dcc400;
  --yellow-soft: #fff8c2;
  --black: #111111;
  --black-2: #1e1e1e;
  --bg: #f6f6f3;
  --surface: #ffffff;
  --ink: #141414;
  --muted: #5c5c5c;
  --line: #e3e3de;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(0, 0, 0, .05), 0 8px 24px rgba(0, 0, 0, .08);
  --wrap: 1180px;
  --font-head: "Outfit", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  font: 16px/1.6 var(--font-body);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--ink); text-decoration-color: var(--yellow-dark); text-decoration-thickness: 2px; text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; color: var(--black); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; letter-spacing: -.01em; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 28px; } }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; background: var(--black); color: var(--yellow); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 8px; }
:focus-visible { outline: 3px solid var(--black); outline-offset: 2px; box-shadow: 0 0 0 6px var(--yellow); }

.muted { color: var(--muted); }
.center { text-align: center; }

/* ---------- Knoppen ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .45em;
  font: 600 .95rem/1 var(--font-body);
  padding: .75em 1.15em; border-radius: 999px;
  text-decoration: none; border: 1.5px solid transparent;
  transition: background .15s, color .15s, transform .15s, border-color .15s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--yellow); color: var(--black); }
.btn-primary:hover { background: var(--yellow-dark); }
.btn-dark { background: var(--black); color: #fff; }
.btn-dark:hover { background: var(--black-2); color: var(--yellow); }
.btn-ghost { color: var(--black); border-color: var(--line); background: var(--surface); }
.btn-ghost:hover { border-color: var(--black); }
.btn-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn-light:hover { border-color: var(--yellow); color: var(--yellow); }
.btn-lg { font-size: 1.05rem; padding: .95em 1.4em; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 4px solid var(--yellow);
  transition: box-shadow .2s;
}
.site-header.scrolled { box-shadow: 0 2px 14px rgba(0,0,0,.08); }
.header-inner { display: flex; align-items: center; gap: 16px; min-height: 80px; max-width: 1320px; }

.brand { display: flex; align-items: center; flex-shrink: 0; padding: 6px 0; }
.brand img { height: 64px; width: auto; }

.main-nav { display: flex; align-items: center; flex: 1; gap: 16px; }
.menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; flex: 1; justify-content: center; }
.menu > li { position: relative; }
.menu > li > a, .sub-toggle {
  display: flex; align-items: center; gap: 4px;
  font: 500 .94rem var(--font-body); color: var(--ink);
  text-decoration: none; background: none; border: 0; cursor: pointer;
  padding: 10px 9px; border-radius: 8px;
  transition: background .15s;
}
.menu > li > a:hover, .sub-toggle:hover, .sub-toggle[aria-expanded="true"] { background: var(--yellow); color: var(--black); }
.menu > li > a[aria-current="page"], .menu > li.is-active > .sub-toggle { font-weight: 700; box-shadow: inset 0 -3px 0 var(--black); border-radius: 8px 8px 0 0; }
.submenu a[aria-current="page"] { font-weight: 700; background: var(--yellow-soft); }
.sub-toggle::after {
  content: ""; width: 7px; height: 7px; margin-left: 3px; margin-top: -3px;
  border-right: 1.8px solid currentColor; border-bottom: 1.8px solid currentColor;
  transform: rotate(45deg); transition: transform .2s;
}
.sub-toggle[aria-expanded="true"]::after { transform: rotate(-135deg); margin-top: 3px; }

.submenu {
  list-style: none; margin: 0; padding: 8px;
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 230px;
  background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--yellow);
  border-radius: 4px 4px 12px 12px; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity .15s, transform .15s, visibility .15s;
}
.sub-toggle[aria-expanded="true"] + .submenu { opacity: 1; visibility: visible; transform: none; }
.submenu ul { list-style: none; margin: 0; padding: 0; }
.submenu a {
  display: block; padding: 8px 12px; border-radius: 8px;
  color: var(--ink); text-decoration: none; font-size: .93rem;
}
.submenu a:hover { background: var(--yellow); color: var(--black); }
.submenu.mega { display: grid; grid-template-columns: repeat(3, minmax(150px, auto)); gap: 8px; min-width: 520px; width: max-content; padding: 14px; }
.submenu.mega a { white-space: nowrap; }
.mega-title { font: 700 .72rem var(--font-body); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin: 4px 12px 6px; }

.nav-actions { display: flex; gap: 8px; }

.nav-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border: 0; background: var(--yellow); border-radius: 10px; cursor: pointer; }
.bars, .bars::before, .bars::after { display: block; width: 20px; height: 2px; background: var(--black); margin: 0 auto; position: relative; transition: transform .2s, background .2s; }
.bars::before, .bars::after { content: ""; position: absolute; left: 0; }
.bars::before { top: -6px; } .bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1040px) {
  /* Geen backdrop-filter: daarmee laat Safari op iOS het uitgeklapte menu onder de kop wegvallen */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--surface); }
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; top: var(--nav-top, 84px); left: 0; right: 0; bottom: 0; z-index: 60;
    background: var(--surface);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px 16px 32px; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
    opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility 0s linear .2s;
  }
  .nav-open .main-nav { opacity: 1; visibility: visible; transition: opacity .2s ease; }
  .menu { flex-direction: column; align-items: stretch; flex: none; }
  .menu > li { border-bottom: 1px solid var(--line); }
  .menu > li > a, .sub-toggle { width: 100%; justify-content: space-between; padding: 14px 8px; font-size: 1.05rem; }
  .menu > li > a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--yellow); border-radius: 0; }
  .submenu, .submenu.mega {
    position: static; min-width: 0; box-shadow: none; border: 0; background: transparent;
    display: none; opacity: 1; visibility: visible; transform: none; padding: 0 0 10px 10px;
  }
  .sub-toggle[aria-expanded="true"] + .submenu { display: block; }
  .submenu.mega > div + div { margin-top: 6px; }
  .nav-actions { margin-top: 20px; flex-direction: column; }
  .nav-actions .btn { justify-content: center; padding: 1em; }
}
@media (max-width: 480px) { .brand img { height: 48px; } }

/* Compacte ronde knoppen (zoeken, aanmelden, melden) zolang het volledige menu in de balk staat; de tekst staat in de tooltip */
@media (min-width: 1041px) {
  .btn-login { padding: 0; width: 42px; height: 42px; justify-content: center; flex-shrink: 0; }
  .btn-login .btn-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--black);
  color: #fff;
}
.hero::before { /* schuine gele baan */
  content: ""; position: absolute; top: -20%; bottom: -20%; right: -8%; width: 38%;
  background: var(--yellow); transform: skewX(-14deg);
}
/* Achtergrondfoto's: ze schijnen door een doorzichtige zwarte laag en de doorzichtige gele baan */
.hero-photos { position: absolute; inset: 0; z-index: 0; }
.hero-photos img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.6s ease; }
.hero-photos img.is-active { opacity: 1; }
.hero-photos::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(17,17,17,.82) 0%, rgba(17,17,17,.62) 55%, rgba(17,17,17,.45) 100%); }
.hero.has-photos::before { z-index: 1; opacity: .78; }
@media (prefers-reduced-motion: reduce) { .hero-photos img { transition: none; } }
/* Op smalle schermen wordt de foto te sterk bijgesneden: daar gewoon de zwart-gele band */
@media (max-width: 899px) { .hero-photos { display: none; } .hero.has-photos::before { opacity: 1; } }
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr; gap: 36px; padding-top: 64px; padding-bottom: 80px; }
@media (min-width: 900px) { .hero-inner { grid-template-columns: 1.5fr 1fr; align-items: center; padding-top: 96px; padding-bottom: 112px; } }
@media (max-width: 899px) { .hero::before { top: auto; bottom: -10%; height: 40%; width: 140%; right: -20%; transform: skewY(-8deg); } }
.eyebrow { display: inline-block; font: 700 .78rem var(--font-body); text-transform: uppercase; letter-spacing: .16em; color: var(--black); background: var(--yellow); padding: 6px 12px; border-radius: 4px; margin-bottom: 20px; }
.hero h1 { color: #fff; font-size: clamp(2.4rem, 6vw, 4.2rem); font-weight: 800; letter-spacing: -.025em; }
.hero h1 span { color: var(--yellow); }
.lead { font-size: 1.12rem; color: rgba(255,255,255,.8); max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.next-up {
  background: var(--surface); color: var(--ink);
  border-radius: 18px; padding: 26px 28px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
}
.next-up p { margin: 0; }
.next-label { font-size: .76rem; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
.next-day { font: 800 1.9rem var(--font-head); color: var(--black); margin-top: 6px !important; }
.next-time { display: inline-block; font: 700 1.15rem var(--font-head); background: var(--yellow); color: var(--black); padding: 3px 12px; border-radius: 999px; margin-top: 8px !important; }
.next-where { color: var(--muted); margin-top: 10px !important; }
.next-duty { display: flex; align-items: center; gap: 8px; margin-top: 10px !important; font-size: .95rem; color: var(--ink); }
.next-duty[hidden] { display: none; }
.next-duty svg { width: 18px; height: 18px; flex: none; color: var(--black); }
.next-duty strong { font-weight: 700; }
.next-up hr { border: 0; border-top: 1px solid var(--line); margin: 18px 0; }
.next-addr { display: flex; align-items: center; gap: 8px; color: var(--ink); font-size: .95rem; }
.next-addr svg { width: 18px; height: 18px; flex: none; color: var(--black); }


/* ---------- Tegels ---------- */
.quick { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .quick { grid-template-columns: repeat(3, 1fr); } }
.tile {
  background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 26px; text-decoration: none; color: var(--ink);
  border: 2px solid transparent; transition: transform .2s, border-color .2s;
}
.tile:hover { transform: translateY(-3px); border-color: var(--black); }
.tile-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--yellow); font-size: 1.4rem; margin-bottom: 14px; }
.tile h2 { font-size: 1.3rem; margin-bottom: .35em; }
.tile p { color: var(--muted); font-size: .96rem; }
.tile-more { font-weight: 700; color: var(--black); font-size: .93rem; border-bottom: 3px solid var(--yellow); }

/* ---------- Secties ---------- */
.section { padding: 72px 0; }
.section.wrap { padding-left: 16px; padding-right: 16px; }
@media (min-width: 720px) { .section.wrap { padding-left: 28px; padding-right: 28px; } }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.section-head h2 { margin: 0; }
.link-more { font-weight: 600; text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; }
.link-more:hover { text-decoration-color: var(--black); }

/* ---------- Nieuws ---------- */
.news-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 980px) { .news-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 640px) {
  .news-card.lead-item { grid-column: 1 / -1; }
  .news-card.lead-item h3 { font-size: 1.7rem; }
  .news-card.lead-item .news-body { max-width: 760px; }
}
.news-card {
  display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 18px; align-items: start;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; position: relative; transition: border-color .2s, box-shadow .2s;
}
.news-card:hover { border-color: var(--black); box-shadow: var(--shadow); }
.news-card.lead-item { background: var(--black); border-color: var(--black); color: #fff; }
.news-card.lead-item h3 a { color: #fff; }
.news-card.lead-item .news-body p:last-child { color: rgba(255,255,255,.78); }
.news-card.lead-item .tag { background: rgba(255,255,255,.12); color: var(--yellow); }
/* geel datumblok – knipoog naar de originele site */
.news-date {
  background: var(--yellow); color: var(--black); border-radius: 8px;
  text-align: center; text-transform: uppercase; padding: 8px 0 7px; line-height: 1;
  font: 600 .72rem var(--font-body); letter-spacing: .06em;
}
.news-date strong { display: block; font: 800 1.6rem/1 var(--font-head); margin: 2px 0 3px; letter-spacing: 0; }
.news-card h3 { margin-bottom: .35em; }
.news-card h3 a { color: var(--black); text-decoration: none; }
.news-card h3 a::after { content: ""; position: absolute; inset: 0; } /* volledige kaart klikbaar */
.news-body p:last-child { color: var(--muted); margin: 0; font-size: .96rem; }
.tag { display: inline-block; background: var(--yellow-soft); color: var(--black); font-weight: 600; padding: 3px 10px; border-radius: 999px; font-size: .74rem; margin-bottom: 8px; }

/* ---------- Speelmomenten / kalender ---------- */
.band { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.split { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1.15fr; } }

.schedule { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 14px; }
.schedule > li { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 16px 18px; background: var(--bg); border-radius: 12px; border-left: 5px solid var(--yellow); }
.schedule .day { font: 700 1.05rem var(--font-head); color: var(--black); margin: 0; }
.schedule ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.schedule ul li { display: flex; flex-wrap: wrap; gap: 4px 12px; }
.schedule time { font-weight: 700; color: var(--black); min-width: 118px; font-variant-numeric: tabular-nums; }
@media (max-width: 480px) { .schedule > li { grid-template-columns: 1fr; } }
.note { margin-top: 18px; font-size: .9rem; color: var(--muted); border-left: 3px solid var(--black); padding-left: 12px; }

.cal-card { background: var(--bg); border-radius: var(--radius); padding: 20px; border: 1px solid var(--line); }
.cal-card h3 { margin-bottom: 10px; }
.cal-embed { margin-bottom: 14px; }
.cal-embed iframe { display: block; width: 100%; border: 1px solid var(--line); border-radius: 10px; background: #fff; }

/* Eigen kalenderweergave (gegevens van de Google Calendar API, zie lib/calendar.php) */
.cal-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .8rem; color: var(--muted); margin-bottom: 12px; }
.cal-legend span::before, .cal-filter::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--c); margin-right: 6px; }
.cal-legend:has(.cal-filter) { gap: 6px; }
.cal-filter {
  display: inline-flex; align-items: center; font: 600 .8rem var(--font-body); color: var(--ink); cursor: pointer;
  background: var(--surface); border: 1.5px solid var(--line); border-radius: 999px; padding: 5px 12px;
  transition: border-color .15s, opacity .15s;
}
.cal-filter:hover { border-color: var(--black); }
.cal-filter[aria-pressed="false"] { opacity: .45; text-decoration: line-through; }
.cal-view .is-hidden { display: none !important; }
.cal-empty { margin: 8px 0 0; }
.cal-count { font-size: .88rem; margin: 14px 0 0; }

.cal-days { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.cal-day-title { font: 700 .8rem var(--font-body); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 8px; }
.cal-events { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.cal-event {
  display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 4px 14px; align-items: baseline;
  /* lichte tint van de kleur van de agenda, zodat je ziet uit welke agenda het komt */
  background: color-mix(in srgb, var(--c) 10%, #fff); border: 1px solid color-mix(in srgb, var(--c) 22%, #fff); border-left: 5px solid var(--c); border-radius: 10px; padding: 10px 14px;
}
.cal-time { font-weight: 700; color: var(--black); font-variant-numeric: tabular-nums; font-size: .92rem; white-space: nowrap; }
.cal-what { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; min-width: 0; }
.cal-what strong { font-weight: 600; overflow-wrap: anywhere; }
.cal-where { color: var(--muted); font-size: .88rem; flex-basis: 100%; }
.cal-tag { margin-left: auto; font-size: .72rem; font-weight: 600; color: var(--muted); }
.cal-more { flex-basis: 100%; font-size: .9rem; }
.cal-more summary { cursor: pointer; color: var(--muted); font-size: .85rem; }
.cal-more p { margin: 6px 0 0; white-space: normal; }
@media (max-width: 520px) {
  .cal-event { grid-template-columns: 1fr; }
  .cal-tag { margin-left: 0; }
}
.cal-list-view.is-compact .cal-event { padding: 8px 12px; grid-template-columns: 118px minmax(0, 1fr); }
.cal-view.is-single .cal-tag { display: none; }
/* Binnen paginatekst (.prose) niet de gewone marges van lijsten en titels */
.cal-view .cal-days, .cal-view .cal-events { margin: 0; padding: 0; list-style: none; }
.cal-view .cal-day, .cal-view .cal-event { margin: 0; }
.cal-view .cal-day-title { font: 700 .8rem var(--font-body); margin: 0 0 8px; }
.cal-view .cal-month-title { margin: 0; font-size: 1.4rem; }
.cal-list-view.is-compact .cal-days { gap: 14px; }

.cal-month-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 4px 0 10px; }
.cal-month-head .btn { padding: .6em 1em; }
.cal-month-title { margin: 0; font-size: 1.4rem; text-align: center; }
.cal-today-link { text-align: center; margin: -4px 0 10px; font-size: .88rem; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--line); gap: 1px; }
.cal-wd { background: var(--black); color: #fff; font: 600 .75rem var(--font-body); text-transform: uppercase; letter-spacing: .08em; text-align: center; padding: 8px 0; }
.cal-cell { background: var(--surface); min-height: 112px; padding: 6px; min-width: 0; }
.cal-cell.is-outside { background: var(--bg); }
.cal-cell.is-past { background: #fafaf8; }
.cal-cell.is-past .cal-events { opacity: .6; }
.cal-cell.is-today { background: var(--yellow-soft); box-shadow: inset 0 0 0 2px var(--yellow); }
.cal-date { margin: 0 0 4px; font-size: .85rem; font-weight: 600; color: var(--muted); }
.cal-date-long { display: none; }
.cal-cell.is-today .cal-date-num { display: inline-grid; place-items: center; min-width: 26px; height: 26px; border-radius: 50%; background: var(--yellow); color: var(--black); }
.cal-grid .cal-events { gap: 3px; }
.cal-grid .cal-event { display: block; padding: 3px 6px; border-radius: 6px; border-left-width: 3px; font-size: .74rem; line-height: 1.3; background: color-mix(in srgb, var(--c) 12%, #fff); }
.cal-grid .cal-time { font-size: .72rem; margin-right: 4px; }
.cal-grid .cal-what { display: inline; }
.cal-grid .cal-what strong { font-weight: 500; }
.cal-grid .cal-tag { display: none; }
.cal-grid .cal-time-end { display: none; }
@media (max-width: 760px) {
  /* Op een gsm: lijst met alleen de dagen waarop iets gepland is */
  .cal-grid { display: block; border: 0; background: none; border-radius: 0; }
  .cal-wd, .cal-cell.is-outside, .cal-cell.is-empty { display: none; }
  .cal-cell { min-height: 0; padding: 0; margin-bottom: 14px; background: none !important; }
  .cal-date { font: 700 .8rem var(--font-body); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 6px; }
  .cal-date-num { display: none; }
  .cal-cell.is-today .cal-date-num { display: none; }
  .cal-date-long { display: inline; }
  .cal-cell.is-today .cal-date-long::after { content: " · vandaag"; color: var(--black); }
  .cal-grid .cal-event { display: grid; grid-template-columns: 100px minmax(0, 1fr); padding: 8px 12px; font-size: .92rem; border-left-width: 5px; background: color-mix(in srgb, var(--c) 10%, #fff); }
  .cal-grid .cal-time { font-size: .9rem; }
  .cal-grid .cal-time-end { display: inline; }
  .cal-grid .cal-what { display: flex; }
}

/* ---------- Lidgeld ---------- */
.prices { display: grid; gap: 16px; grid-template-columns: 1fr; margin-bottom: 20px; }
@media (min-width: 760px) { .prices { grid-template-columns: repeat(3, 1fr); } }
.price { background: var(--yellow-soft); border: 1px solid #f1e48a; border-top: 4px solid var(--yellow); border-radius: var(--radius); padding: 28px; text-align: center; }
.price .amount { font: 800 2.6rem var(--font-head); color: var(--black); margin: 4px 0 6px; }
.price p:last-child { color: #4a4a44; margin: 0; }
.price-badge { display: inline-block; margin-left: 6px; font: 600 .7rem var(--font-body); background: var(--black); color: var(--yellow); padding: 3px 8px; border-radius: 999px; vertical-align: middle; }

/* ---------- Sponsors ---------- */
.sponsors { background: var(--surface); border-top: 1px solid var(--line); padding: 56px 0; }
.sponsors h2 { font-size: 1.3rem; color: var(--muted); font-weight: 600; margin-bottom: 26px; }
.sponsor-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.sponsor-list a, .sponsor-list span {
  display: grid; place-items: center; width: 160px; height: 90px; padding: 10px 16px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  transition: border-color .2s, transform .2s;
}
.sponsor-list img { max-height: 64px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .85; transition: filter .2s, opacity .2s; }
.sponsor-list a:hover { border-color: var(--black); transform: translateY(-2px); }
.sponsor-list a:hover img { filter: none; opacity: 1; }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: rgba(255,255,255,.72); padding-top: 56px; font-size: .94rem; border-top: 6px solid var(--yellow); }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--yellow); }
.site-footer :focus-visible { outline-color: var(--yellow); box-shadow: none; }
.footer-grid { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .footer-grid { grid-template-columns: 1.3fr repeat(var(--cols, 3), minmax(0, 1fr)); } }
.footer-logo { width: 150px; margin-bottom: 16px; }
.footer-title { font-weight: 700; color: var(--yellow); text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-footer p { margin: 0 0 .8em; }
.site-footer p:last-child { margin-bottom: 0; }
/* Links naar Instagram krijgen vanzelf het icoon (de footer is aanpasbaar in het beheer) */
.site-footer a[href*="instagram.com"] { display: inline-flex; align-items: center; gap: 8px; }
.site-footer a[href*="instagram.com"]::before {
  content: ""; width: 22px; height: 22px; flex: none; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 2h10a5 5 0 0 1 5 5v10a5 5 0 0 1-5 5H7a5 5 0 0 1-5-5V7a5 5 0 0 1 5-5Zm0 2a3 3 0 0 0-3 3v10a3 3 0 0 0 3 3h10a3 3 0 0 0 3-3V7a3 3 0 0 0-3-3H7Zm5 3.5a4.5 4.5 0 1 1 0 9 4.5 4.5 0 0 1 0-9Zm0 2a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5ZM17.5 6a1 1 0 1 1 0 2 1 1 0 0 1 0-2Z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 2h10a5 5 0 0 1 5 5v10a5 5 0 0 1-5 5H7a5 5 0 0 1-5-5V7a5 5 0 0 1 5-5Zm0 2a3 3 0 0 0-3 3v10a3 3 0 0 0 3 3h10a3 3 0 0 0 3-3V7a3 3 0 0 0-3-3H7Zm5 3.5a4.5 4.5 0 1 1 0 9 4.5 4.5 0 0 1 0-9Zm0 2a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5ZM17.5 6a1 1 0 1 1 0 2 1 1 0 0 1 0-2Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 18px; padding-bottom: 22px; font-size: .84rem; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: rgba(255,255,255,.72); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* ==========================================================
   Subpagina's
   ========================================================== */
.page-hero { background: var(--black); color: #fff; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; top: 0; bottom: 0; right: -60px; width: 220px; background: var(--yellow); transform: skewX(-14deg); }
.page-hero .wrap { position: relative; z-index: 1; padding-top: 44px; padding-bottom: 48px; padding-right: 200px; }
@media (max-width: 720px) { .page-hero::after { width: 70px; right: -30px; } .page-hero .wrap { padding-right: 56px; } }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 800; letter-spacing: -.02em; margin: 0; }
.page-lead { color: rgba(255,255,255,.8); font-size: 1.1rem; max-width: 680px; margin: 12px 0 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .86rem; color: rgba(255,255,255,.6); margin-bottom: 12px; }
.crumbs a { color: var(--yellow); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.news-hero-meta { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.75); font-size: .9rem; margin-bottom: 10px; }
.news-hero-meta .tag { margin: 0; background: var(--yellow); }

.page-body { padding-top: 48px; padding-bottom: 80px; }
.page-body.has-aside { display: grid; gap: 40px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) {
  .page-body.has-aside { grid-template-columns: 240px minmax(0, 1fr); }
  .page-body.news-article { grid-template-columns: minmax(0, 1fr) 280px; }
}
.page-aside { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
@media (min-width: 900px) { .page-aside { position: sticky; top: 104px; } }
.aside-title { font: 700 .74rem var(--font-body); text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin: 0 0 8px; }
.page-aside ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.page-aside a { display: block; padding: 8px 12px; border-radius: 8px; text-decoration: none; color: var(--ink); font-size: .95rem; }
.page-aside a:hover { background: var(--yellow-soft); }
.page-aside a[aria-current="page"] { background: var(--yellow); font-weight: 700; }
.aside-group { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); padding: 10px 12px 2px; }
.more-news a small { display: block; color: var(--muted); font-size: .78rem; }
/* Op kleine schermen staat het submenu al in het hoofdmenu */
@media (max-width: 899px) { .page-aside:not(.more-news) { display: none; } }

/* Lopende tekst */
.prose { max-width: 820px; font-size: 1.03rem; min-width: 0; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); margin: 1.8em 0 .6em; }
.prose h3 { margin: 1.4em 0 .4em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin: .3em 0; }
.prose a:not(.btn) { color: var(--black); font-weight: 500; text-decoration: underline; text-decoration-color: var(--yellow-dark); text-decoration-thickness: 2px; }
.prose a:not(.btn):hover { background: var(--yellow-soft); }
.prose .intro { font-size: 1.18rem; font-weight: 500; }
.prose .back { margin-top: 2em; }
.news-image { width: 100%; border-radius: var(--radius); margin-bottom: 24px; }

.checklist { list-style: none; padding: 0 !important; }
.checklist li { position: relative; padding-left: 30px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%; background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23111' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.steps { list-style: none; padding: 0 !important; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding: 2px 0 10px 46px; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--black); color: var(--yellow); display: grid; place-items: center; font: 700 .9rem var(--font-head); }

.table-wrap { overflow-x: auto; margin: 0 0 1.4em; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.prose table { width: 100%; border-collapse: collapse; font-size: .97rem; }
.prose th, .prose td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.prose thead th { background: var(--black); color: #fff; font-weight: 600; font-size: .85rem; }
.prose tbody tr:last-child > * { border-bottom: 0; }
.prose tbody th { font-weight: 600; }
.prose tbody tr:hover { background: var(--yellow-soft); }

.callout { background: var(--yellow); border-radius: var(--radius); padding: 16px 20px; margin: 0 0 1.2em; font-weight: 500; }
.contact-card { background: var(--surface); border: 1px solid var(--line); border-left: 6px solid var(--yellow); border-radius: var(--radius); padding: 18px 22px; margin: 0 0 1.4em; }
.contact-card p:last-child { margin-bottom: 0; }

.photo { margin: 0 0 1.6em; }
.photo img { width: 100%; border-radius: var(--radius); }
.people { list-style: none; padding: 0 !important; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); margin-bottom: 1.6em !important; }
.people li { display: flex; gap: 12px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; margin: 0 !important; }
.people li > span:last-child { display: grid; min-width: 0; line-height: 1.35; }
.people small { color: var(--muted); }
.people a { font-size: .85rem; overflow: hidden; text-overflow: ellipsis; }
.avatar { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--yellow); color: var(--black); display: grid; place-items: center; font: 800 1.2rem var(--font-head); }
img.avatar { object-fit: cover; object-position: 50% 20%; background: var(--line); }

.map { margin-top: 1em; }
.map iframe { width: 100%; height: 360px; border: 0; border-radius: var(--radius); }

.pillars { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); margin-bottom: 1.4em; }
.pillars > div { background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--yellow); border-radius: var(--radius); padding: 16px; }
.pillars p { margin: 6px 0 0; color: var(--muted); font-size: .93rem; }
.accordion { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 10px; padding: 0 20px; }
.accordion summary { cursor: pointer; padding: 16px 0; font: 700 1.1rem var(--font-head); list-style: none; display: flex; justify-content: space-between; align-items: center; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; width: 28px; height: 28px; border-radius: 50%; background: var(--yellow); display: grid; place-items: center; }
.accordion[open] summary::after { content: "–"; }
.accordion[open] { padding-bottom: 12px; }
.accordion h3 { font-size: 1rem; margin-top: 1em; }

.team-grid, .link-cards { list-style: none; padding: 0 !important; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.team-grid li, .link-cards li { margin: 0 !important; }
.prose .team-grid a, .prose .link-cards a { display: flex; align-items: center; gap: 12px; padding: 14px; background: var(--surface); border: 2px solid var(--line); border-radius: var(--radius); text-decoration: none; font: 700 1.05rem var(--font-head); transition: border-color .2s, transform .2s; }
.prose .team-grid a:hover, .prose .link-cards a:hover { border-color: var(--black); transform: translateY(-2px); background: var(--surface); }
.team-code { width: 46px; height: 46px; border-radius: 10px; background: var(--black); color: var(--yellow); display: grid; place-items: center; font-size: 1rem; }
.link-cards { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); margin-bottom: 1.6em !important; }
.prose .link-cards a { flex-direction: column; align-items: flex-start; gap: 2px; }
.link-cards span { font: 400 .9rem var(--font-body); color: var(--muted); }
.team-frame iframe { width: 100%; height: 900px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }

.album-year h2 { display: inline-block; background: var(--black); color: var(--yellow); padding: 4px 14px; border-radius: 8px; font-size: 1.2rem; }
.album-grid { list-style: none; padding: 0 !important; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.album-grid li { margin: 0 !important; }
.prose .album-grid a { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; height: 100%; padding: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; }
.prose .album-grid a:hover { border-color: var(--black); background: var(--yellow-soft); }
.album-icon { grid-row: span 2; font-size: 1.5rem; width: 44px; height: 44px; display: grid; place-items: center; background: var(--yellow); border-radius: 10px; }
.album-grid small { color: var(--muted); font-size: .8rem; font-weight: 400; }
.prose.is-wide { max-width: none; }

.contact-layout { display: grid; gap: 32px; grid-template-columns: 1fr; margin-bottom: 1.4em; }
@media (min-width: 900px) { .contact-layout { grid-template-columns: 1.6fr 1fr; } }
.contact-layout h2:first-child { margin-top: 0; }
.contact-layout > * { min-width: 0; }

.news-list { display: grid; gap: 14px; max-width: 860px; }
.pager { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 32px; }

/* ---------- Beheerbalk (alleen zichtbaar voor aangemelde gebruikers) ---------- */
.admin-bar { background: var(--black); color: rgba(255,255,255,.8); font-size: .85rem; }
.admin-bar-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 16px; padding-top: 7px; padding-bottom: 7px; }
.admin-bar-links { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: center; }
.admin-bar a { color: #fff; text-decoration: none; font-weight: 600; }
.admin-bar a:hover { color: var(--yellow); }
.admin-bar .admin-bar-cta { background: var(--yellow); color: var(--black); padding: 3px 10px; border-radius: 999px; }
.admin-bar .admin-bar-cta:hover { color: var(--black); background: var(--yellow-dark); }

/* ---------- Pagina-specifiek ---------- */
.page-fotoalbum ul { list-style: none; padding: 0 !important; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.page-fotoalbum li { margin: 0 !important; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 14px 14px 68px; position: relative; font-size: .82rem; color: var(--muted); min-height: 72px; }
.page-fotoalbum li::before { content: "📷"; position: absolute; left: 14px; top: 14px; width: 42px; height: 42px; display: grid; place-items: center; background: var(--yellow); border-radius: 10px; font-size: 1.3rem; }
.page-fotoalbum li a { display: block; font: 700 1rem var(--font-head); color: var(--black) !important; text-decoration: none !important; margin-bottom: 2px; }
.page-fotoalbum li a::after { content: ""; position: absolute; inset: 0; }
.page-fotoalbum li:hover { border-color: var(--black); background: var(--yellow-soft); }
.page-fotoalbum h2 { display: inline-block; background: var(--black); color: var(--yellow); padding: 4px 14px; border-radius: 8px; font-size: 1.2rem; }
.photo figcaption { color: var(--muted); font-size: .88rem; margin-top: 6px; }
.sponsor-name { font: 700 1rem var(--font-head); color: var(--black); }
.home-note p { margin: 0; }

/* ---------- Zoeken ---------- */
.search-form { display: flex; gap: 8px; max-width: 640px; margin: 0 0 1.2em; }
.search-form input {
  flex: 1; min-width: 0; font: 16px/1.4 var(--font-body); color: var(--ink); background: var(--surface);
  border: 1.5px solid var(--line); border-radius: 999px; padding: .7em 1.1em;
}
.search-form input:focus { border-color: var(--black); outline: none; box-shadow: 0 0 0 3px var(--yellow); }
.search-form .btn { flex: none; cursor: pointer; }
.search-form .btn svg { width: 18px; height: 18px; }
.search-form.is-large { margin: 18px 0 0; }
.search-form.is-large input { border-color: transparent; padding: .85em 1.2em; }
@media (max-width: 520px) {
  /* Alleen het vergrootglas: tekst verborgen, vaste ronde knop */
  .search-form .btn { font-size: 0; gap: 0; width: 46px; height: 46px; padding: 0; justify-content: center; align-self: center; }
  .search-form .btn svg { width: 20px; height: 20px; }
}

.search-results { max-width: 860px; }
.search-count { color: var(--muted); }
.search-kind { font: 600 .75rem/1 var(--font-body); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 0 0 .5em; }
.search-answer { background: var(--yellow-soft); border: 1.5px solid var(--yellow-dark); border-radius: var(--radius); padding: 20px 22px; margin-bottom: 16px; }
.search-answer h2 { font-size: 1.3rem; margin-bottom: .6em; }
.search-answer .prose > :last-child { margin-bottom: 0; }
.search-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.search-list li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; }
.search-list h3 { margin: 0 0 .35em; }
.search-list h3 a { text-decoration: none; }
.search-list h3 a:hover { text-decoration: underline; }
.search-list p:last-child { margin: 0; color: var(--muted); font-size: .95rem; }
.search-results mark, .search-list mark { background: var(--yellow); color: var(--black); padding: 0 2px; border-radius: 3px; }

/* ---------- Competitie: links naar tournamentsoftware ---------- */
.ts-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin: 0 0 1.4em; box-shadow: var(--shadow); }
.ts-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.ts-head strong { display: block; font: 800 1.35rem var(--font-head); }
.ts-head small { color: var(--muted); }
.ts-buttons { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.ts-note { font-size: .86rem; color: var(--muted); margin: 0; }
.team-list { list-style: none; padding: 0 !important; display: grid; gap: 10px; margin-bottom: 1.4em !important; }
.team-list li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin: 0 !important; padding: 12px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.prose .team-list a.team-name { display: flex; align-items: center; gap: 12px; text-decoration: none; font: 700 1.05rem var(--font-head); color: var(--black); }
.team-name > span:last-child { display: grid; line-height: 1.2; }
.team-name small { font: 400 .8rem var(--font-body); color: var(--muted); }
.team-links { display: flex; gap: 8px; flex-wrap: wrap; }
.prose .team-links a { font-size: .88rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: var(--yellow-soft); text-decoration: none; }
.prose .team-links a:hover { background: var(--yellow); }
.ts-club { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; padding: 14px 16px; background: var(--yellow-soft); border-radius: var(--radius); margin-bottom: 1.4em; }
.ts-club strong { width: 100%; }

/* ---------- Ploegfoto ---------- */
/* Het kader volgt de verhouding van de foto: niets wordt afgesneden.
   Heel hoge (staande) foto's worden begrensd en volledig getoond met een zwarte rand. */
.team-photo { position: relative; margin: 0 0 1.4em; border-radius: var(--radius); overflow: hidden; background: var(--black); }
.team-photo img { display: block; width: 100%; height: auto; max-height: min(75vh, 720px); object-fit: contain; margin: 0 auto; }
.team-photo.is-empty { background: var(--black); aspect-ratio: 16 / 9; }
.team-photo-placeholder { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px; color: rgba(255,255,255,.75); font-weight: 600;
  background: linear-gradient(135deg, transparent 62%, var(--yellow) 62%); }
.team-photo-placeholder .team-code { width: 64px; height: 64px; font-size: 1.3rem; background: var(--yellow); color: var(--black); }
.prose .team-photo-edit { position: absolute; right: 12px; bottom: 12px; background: rgba(255,255,255,.95); color: var(--black); padding: 7px 14px; border-radius: 999px; font-size: .86rem; font-weight: 600; text-decoration: none; box-shadow: var(--shadow); }
.prose .team-photo-edit:hover { background: var(--yellow); }
.team-thumb { width: 64px; height: 46px; object-fit: cover; object-position: center 35%; border-radius: 8px; flex: none; }

/* ---------- Competitie: rangschikking en wedstrijden ---------- */
/* Bovenaan: compacte rangschikking links, ploegfoto rechts */
.comp-top { display: grid; gap: 20px 24px; grid-template-columns: 1fr; align-items: start; margin: 0 0 1.6em; }
.comp-top .team-photo { margin: 0; }
.team-photo-caption p { margin: 0; }
.team-photo-caption { font-size: .82rem; line-height: 1.5; color: var(--muted); background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; margin: 8px 0 0; }
/* De kop "Rangschikking" staat boven de tabel; de foto begint gelijk met de zwarte tabelkop */
@media (min-width: 760px) {
  .comp-top:not(.no-standings) { grid-template-columns: minmax(250px, 2fr) 3fr; row-gap: 0; }
  .comp-top:not(.no-standings) .comp-mini { display: contents; }
  .comp-top:not(.no-standings) .comp-mini .comp-head { grid-column: 1; grid-row: 1; }
  .comp-top:not(.no-standings) .standings-mini { grid-column: 1; grid-row: 2; }
  .comp-top:not(.no-standings) .team-photo-wrap { grid-column: 2; grid-row: 2; }
}
.comp-mini .comp-head { flex-direction: column; gap: 0; }
.comp-mini h2 { font-size: 1.35rem; }
.prose table.standings-mini { width: 100%; margin: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); border-collapse: separate; border-spacing: 0; overflow: hidden; font-size: .92rem; }
.prose table.standings-mini td, .prose table.standings-mini th { padding: 7px 8px; }
.prose table.standings-mini td:first-child { width: 2em; }
.comp-block { margin: 0 0 1.6em; }
.comp-block h2 { margin: 0 0 .6em; font-size: 1.35rem; }
.comp-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; margin-bottom: .6em; }
.comp-head h2 { margin: 0; }
.comp-division { font-size: .88rem; color: var(--muted); }
.prose table.standings td, .prose table.standings th { padding: 10px 10px; text-align: center; font-variant-numeric: tabular-nums; }
.prose table.standings tbody th { text-align: left; font-weight: 500; }
.prose table.standings thead th:nth-child(2) { text-align: left; }
.prose table.standings tr.is-ours { background: var(--yellow); }
.prose table.standings tr.is-ours th { font-weight: 800; }
.prose table.standings tr.is-ours:hover { background: var(--yellow-dark); }
.comp-columns { display: grid; gap: 0 28px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .comp-columns { grid-template-columns: 1fr 1fr; } }
.match-list { list-style: none; padding: 0 !important; margin: 0 !important; display: grid; gap: 10px; }
.match-list li.match { margin: 0; display: grid; gap: 4px; padding: 12px 14px 12px 16px; background: var(--surface); border: 1px solid var(--line); border-left: 5px solid var(--line); border-radius: 10px; }
.match.is-win { border-left-color: #1a7f37; }
.match.is-loss { border-left-color: #c8102e; }
.match.is-draw { border-left-color: #8a8a8a; }
.match.is-upcoming { border-left-color: var(--yellow); }
.match.is-pending { border-left-color: var(--line); }
.match.is-pending .match-result { color: var(--muted); }
.match-date { font-size: .8rem; color: var(--muted); }
.match-teams { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; font-size: .95rem; }
.match-teams > span:first-child { text-align: right; }
.match-teams .ours { font-weight: 800; }
.match-score { font: 800 1.05rem var(--font-head); background: var(--bg); padding: 2px 10px; border-radius: 8px; white-space: nowrap; }
.match-result { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.match.is-win .match-result { color: #1a7f37; }
.match.is-loss .match-result { color: #c8102e; }
.match.is-draw .match-result { color: var(--muted); }
.match-place { font-size: .8rem; color: var(--muted); }
.prose table.full-schedule td { font-size: .9rem; padding: 8px 10px; }
.prose table.full-schedule td.ours { font-weight: 700; }
.comp-source { font-size: .82rem; color: var(--muted); margin-top: 1em; }
.team-stand { display: grid; text-align: right; font-size: .9rem; }
.team-stand small { color: var(--muted); font-size: .78rem; }
@media (max-width: 560px) { .hide-sm { display: none; } .match-teams { font-size: .88rem; } }

/* ---------- Hero: twee kaarten (speelmoment + thuiswedstrijd) ---------- */
.hero-cards { display: grid; gap: 16px; align-content: center; }
.next-up .next-addr { margin-top: 14px !important; padding-top: 14px; border-top: 1px solid var(--line); }
.next-day-sm { font-size: 1.35rem; }
.next-matches { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; }
.next-matches li { display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 10px; }
.nm-time { display: inline-block; background: var(--yellow); color: var(--black); font: 700 .9rem var(--font-head); padding: 2px 10px; border-radius: 999px; white-space: nowrap; }
.nm-teams { color: var(--ink); text-decoration: none; line-height: 1.35; }
.nm-teams span { color: var(--muted); font-size: .88em; }
.nm-teams:hover strong { text-decoration: underline; text-decoration-color: var(--yellow-dark); text-decoration-thickness: 2px; }
.next-match .next-where { margin-top: 12px !important; font-size: .9rem; }

/* ---------- Meldpunt integriteit ---------- */
.report-form, .report-done { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; margin: 1.6em 0; }
.report-done { border-left: 6px solid var(--yellow); }
.report-done h2 { margin-top: 0; font-size: 1.3rem; }
.report-form .field { margin: 0 0 1.1em; border: 0; padding: 0; min-width: 0; }
.report-form label, .report-form legend { display: block; font-weight: 600; margin-bottom: 6px; padding: 0; }
.report-form .req { color: #b42318; }
.report-form .opt { font-weight: 400; color: var(--muted); font-size: .88rem; }
.report-form input[type="text"], .report-form input[type="email"], .report-form input[type="tel"], .report-form textarea {
  width: 100%; font: 16px/1.5 var(--font-body); color: var(--ink); background: #fff;
  border: 1.5px solid var(--line); border-radius: 10px; padding: .65em .85em;
}
.report-form textarea { resize: vertical; min-height: 9em; }
.report-form input:focus, .report-form textarea:focus { border-color: var(--black); outline: none; box-shadow: 0 0 0 3px var(--yellow); }
.report-form .has-error input, .report-form .has-error textarea { border-color: #b42318; }
.field-error, .form-error { color: #b42318; font-size: .9rem; margin: 6px 0 0; }
.form-error { background: #fdecea; border-radius: 10px; padding: 10px 14px; margin: 0 0 1.2em; }
.choice-row { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { flex: 1 1 220px; display: flex !important; align-items: center; gap: 10px; border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 14px; cursor: pointer; font-weight: 500 !important; margin: 0 !important; }
.choice:has(input:checked) { border-color: var(--black); background: var(--yellow); }
.choice input { width: 18px; height: 18px; accent-color: var(--black); flex: none; }
.choice-photo { flex: none; width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; background: var(--black); color: var(--yellow); display: grid; place-items: center; font: 800 1.4rem var(--font-head); }
.choice-text { display: grid; line-height: 1.3; min-width: 0; }
.choice-text strong { font-weight: 700; }
.choice-text strong + span { font-size: .85rem; font-weight: 400; color: var(--muted); }
.choice:has(input:checked) .choice-text strong + span { color: var(--black); }
.field-intro { color: var(--muted); font-size: .92rem; margin: 1.4em 0 .8em; }
.field-grid { display: grid; gap: 0 16px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.report-privacy { font-size: .85rem; color: var(--muted); }
.report-form .btn { cursor: pointer; font-size: 1rem; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
