/* randwegboekel.nl — archiefsite
   Thema: wegwijzers, asfalt en berm. */

@font-face {
  font-family: "Overpass";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(/assets/fonts/overpass-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Overpass";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(/assets/fonts/overpass-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bord: #0b5297;          /* wegwijzerblauw */
  --bord-donker: #083f75;
  --bord-tekst: #ffffff;
  --asfalt: #2b2e32;
  --asfalt-2: #373b40;
  --berm: #4f7d36;
  --berm-2: #5f9142;
  --geel: #f4c20d;          /* tijdelijke bebording */
  --streep: #f3f3ee;

  --bg: #f5f4ef;
  --vlak: #ffffff;
  --vlak-2: #ecebe4;
  --tekst: #1d2126;
  --gedempt: #5a626b;
  --lijn: #d9d7cd;
  --link: #0b5297;
  --link-hover: #083f75;
  --focus: #f4c20d;

  --radius: 6px;
  --max: 1180px;
  --leesbreedte: 70ch;
  --schaduw: 0 1px 2px rgb(0 0 0 / .06), 0 4px 16px rgb(0 0 0 / .06);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #131518;
    --vlak: #1c1f23;
    --vlak-2: #24282d;
    --tekst: #e8e9eb;
    --gedempt: #a3aab2;
    --lijn: #30353b;
    --link: #7fb2f0;
    --link-hover: #a9cbf6;
    --schaduw: 0 1px 2px rgb(0 0 0 / .3), 0 4px 16px rgb(0 0 0 / .25);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 1rem; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--tekst);
  font: 400 1.0625rem/1.65 "Overpass", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; }
a { color: var(--link); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--link-hover); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 2px; }

h1, h2, h3, h4 { line-height: 1.2; font-weight: 800; letter-spacing: -.01em; margin: 1.6em 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(1.9rem, 1.4rem + 2.2vw, 3rem); margin-top: .4em; }
h2 { font-size: clamp(1.35rem, 1.15rem + .9vw, 1.8rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.verborgen { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 50; background: var(--geel); color: #111; padding: .6rem 1rem; font-weight: 700; border-radius: var(--radius); }
.skip:focus { top: 1rem; }

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

/* ---------- Archiefstrook ---------- */
.archiefstrook {
  background: repeating-linear-gradient(-45deg, var(--geel) 0 18px, #1b1b1b 18px 36px);
  padding: 4px 0;
}
.archiefstrook p {
  margin: 0 auto; width: fit-content; max-width: calc(100% - 24px); background: var(--geel); color: #1b1b1b;
  padding: .2rem .9rem; font-size: .9rem; font-weight: 700; text-align: center;
}

/* ---------- Kop ---------- */
.kop { background: var(--asfalt); color: #fff; position: relative; }
.kop::after { /* kantstreep */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px;
  background: linear-gradient(var(--streep), var(--streep)) 0 0 / 100% 2px no-repeat, var(--berm);
}
.kop .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 14px; padding-bottom: 19px; }

.logo { display: inline-flex; text-decoration: none; color: #fff; }
.logo img { display: block; width: 228px; height: auto; max-width: 52vw; border-radius: 3px; }
.logo:hover { color: #fff; }
.plaatsbord {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  background: var(--bord); border-radius: 7px; padding: .35rem .9rem .3rem;
  box-shadow: inset 0 0 0 3px var(--bord), inset 0 0 0 5px #fff, 0 2px 0 rgb(0 0 0 / .35);
  line-height: 1; min-width: 7.5rem;
}
.plaatsbord b { font-size: 1.55rem; font-weight: 900; letter-spacing: .01em; padding-top: .15em; }
.plaatsbord small { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; opacity: .92; margin-top: .25rem; }

.menuknop {
  display: none; align-items: center; gap: .5rem; background: var(--bord); color: #fff; border: 0;
  font: inherit; font-weight: 700; padding: .55rem .9rem; border-radius: var(--radius);
  box-shadow: inset 0 0 0 2px #fff; cursor: pointer;
}
.menuknop svg { width: 1.1rem; height: 1.1rem; }

.hoofdmenu ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.hoofdmenu a {
  display: block; text-decoration: none; color: var(--bord-tekst); background: var(--bord);
  font-weight: 700; font-size: .95rem; padding: .42rem .75rem .32rem; border-radius: 4px;
  box-shadow: inset 0 0 0 2px var(--bord), inset 0 0 0 3.5px #fff;
  transition: transform .15s ease, background-color .15s ease;
}
.hoofdmenu a:hover { background: var(--bord-donker); box-shadow: inset 0 0 0 2px var(--bord-donker), inset 0 0 0 3.5px #fff; transform: translateY(-1px); }
.hoofdmenu a[aria-current="page"] { background: #fff; color: var(--bord); box-shadow: inset 0 0 0 2px #fff, inset 0 0 0 3.5px var(--bord); }

@media (max-width: 1020px) {
  .menuknop { display: inline-flex; }
  .hoofdmenu { display: none; position: absolute; left: 0; right: 0; top: 100%; z-index: 40; background: var(--asfalt); padding: 12px 16px 20px; border-bottom: 5px solid var(--berm); }
  .hoofdmenu.open { display: block; }
  .hoofdmenu ul { flex-direction: column; gap: 8px; }
  .hoofdmenu a { font-size: 1.05rem; padding: .7rem 1rem .6rem; }
}

/* ---------- Wegwijzer (pijlborden) ---------- */
.wegwijzer {
  position: relative; display: grid; grid-template-columns: 1fr 16px 1fr; gap: 10px 0;
  max-width: 480px; padding: 4px 0 44px;
}
.wegwijzer::before { /* paal, staat in de berm */
  content: ""; position: absolute; top: -16px; bottom: -26px; left: calc(50% - 8px); width: 16px; border-radius: 8px 8px 0 0;
  background: linear-gradient(90deg, #5d646b, #c9ced3 40%, #9aa1a8 65%, #5d646b);
}
.pijl {
  position: relative; z-index: 1; grid-column: 3; justify-self: start; display: inline-block; text-decoration: none; color: #fff;
  background: #fff; padding: 3px;
  clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 50%, calc(100% - 26px) 100%, 0 100%);
  transition: transform .2s ease;
}
.pijl.links { grid-column: 1; justify-self: end; }
@media (max-width: 560px) {
  .wegwijzer { grid-template-columns: 0 16px 1fr; }
  .wegwijzer::before { left: 0; }
  .wegwijzer .pijl, .wegwijzer .pijl.links { grid-column: 3; justify-self: start; clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 50%, calc(100% - 26px) 100%, 0 100%); }
  .wegwijzer .pijl.links > span { clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 50%, calc(100% - 24px) 100%, 0 100%); padding: .55rem 2.6rem .45rem 1rem; }
  .wegwijzer .pijl.links:hover { transform: translateX(6px); }
}
.pijl > span {
  display: flex; align-items: baseline; gap: .7rem;
  background: var(--bord);
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 50%, calc(100% - 24px) 100%, 0 100%);
  padding: .55rem 2.6rem .45rem 1rem; font-weight: 800; font-size: 1.15rem; line-height: 1.2; white-space: nowrap;
}
.pijl small { font-weight: 600; font-size: .8rem; opacity: .85; }
.pijl.links { clip-path: polygon(26px 0, 100% 0, 100% 100%, 26px 100%, 0 50%); }
.pijl.links > span { clip-path: polygon(24px 0, 100% 0, 100% 100%, 24px 100%, 0 50%); padding: .55rem 1rem .45rem 2.6rem; }
.pijl:hover, .pijl:focus-visible { color: #fff; transform: translateX(6px); }
.pijl.links:hover, .pijl.links:focus-visible { transform: translateX(-6px); }
.pijl:hover > span { background: var(--bord-donker); }
.pijl:focus-visible { outline: none; }
.pijl:focus-visible > span { background: var(--bord-donker); text-decoration: underline; }

/* ---------- Held (homepage) ---------- */
/* Een bermtafereel: lucht, bomenrij, berm met wegwijzer en routebord, en een weg met verkeer. */
:root {
  --lucht-1: #78b2e4; --lucht-2: #d6eaf8;
  --held-tekst: #0f2338; --held-gedempt: #28435d; --held-accent: #0b5297;
  --gras: #5b8f3a; --gras-2: #69a044;
  --bomen: url(/assets/img/bomenrij-licht.svg);
  --bermhoogte: 64px; --weghoogte: 124px;
  --wolk: rgb(255 255 255 / .9);
}
@media (prefers-color-scheme: dark) {
  :root {
    --lucht-1: #08111f; --lucht-2: #1f3656;
    --held-tekst: #ffffff; --held-gedempt: #c9d5e2; --held-accent: #f4c20d;
    --gras: #2c4d1f; --gras-2: #335a24;
    --bomen: url(/assets/img/bomenrij-donker.svg);
    --wolk: rgb(255 255 255 / .08);
  }
}
@media (max-width: 640px) { :root { --bermhoogte: 52px; --weghoogte: 96px; } }

.held { position: relative; overflow: hidden; color: var(--held-tekst); background: linear-gradient(180deg, var(--lucht-1), var(--lucht-2) 80%); }
.held::before { /* bomenrij aan de horizon */
  content: ""; position: absolute; left: 0; right: 0; height: 90px; z-index: 0;
  bottom: calc(var(--weghoogte) + var(--bermhoogte) + 12px);
  background: var(--bomen) repeat-x left bottom / 480px 90px;
}
.held .wrap {
  position: relative; z-index: 2; display: grid; gap: 2.5rem 2rem; align-items: end;
  padding-top: clamp(1.8rem, 4.5vw, 3.2rem); padding-bottom: 0;
}
@media (min-width: 900px) { .held .wrap { grid-template-columns: 1.2fr .8fr; } }

.held h1 { margin: 0 0 .35em; color: var(--held-tekst); }
.held .intro { font-size: 1.15rem; max-width: 34em; color: var(--held-gedempt); }
.held .feiten { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; margin: 0 0 .6rem; padding: 0; list-style: none; color: var(--held-gedempt); font-size: .95rem; }
.held .feiten b { color: var(--held-accent); font-size: 1.3rem; font-weight: 900; margin-right: .25rem; }
.held .naarkaart { display: inline-block; margin: 0 0 2.4rem; font-weight: 700; color: var(--held-tekst); }

/* wolken */
.wolken { position: absolute; inset: 0 0 auto 0; height: 50%; z-index: 0; pointer-events: none; }
.wolk { position: absolute; left: 0; height: 30px; width: 140px; background: var(--wolk); border-radius: 30px; animation: drijf 140s linear infinite; }
.wolk::before, .wolk::after { content: ""; position: absolute; background: inherit; border-radius: 50%; }
.wolk::before { width: 64px; height: 56px; left: 20px; bottom: 10px; }
.wolk::after { width: 50px; height: 40px; left: 68px; bottom: 8px; }
.wolk:nth-child(1) { top: 14%; animation-delay: -30s; }
.wolk:nth-child(2) { top: 34%; transform: scale(.7); animation-duration: 190s; animation-delay: -120s; }
.wolk:nth-child(3) { top: 8%; animation-duration: 170s; animation-delay: -80s; }
@media (max-width: 899px) {
  .wolken { height: 14%; }
  .wolk { opacity: .6; }
  .wolk:nth-child(2) { display: none; }
  .wegwijzer { padding-bottom: 18px; }
  .wegwijzer::before { bottom: 0; border-radius: 8px; }
}
@keyframes drijf { from { transform: translateX(-220px); } to { transform: translateX(calc(100vw + 40px)); } }

/* berm (gras) */
.berm {
  position: relative; z-index: 1; height: var(--bermhoogte);
  background:
    linear-gradient(180deg, rgb(0 0 0 / 0) 0, rgb(0 0 0 / .12) 100%),
    repeating-linear-gradient(100deg, var(--gras) 0 7px, var(--gras-2) 7px 11px);
}
.berm::before { /* weilanden richting horizon */
  content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 14px;
  background: repeating-linear-gradient(90deg, var(--gras-2) 0 120px, var(--gras) 120px 260px, color-mix(in srgb, var(--gras-2) 70%, #c9b25a) 260px 330px);
}

/* weg met verkeer */
.weg {
  position: relative; z-index: 1; height: var(--weghoogte); overflow: hidden;
  border-bottom: 14px solid var(--gras);
  background:
    linear-gradient(var(--streep), var(--streep)) 0 10px / 100% 3px no-repeat,
    linear-gradient(var(--streep), var(--streep)) 0 calc(100% - 10px) / 100% 3px no-repeat,
    repeating-linear-gradient(90deg, var(--streep) 0 44px, transparent 44px 96px) 0 50% / 100% 3px no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
    var(--asfalt);
}
.voertuig { position: absolute; left: 0; width: 96px; height: auto; animation: linear infinite; }
.voertuig.ver { top: 8%; animation-name: naar-links; }
.voertuig.dicht { bottom: 6%; animation-name: naar-rechts; }
.voertuig.ver svg { transform: scaleX(-1); }
.voertuig svg { display: block; width: 100%; height: auto; filter: drop-shadow(0 3px 2px rgb(0 0 0 / .35)); }
.voertuig.trekker { width: 92px; }
@keyframes naar-rechts { from { transform: translateX(-140px); } to { transform: translateX(calc(100vw + 40px)); } }
@keyframes naar-links { from { transform: translateX(calc(100vw + 40px)); } to { transform: translateX(-140px); } }
@media (max-width: 640px) { .voertuig { width: 72px; } .voertuig.trekker { width: 70px; } }

/* routebord op twee palen */
.routekaart { position: relative; margin: 0 auto; width: min(100%, 360px); padding-bottom: 46px; isolation: isolate; }
.routekaart svg { position: relative; z-index: 1; display: block; width: 100%; height: auto; filter: drop-shadow(0 4px 0 rgb(0 0 0 / .18)); }
.routekaart::before, .routekaart::after {
  content: ""; position: absolute; z-index: 0; bottom: -26px; height: 45%; width: 14px; border-radius: 7px 7px 0 0;
  background: linear-gradient(90deg, #5d646b, #c9ced3 40%, #9aa1a8 65%, #5d646b);
}
.routekaart::before { left: 26%; }
.routekaart::after { right: 26%; }
@media (max-width: 899px) { .routekaart { width: min(78%, 290px); } }

/* ---------- Secties & kaarten ---------- */
main { display: block; }
.sectie { padding: clamp(2rem, 5vw, 3.5rem) 0; }
.sectie + .sectie { padding-top: 0; }
.sectiekop { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.2rem; }
.sectiekop h2 { margin: 0; }
.sectiekop a { font-weight: 700; text-decoration: none; }
.sectiekop a::after { content: " →"; }

.raster { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }

.kaart {
  background: var(--vlak); border: 1px solid var(--lijn); border-radius: var(--radius); box-shadow: var(--schaduw);
  padding: 1.1rem 1.2rem 1rem; display: flex; flex-direction: column; gap: .4rem; position: relative;
}
.kaart h3 { margin: 0; font-size: 1.08rem; line-height: 1.3; }
.kaart h3 a { text-decoration: none; color: var(--tekst); }
.kaart h3 a::after { content: ""; position: absolute; inset: 0; }
.kaart:hover { border-color: var(--bord); }
.kaart:hover h3 a { color: var(--link); }
.kaart p { margin: 0; color: var(--gedempt); font-size: .95rem; }
.datum { font-size: .82rem; font-weight: 700; color: var(--gedempt); text-transform: uppercase; letter-spacing: .06em; }

.paginakop { background: var(--vlak-2); border-bottom: 1px solid var(--lijn); padding: clamp(1.5rem, 4vw, 2.6rem) 0 clamp(1.2rem, 3vw, 2rem); }
.paginakop h1 { margin: .2em 0 .25em; }
.paginakop p { color: var(--gedempt); max-width: 60ch; margin: 0; font-size: 1.08rem; }
.kruimels { font-size: .9rem; color: var(--gedempt); }
.kruimels a { color: var(--gedempt); }
.kruimels span[aria-hidden] { margin: 0 .35rem; }

/* ---------- Jaren-grafiek ---------- */
.jaren { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); align-items: end; gap: 4px; height: 190px; padding-top: 1.6rem; }
.jaren a { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; text-decoration: none; color: var(--gedempt); font-size: .72rem; font-weight: 700; min-width: 0; }
.jaren .staaf { width: 100%; max-width: 38px; background: var(--bord); border-radius: 3px 3px 0 0; position: relative; min-height: 3px; transition: background-color .15s; }
.jaren .staaf::before { content: attr(data-n); position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); padding-bottom: 2px; color: var(--tekst); font-size: .72rem; }
.jaren .jr { margin-top: 6px; writing-mode: vertical-rl; transform: rotate(180deg); }
.jaren a:hover .staaf { background: var(--geel); }
.jaren a:hover { color: var(--tekst); }
@media (min-width: 760px) { .jaren .jr { writing-mode: horizontal-tb; transform: none; } }

/* ---------- Het verhaal (tijdlijn op de homepage) ---------- */
.verhaal { display: grid; gap: 2rem; }
@media (min-width: 900px) { .verhaal { grid-template-columns: .95fr 1.05fr; align-items: start; } }
.verhaal figure { margin: 0; }
@media (min-width: 900px) { .verhaal figure { position: sticky; top: 1.5rem; } }
.verhaal img { display: block; width: 100%; border-radius: var(--radius); box-shadow: var(--schaduw); }
.verhaal figcaption { color: var(--gedempt); font-size: .9rem; margin-top: .6rem; }
.tijdlijn { list-style: none; margin: 0; padding: 0; position: relative; }
.tijdlijn::before { /* de weg door de tijd */
  content: ""; position: absolute; left: 1.95rem; top: .4rem; bottom: .4rem; width: 12px; border-radius: 6px;
  background: linear-gradient(var(--streep), var(--streep)) center / 2px 100% no-repeat, var(--asfalt);
  -webkit-mask: none;
}
.tijdlijn::after { content: ""; position: absolute; left: calc(1.95rem + 5px); top: .4rem; bottom: .4rem; width: 2px; background: repeating-linear-gradient(var(--asfalt) 0 8px, transparent 8px 16px); }
.tijdlijn li { position: relative; padding: 0 0 1.5rem 5.4rem; min-height: 3rem; }
.tijdlijn .hm {
  position: absolute; left: 0; top: 0; z-index: 1; width: 4.4rem; text-align: center;
  background: #2e7d32; color: #fff; font-weight: 800; font-size: 1rem; padding: .35rem 0 .25rem; border-radius: 3px;
  box-shadow: inset 0 0 0 2px #2e7d32, inset 0 0 0 3px #fff;
}
.tijdlijn li.klaar .hm { background: var(--bord); box-shadow: inset 0 0 0 2px var(--bord), inset 0 0 0 3px #fff; }
.tijdlijn h3 { margin: 0 0 .15rem; font-size: 1.1rem; }
.tijdlijn h3 a { color: var(--tekst); text-decoration: none; }
.tijdlijn h3 a:hover { color: var(--link); text-decoration: underline; }
.tijdlijn p { margin: 0; color: var(--gedempt); font-size: .97rem; }

/* ---------- Nieuwsoverzicht ---------- */
.zoekbalk { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; margin: 0 0 1rem; }
.zoekbalk input {
  flex: 1 1 260px; font: inherit; padding: .7rem .9rem; border-radius: var(--radius); border: 2px solid var(--lijn);
  background: var(--vlak); color: var(--tekst);
}
.zoekbalk input:focus { border-color: var(--bord); outline: none; box-shadow: 0 0 0 3px rgb(11 82 151 / .2); }
.zoekstatus { color: var(--gedempt); font-size: .95rem; min-height: 1.5em; margin: 0 0 1rem; }

.jaarnav { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 1.6rem; padding: 0; list-style: none; }
.jaarnav a {
  display: inline-block; text-decoration: none; font-weight: 700; font-size: .9rem; padding: .3rem .6rem .2rem;
  border-radius: 4px; background: var(--vlak); border: 1px solid var(--lijn); color: var(--tekst);
}
.jaarnav a:hover { border-color: var(--bord); color: var(--link); }
.jaarnav small { color: var(--gedempt); font-weight: 600; }

.jaarblok { margin-bottom: 2.4rem; }
.jaarblok > h2 { display: flex; align-items: center; gap: .8rem; margin: 0 0 .6rem; padding-top: .5rem; }
.jaarblok > h2 .hm { /* hectometerbordje */
  display: inline-block; background: #2e7d32; color: #fff; font-size: 1.05rem; padding: .3rem .55rem .2rem; border-radius: 3px;
  box-shadow: inset 0 0 0 2px #2e7d32, inset 0 0 0 3px #fff;
}
.jaarblok > h2 small { font-size: .9rem; color: var(--gedempt); font-weight: 600; }
.zoekt .jaarblok > h2 small { display: none; }

.berichtlijst { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--lijn); }
.berichtlijst li { display: grid; grid-template-columns: 6.2rem 1fr; gap: .2rem 1rem; padding: .75rem 0; border-bottom: 1px solid var(--lijn); }
.berichtlijst time { font-size: .85rem; color: var(--gedempt); font-weight: 700; padding-top: .15rem; font-variant-numeric: tabular-nums; }
.berichtlijst a { font-weight: 700; text-decoration: none; color: var(--tekst); }
.berichtlijst a:hover { color: var(--link); text-decoration: underline; }
.berichtlijst p { grid-column: 2; margin: 0; color: var(--gedempt); font-size: .93rem; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.berichtlijst mark { background: color-mix(in srgb, var(--geel) 55%, transparent); color: inherit; padding: 0 .1em; border-radius: 2px; }
@media (max-width: 560px) { .berichtlijst li { grid-template-columns: 1fr; } .berichtlijst p { grid-column: 1; } }

/* ---------- Artikel ---------- */
.artikel { padding: clamp(1.5rem, 4vw, 2.5rem) 0 3rem; }
.artikel .wrap { max-width: calc(var(--leesbreedte) + 56px); }
.artikel header h1 { margin-bottom: .3em; }
.meta { color: var(--gedempt); font-size: .95rem; display: flex; flex-wrap: wrap; gap: .3rem 1rem; margin-bottom: 1.6rem; }

.inhoud { overflow-wrap: anywhere; }
.inhoud img { display: inline-block; border-radius: 4px; margin: .4rem 0; vertical-align: middle; }
.inhoud a:has(> img) { display: inline-block; }
.inhoud .lead { font-size: 1.15rem; color: var(--gedempt); border-left: 4px solid var(--geel); padding-left: 1rem; margin-bottom: 1.5rem; }
.inhoud .lead p:last-child { margin-bottom: 0; }
.inhoud h2, .inhoud h3, .inhoud h4 { margin-top: 1.4em; }
.inhoud ul, .inhoud ol { padding-left: 1.4rem; }
.inhoud blockquote { margin: 1rem 0; padding: .3rem 0 .3rem 1rem; border-left: 4px solid var(--lijn); color: var(--gedempt); }
.tabel { overflow-x: auto; margin: 1rem 0; border: 1px solid var(--lijn); border-radius: var(--radius); }
.tabel table { border-collapse: collapse; width: 100%; font-size: .95rem; }
.tabel td, .tabel th { border: 1px solid var(--lijn); padding: .45rem .6rem; vertical-align: top; text-align: left; }
.tabel p { margin: 0; }
.inhoud a[href$=".pdf"]::after, .inhoud a[href$=".PDF"]::after { content: "PDF"; font-size: .65em; font-weight: 800; letter-spacing: .05em; margin-left: .35em; padding: .1em .35em; border-radius: 3px; background: #b3261e; color: #fff; vertical-align: .15em; }
.inhoud a[rel~="external"]::after { content: "↗"; font-size: .8em; margin-left: .15em; }

.bronnoot { margin-top: 2.2rem; font-size: .9rem; color: var(--gedempt); border-top: 1px dashed var(--lijn); padding-top: 1rem; }

.reacties { margin-top: 2.5rem; }
.reacties ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.reacties li { background: var(--vlak); border: 1px solid var(--lijn); border-radius: var(--radius); padding: .9rem 1.1rem; }
.reacties .wie { font-weight: 700; }
.reacties .wanneer { color: var(--gedempt); font-size: .85rem; margin-left: .4rem; }
.reacties p { margin: .3rem 0 0; }

.vorigvolgend { display: grid; gap: 12px; grid-template-columns: 1fr; margin-top: 3rem; }
@media (min-width: 640px) { .vorigvolgend { grid-template-columns: 1fr 1fr; } }
.vorigvolgend a { display: block; text-decoration: none; background: var(--vlak); border: 1px solid var(--lijn); border-radius: var(--radius); padding: .8rem 1rem; color: var(--tekst); }
.vorigvolgend a:hover { border-color: var(--bord); }
.vorigvolgend small { display: block; color: var(--gedempt); font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; }
.vorigvolgend .volgend { text-align: right; }
@media (min-width: 640px) { .vorigvolgend .volgend { grid-column: 2; } }

/* ---------- Documenten ---------- */
.docgroep { margin-bottom: 2.6rem; }
.doclijst { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.doc { display: grid; grid-template-columns: auto 1fr; gap: .2rem .9rem; align-items: start; background: var(--vlak); border: 1px solid var(--lijn); border-radius: var(--radius); padding: .85rem 1rem; position: relative; }
.doc:hover { border-color: var(--bord); }
.doc .type { grid-row: span 3; display: grid; place-items: center; width: 2.6rem; height: 3.2rem; border-radius: 3px; background: #b3261e; color: #fff; font-size: .7rem; font-weight: 800; letter-spacing: .04em; clip-path: polygon(0 0, 72% 0, 100% 22%, 100% 100%, 0 100%); }
.doc .type.pptx { background: #c4511c; }
.doc .type.jpg { background: #2e7d32; }
.doc a.titel { font-weight: 700; text-decoration: none; color: var(--tekst); line-height: 1.3; }
.doc a.titel::after { content: ""; position: absolute; inset: 0; }
.doc:hover a.titel { color: var(--link); }
.doc .info { font-size: .82rem; color: var(--gedempt); }
.doc .genoemd { font-size: .82rem; color: var(--gedempt); position: relative; z-index: 1; }
.doc .genoemd a { color: var(--gedempt); }

/* ---------- Foto's ---------- */
.album { margin-bottom: 2.6rem; }
.album h2 { margin-top: 0; }
.fotos { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(min(46%, 170px), 1fr)); list-style: none; padding: 0; margin: 0; }
.fotos a { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 4px; background: var(--vlak-2); }
.fotos img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.fotos a:hover img { transform: scale(1.04); }

dialog.lichtbak { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
dialog.lichtbak::backdrop { background: rgb(10 12 14 / .92); }
.lichtbak .lb-in { position: relative; width: 100%; height: 100%; display: grid; place-items: center; padding: 3.5rem 1rem 3rem; }
.lichtbak img { max-width: 100%; max-height: calc(100vh - 7rem); object-fit: contain; border-radius: 4px; box-shadow: 0 10px 40px rgb(0 0 0 / .5); }
.lichtbak button { position: absolute; background: rgb(255 255 255 / .12); color: #fff; border: 0; border-radius: 50%; width: 3rem; height: 3rem; font-size: 1.5rem; cursor: pointer; display: grid; place-items: center; }
.lichtbak button:hover { background: rgb(255 255 255 / .25); }
.lichtbak .lb-sluit { top: .75rem; right: .75rem; }
.lichtbak .lb-vorig { left: .75rem; top: 50%; transform: translateY(-50%); }
.lichtbak .lb-volg { right: .75rem; top: 50%; transform: translateY(-50%); }
.lichtbak .lb-tekst { position: absolute; bottom: .9rem; left: 0; right: 0; text-align: center; color: #d6d9dc; font-size: .9rem; }

/* ---------- Kaart ---------- */
.kaartlayout { display: grid; gap: 16px; }
@media (min-width: 900px) { .kaartlayout { grid-template-columns: 300px 1fr; } }
#kaart { height: min(78vh, 760px); min-height: 420px; border-radius: var(--radius); border: 1px solid var(--lijn); background: var(--vlak-2); }
.lagen { background: var(--vlak); border: 1px solid var(--lijn); border-radius: var(--radius); padding: 1rem 1.1rem; align-self: start; }
.lagen h2 { font-size: 1.1rem; margin: 0 0 .6rem; }
.lagen label { display: flex; align-items: center; gap: .6rem; padding: .35rem 0; cursor: pointer; }
.lagen input[type=checkbox], .lagen input[type=radio] { width: 1.1rem; height: 1.1rem; accent-color: var(--bord); }
.lagen .kleur { width: 1.6rem; height: .45rem; border-radius: 3px; flex: none; }
.lagen input[type=range] { width: 100%; accent-color: var(--bord); }
.lagen hr { border: 0; border-top: 1px solid var(--lijn); margin: .8rem 0; }
.lagen p { font-size: .88rem; color: var(--gedempt); margin: .4rem 0 0; }

/* ---------- Video ---------- */
.video { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: var(--radius); overflow: hidden; max-width: 900px; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video button { all: unset; position: absolute; inset: 0; cursor: pointer; display: grid; place-items: center; background: center / cover no-repeat; }
.video button::before { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 40%, rgb(0 0 0 / .7)); }
.video .speel { position: relative; width: 84px; height: 84px; border-radius: 50%; background: var(--bord); box-shadow: inset 0 0 0 4px #fff, 0 6px 24px rgb(0 0 0 / .4); display: grid; place-items: center; transition: transform .2s; }
.video .speel::after { content: ""; border-left: 26px solid #fff; border-top: 16px solid transparent; border-bottom: 16px solid transparent; margin-left: 7px; }
.video button:hover .speel, .video button:focus-visible .speel { transform: scale(1.08); }
.video .vtekst { position: absolute; left: 1rem; right: 1rem; bottom: .9rem; color: #fff; font-size: .9rem; }

/* ---------- Diverse ---------- */
.lezen { max-width: var(--leesbreedte); }
.notitie { background: var(--vlak); border: 1px solid var(--lijn); border-left: 5px solid var(--geel); border-radius: var(--radius); padding: .9rem 1.1rem; margin: 0 0 1.5rem; }
.notitie p:last-child { margin: 0; }
.knop { display: inline-block; background: var(--bord); color: #fff; text-decoration: none; font-weight: 700; padding: .65rem 1.1rem .55rem; border-radius: var(--radius); box-shadow: inset 0 0 0 2px var(--bord), inset 0 0 0 3.5px #fff; }
.knop:hover { background: var(--bord-donker); color: #fff; box-shadow: inset 0 0 0 2px var(--bord-donker), inset 0 0 0 3.5px #fff; }

/* afgesloten weg (404) */
.afzetting { display: flex; gap: 0; margin: 1rem 0 2rem; height: 46px; max-width: 420px; border-radius: 4px; overflow: hidden; box-shadow: 0 3px 0 rgb(0 0 0 / .25); }
.afzetting span { flex: 1; background: repeating-linear-gradient(90deg, #c62828 0 34px, #fff 34px 68px); }

/* ---------- Voet ---------- */
.voet { margin-top: 3rem; background: var(--asfalt); color: #c9cdd2; font-size: .93rem; position: relative; }
.voet::before { content: ""; display: block; height: 14px; background: linear-gradient(var(--streep), var(--streep)) 0 100% / 100% 3px no-repeat, repeating-linear-gradient(100deg, var(--berm) 0 5px, var(--berm-2) 5px 8px); }
.voet .wrap { display: grid; gap: 1.5rem; padding-top: 2rem; padding-bottom: 2.2rem; }
@media (min-width: 760px) { .voet .wrap { grid-template-columns: 1.4fr 1fr 1fr; } }
.voet h2 { color: #fff; font-size: 1rem; margin: 0 0 .5rem; }
.voet a { color: #fff; }
.voet ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .2rem; }
.voet p { margin: 0 0 .6rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .voertuig, .wolk { left: var(--x, 10%); }
}

@media print {
  .archiefstrook, .kop, .voet, .vorigvolgend, .zoekbalk, .jaarnav { display: none !important; }
  body { background: #fff; color: #000; }
}
