/*
Theme Name: Koudenhoven
Description: Thema van Wijkvereniging Koudenhoven: getekende wijk die meekleurt met het seizoen, agenda en activiteiten op de voorpagina, spelletjeshoek. Pagina's blijven bewerkbaar in WordPress en Elementor.
Version: 1.0.0
Requires PHP: 7.4
Text Domain: koudenhoven
*/

@font-face { font-family: "Fredoka"; src: url("assets/fonts/fredoka.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("assets/fonts/nunito.woff2") format("woff2"); font-weight: 200 1000; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Nunito"; src: url("assets/fonts/nunito-ext.woff2") format("woff2"); font-weight: 200 1000; font-display: swap;
  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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --groen-donker: #1d6b3c;
  --groen: #3da535;
  --groen-licht: #7cc242;
  --pad: #c9ec8f;
  --creme: #fcfbf6;
  --zand: #f3efe2;
  --geel: #ffc93c;
  --koraal: #ff6b5b;
  --blauw: #5bc0eb;
  --paars: #8e5bb5;
  --oranje: #ff9a2e;
  --tekst: #23312a;
  --tekst-zacht: #55645b;
  --rond: 20px;
  --schaduw: 0 6px 0 rgba(29, 107, 60, .12);
  --breed: 1160px;
  --kop: "Fredoka", "Trebuchet MS", system-ui, sans-serif;
  --lees: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body.kh { margin: 0; background: var(--creme); color: var(--tekst); font-family: var(--lees); font-size: 18px; line-height: 1.65; overflow-x: hidden; }
.kh img { max-width: 100%; height: auto; }
.kh a { color: var(--groen-donker); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.kh a:hover { color: var(--groen); }
.kh h1, .kh h2, .kh h3, .kh h4 { font-family: var(--kop); font-weight: 600; line-height: 1.15; color: var(--groen-donker); margin: 0 0 .5em; }
.kh h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
.kh h2 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); }
.kh h3 { font-size: 1.3rem; }
.kh p { margin: 0 0 1em; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.kh-skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 10px 16px; border-radius: 12px; z-index: 100; }
.kh-skip:focus { left: 8px; }
.kh :focus-visible { outline: 3px solid var(--oranje); outline-offset: 3px; border-radius: 6px; }

/* ---------- knoppen ---------- */
.kh-knop { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 10px 26px; border: 0; border-radius: 999px;
  background: var(--groen-donker); color: #fff !important; font-family: var(--kop); font-weight: 600; font-size: 1.08rem; text-decoration: none !important;
  box-shadow: 0 5px 0 rgba(0, 0, 0, .18); cursor: pointer; transition: transform .12s, box-shadow .12s, background .12s; }
.kh-knop:hover { transform: translateY(-2px); box-shadow: 0 7px 0 rgba(0, 0, 0, .18); background: #175a32; }
.kh-knop:active { transform: translateY(3px); box-shadow: 0 2px 0 rgba(0, 0, 0, .18); }
.kh-knop--licht { background: #fff; color: var(--groen-donker) !important; }
.kh-knop--licht:hover { background: #f1f8ea; }
.kh-knop--geel { background: var(--geel); color: var(--tekst) !important; }
.kh-knop--geel:hover { background: #ffd65e; }
.kh-knop--oranje { background: #ff7a00; color: #1a0b2e !important; }
.kh-knop--oranje:hover { background: var(--oranje); }
.kh-knop--door { background: transparent; color: #fff !important; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .7); }
.kh-knop--door:hover { background: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 2px #fff; }
.kh-knop--klein { min-height: 40px; padding: 6px 20px; font-size: 1rem; }
.kh-link { font-family: var(--kop); font-weight: 600; text-decoration: none; white-space: nowrap; }
.kh-link:hover { text-decoration: underline; }

/* ---------- kop ---------- */
.kh-kop { position: sticky; top: 0; z-index: 50; background: rgba(252, 251, 246, .94); backdrop-filter: blur(8px); border-bottom: 3px solid var(--pad); }
.kh-kop__in { max-width: var(--breed); margin: 0 auto; padding: 8px 20px; display: flex; align-items: center; gap: 18px; }
.kh-merk { display: flex; align-items: center; gap: 10px; text-decoration: none !important; flex-shrink: 0; }
.kh-merk img { width: 56px; height: 56px; mix-blend-mode: multiply; }
.kh-merk__tekst { display: flex; flex-direction: column; line-height: 1; font-family: var(--kop); color: var(--groen-donker); }
.kh-merk__tekst small { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; }
.kh-merk__tekst strong { font-size: 1.5rem; font-weight: 700; letter-spacing: .02em; }
.kh-nav { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.kh-menu, .kh-menu ul { list-style: none; margin: 0; padding: 0; }
.kh-menu { display: flex; align-items: center; gap: 2px; }
.kh-menu > li { position: relative; }
.kh-menu a { display: block; padding: 9px 13px; border-radius: 999px; font-family: var(--kop); font-weight: 500; font-size: 1.04rem; color: var(--tekst); text-decoration: none; white-space: nowrap; }
.kh-menu a:hover, .kh-menu .current-menu-item > a, .kh-menu .current-menu-ancestor > a { background: var(--pad); color: var(--groen-donker); }
.kh-menu .menu-item-spelletjes > a { background: var(--paars); color: #fff; }
.kh-menu .menu-item-spelletjes > a:hover { background: #7a48a3; color: #fff; }
.kh-menu .menu-item-has-children > a::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.kh-menu .sub-menu { position: absolute; left: 0; top: 100%; min-width: 250px; padding: 10px; background: #fff; border-radius: 18px; box-shadow: 0 14px 40px rgba(29, 60, 40, .18); display: none; z-index: 60; }
.kh-menu .sub-menu a { white-space: normal; border-radius: 12px; font-size: 1rem; padding: 8px 12px; }
.kh-menu .sub-menu .sub-menu { position: static; box-shadow: none; display: block; padding: 0 0 4px 14px; min-width: 0; }
.kh-menu .sub-menu .sub-menu a { font-size: .93rem; padding: 5px 12px; color: var(--tekst-zacht); }
.kh-menu .sub-menu .menu-item-has-children > a::after { display: none; }
.kh-menu > li:hover > .sub-menu, .kh-menu > li:focus-within > .sub-menu, .kh-menu > li.is-open > .sub-menu { display: block; }
.kh-menu > li:last-child > .sub-menu, .kh-menu > li:nth-last-child(2) > .sub-menu { left: auto; right: 0; }
.kh-zoek { display: flex; align-items: center; background: #fff; border: 2px solid var(--pad); border-radius: 999px; padding: 2px 4px 2px 14px; }
.kh-zoek input { border: 0; background: transparent; font: inherit; font-size: .95rem; width: 92px; outline: none; color: var(--tekst); transition: width .2s; }
.kh-zoek input:focus { width: 150px; }
.kh-zoek button { border: 0; background: var(--groen-donker); color: #fff; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; }
.kh-zoek--groot { max-width: 560px; margin: 0 auto 28px; padding: 6px 6px 6px 22px; }
.kh-zoek--groot input { flex: 1; width: auto; font-size: 1.05rem; }
.kh-zoek--groot input:focus { width: auto; }
.kh-zoek--groot .kh-knop { width: auto; height: auto; min-height: 44px; border-radius: 999px; box-shadow: none; }
.kh-menuknop { display: none; margin-left: auto; align-items: center; gap: 10px; min-height: 46px; padding: 8px 18px; border: 0; border-radius: 999px; background: var(--groen-donker); color: #fff; font-family: var(--kop); font-weight: 600; font-size: 1.05rem; cursor: pointer; }
.kh-menuknop__streep, .kh-menuknop__streep::before, .kh-menuknop__streep::after { display: block; width: 20px; height: 3px; border-radius: 3px; background: #fff; content: ""; transition: transform .2s; }
.kh-menuknop__streep { position: relative; }
.kh-menuknop__streep::before { position: absolute; top: -7px; }
.kh-menuknop__streep::after { position: absolute; top: 7px; }
.kh-menuknop[aria-expanded="true"] .kh-menuknop__streep { background: transparent; }
.kh-menuknop[aria-expanded="true"] .kh-menuknop__streep::before { transform: translateY(7px) rotate(45deg); }
.kh-menuknop[aria-expanded="true"] .kh-menuknop__streep::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1080px) {
  .kh-menuknop { display: inline-flex; }
  .kh-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 14px; margin: 0; padding: 14px 18px 22px; background: var(--creme); border-bottom: 3px solid var(--pad); max-height: calc(100vh - 76px); overflow-y: auto; box-shadow: 0 20px 30px rgba(0, 0, 0, .12); }
  .kh-nav.is-open { display: flex; }
  .kh-menu { flex-direction: column; align-items: stretch; gap: 4px; }
  .kh-menu a { font-size: 1.15rem; padding: 12px 16px; border-radius: 14px; white-space: normal; }
  .kh-menu .sub-menu { position: static; display: none; box-shadow: none; background: transparent; padding: 0 0 6px 16px; min-width: 0; }
  .kh-menu > li.is-open > .sub-menu { display: block; }
  .kh-menu > li:hover > .sub-menu, .kh-menu > li:focus-within > .sub-menu { display: none; }
  .kh-menu > li.is-open:hover > .sub-menu, .kh-menu > li.is-open:focus-within > .sub-menu { display: block; }
  .kh-menu .sub-menu a { font-size: 1.05rem; padding: 9px 14px; }
  .kh-menu .menu-item-has-children > a::after { float: right; margin-top: 10px; }
  .kh-zoek { padding: 5px 6px 5px 18px; }
  .kh-zoek input, .kh-zoek input:focus { width: 100%; flex: 1; font-size: 1.05rem; }
  .kh-zoek button { width: 42px; height: 42px; }
}
@media (max-width: 420px) {
  .kh-merk img { width: 46px; height: 46px; }
  .kh-merk__tekst strong { font-size: 1.25rem; }
  .kh-merk__tekst small { font-size: .68rem; }
}

/* ---------- hero met de getekende wijk ---------- */
.kh-hero { position: relative; background: linear-gradient(180deg, #bfe6f7 0%, #e3f4fb 55%, #f4faf0 100%); overflow: hidden; }
.kh-hero__tekst { position: relative; z-index: 2; max-width: 860px; margin: 0 auto; padding: clamp(34px, 6vw, 70px) 22px 0; text-align: center; }
.kh-hero__groet { display: inline-block; margin: 0 0 14px; padding: 5px 16px; border-radius: 999px; background: #fff; font-family: var(--kop); font-weight: 500; color: var(--groen-donker); transform: rotate(-2deg); box-shadow: 0 3px 0 rgba(0, 0, 0, .08); }
.kh-hero h1 { font-size: clamp(2.3rem, 7vw, 4.4rem); font-weight: 700; margin-bottom: .35em; }
.kh-streep { position: relative; white-space: nowrap; }
.kh-streep::after { content: ""; position: absolute; left: -4%; right: -4%; bottom: .02em; height: .34em; background: var(--geel); border-radius: 999px; z-index: -1; transform: rotate(-1.5deg); }
.kh-hero__sub { font-size: clamp(1.05rem, 2.2vw, 1.3rem); max-width: 660px; margin: 0 auto 1.3em; color: #2f4438; }
.kh-hero__knoppen { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin: 0; }
.kh-hero__wijk { position: relative; z-index: 1; margin-top: clamp(-40px, -3vw, -10px); height: clamp(250px, 36vw, 460px); }
.kh-wijk { display: block; width: 100%; height: 100%; }
.kh-seizoen--halloween .kh-hero { background: linear-gradient(180deg, #1a0b2e 0%, #43226b 46%, #c4603f 84%, #f0a04a 100%); }
.kh-seizoen--sint .kh-hero { background: linear-gradient(180deg, #0f1f45 0%, #26427c 55%, #6a84b8 100%); }
.kh-seizoen--winter .kh-hero { background: linear-gradient(180deg, #b9d6e6 0%, #dcecf3 60%, #f4f9fb 100%); }
.kh-seizoen--herfst .kh-hero { background: linear-gradient(180deg, #bfe1ee 0%, #f2ead0 70%, #f6e6c2 100%); }
.kh-seizoen--halloween .kh-hero h1, .kh-seizoen--sint .kh-hero h1 { color: #fff; }
.kh-seizoen--halloween .kh-hero__sub, .kh-seizoen--sint .kh-hero__sub { color: #ece2fa; }
.kh-seizoen--halloween .kh-streep::after { background: #ff7a00; }
.kh-seizoen--halloween .kh-hero .kh-knop:not(.kh-knop--licht) { background: #ff7a00; color: #1a0b2e !important; }
.kh-seizoen--sint .kh-streep::after { background: #c0392b; }
.kh-seizoen--sint .kh-hero .kh-knop:not(.kh-knop--licht) { background: #c0392b; }
@media (prefers-reduced-motion: no-preference) {
  .kh-wolk { animation: kh-drijf 60s linear infinite alternate; }
  .kh-wolk:nth-of-type(2) { animation-duration: 85s; animation-direction: alternate-reverse; }
  .kh-zweef { animation: kh-zweef 5s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: center; }
  .kh-zweef:nth-of-type(2n) { animation-duration: 3.6s; }
  .kh-ster { animation: kh-twinkel 3s ease-in-out infinite alternate; }
  .kh-ster:nth-of-type(3n) { animation-delay: 1.2s; }
  .kh-ster:nth-of-type(3n+1) { animation-delay: 2.1s; }
  .kh-vlok { animation: kh-val 9s linear infinite; }
  .kh-vlok:nth-of-type(2n) { animation-duration: 13s; }
  .kh-vlok:nth-of-type(3n) { animation-duration: 17s; }
  .kh-blad { animation: kh-zweef 4s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: center; }
}
@keyframes kh-drijf { from { translate: -40px 0; } to { translate: 60px 0; } }
@keyframes kh-zweef { from { translate: 0 -5px; } to { translate: 0 7px; } }
@keyframes kh-twinkel { from { opacity: .25; } to { opacity: 1; } }
@keyframes kh-val { from { translate: 0 -40px; } to { translate: 12px 470px; } }

/* ---------- secties ---------- */
.kh-main { display: block; }
.kh-sectie { max-width: var(--breed); margin: 0 auto; padding: clamp(36px, 6vw, 68px) 20px; }
.kh-sectie--smal { padding-top: clamp(20px, 3vw, 34px); padding-bottom: clamp(20px, 3vw, 34px); }
.kh-sectie--vlak, .kh-sectie--spel { max-width: none; padding-left: 0; padding-right: 0; position: relative; }
.kh-sectie--vlak { background: var(--zand); margin: 40px 0; }
.kh-sectie__in { max-width: var(--breed); margin: 0 auto; padding: 0 20px; }
.kh-sectie__kop { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.kh-sectie__kop h2 { margin: 0; }
.kh-sectie__intro { max-width: 680px; color: var(--tekst-zacht); margin-bottom: 26px; }
.kh-golf { display: block; width: 100%; height: clamp(26px, 4vw, 54px); fill: var(--creme); }
.kh-golf--boven { position: absolute; left: 0; top: 0; transform: translateY(-99%); fill: var(--zand); }
.kh-golf--onder { position: absolute; left: 0; bottom: 0; transform: translateY(99%); fill: var(--zand); }
.kh-leeg { padding: 22px; background: #fff; border-radius: var(--rond); text-align: center; }

/* kleuren voor tegels en kaarten */
.kh-kleur--geel { --k: #fff3c9; --k2: var(--geel); }
.kh-kleur--koraal { --k: #ffe1dc; --k2: var(--koraal); }
.kh-kleur--blauw { --k: #dcf2fb; --k2: var(--blauw); }
.kh-kleur--paars { --k: #ecdff6; --k2: var(--paars); }
.kh-kleur--groen { --k: #e3f4cf; --k2: var(--groen-licht); }
.kh-kleur--oranje { --k: #ffe8cc; --k2: var(--oranje); }

/* ---------- uitgelicht ---------- */
.kh-uitgelicht { display: flex; align-items: center; gap: 22px; padding: 22px 28px; border-radius: 26px; text-decoration: none !important; box-shadow: 0 8px 0 rgba(0, 0, 0, .14); transition: transform .15s; }
.kh-uitgelicht:hover { transform: translateY(-3px) rotate(-.3deg); }
.kh-uitgelicht--halloween { background: #1a0b2e; color: #f6ecff !important; }
.kh-uitgelicht__icoon { flex-shrink: 0; animation: kh-zweef 2.6s ease-in-out infinite alternate; }
.kh-uitgelicht__tekst { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.kh-uitgelicht__tekst strong { font-family: var(--kop); font-size: clamp(1.2rem, 2.6vw, 1.6rem); color: var(--oranje); line-height: 1.2; }
.kh-uitgelicht .kh-knop { flex-shrink: 0; }
@media (max-width: 760px) { .kh-uitgelicht { flex-direction: column; text-align: center; padding: 24px 20px; } }

/* ---------- agenda ---------- */
.kh-agenda { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.kh-agenda__item { display: flex; align-items: center; gap: 16px; padding: 14px 18px 14px 14px; background: #fff; border-radius: var(--rond); box-shadow: var(--schaduw); }
.kh-agenda__datum { flex-shrink: 0; width: 68px; height: 68px; border-radius: 18px; background: var(--groen-donker); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; font-family: var(--kop); line-height: 1; transform: rotate(-3deg); }
.kh-agenda__item:nth-child(2n) .kh-agenda__datum { background: var(--koraal); transform: rotate(2deg); }
.kh-agenda__item:nth-child(3n) .kh-agenda__datum { background: var(--paars); }
.kh-agenda__datum strong { font-size: 1.8rem; font-weight: 700; }
.kh-agenda__datum span { font-size: .9rem; text-transform: uppercase; letter-spacing: .08em; margin-top: 3px; }
.kh-agenda__datum--vast { background: var(--geel) !important; color: var(--tekst); }
.kh-agenda__datum--vast strong { font-size: 1.05rem; }
.kh-agenda__datum--vast span { margin: 0 0 2px; font-size: .75rem; }
.kh-agenda__wat { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.kh-agenda__wat strong { font-family: var(--kop); font-size: 1.15rem; font-weight: 600; line-height: 1.25; }
.kh-agenda__wat span { color: var(--tekst-zacht); font-size: .95rem; }
.kh-agenda__icoon { flex-shrink: 0; opacity: .95; }

/* ---------- tegels ---------- */
.kh-tegels { display: grid; grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); gap: 16px; }
.kh-tegel { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 22px 12px 18px; background: var(--k, #fff); border-radius: 24px; text-align: center; text-decoration: none !important; border-bottom: 6px solid var(--k2, var(--pad)); transition: transform .15s; }
.kh-tegel:hover { transform: translateY(-5px) rotate(-1.5deg); }
.kh-tegel:nth-child(2n):hover { transform: translateY(-5px) rotate(1.5deg); }
.kh-tegel__icoon { width: 84px; height: 84px; border-radius: 50%; background: #fff; display: grid; place-items: center; }
.kh-tegel__naam { font-family: var(--kop); font-weight: 600; font-size: 1.12rem; color: var(--tekst); line-height: 1.2; }
@media (max-width: 520px) { .kh-tegels { grid-template-columns: repeat(2, 1fr); gap: 12px; } .kh-tegel { padding: 16px 8px 14px; } .kh-tegel__icoon { width: 70px; height: 70px; } }

/* ---------- foto's ---------- */
.kh-fotos { display: flex; gap: 22px; overflow-x: auto; padding: 16px 20px 30px; margin: 0 -20px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.kh-foto { flex: 0 0 auto; width: min(270px, 68vw); margin: 0; padding: 10px 10px 6px; background: #fff; border-radius: 8px; box-shadow: 0 8px 22px rgba(40, 50, 30, .16); transform: rotate(-2deg); scroll-snap-align: center; transition: transform .2s; }
.kh-foto:nth-child(2n) { transform: rotate(1.6deg) translateY(8px); }
.kh-foto:nth-child(3n) { transform: rotate(-.8deg) translateY(-4px); }
.kh-foto:hover { transform: rotate(0) scale(1.04); z-index: 2; }
.kh-foto img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; }
.kh-foto figcaption { font-family: var(--kop); font-weight: 500; text-align: center; padding: 8px 4px 4px; color: var(--tekst); }

/* ---------- spelletjes ---------- */
.kh-sectie--spel { background: linear-gradient(135deg, #2a1648 0%, #4a2a7a 100%); color: #efe6fb; border-radius: 0; margin: 30px 0; }
.kh-sectie--spel h2 { color: #fff; }
.kh-sectie--spel .kh-link { color: var(--geel); }
.kh-sectie--spel .kh-sectie__intro { color: #d9c9ee; }
.kh-spellen { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.kh-spel { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 22px 22px 24px; background: #fff; border-radius: 26px; text-decoration: none !important; color: var(--tekst) !important; border-bottom: 7px solid var(--k2); box-shadow: 0 10px 26px rgba(30, 20, 60, .14); transition: transform .15s; }
.kh-spel:hover { transform: translateY(-6px) rotate(-1deg); }
.kh-spel__icoon { width: 104px; height: 104px; border-radius: 28px; background: var(--k); display: grid; place-items: center; margin-bottom: 6px; }
.kh-spel__label { position: absolute; top: 18px; right: 18px; padding: 3px 12px; border-radius: 999px; background: #ff7a00; color: #1a0b2e; font-family: var(--kop); font-weight: 600; font-size: .85rem; transform: rotate(4deg); }
.kh-spel__naam { font-family: var(--kop); font-weight: 600; font-size: 1.4rem; color: var(--groen-donker); line-height: 1.2; }
.kh-spel__uitleg { font-size: .98rem; color: var(--tekst-zacht); line-height: 1.5; flex: 1; }
.kh-spel .kh-knop { margin-top: 8px; }
.kh-tip { margin-top: 34px; text-align: center; color: var(--tekst-zacht); }
@media (max-width: 560px) { .kh-spellen--rij { display: flex; overflow-x: auto; margin: 0 -20px; padding: 6px 20px 24px; scroll-snap-type: x mandatory; } .kh-spellen--rij .kh-spel { flex: 0 0 76vw; scroll-snap-align: center; } }

/* ---------- chips ---------- */
.kh-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.kh-chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 18px 8px 10px; background: #fff; border: 2px solid var(--pad); border-radius: 999px; font-family: var(--kop); font-weight: 500; color: var(--tekst) !important; text-decoration: none !important; transition: transform .12s, border-color .12s; }
.kh-chip:hover { transform: translateY(-2px); border-color: var(--groen); }
.kh-chips--groot .kh-chip { padding: 10px 22px 10px 12px; font-size: 1.08rem; }

/* ---------- nieuws ---------- */
.kh-nieuws { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.kh-nieuws__item { display: flex; flex-direction: column; gap: 4px; padding: 22px 24px; background: #fff; border-radius: var(--rond); border-left: 8px solid var(--geel); box-shadow: var(--schaduw); text-decoration: none !important; color: var(--tekst) !important; transition: transform .15s; }
.kh-nieuws__item:hover { transform: translateY(-3px); }
.kh-nieuws__item small { color: var(--tekst-zacht); }
.kh-nieuws__item strong { font-family: var(--kop); font-size: 1.3rem; font-weight: 600; color: var(--groen-donker); }
.kh-nieuws__item span { color: var(--tekst-zacht); font-size: .98rem; }

/* ---------- lid worden ---------- */
.kh-lid { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: clamp(26px, 4vw, 44px); border-radius: 30px; background: var(--groen-donker); color: #eaf6e4; background-image: radial-gradient(circle at 12% 120%, rgba(124, 194, 66, .5) 0 26%, transparent 27%), radial-gradient(circle at 92% -30%, rgba(255, 201, 60, .35) 0 30%, transparent 31%); }
.kh-lid h2 { color: #fff; }
.kh-lid > div { max-width: 600px; }
.kh-lid p { margin: 0; }
.kh-lid__knoppen { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- pagina's ---------- */
.kh-band { position: relative; background: linear-gradient(135deg, #dff1c6 0%, #c9ec8f 100%); padding: clamp(28px, 5vw, 52px) 20px clamp(46px, 7vw, 84px); }
.kh-band__in { max-width: 900px; margin: 0 auto; display: flex; align-items: center; gap: 20px; }
.kh-band__icoon { flex-shrink: 0; width: 98px; height: 98px; border-radius: 30px; background: #fff; display: grid; place-items: center; transform: rotate(-4deg); box-shadow: 0 6px 0 rgba(29, 107, 60, .16); }
.kh-band h1 { margin: 0; }
.kh-band__boven { margin: 0 0 4px; font-family: var(--kop); font-weight: 500; color: var(--groen-donker); }
.kh-band__boven a { text-decoration: none; }
.kh-band .kh-golf { position: absolute; left: 0; bottom: -1px; }
@media (max-width: 560px) { .kh-band__icoon { width: 70px; height: 70px; border-radius: 22px; } .kh-band__icoon svg { width: 46px; height: 46px; } .kh-band__in { gap: 14px; } }
.kh-inhoud { max-width: 900px; margin: 0 auto; padding: 8px 20px clamp(40px, 6vw, 70px); }
.kh-inhoud--breed { max-width: var(--breed); }
.kh-inhoud--midden { text-align: center; }
.kh-tekst { font-size: 1.08rem; }
.kh-tekst--intro { max-width: 760px; margin-bottom: 30px; font-size: 1.15rem; }
.kh-tekst h1 { font-size: clamp(1.6rem, 3.6vw, 2.2rem); margin-top: 1.2em; }
.kh-tekst h2, .kh-tekst h3, .kh-tekst h4 { margin-top: 1.4em; }
.kh-tekst > :first-child, .kh-tekst .elementor-widget-container > :first-child { margin-top: 0; }
.kh-tekst img { border-radius: 16px; }
.kh-tekst ul, .kh-tekst ol { padding-left: 1.3em; margin: 0 0 1em; }
.kh-tekst li { margin-bottom: .35em; }
.kh-tekst li::marker { color: var(--groen); }
.kh-tekst table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 0 0 1.4em; background: #fff; border-radius: 18px; overflow: hidden; box-shadow: var(--schaduw); font-size: 1rem; }
.kh-tekst th, .kh-tekst td { padding: 12px 16px; text-align: left; border: 0; border-bottom: 2px solid var(--zand); vertical-align: top; }
.kh-tekst tr:first-child td, .kh-tekst th { background: var(--groen-donker); color: #fff; font-family: var(--kop); }
.kh-tekst tr:first-child td strong { font-weight: 600; }
.kh-tekst tr:last-child td { border-bottom: 0; }
.kh-tekst tr:nth-child(2n+3) td { background: #fbfaf3; }
.kh-tekst blockquote { margin: 1.2em 0; padding: 16px 22px; background: #fff; border-left: 8px solid var(--geel); border-radius: 0 16px 16px 0; }
.kh-tekst iframe, .kh-tekst embed, .kh-tekst object { max-width: 100%; border-radius: 12px; }
.kh-tekst .elementor-button { border-radius: 999px; font-family: var(--kop); font-weight: 600; }
.kh-tekst .elementor-widget-text-editor, .kh-tekst .elementor-widget-text-editor p { font-family: var(--lees); }
.kh-meer { max-width: 900px; margin: 0 auto; padding: 0 20px 60px; }
.kh-meer h2 { font-size: 1.3rem; }
.kh-terug { margin-top: 30px; }
.kh-lijst { display: grid; gap: 14px; }
.kh-lijst__item { display: flex; gap: 16px; align-items: flex-start; padding: 16px 20px; background: #fff; border-radius: var(--rond); box-shadow: var(--schaduw); text-decoration: none !important; color: var(--tekst) !important; }
.kh-lijst__item:hover { transform: translateY(-2px); }
.kh-lijst__item strong { display: block; font-family: var(--kop); font-size: 1.2rem; color: var(--groen-donker); }
.kh-lijst__item small { color: var(--tekst-zacht); }
.kh-lijst__tekst { display: block; color: var(--tekst-zacht); font-size: .98rem; }
.kh-lijst__icoon { flex-shrink: 0; }
.kh-paginering { margin-top: 26px; text-align: center; font-family: var(--kop); }
.kh-paginering .page-numbers { display: inline-block; padding: 6px 14px; border-radius: 999px; background: #fff; margin: 2px; text-decoration: none; }
.kh-paginering .current { background: var(--groen-donker); color: #fff; }

/* ---------- voet ---------- */
.kh-voet { margin-top: 40px; background: var(--groen-donker); color: #dcefd2; }
.kh-voet__wijk { height: clamp(120px, 22.9vw, 330px); background: var(--creme); margin-bottom: -1px; }
.kh-voet__wijk .kh-wijk { height: 100%; }
.kh-seizoen--halloween .kh-voet__wijk, .kh-seizoen--sint .kh-voet__wijk { background: linear-gradient(180deg, var(--creme) 0%, #e9defa 100%); }
.kh-voet__in { max-width: var(--breed); margin: 0 auto; padding: 40px 20px 20px; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 30px; }
.kh-voet h2 { font-size: 1.15rem; color: #fff; margin-bottom: .6em; }
.kh-voet ul { list-style: none; margin: 0; padding: 0; }
.kh-voet li { margin-bottom: 6px; }
.kh-voet a { color: #fff; text-decoration: none; border-bottom: 2px solid rgba(255, 255, 255, .3); }
.kh-voet a:hover { color: var(--geel); border-color: var(--geel); }
.kh-voet__merk { display: flex; align-items: center; gap: 10px; font-family: var(--kop); font-weight: 600; font-size: 1.2rem; color: #fff; }
.kh-voet__merk img { border-radius: 12px; }
.kh-voet__klein { max-width: var(--breed); margin: 0 auto; padding: 14px 20px 26px; font-size: .9rem; opacity: .8; }
@media (max-width: 860px) { .kh-voet__in { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .kh-voet__in { grid-template-columns: 1fr; gap: 22px; } }

/* de wijk iets donkerder gras onderaan laten aansluiten op de voet */
.kh-voet__wijk svg { display: block; }

@media print { .kh-kop, .kh-voet, .kh-meer { display: none; } }

/* Elementor-tekst in de leesbare maat en kleur van het thema */
.kh-tekst .elementor-widget-text-editor { color: var(--tekst); font-size: 1.08rem; line-height: 1.65; }
.kh-tekst .elementor-widget-text-editor a { color: var(--groen-donker); text-decoration: underline; }
.kh-tekst .elementor-widget-image img { border-radius: 16px; }
.kh-tekst .elementor-heading-title { font-family: var(--kop); font-weight: 600; color: var(--groen-donker); }

/* ---------- wijkkaart (echte plattegrond, kleurt mee met het seizoen) ---------- */
.kh-kaart { --k-grond: #f6f1e1; --k-gras: #d9edb9; --k-bos: #9fd07f; --k-boom1: #58b947; --k-boom2: #3da535; --k-water: #8fd3f0; --k-weg: #fffdf6; --k-wegrand: #d8ceb4; --k-pad: #c9b78f;
  --k-huis1: #c8553d; --k-huis2: #a8482f; --k-huis3: #5a6577; --k-raam: transparent; --k-naam: #33414f; --k-halo: #fffdf6; --k-gebied: #1d6b3c;
  display: block; width: 100%; height: auto; }
.kh-kaart .k-grond { fill: var(--k-grond); }
.kh-kaart .k-gras { fill: var(--k-gras); }
.kh-kaart .k-bos { fill: var(--k-bos); }
.kh-kaart .k-boom1 { fill: var(--k-boom1); }
.kh-kaart .k-boom2 { fill: var(--k-boom2); }
.kh-kaart .k-water { fill: var(--k-water); }
.kh-kaart .k-pad { fill: none; stroke: var(--k-pad); stroke-width: 1.6; stroke-dasharray: 4 3; stroke-linecap: round; }
.kh-kaart .k-weg, .kh-kaart .k-wegrand { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.kh-kaart .k-weg { stroke: var(--k-weg); }
.kh-kaart .k-wegrand { stroke: var(--k-wegrand); }
.kh-kaart .k-huis { stroke: rgba(0, 0, 0, .18); stroke-width: .8; }
.kh-kaart .k-huis1 { fill: var(--k-huis1); }
.kh-kaart .k-huis2 { fill: var(--k-huis2); }
.kh-kaart .k-huis3 { fill: var(--k-huis3); }
.kh-kaart .k-raam { fill: var(--k-raam); }
.kh-kaart .k-pompoenen { display: none; }
.kh-kaart .k-naam { font-family: var(--kop); font-weight: 500; font-size: 13.5px; fill: var(--k-naam); stroke: var(--k-halo); stroke-width: 3.5px; paint-order: stroke; stroke-linejoin: round; }
.kh-kaart .k-gebied { font-family: var(--kop); font-weight: 600; font-size: 26px; letter-spacing: .12em; fill: var(--k-gebied); stroke: var(--k-halo); stroke-width: 5px; paint-order: stroke; opacity: .9; }
.kh-kaart .k-pin__vorm { fill: var(--koraal); stroke: #fff; stroke-width: 2.5; }
.kh-kaart .k-pin__nr { font-family: var(--kop); font-weight: 700; font-size: 16px; fill: #fff; }
.kh-kaart .k-pin g { transition: scale .15s; transform-box: fill-box; transform-origin: 50% 100%; }
.kh-kaart .k-pin:hover g, .kh-kaart .k-pin:focus g { scale: 1.25; }
.kh-kaart .k-pin:hover .k-pin__vorm, .kh-kaart .k-pin:focus .k-pin__vorm { fill: var(--groen-donker); }
.kh-seizoen--halloween .kh-kaart, .kh-kaart--halloween { --k-grond: #2b1b47; --k-gras: #2f4a3a; --k-bos: #243a34; --k-boom1: #7a3f1c; --k-boom2: #a85a1f; --k-water: #3a5a8a; --k-weg: #57427a; --k-wegrand: #3a2a5c; --k-pad: #6a5590;
  --k-huis1: #1f1433; --k-huis2: #35224f; --k-huis3: #120b20; --k-raam: #ffd76a; --k-naam: #f3e9ff; --k-halo: #2b1b47; --k-gebied: #ffb24a; }
.kh-seizoen--halloween .kh-kaart .k-pompoenen, .kh-kaart--halloween .k-pompoenen { display: inline; }
.kh-seizoen--sint .kh-kaart { --k-grond: #1e2f57; --k-gras: #2f5a48; --k-bos: #244a3d; --k-boom1: #2f6b4d; --k-boom2: #3a7d5a; --k-water: #3f67a6; --k-weg: #4b5f93; --k-wegrand: #2c3d6b; --k-pad: #6a7fb3;
  --k-huis1: #7a2a22; --k-huis2: #5e211b; --k-huis3: #1a2444; --k-raam: #ffd76a; --k-naam: #eef3ff; --k-halo: #1e2f57; --k-gebied: #ffd76a; }
.kh-seizoen--winter .kh-kaart { --k-grond: #eef4f7; --k-gras: #ffffff; --k-bos: #dbe9ee; --k-boom1: #5f9a7c; --k-boom2: #7fb49a; --k-water: #b9dcec; --k-weg: #fbfdff; --k-wegrand: #c4d3da; --k-pad: #b5c4cc; --k-huis3: #6f7c8c; --k-halo: #ffffff; --k-gebied: #2f6b55; }
.kh-seizoen--herfst .kh-kaart { --k-gras: #dde6ad; --k-bos: #d9b56a; --k-boom1: #d9772b; --k-boom2: #b98a2a; }
.kh-seizoen--lente .kh-kaart { --k-boom1: #f58fb3; --k-boom2: #58b947; }
.kh-seizoen--koningsdag .kh-kaart { --k-huis1: #ff7a00; --k-huis2: #f08a1c; }
@media (prefers-reduced-motion: no-preference) { .kh-seizoen--halloween .k-raam, .kh-seizoen--sint .k-raam { animation: kh-twinkel 4s ease-in-out infinite alternate; } }

/* kaart in de hero */
.kh-hero { padding-bottom: clamp(30px, 5vw, 60px); }
.kh-hero__kaart { position: relative; z-index: 1; max-width: var(--breed); margin: clamp(26px, 4vw, 44px) auto 0; padding: 0 20px; }
.kh-kaartvak { border-radius: 28px; overflow: auto; background: #fff; border: 8px solid #fff; box-shadow: 0 18px 44px rgba(20, 30, 20, .22); -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.kh-kaartvak .kh-kaart { border-radius: 20px; min-width: 760px; }
.kh-legenda { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.kh-legenda a { display: flex; align-items: center; gap: 10px; height: 100%; padding: 9px 14px 9px 9px; background: #fff; border-radius: 18px; text-decoration: none !important; color: var(--tekst) !important; box-shadow: 0 4px 0 rgba(0, 0, 0, .1); transition: transform .12s; }
.kh-legenda a:hover { transform: translateY(-2px); }
.kh-legenda__nr { flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; background: var(--koraal); color: #fff; display: grid; place-items: center; font-family: var(--kop); font-weight: 700; }
.kh-legenda strong { display: block; font-family: var(--kop); font-weight: 600; line-height: 1.2; }
.kh-legenda small { display: block; color: var(--tekst-zacht); font-size: .85rem; line-height: 1.3; }
.kh-kaartbron { margin: 10px 4px 0; font-size: .8rem; text-align: right; opacity: .75; }
.kh-wistjedat { max-width: 720px; margin: 22px auto 0; padding: 14px 22px; background: #fff; border-radius: 20px; border-left: 8px solid var(--geel); box-shadow: 0 4px 0 rgba(0, 0, 0, .08); font-size: 1rem; }
.kh-seizoen--halloween .kh-kaartbron, .kh-seizoen--halloween .kh-kaartbron a, .kh-seizoen--sint .kh-kaartbron, .kh-seizoen--sint .kh-kaartbron a { color: #fff; }
.kh-seizoen--halloween .kh-hero { background: linear-gradient(180deg, #1a0b2e 0%, #43226b 55%, #6a3a86 100%); }
.kh-seizoen--halloween .kh-kaartvak, .kh-seizoen--sint .kh-kaartvak { border-color: rgba(255, 255, 255, .16); background: transparent; }
.kh-legenda { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.kh-legenda a > span:last-child { min-width: 0; overflow-wrap: anywhere; }
