/* Brandweer112.nl — v2
 * Opbouw naar het voorbeeld van Marvin (112nederland.nl): grote foto's met de titel erover,
 * kaarten met foto, kop en intro, een zijbalk en secties per rubriek.
 * Kleuren uit het logo: navy voor de menubalk, rood voor accenten, secties en de footer. */

@font-face {
  font-family: "Inter";
  src: url("fonts/inter-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #003868;
  --navy-diep: #002447;
  --rood: #d0111a;
  --rood-diep: #a50d14;
  --inkt: #1c1c1c;
  --tekst: #333333;
  --zacht: #666666;
  --lijn: #dcdcdc;
  --vlak: #f2f2f2;
  --wit: #ffffff;

  --soort-brand: #d0111a;
  --soort-verkeer: #c85a00;
  --soort-politie: #003868;
  --soort-hulpverlening: #1b7a3a;
  --soort-nieuws: #555555;

  --font: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --breed: 1170px;
  --goot: 20px;
  --kolom-gap: 30px;
  --schaduw: 0 1px 2px rgba(0, 0, 0, .08);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--vlak);
  color: var(--tekst);
  font: 400 16px/1.5 var(--font);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--rood); outline-offset: 2px; }
a, button, input { -webkit-tap-highlight-color: transparent; }
.getal, .tijd, time { font-variant-numeric: tabular-nums; }

.skiplink { position: absolute; left: var(--goot); top: -100px; z-index: 100; background: var(--inkt); color: var(--wit); padding: 8px 16px; }
.skiplink:focus { top: 8px; }

.wrap { max-width: calc(var(--breed) + 2 * var(--goot)); margin: 0 auto; padding-inline: var(--goot); }

/* ─── Kop ─────────────────────────────────────────────── */
.kop { background: var(--wit); }
.kop-inner { display: flex; align-items: center; gap: 24px; min-height: 104px; }
.merk { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.merk .schild { width: 58px; height: auto; }
.merk .woord { display: grid; gap: 4px; }
.merk .woordmerk { width: 300px; height: auto; }
.merk .slogan { font-size: 13px; font-weight: 600; font-style: italic; color: var(--rood); letter-spacing: .01em; }
.kop-rechts { margin-left: auto; display: flex; align-items: center; gap: 20px; }
.vandaag { font-size: 14px; color: var(--zacht); }
.tipknop {
  display: inline-flex; align-items: center; gap: 8px;
  background: #1f9d55; color: var(--wit); font-weight: 700; font-size: 15px;
  padding: 10px 16px; border-radius: 3px; white-space: nowrap;
  transition: background-color .2s ease;
}
.tipknop svg { width: 20px; height: 20px; }
.tipknop:hover { background: #17803f; }

.menubalk { background: var(--navy); border-bottom: 4px solid var(--rood); position: sticky; top: 0; z-index: 20; }
.admin-bar .menubalk { top: 32px; }
.menubalk-inner { display: flex; align-items: stretch; }
.hoofdmenu { display: flex; flex-wrap: wrap; }
.hoofdmenu a {
  display: block; color: var(--wit); font-weight: 700; font-size: 15px;
  padding: 15px 14px; transition: background-color .15s ease;
}
.hoofdmenu a:first-child { padding-left: 0; }
.hoofdmenu a:hover { background: var(--navy-diep); }
.hoofdmenu a:first-child:hover { background: none; text-decoration: underline; }
.hoofdmenu a[aria-current="page"] { box-shadow: inset 0 -4px 0 var(--rood); }
.menubalk .zoekknop { margin-left: auto; }
.icoonknop {
  background: none; border: 0; color: var(--wit); cursor: pointer;
  width: 50px; display: grid; place-items: center;
}
.icoonknop svg { width: 20px; height: 20px; }
.icoonknop:hover { background: var(--navy-diep); }
.kopknop { display: none; background: none; border: 0; cursor: pointer; width: 44px; height: 44px; place-items: center; flex-shrink: 0; }
.kopknop svg { width: 26px; height: 26px; }
.kopknop--menu { color: var(--rood); }
.kopknop--zoek { color: #8c8c8c; }
.mobiel-menu { display: none; background: var(--navy); border-top: 3px solid var(--rood); }
.mobiel-menu nav a { display: block; color: var(--wit); font-weight: 700; padding: 13px var(--goot); border-top: 1px solid rgba(255, 255, 255, .1); }
.mobiel-menu .tipknop { margin: 16px var(--goot) 20px; }
body.menu-open .mobiel-menu { display: block; }
.zwevende-tip {
  display: none; position: fixed; right: 16px; bottom: 16px; z-index: 30;
  width: 56px; height: 56px; border-radius: 50%; background: #1f9d55; color: var(--wit);
  place-items: center; box-shadow: 0 3px 10px rgba(0, 0, 0, .3);
}
.zwevende-tip svg { width: 30px; height: 30px; }

.kop-slogan { display: none; }

/* ─── Badges en labels ────────────────────────────────── */
/* Afspeelknop over de foto van een bericht met video */
.playknop {
  position: absolute; left: 50%; top: 50%; z-index: 2; transform: translate(-50%, -50%);
  width: 58px; height: 58px; border-radius: 50%;
  background: rgba(208, 17, 26, .92); color: var(--wit);
  display: grid; place-items: center; box-shadow: 0 2px 12px rgba(0, 0, 0, .35);
  transition: transform .2s ease;
}
.playknop svg { width: 26px; height: 26px; margin-left: 3px; }
a:hover .playknop { transform: translate(-50%, -50%) scale(1.08); }
.tegel .playknop { top: 42%; }
.tegel--groot .playknop { width: 76px; height: 76px; }
.tegel--groot .playknop svg { width: 34px; height: 34px; }
.reportage-lijst .playknop, .toplijst .playknop { width: 34px; height: 34px; }
.reportage-lijst .playknop svg, .toplijst .playknop svg { width: 16px; height: 16px; margin-left: 2px; }
.kaart .beeld video, .tegel video, .bekijk-ook video, .toplijst video, .reportage-lijst video { width: 100%; height: 100%; object-fit: cover; display: block; }
.tegel video { position: absolute; inset: 0; }
.fotobadge {
  position: absolute; top: 0; left: 0; z-index: 2;
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--rood); color: var(--wit);
  font-size: 13px; font-weight: 700; padding: 8px 10px; line-height: 1;
}
.fotobadge svg { width: 18px; height: 18px; }
.soort {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--soort-kleur, var(--soort-nieuws));
}
.soort--brand { --soort-kleur: var(--soort-brand); }
.soort--verkeer { --soort-kleur: var(--soort-verkeer); }
.soort--politie { --soort-kleur: var(--soort-politie); }
.soort--hulpverlening { --soort-kleur: var(--soort-hulpverlening); }
.soort--blok { background: var(--soort-kleur, var(--soort-nieuws)); color: var(--wit); padding: 4px 8px; }

/* ─── Uitgelicht: grote foto + twee tegels ────────────── */
main { padding-bottom: 60px; }
.uitgelicht { display: grid; grid-template-columns: 2fr 1fr; gap: 8px; margin-top: 30px; height: 500px; }
.uitgelicht-rechts { display: grid; grid-template-rows: 1fr 1fr; gap: 8px; min-height: 0; }
.tegel { position: relative; overflow: hidden; background: #222; min-height: 0; display: block; }
.tegel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.16, 1, .3, 1); }
.tegel:hover img { transform: scale(1.03); }
.tegel::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, .85) 0%, rgba(0, 0, 0, .35) 38%, rgba(0, 0, 0, 0) 62%);
}
.tegel-tekst { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 20px; color: var(--wit); display: grid; gap: 8px; justify-items: start; }
.tegel h2, .tegel h3 { color: var(--wit); font-weight: 700; text-shadow: 0 1px 3px rgba(0, 0, 0, .5); text-wrap: balance; }
.tegel--groot h2 { font-size: 32px; line-height: 1.15; letter-spacing: -.01em; }
.tegel--groot .tegel-tekst { padding: 26px 24px; }
.tegel h3 { font-size: 18px; line-height: 1.25; }
.tegel .tijdregel { font-size: 13px; color: rgba(255, 255, 255, .85); }

/* ─── Kolommen: inhoud + zijbalk ──────────────────────── */
.kolommen > * { min-width: 0; }
.kolommen { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: var(--kolom-gap); margin-top: 40px; align-items: start; }

.kaarten { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 20px; }
.kaart > a { display: block; }
.kaart .beeld { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: #ddd; }
.kaart .beeld img { width: 100%; height: 100%; object-fit: cover; transition: opacity .25s ease; }
.kaart > a:hover .beeld img { opacity: .9; }
.kaart .soort { margin-top: 12px; }
.kaart h3 { margin-top: 4px; font-size: 18px; line-height: 1.22; font-weight: 700; color: var(--inkt); }
.kaart > a:hover h3 { color: var(--navy); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.kaart p { margin-top: 8px; font-size: 15px; line-height: 1.45; color: var(--zacht); }
.kaart .tijdregel { margin-top: 8px; font-size: 13px; color: var(--zacht); }

.meerknop {
  display: inline-block; margin-top: 36px; background: var(--wit); border: 1px solid var(--lijn);
  padding: 11px 18px; font-weight: 700; color: var(--inkt); border-radius: 3px; box-shadow: var(--schaduw);
}
.meerknop:hover { border-color: var(--navy); color: var(--navy); }
.rechts { display: flex; justify-content: flex-end; }

/* Fotoreportages (zoals "Laatste video's") */
.reportages { background: var(--wit); margin-top: 44px; padding: 18px; box-shadow: var(--schaduw); }
.blokkop { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 14px; }
.blokkop h2 { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--inkt); }
.blokkop a { font-size: 13px; font-weight: 700; color: var(--rood); }
.reportages-raster { display: grid; grid-template-columns: 1.35fr 1fr; gap: 10px; }
.reportages .tegel--groot { aspect-ratio: 16 / 10; }
.reportages .tegel--groot h2 { font-size: 21px; line-height: 1.2; }
.reportages .tegel--groot .tegel-tekst { padding: 18px; }
.reportage-lijst { display: grid; gap: 10px; align-content: start; }
.reportage-lijst a { display: grid; grid-template-columns: 140px 1fr; gap: 12px; align-items: center; }
.reportage-lijst .beeld { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #ddd; }
.reportage-lijst .beeld img { width: 100%; height: 100%; object-fit: cover; }
.reportage-lijst .fotobadge { font-size: 11px; padding: 5px 6px; }
.reportage-lijst .fotobadge svg { width: 13px; height: 13px; }
.reportage-lijst strong { font-size: 14px; line-height: 1.3; color: var(--inkt); }
.reportage-lijst a:hover strong { color: var(--navy); text-decoration: underline; }

/* Rubrieksecties */
.rubriek { margin-top: 48px; }
.rubriekkop { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 16px; }
.rubriekkop h2 { font-size: 26px; font-weight: 500; color: var(--rood); }
.rubriekkop a { font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--zacht); }
.rubriekkop a:hover { color: var(--rood); }
.strook {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 40px) / 3.4);
  gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px;
  scrollbar-width: thin;
}
.strook > * { scroll-snap-align: start; }

/* ─── Zijbalk ─────────────────────────────────────────── */
.zijbalk { display: grid; gap: 24px; }
.widget { background: var(--wit); box-shadow: var(--schaduw); }
.widget-kop { background: var(--rood); color: var(--wit); text-align: center; font-size: 14px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 11px 14px; }
.widget-inhoud { padding: 16px; }
.widget p { font-size: 15px; color: var(--zacht); }
.widget .tipknop { margin-top: 14px; width: 100%; justify-content: center; }

.fbkaart { display: grid; grid-template-columns: 56px 1fr; gap: 12px; align-items: center; }
.fbkaart .logo { width: 56px; height: 56px; border-radius: 50%; border: 2px solid var(--navy); display: grid; place-items: center; background: var(--wit); overflow: hidden; }
.fbkaart .logo img { width: 34px; }
.fbkaart strong { display: block; font-size: 18px; font-weight: 600; color: #1d4ed8; line-height: 1.2; }
.fbkaart span { font-size: 13px; color: var(--zacht); }
.socialrij { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.socialknop { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--lijn); border-radius: 3px; padding: 6px 10px; font-size: 13px; font-weight: 700; color: var(--inkt); }
.socialknop svg { width: 15px; height: 15px; }
.socialknop:hover { border-color: var(--navy); color: var(--navy); }

.toplijst { counter-reset: top; }
.toplijst li { counter-increment: top; border-top: 1px solid #eee; }
.toplijst li:first-child { border-top: 0; }
.toplijst a { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 12px 0; align-items: start; }
.toplijst .beeld { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: #ddd; }
.toplijst .beeld img { width: 100%; height: 100%; object-fit: cover; }
.toplijst .beeld::before {
  content: counter(top); position: absolute; left: 0; top: 0; z-index: 1;
  background: var(--navy); color: var(--wit); font-weight: 700; font-size: 13px; width: 24px; height: 24px; display: grid; place-items: center;
}
.toplijst a > span:last-child { display: block; }
.toplijst strong { display: block; font-size: 14px; line-height: 1.3; color: var(--inkt); }
.toplijst a > span:last-child > span { display: block; font-size: 12px; color: var(--zacht); margin-top: 4px; }
.toplijst a:hover strong { color: var(--navy); text-decoration: underline; }

.veld { margin-top: 10px; }
.veld label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 4px; color: var(--inkt); }
.veld input { width: 100%; padding: 10px 11px; border: 1px solid #c8c8c8; border-radius: 3px; background: var(--wit); }
.veld input:focus { outline: 2px solid var(--navy); outline-offset: -1px; }
.knop-rood {
  margin-top: 12px; width: 100%; background: var(--rood); color: var(--wit); border: 0; border-radius: 3px;
  padding: 12px; font-weight: 700; cursor: pointer; transition: background-color .2s ease;
}
.knop-rood:hover { background: var(--rood-diep); }

/* ─── Artikel ─────────────────────────────────────────── */
.kruimel { font-size: 13px; color: var(--zacht); margin-top: 24px; display: flex; flex-wrap: wrap; gap: 6px; }
.kruimel a { color: var(--navy); font-weight: 600; }
.kruimel a:hover { text-decoration: underline; }
.artikel-foto { position: relative; }
.artikel-foto img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.artikel-foto figcaption { font-size: 12px; color: var(--zacht); margin-top: 6px; }
.artikel h1 { margin-top: 22px; font-size: 32px; line-height: 1.2; font-weight: 700; color: var(--inkt); letter-spacing: -.01em; text-wrap: balance; }
.artikel .soort { margin-top: 20px; }
.artikel .geplaatst { margin-top: 10px; font-size: 13px; color: var(--zacht); }
.deelbalk { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 18px; }
.deelbalk a { display: grid; place-items: center; height: 42px; color: var(--wit); border-radius: 2px; transition: filter .15s ease; }
.deelbalk a:hover { filter: brightness(.9); }
.deelbalk svg { width: 22px; height: 22px; }
.deel-fb { background: #1877f2; }
.deel-x { background: #111; }
.deel-wa { background: #25d366; }

.tekst { margin-top: 20px; font-size: 17px; line-height: 1.65; color: var(--tekst); }
.tekst p { margin-bottom: 16px; }
.tekst strong { color: var(--inkt); }
.tekst a { color: var(--navy); text-decoration: underline; text-underline-offset: 2px; }
.tekst h2, .tekst h3 { margin: 32px 0 14px; font-size: 22px; line-height: 1.25; font-weight: 700; color: var(--inkt); }
.tekst ul, .tekst ol { list-style: revert; padding-left: 1.3em; margin-bottom: 16px; }
.tekst blockquote { margin: 24px 0; border-left: 4px solid var(--rood); padding: 4px 0 4px 18px; font-size: 20px; font-weight: 600; color: var(--inkt); }
.tekst .wp-block-image { margin: 24px 0; }
.tekst figcaption, .tekst .wp-element-caption { font-size: 13px; color: var(--zacht); margin-top: 6px; text-align: left; }
.tekst iframe { max-width: 100%; }
/* Video's in een bericht */
.tekst .wp-block-video { margin: 20px 0; }
.tekst .wp-block-gallery + .wp-block-video { margin-top: 6px; }
.tekst .wp-block-video video { width: 100%; height: auto; background: #000; display: block; }
.tekst .wp-block-embed { margin: 20px 0; }
.tekst .wp-block-embed__wrapper { position: relative; aspect-ratio: 16 / 9; background: #000; }
.tekst .wp-block-embed__wrapper iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Fotogalerij in een bericht */
.tekst .wp-block-gallery.has-nested-images { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px !important; margin: 0 0 16px; }
.tekst .wp-block-gallery.has-nested-images figure.wp-block-image { width: auto !important; margin: 0 !important; aspect-ratio: 3 / 2; overflow: hidden; background: #ddd; }
.tekst .wp-block-gallery.has-nested-images figure.wp-block-image img { width: 100% !important; height: 100% !important; object-fit: cover; cursor: zoom-in; transition: opacity .2s ease; }
.tekst .wp-block-gallery.has-nested-images figure.wp-block-image img:hover { opacity: .85; }
.tekst .wp-block-gallery.has-nested-images figure.wp-block-image figcaption { display: none; }
.tekst .wp-block-gallery:not(:has(img)) { display: none !important; }
.tekst h2:has(+ .wp-block-gallery:not(:has(img))) { display: none; }

.tags { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13px; }
.tags strong { color: var(--inkt); margin-right: 4px; }
.tags a { background: var(--wit); border: 1px solid var(--lijn); padding: 4px 10px; border-radius: 3px; color: var(--inkt); }
.tags a:hover { border-color: var(--navy); color: var(--navy); }

.bekijk-ook { margin-top: 44px; }
.bekijk-ook > h2 { text-align: center; font-size: 22px; font-weight: 700; font-style: italic; color: var(--inkt); margin-bottom: 16px; }
.bekijk-ook ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 10px; }
.bekijk-ook a { display: block; text-align: center; }
.bekijk-ook .beeld { aspect-ratio: 16 / 10; overflow: hidden; background: #ddd; }
.bekijk-ook img { width: 100%; height: 100%; object-fit: cover; }
.bekijk-ook strong { display: block; margin-top: 6px; font-size: 14px; font-weight: 500; line-height: 1.35; color: #2563a8; }
.bekijk-ook span { display: block; font-size: 13px; color: var(--zacht); }
.bekijk-ook a:hover strong { text-decoration: underline; }

.kanaalbanner { margin-top: 36px; text-align: center; }
.kanaalbanner .widget-kop { display: block; }
.kanaalbanner p { font-size: 14px; font-style: italic; color: var(--zacht); margin-top: 6px; }
.kanaalbanner .tipknop { margin-top: 14px; }

.bladeren { margin-top: 36px; display: flex; justify-content: space-between; gap: 20px; }
.bladeren a { display: grid; gap: 2px; max-width: 48%; color: #2563a8; font-size: 15px; line-height: 1.35; }
.bladeren .richting { font-size: 12px; color: var(--zacht); }
.bladeren .volgende { margin-left: auto; text-align: right; }
.bladeren a:hover .t { text-decoration: underline; }

.zwevend-delen { position: fixed; left: 0; top: 50%; transform: translateY(-50%); z-index: 15; display: grid; }
.zwevend-delen a { width: 42px; height: 42px; display: grid; place-items: center; color: var(--wit); }
.zwevend-delen svg { width: 20px; height: 20px; }

/* ─── Overzichten en tekstpagina's ────────────────────── */
.paginakop { margin-top: 30px; }
.paginakop h1 { font-size: 30px; font-weight: 700; color: var(--inkt); line-height: 1.2; }
.paginakop p { margin-top: 6px; color: var(--zacht); }
.paginakop .streep { display: block; width: 60px; height: 4px; background: var(--rood); margin-top: 12px; }
.paginatekst { font-size: 17px; line-height: 1.65; }
.paginatekst p { margin-bottom: 16px; }
.paginatekst a { color: var(--navy); text-decoration: underline; }
.paginablok { background: var(--wit); box-shadow: var(--schaduw); padding: 28px; }

.paginering { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 6px; }
.paginering .page-numbers { display: inline-block; min-width: 40px; text-align: center; background: var(--wit); border: 1px solid var(--lijn); padding: 9px 12px; font-weight: 700; border-radius: 3px; color: var(--inkt); }
.paginering a.page-numbers:hover { border-color: var(--navy); color: var(--navy); }
.paginering .current { background: var(--navy); border-color: var(--navy); color: var(--wit); }
.paginering .dots { background: none; border: 0; }

.contactraster { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.contactkaart { background: var(--vlak); padding: 18px; }
.contactkaart h2 { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--rood); }
.contactkaart a.groot { display: block; margin-top: 6px; font-size: 19px; font-weight: 700; color: var(--navy); word-break: break-word; }
.contactkaart p { margin-top: 4px; font-size: 14px; color: var(--zacht); }

/* ─── Footer ──────────────────────────────────────────── */
.voet { background: var(--rood); color: var(--wit); text-align: center; padding: 40px 0 28px; }
.voet-social { display: flex; justify-content: center; gap: 16px; }
.voet-social a { width: 44px; height: 44px; border: 2px solid rgba(255, 255, 255, .85); border-radius: 50%; display: grid; place-items: center; transition: background-color .2s ease; }
.voet-social a:hover { background: rgba(255, 255, 255, .15); }
.voet-social svg { width: 20px; height: 20px; }
.voet-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 22px; margin-top: 22px; font-size: 18px; }
.voet-links a:hover { text-decoration: underline; }
.voet-klein { margin-top: 16px; font-size: 14px; color: rgba(255, 255, 255, .85); }
.voet-onder { background: #222; color: #ddd; text-align: center; font-size: 15px; padding: 16px var(--goot); }
.voet-onder a:hover { color: var(--wit); text-decoration: underline; }
.voet-onder { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 28px; }
.voet-onder .sponsor { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; color: #bbb; }
.voet-onder .sponsor img { background: var(--wit); padding: 6px 10px; border-radius: 3px; width: 151px; height: auto; box-sizing: content-box; }
.voet-onder .sponsor:hover { text-decoration: none; }
.voet-onder .sponsor:hover span { text-decoration: underline; }

/* ─── Zoeken en lichtbak ──────────────────────────────── */
dialog { border: 0; padding: 0; max-width: none; max-height: none; position: fixed; inset: 0; z-index: 100; }
dialog:not([open]) { display: none; }
html.venster-open, html.venster-open body { overflow: hidden; }
.zoekvenster { width: min(680px, calc(100vw - 2 * var(--goot))); height: fit-content; margin: 10vh auto auto; background: var(--wit); border-top: 4px solid var(--rood); }
.zoekvenster::backdrop { background: rgba(0, 0, 0, .6); }
.zoekvenster form { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid #eee; }
.zoekvenster form svg { width: 22px; height: 22px; color: var(--zacht); flex-shrink: 0; }
.zoekvenster input { flex: 1; min-width: 0; border: 0; outline: none; font-size: 20px; font-weight: 600; color: var(--inkt); padding: 6px 0; }
.zoekvenster .sluit { background: none; border: 0; cursor: pointer; font-weight: 700; color: var(--zacht); }
.zoekresultaten { max-height: 60vh; overflow: auto; padding: 6px 20px 18px; }
.zoekresultaten li a { display: block; padding: 12px 0; border-bottom: 1px solid #eee; }
.zoekresultaten li:last-child a { border-bottom: 0; }
.zoekresultaten .datum { font-size: 12px; color: var(--zacht); }
.zoekresultaten strong { display: block; color: var(--inkt); }
.zoekresultaten a:hover strong { color: var(--navy); text-decoration: underline; }
.zoekresultaten .leeg { padding: 14px 0; color: var(--zacht); }

/* Fotoweergave: de foto zelf wazig op de achtergrond, kop onderaan (naar het voorbeeld van Marvin) */
.lichtbak { width: 100vw; height: 100vh; height: 100dvh; margin: 0; padding: 0; background: #111; color: var(--wit); overflow: hidden; }
.lichtbak[open] { display: grid; grid-template-rows: minmax(0, 1fr) auto; }
.lichtbak::backdrop { background: #000; }
.lichtbak-waas {
  position: absolute; inset: -60px; z-index: 0;
  background: #111 center / cover no-repeat;
  filter: blur(30px) brightness(.5) saturate(1.1);
  transform: scale(1.1);
}
/* De foto staat absoluut in zijn vak: zo rekt hij het vak in geen enkele browser op */
.lichtbak-foto { --boven: 84px; --onder: 12px; --zij: 90px; position: relative; z-index: 1; min-height: 0; margin: 0; }
.lichtbak-foto img {
  position: absolute; top: var(--boven); bottom: var(--onder); left: var(--zij); right: var(--zij);
  width: calc(100% - 2 * var(--zij)); height: calc(100% - var(--boven) - var(--onder)); max-width: 1000px; margin-inline: auto;
  object-fit: contain; filter: drop-shadow(0 10px 30px rgba(0, 0, 0, .45));
}
.lichtbak-sluit {
  position: absolute; top: 16px; right: 16px; z-index: 3;
  width: 52px; height: 52px; display: grid; place-items: center;
  background: rgba(255, 255, 255, .78); color: #111; border: 0; border-radius: 4px; cursor: pointer;
}
.lichtbak-sluit:hover { background: var(--wit); }
.lichtbak-foto:focus { outline: none; }
.lichtbak-sluit svg { width: 28px; height: 28px; }
.lichtbak-pijl {
  position: absolute; top: 50%; z-index: 3; transform: translateY(-50%);
  width: 50px; height: 50px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(0, 0, 0, .45); color: var(--wit); display: grid; place-items: center;
}
.lichtbak-pijl:hover { background: rgba(0, 0, 0, .7); }
.lichtbak-pijl svg { width: 26px; height: 26px; }
.lichtbak-pijl--vorige { left: 20px; }
.lichtbak-pijl--volgende { right: 20px; }
.lichtbak--enkel .lichtbak-pijl { display: none; }
.lichtbak-onder { position: relative; z-index: 1; padding: 14px 24px 28px; max-width: 1100px; width: 100%; margin: 0 auto; }
.lichtbak-kop { display: flex; gap: 12px; align-items: flex-start; font-size: 19px; line-height: 1.35; text-shadow: 0 1px 4px rgba(0, 0, 0, .6); }
.lichtbak-kop strong { font-weight: 700; }
.lichtbak-kop .driehoek { flex-shrink: 0; width: 20px; height: 18px; margin-top: 3px; background: var(--rood); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.lichtbak-punten { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.lichtbak-punten button { width: 12px; height: 12px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .45); cursor: pointer; }
.lichtbak-punten button[aria-current="true"] { background: var(--wit); }
.lichtbak-teller { text-align: center; margin-top: 14px; font-weight: 700; }
.lichtbak-teller:empty { display: none; }

.artikel-foto img { cursor: zoom-in; }
/* Uitgelichte video bovenaan een bericht */
.artikel-video { margin: 0; background: #000; }
.artikel-video video { display: block; width: 100%; height: auto; max-height: 80vh; background: #000; }
.video-kader { position: relative; aspect-ratio: 16 / 9; }
.video-kader iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ─── Responsief ──────────────────────────────────────── */
@media (max-width: 1100px) {
  .kolommen { grid-template-columns: minmax(0, 1fr) 300px; }
  .kaarten { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hoofdmenu a { padding-inline: 10px; font-size: 14px; }
  .vandaag { display: none; }
}
@media (max-width: 860px) {
  /* Kop: één witte balk met menu links, logo midden, zoeken rechts */
  .kop { position: sticky; top: 0; z-index: 25; border-top: 3px solid var(--rood); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
  .admin-bar .kop { top: 46px; }
  .kop-inner { min-height: 56px; gap: 8px; }
  .kopknop { display: grid; }
  .kop-rechts, .menubalk { display: none; }
  .merk { margin-inline: auto; gap: 8px; }
  .merk .schild { width: 30px; }
  .merk .woordmerk { width: 158px; }
  .merk .slogan { display: none; }
  .kop-slogan {
    display: block; margin: -8px 0 0; padding: 0 var(--goot) 8px; text-align: center;
    font-size: min(12px, 3.3vw); white-space: nowrap; font-weight: 600; font-style: italic; color: var(--rood); line-height: 1.2;
  }
  .zwevende-tip { display: grid; width: 50px; height: 50px; right: 12px; bottom: 12px; }
  .zwevende-tip svg { width: 26px; height: 26px; }
  .zwevend-delen { display: none; }

  .kolommen { grid-template-columns: minmax(0, 1fr); margin-top: 24px; }
  .zijbalk { margin-top: 12px; }

  /* Uitgelicht: grote foto over de volle breedte, twee kleine naast elkaar */
  .uitgelicht { grid-template-columns: minmax(0, 1fr); height: auto; gap: 3px; margin-top: 12px; }
  .uitgelicht > .tegel--groot { height: 260px; }
  .uitgelicht-rechts { grid-template-rows: none; grid-template-columns: 1fr 1fr; gap: 3px; }
  .uitgelicht-rechts .tegel { height: 160px; }
  .uitgelicht-rechts .soort--blok { display: none; }
  .uitgelicht-rechts .tegel-tekst { padding: 12px; }
  .tegel h2, .tegel h3 { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
  .uitgelicht-rechts h3 { font-size: 13px; line-height: 1.25; }
  .tegel--groot h2 { font-size: 20px; line-height: 1.2; }
  .tegel--groot .tegel-tekst { padding: 16px; gap: 6px; }
  .tegel .tijdregel { display: none; }
  .fotobadge { font-size: 12px; padding: 7px 8px; }
  .fotobadge svg { width: 15px; height: 15px; }

  /* Nieuws: kaarten in witte vlakken onder elkaar */
  .kaarten { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .kaart { background: var(--wit); padding: 14px; box-shadow: var(--schaduw); }
  .kaart h3 { font-size: 17px; }
  .kaart p { font-size: 14px; }
  .meerknop { margin-top: 20px; }

  /* Rubrieken: vegen, één kaart met een stukje van de volgende */
  .rubriek { margin-top: 36px; }
  .rubriekkop h2 { font-size: 22px; }
  .strook { grid-auto-columns: 84%; gap: 12px; }

  .reportages { margin-top: 32px; padding: 14px; }
  .reportages-raster { grid-template-columns: minmax(0, 1fr); }
  .reportages .tegel--groot { aspect-ratio: auto; height: 220px; }
  .reportage-lijst a { grid-template-columns: 110px 1fr; }

  /* Fotoweergave op mobiel */
  .lichtbak-pijl { display: none; }
  .lichtbak-sluit { top: 12px; right: 12px; width: 48px; height: 48px; }
  .lichtbak-foto { --boven: 72px; --onder: 8px; --zij: 16px; }
  .lichtbak-foto img { filter: none; }
  .lichtbak-onder { padding: 12px 18px 26px; }
  .lichtbak-kop { font-size: 17px; gap: 10px; }
  .lichtbak-punten { gap: 10px; }

  /* Artikel */
  .artikel h1 { font-size: 25px; margin-top: 16px; }
  .tekst { font-size: 16px; }
  .deelbalk a { height: 40px; }
  .bekijk-ook ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 10px; }
  .bladeren a { max-width: 100%; }
  .bladeren { flex-direction: column; gap: 14px; }
  .bladeren .volgende { margin-left: 0; text-align: left; }
  .paginakop h1 { font-size: 26px; }
  .contactraster { grid-template-columns: minmax(0, 1fr); }
  .paginablok { padding: 18px; }

  .voet { padding: 30px 0 24px; }
  .voet-links { font-size: 16px; gap: 6px 16px; }
  .voet-onder { font-size: 13px; padding-bottom: 84px; }
}
@media (min-width: 561px) and (max-width: 860px) {
  .kaarten { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .uitgelicht > .tegel--groot { height: 360px; }
  .uitgelicht-rechts .tegel { height: 210px; }
  .uitgelicht-rechts h3 { font-size: 16px; }
  .strook { grid-auto-columns: 46%; }
  .reportages-raster { grid-template-columns: 1.2fr 1fr; }
  .bekijk-ook ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  :root { --goot: 15px; }
  .tekst .wp-block-gallery.has-nested-images { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}

.verborgen { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
