/* interwolde.nl, 1:1 herbouw (staatsterk-model)
   Basis: kop, voet, knoppen, formulieren, slider. De opbouw per pagina staat
   in <style id="opbouw"> en komt uit bouw.py (gemeten op de live site).
   Palet live (Blocksy): #4E5544 olijf, #3B4331, #242A24 nacht, #181C18 inkt,
   #FFB700 amber, #363D36. Letters: Gelasio (koppen), Karla (tekst). */
:root { --s: 1; --kop-h: 120px; --kader: max(24px, calc((100% - 1290px) / 2)); }
@media (max-width: 1024px) { :root { --s: .7; } }
@media (max-width: 767px) { :root { --s: .45; --kop-h: 80px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: #181C18; font: 400 16px/1.65 "Karla", sans-serif; -webkit-font-smoothing: antialiased; }
img { display: block; height: auto; }
a { color: inherit; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-family: "Gelasio", Georgia, serif; }
p { margin: 0; }
main a:not(.knop) { color: inherit; text-decoration: none; }
main p, main li, main h1, main h2, main h3 { overflow-wrap: break-word; }
@media (max-width: 400px) { main p, main li { overflow-wrap: anywhere; } }
.lijst { margin: 0; padding-left: 1.5em; }
.lijst li { margin-bottom: .3em; }
.knop-rij { margin: 0; }
.knop { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 24px;
  font: 500 15px/1.3 "Karla", sans-serif; border-radius: 0; text-decoration: none; cursor: pointer; transition: filter .15s, transform .15s; }
.knop:active { transform: translateY(1px); }
.knop:hover { filter: brightness(.93); }
.icoon { display: inline-flex; }
.icoon svg { width: 100%; height: 100%; fill: currentColor; }
.embed iframe { width: 100%; height: 100%; border: 0; }
.embed { width: 100%; }
.visueel-verborgen { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid #FFB700; outline-offset: 2px; }

/* ---------- kop: valt over de inhoud, zoals op de live site ---------- */
.kop-vast .kop { position: relative; background: #363D36; }
.kop { position: absolute; top: 0; left: 0; right: 0; z-index: 50; height: var(--kop-h); background: #4E5544;
  display: flex; align-items: center; padding: 0 var(--kader); gap: 24px; }
.kop-logo { flex: none; }
.kop-logo img { display: block; }
.kop-nav { margin-left: auto; }
.kop-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; }
.kop-nav .menu > li { position: relative; }
.kop-nav .menu > li > a { display: flex; align-items: center; gap: 8px; height: 60px; padding: 0 30px; font-size: 17px;
  color: rgba(255,255,255,.7); text-decoration: none; transition: color .15s; }
.kop-nav .menu > li > a:hover, .kop-nav .menu > li.actief > a { color: #fff; }
.pijltje { width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.kop-nav .sub { list-style: none; margin: 0; padding: 0; position: absolute; top: 100%; left: 0; width: 200px; background: #fff;
  border-radius: 0 0 2px 2px; box-shadow: 0 10px 20px rgba(41,51,61,.1); opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .2s, transform .2s, visibility .2s; margin-top: 10px; }
.kop-nav .sub .sub { top: 0; left: 100%; margin-top: 0; }
.kop-nav li:hover > .sub, .kop-nav li:focus-within > .sub { opacity: 1; visibility: visible; transform: none; }
.kop-nav .sub li { position: relative; }
.kop-nav .sub a { display: block; padding: 13px 19.5px; font-size: 12px; font-weight: 500; color: #181C18; text-decoration: none; }
.kop-nav .sub li + li > a { border-top: 1px dashed rgba(0,0,0,.08); }
.kop-nav .sub a:hover { color: #FFB700; }
.kop-knop { flex: none; background: #FFB700; color: #181C18; font-size: 15px; font-weight: 500; padding: 5px 20px; min-height: 42px;
  display: inline-flex; align-items: center; text-decoration: none; }
.kop-knop:hover { filter: brightness(.93); }
.sub-knop { display: none; }
.menu-knop { display: none; margin-left: auto; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; flex-direction: column; justify-content: center; gap: 5px; padding: 10px; }
.menu-knop span { display: block; height: 2px; background: #fff; border-radius: 2px; }
@media (max-width: 1200px) { .kop-nav .menu > li > a { padding: 0 16px; } }
@media (max-width: 1024px) {
  .kop, .kop-vast .kop { position: sticky; top: 0; }
  .kop-zwevend .kop { background: #4E5544; }
  .menu-knop { display: flex; }
  .kop-knop { margin-left: auto; min-height: 40px; padding: 4px 14px; font-size: 14px; }
  .kop-knop + script { display: none; }
  .menu-knop { margin-left: 8px; order: 3; }
  .kop-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; max-height: calc(100vh - var(--kop-h)); overflow: auto; box-shadow: 0 10px 20px rgba(0,0,0,.15); }
  .kop.open .kop-nav { display: block; }
  .kop-nav .menu { flex-direction: column; padding: 12px 24px 24px; }
  .kop-nav .menu > li > a { height: auto; padding: 12px 0; color: #181C18; font-size: 17px; }
  .kop-nav .menu > li.actief > a { color: #4E5544; font-weight: 700; }
  .kop-nav .sub, .kop-nav .sub .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; width: auto; margin: 0 0 4px 16px; display: none; }
  .kop-nav li { position: relative; }
  .kop-nav li.sub-open > .sub { display: block; }
  .kop-nav .heeft-sub > a { padding-right: 52px; }
  .kop-nav .menu > li > a:hover, .kop-nav .menu > li.actief > a:hover { color: #181C18; }
  .sub-knop { display: block; position: absolute; right: 0; top: 0; width: 48px; height: 48px; background: none; border: 0; cursor: pointer; color: #181C18; }
  .sub-knop::before { content: ''; display: block; width: 9px; height: 9px; margin: 0 auto; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); transition: transform .2s; }
  .sub-open > .sub-knop::before { transform: translateY(2px) rotate(-135deg); }
  .kop-nav .sub a { min-height: 44px; display: flex; align-items: center; }
  .kop-nav .sub a { font-size: 15px; padding: 8px 0; }
  .pijltje { display: none; }
}

/* ---------- voet ---------- */
.voet { background: #242A24; color: #fff; min-height: 70px; display: flex; align-items: center; padding: 0 var(--kader); font-size: 15px; }
.voet p { margin: 0; }
.voet-fb { margin-left: auto; color: #FFB700; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex: none; margin-right: -14px; }
@media (max-width: 767px) { .voet { padding: 20px 24px; } }

/* ---------- slider (home) ---------- */
.slider { display: grid; }
.slider > .slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .8s, visibility .8s; }
.slider > .slide.aan { opacity: 1; visibility: visible; }

/* ---------- formulieren ---------- */
.formulier { display: flex; flex-wrap: wrap; gap: 10px; width: 100%; }
.formulier .veld { min-width: 0; }
.formulier label { display: block; font-size: 15px; margin-bottom: 4px; }
.formulier input:not([type=checkbox]):not([type=radio]), .formulier textarea, .formulier select {
  width: 100%; min-height: 40px; padding: 6px 12px; font: 400 15px "Karla", sans-serif; color: #181C18;
  background: #fff; border: 1px solid #69727d; border-radius: 3px; }
.formulier textarea { min-height: 120px; }
.formulier .vink { display: flex; gap: 8px; align-items: flex-start; }
@media (max-width: 767px) { .formulier .veld { flex-basis: 100% !important; } }

.mapp { display: flex; width: 100%; border: 1px solid #e1e1e1; }
.mapp-lijst { list-style: none; margin: 0; padding: 0; width: 280px; flex: none; overflow: auto; border-right: 1px solid #e1e1e1; background: #fff; }
.mapp-lijst button { display: block; width: 100%; text-align: left; padding: 12px 16px; background: none; border: 0; border-bottom: 1px solid #eee; font: 500 15px "Karla", sans-serif; color: #181C18; cursor: pointer; }
.mapp-lijst button:hover { background: #f4f4f0; }
.mapp-kaart { flex: 1; min-width: 0; }
.mapp-pop img { width: 100%; height: auto; margin-bottom: 8px; }
.mapp-pop h3 { font-size: 17px; margin-bottom: 6px; }
.mapp-pop p { margin: 0 0 .6em; font-size: 14px; }
@media (max-width: 767px) { .mapp { flex-direction: column; height: auto !important; } .mapp-lijst { width: 100%; max-height: 220px; border-right: 0; } .mapp-kaart { height: 420px; } }

/* ---------- touch ---------- */
@media (hover: none), (max-width: 1024px) {
  main h2 a, main h3 a, main h4 a { display: inline-block; padding: 6px 0; }
  .formulier input:not([type=checkbox]):not([type=radio]), .formulier textarea, .formulier select { min-height: 48px; font-size: 16px !important; }
  .formulier .vink input { width: 22px; height: 22px; }
  .knop { min-height: 48px; }
  .mapp-lijst button { min-height: 48px; }
}

/* ---------- home: wegwijzer (Contact, Actualiteiten, Agenda) ----------
   Compacter, lager over de hero, knoppen op één lijn. */
.e-cdff539 { margin-top: calc(-110px * var(--s)); }
.e-38116a2 { max-width: 1080px; margin-left: auto; margin-right: auto; align-items: stretch; column-gap: 24px; transform: translateY(150px); }
@media (max-width: 1024px) { .e-38116a2 { transform: translateY(80px); } }
.e-38116a2 > * { display: flex; flex-direction: column; padding: 0 32px !important; box-shadow: 0 12px 32px rgba(24,28,24,.12); }
.e-38116a2 > * > div:only-child, .e-b75aa30 { flex: 1; display: flex; flex-direction: column; padding-top: 36px !important; padding-bottom: 32px !important; row-gap: 12px !important; }
.e-b75aa30 { padding-left: 32px !important; padding-right: 32px !important; }
.e-38116a2 h5 { margin-top: 4px; }
.e-38116a2 .icoon { margin: 0 auto 4px; }
.e-839496e, .e-4d2b35d, .e-bb216ee { margin-top: auto; padding-top: 12px; align-items: center; }
@media (max-width: 767px) {
  .e-cdff539 { margin-top: -8px; }
  .e-38116a2 { transform: none; }
  .e-38116a2 > * { padding: 0 24px !important; }
  .e-38116a2 > * > div:only-child, .e-b75aa30 { padding-top: 28px !important; padding-bottom: 24px !important; }
}
/* groen blok onder de wegwijzer: ruimte voor de omlaag geschoven vakken */
.e-59b8b40c > div:first-child { padding-top: calc(288px * var(--s) + 170px) !important; }
@media (max-width: 1024px) { .e-59b8b40c > div:first-child { padding-top: calc(288px * var(--s) + 110px) !important; } }
@media (max-width: 767px) {
  .e-59b8b40c { margin-top: 0 !important; }
  .e-cdff539 { padding-bottom: 32px; background: linear-gradient(transparent 8px, #4E5544 8px); }
  .e-59b8b40c > div:first-child { padding-top: 24px !important; }
}

/* ==========================================================
   Visuele identiteit (goedgekeurd door Maarten 01-12-2026)
   ========================================================== */
/* ---------- 1. hero beter leesbaar ---------- */
.slider .slide div::before { background: linear-gradient(90deg, rgba(20,24,20,.82) 0%, rgba(20,24,20,.55) 45%, rgba(20,24,20,.15) 85%) !important; opacity: 1 !important; }
.slider h2 { text-shadow: 0 2px 24px rgba(0,0,0,.35); }
.slider p { max-width: 46ch; font-size: 18px !important; }
@media (max-width: 767px) { .slider .slide div::before { background: linear-gradient(180deg, rgba(20,24,20,.45), rgba(20,24,20,.8)) !important; } }

/* ---------- 2. voet uitgebreid ---------- */
.voet-breed { background: #242A24; color: rgba(255,255,255,.82); padding: 72px var(--kader) 24px; border-bottom: 1px solid rgba(255,255,255,.12); }
.voet-breed-rij { display: grid; grid-template-columns: 4fr 3fr 3fr 3fr; gap: 40px; }
.voet-breed img { width: 150px; height: auto; margin-bottom: 16px; }
.voet-breed h2 { font: 700 13px/1 "Karla", sans-serif; letter-spacing: .12em; text-transform: uppercase; color: #FFB700; margin: 8px 0 18px; }
.voet-breed ul { list-style: none; margin: 0; padding: 0; }
.voet-breed li { margin-bottom: 8px; }
.voet-breed a:not(.knop) { color: inherit; text-decoration: none; }
.voet-breed a:not(.knop):hover { color: #fff; text-decoration: underline; }
.voet-breed p { margin: 0 0 16px; }
.voet-knop { background: #FFB700; color: #181C18; }
@media (max-width: 860px) { .voet-breed-rij { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .voet-breed-rij { grid-template-columns: 1fr; } .voet-breed { padding-top: 48px; } }

/* ---------- 4. logo wit ---------- */
.kop-logo .logo-wit { display: block; width: auto; height: 52px; }
@media (max-width: 767px) { .kop-logo .logo-wit { height: 40px; } }

/* ---------- 5. iconen gelijk ---------- */
.e-38116a2 .icoon svg { display: none; }
.e-38116a2 .icoon { width: 40px !important; height: 40px !important; background: #FFB700;
  -webkit-mask: var(--ic) center / contain no-repeat; mask: var(--ic) center / contain no-repeat; }
.e-b67e9e9 .icoon { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E"); }
.e-9a9d089 .icoon { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5h13v14H6a2 2 0 0 1-2-2z'/%3E%3Cpath d='M17 9h3v8a2 2 0 0 1-2 2'/%3E%3Cpath d='M8 9h5M8 13h5M8 16h3'/%3E%3C/svg%3E"); }
.e-b75aa30 .icoon { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3Cpath d='M8 14h2M14 14h2M8 17h2'/%3E%3C/svg%3E"); }

/* ---------- 6. één kaartstijl ---------- */
.kaart { border: 0 !important; box-shadow: none !important; border-radius: 0 !important; }
.kaart img { border-radius: 0 !important; }
.kaart h2, .kaart h3 { font-size: 22px !important; line-height: 1.25 !important; }

/* ---------- 7. warme lichte tint ---------- */
body { background: #F4F1EA; }
main .wit-vlak { background-color: #F4F1EA !important; }


/* ---------- paginering (lijsten nieuws, verhalen) ----------
   Eén vorm, op licht en op donker leesbaar; huidige pagina amber. */
.paginering { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 32px auto 0; font: 500 16px/1 "Karla", sans-serif; color: #181C18; }
.paginering > * { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 14px; border: 1px solid rgba(24,28,24,.25); text-decoration: none; color: inherit; }
.paginering a:hover { border-color: currentColor; }
.paginering [aria-current] { background: #FFB700; border-color: #FFB700; color: #181C18; font-weight: 700; }
.paginering .uit { opacity: .4; }
.paginering.op-donker { color: #fff; }
.paginering.op-donker > * { border-color: rgba(255,255,255,.3); }
.paginering.op-donker [aria-current] { border-color: #FFB700; color: #181C18; }
.paginering-blok a, .paginering-blok p { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; }
@media (max-width: 480px) { .paginering .uit { display: none; } .paginering > * { padding: 0 10px; } }

/* ---------- thema: pagina's die WordPress zelf rendert ----------
   Nieuwe berichten, agenda-items (plugin), zoeken, 404. Zelfde kader en letters. */
.wp-inhoud { padding: calc(80px * var(--s) + 24px) var(--kader) calc(96px * var(--s) + 24px); }
.wp-artikel { max-width: 860px; }
.wp-artikel-kop { margin-bottom: 32px; }
.wp-artikel-kop h1, .wp-lijst h1 { font-size: clamp(30px, 3vw, 42px); line-height: 1.2; color: #181C18; }
.wp-datum { color: #4E5544; font-size: 15px; margin-top: 8px; }
.wp-hoofdbeeld { margin: 0 0 32px; }
.wp-hoofdbeeld img { width: 100%; height: auto; }
.wp-tekst { font-size: 17px; line-height: 1.7; }
.wp-tekst > * + * { margin-top: 1em; }
.wp-tekst p, .wp-tekst li { max-width: 75ch; }
.wp-tekst img { max-width: 100%; height: auto; }
.wp-tekst a { color: #4E5544; text-decoration: underline; }
.wp-tekst h2, .wp-tekst h3 { margin-top: 1.6em; line-height: 1.25; }
.wp-kaarten { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 32px; margin-bottom: 40px; }
.wp-kaart img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; margin-bottom: 16px; }
.wp-kaart a { text-decoration: none; color: inherit; }
.wp-kaart h2 { font-size: 22px; line-height: 1.25; }
.wp-kaart p { margin-top: 8px; }
@media (max-width: 1024px) { .wp-kaarten { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .wp-kaarten { grid-template-columns: 1fr; } }
.wp-lijst .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.wp-lijst .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 14px; border: 1px solid rgba(24,28,24,.25); text-decoration: none; color: inherit; }
.wp-lijst .page-numbers.current { background: #FFB700; border-color: #FFB700; font-weight: 700; }
.knop-lijn { border: 1px solid #181C18; color: #181C18; margin-left: 8px; }
.wp-niet-gevonden p { max-width: 60ch; }
.iw-plugin { width: 100%; box-sizing: border-box; padding-inline: var(--kader); }

/* ---------- formulier: melding na versturen ---------- */
.formulier-melding { margin-top: 16px; padding: 14px 18px; background: #E9F0E1; border-left: 4px solid #4E5544; color: #181C18; font-weight: 500; }
.formulier-melding.fout { background: #FBE9E7; border-left-color: #B3261E; }
