/* Panta Rhei vzw: one stylesheet, one small component system (cards, buttons, badges) in the spirit of Bootstrap,
   hand-written. Identity kept: mint doodle wallpaper, their logo, LOGIN image, round tiles, pill images,
   Amatic SC 700 for headings (the lettering of their tiles), Barlow for text (close to the logo wordmark).
   Fonts self-hosted (assets/fonts, OFL). Components are listed in AGENTS.md. */
@font-face { font-family: "Amatic SC"; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/fonts/amatic-sc-700.woff2) format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/barlow-400.woff2) format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/fonts/barlow-500.woff2) format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts/barlow-600.woff2) format("woff2"); }

:root {
  /* colours */
  --text: #2b3a2e; --muted: #56675a; --heading: #1f5e16; --link: #1f770a; --accent: #ef7b11;
  --focus: #e06a0c; /* the accent one shade deeper: 3:1 against white */
  --surface: #f4f8f5; --tint: #e8f2ea; --border: #e1ebe4; --rule-strong: #b5cfa9; --mint: #b2d5cb;
  /* kind colours (badges), from their tiles, AA with white text */
  --kind-kleuter: #c24a08; --kind-jongeren: #377d09; --kind-sport: #0035c9; --kind-lessen: #004a00; --kind-workshop: #48613a;
  /* shape */
  --r-card: 16px; --r-img: 10px; --r-pill: 999px; --r-site: 20px;
  --border-card: 1px solid var(--border);
  --shadow-card: 0 1px 2px rgba(16, 40, 20, .05), 0 8px 24px rgba(31, 94, 22, .08);
  --shadow-pop: 0 2px 6px rgba(16, 40, 20, .06), 0 16px 36px rgba(31, 94, 22, .14);
  /* spacing */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px;
  --card-pad: clamp(20px, 4vw, 40px);
  --card-gap: clamp(16px, 2.5vw, 28px);
  --main-pad: clamp(12px, 4vw, 48px);
  --gutter: clamp(16px, 4vw, 48px);
  --ease: .15s ease;
  /* type */
  --font-display: "Amatic SC", "Arial Narrow", sans-serif;
  --font-body: "Barlow", "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font: 400 17px/1.65 var(--font-body); color: var(--text);
  background: var(--mint) url(/assets/img/chrome/achtergrond.webp) center top / 960px auto repeat;
}
@media (min-width: 900px) and (hover: hover) {
  body { background-size: cover; background-attachment: fixed; background-repeat: no-repeat; }
}
img { max-width: 100%; height: auto; }
a { color: var(--link); text-decoration: underline; text-underline-offset: .15em; text-decoration-thickness: 1px; }
a:hover { color: var(--heading); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
main:focus { outline: none; }
strong, b { font-weight: 600; }
[id] { scroll-margin-top: var(--s5); }

h1, h2, h3 { font-family: var(--font-display); font-weight: 700; color: var(--heading); letter-spacing: .02em; line-height: 1.05; margin: 1.1em 0 .35em; }
h1 { font-size: clamp(2.6rem, 5vw, 4rem); margin: 0; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.7rem; }
h4, h5, h6 { font: 600 1.05rem/1.4 var(--font-body); color: var(--heading); margin: 1.2em 0 .3em; }
p, ul, ol { margin: 0 0 1em; }
ul, ol { padding-left: 1.4em; }
li { margin-bottom: .3em; }
ul > li::marker { color: var(--link); }
hr { border: 0; border-top: 1px solid var(--border); margin: var(--s6) 0; }
table { border-collapse: separate; border-spacing: 0; margin: 0 0 1.2em; max-width: 100%; border: var(--border-card); border-radius: var(--r-img); overflow: hidden; }
td, th { border-bottom: 1px solid var(--border); padding: .5em .8em; vertical-align: top; text-align: left; }
th { background: var(--surface); color: var(--heading); font-weight: 600; }
tr:last-child > td { border-bottom: 0; }
.lead { font-size: 1.2rem; line-height: 1.55; }

.vh { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -200px; z-index: 100; background: #fff; color: var(--heading); font-weight: 600; padding: 10px 16px; border: 2px solid var(--focus); border-radius: var(--r-img); text-decoration: none; }
.skip:focus { top: 12px; outline: none; }

/* Site frame: a rounded column floating on the wallpaper (full-bleed on phones) */
.site { width: min(1200px, 100% - 2 * clamp(8px, 4vw, 40px)); margin: clamp(12px, 2.5vw, 32px) auto; background: #fff; border-radius: var(--r-site); box-shadow: 0 2px 6px rgba(16, 40, 20, .08), 0 18px 48px rgba(31, 94, 22, .18); overflow: clip; }
@media (max-width: 699px) {
  .site { width: 100%; margin: 0; border-radius: 0; box-shadow: none; }
}

/* Header */
.site-head { background: #fff; }
.head-top { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); padding: var(--s5) var(--gutter) var(--s4); }
.brand { display: block; line-height: 0; border-radius: var(--r-img); }
.brand img { width: 300px; }
.head-right { display: flex; align-items: center; gap: var(--s5); }
.social { display: flex; gap: var(--s2); list-style: none; margin: 0; padding: 0; }
.social li { margin: 0; }
.social a { display: block; line-height: 0; border-radius: 50%; transition: transform var(--ease); }
.social a:hover { transform: translateY(-2px); }
.social img { width: 30px; height: 30px; }
.login-btn { display: block; line-height: 0; border-radius: var(--r-img); transition: transform var(--ease); }
.login-btn:hover { transform: translateY(-2px); }
.login-btn img { width: 130px; }

/* Main menu: pill-shaped items, dropdowns as cards */
.nav { position: relative; border-top: 1px solid var(--border); }
.nav-toggle { display: none; }
.nav-list { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 2px; list-style: none; margin: 0; padding: var(--s2) 72px; }
.nav-item { position: relative; display: flex; align-items: center; margin: 0; border-radius: var(--r-pill); transition: background-color var(--ease); }
.nav-link { display: block; padding: 9px 4px 9px 16px; border-radius: var(--r-pill); font: 500 15px/1.2 var(--font-body); text-transform: uppercase; letter-spacing: .06em; color: var(--text); text-decoration: none; transition: color var(--ease); }
.nav-item:not(.has-sub) > .nav-link { padding-right: 16px; }
.nav-item:hover, .nav-item.is-open { background: var(--surface); }
.nav-item:hover > .nav-link, .nav-link:hover { color: var(--heading); }
.nav-item.is-current { background: var(--tint); }
.nav-item.is-current > .nav-link { color: var(--heading); font-weight: 600; }
.sub-toggle { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 32px; margin-right: 6px; padding: 0; border: 0; border-radius: var(--r-pill); background: none; color: var(--muted); cursor: pointer; }
.sub-toggle svg { transition: transform var(--ease); }
.nav-item.is-open > .sub-toggle svg { transform: rotate(180deg); }
.sub { display: none; position: absolute; top: calc(100% + 6px); left: 0; z-index: 30; min-width: 290px; max-width: 340px; list-style: none; margin: 0; padding: var(--s2); background: #fff; border: var(--border-card); border-radius: 14px; box-shadow: var(--shadow-pop); }
.sub::before { content: ""; position: absolute; left: 0; right: 0; top: -8px; height: 8px; } /* keeps hover across the gap */
.nav-item:nth-last-child(-n+4) > .sub { left: auto; right: 0; }
.sub li { margin: 0; }
.sub a { display: block; padding: 9px 14px; border-radius: var(--r-img); color: var(--text); text-decoration: none; font-size: 15px; line-height: 1.35; transition: background-color var(--ease), color var(--ease); }
.sub a:hover { background: var(--surface); color: var(--heading); }
.sub a[aria-current="page"] { background: var(--tint); color: var(--heading); font-weight: 600; }
.nav-search-item { position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); }
.nav-search-item:hover { background: none; }
.nav-search { display: flex; align-items: center; justify-content: center; gap: var(--s2); width: 42px; height: 42px; padding: 0; border: var(--border-card); border-radius: 50%; color: var(--heading); background: #fff; transition: background-color var(--ease), border-color var(--ease); }
.nav-search:hover { background: var(--tint); border-color: var(--rule-strong); }
.nav-search[aria-current="page"] { background: var(--tint); border-color: var(--rule-strong); }
.nav-search-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (min-width: 900px) {
  .has-sub:hover > .sub, .has-sub:focus-within > .sub, .has-sub.is-open > .sub { display: block; }
  .has-sub.is-closed > .sub { display: none; }
}
@media (min-width: 900px) and (max-width: 1099px) {
  .nav-list { padding: var(--s2) 64px var(--s2) var(--s2); }
  .nav-link { font-size: 14px; letter-spacing: .04em; padding-left: 11px; }
  .nav-item:not(.has-sub) > .nav-link { padding-right: 11px; }
  .sub-toggle { width: 22px; margin-right: 4px; }
}

@media (max-width: 899px) {
  .head-top { padding: 14px 16px; }
  .brand img { width: min(240px, 52vw); }
  .head-right { flex-direction: column; align-items: flex-end; gap: var(--s2); }
  .social img { width: 28px; height: 28px; }
  .login-btn img { width: 92px; }
  .nav-toggle { display: flex; align-items: center; gap: 10px; width: 100%; padding: 14px 16px; border: 0; background: none; font: 500 15px/1.2 var(--font-body); text-transform: uppercase; letter-spacing: .06em; color: var(--text); cursor: pointer; }
  .burger, .burger span, .burger::before, .burger::after { display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
  .burger { position: relative; background: none; }
  .burger span { position: absolute; top: 0; }
  .burger::before, .burger::after { content: ""; position: absolute; left: 0; transition: transform var(--ease); }
  .burger::before { top: -7px; }
  .burger::after { top: 7px; }
  .nav.is-open .burger span { opacity: 0; }
  .nav.is-open .burger::before { transform: translateY(7px) rotate(45deg); }
  .nav.is-open .burger::after { transform: translateY(-7px) rotate(-45deg); }
  .nav-list { display: none; padding: var(--s2) var(--s3) var(--s3); gap: 2px; border-top: 1px solid var(--border); }
  .nav.is-open .nav-list { display: flex; flex-direction: column; align-items: stretch; }
  .nav-item, .nav-item:hover, .nav-item.is-open, .nav-item.is-current { flex-wrap: wrap; border-radius: 12px; background: none; }
  .nav-link { flex: 1; padding: 12px 14px; border-radius: 12px; }
  .nav-item.is-current > .nav-link { background: var(--tint); }
  .sub-toggle { width: 48px; height: 46px; margin: 0; border-radius: 12px; }
  .sub { position: static; flex-basis: 100%; max-width: none; min-width: 0; margin: 2px 0 6px; padding: 6px; border: 0; border-radius: 12px; box-shadow: none; background: var(--surface); }
  .sub::before { content: none; }
  .nav-item.is-open > .sub { display: block; }
  .sub a { padding: 10px 14px 10px 22px; }
  .nav-search-item { position: static; transform: none; }
  .nav-search { width: auto; height: auto; justify-content: flex-start; padding: 12px 14px; border: 0; border-radius: 12px; background: none; }
  .nav-search-label { position: static; width: auto; height: auto; overflow: visible; clip: auto; font: 500 15px/1.2 var(--font-body); text-transform: uppercase; letter-spacing: .06em; color: var(--text); }
}

/* Main area: light surface; every page = page-head + cards, one rhythm (flex gap; hidden Pagefind spans add none) */
.main { display: flex; flex-direction: column; gap: var(--card-gap); padding: clamp(24px, 4vw, 48px) var(--main-pad) clamp(32px, 5vw, 64px); background: var(--surface); border-top: 1px solid var(--border); }
.stack { display: flex; flex-direction: column; gap: var(--card-gap); }
.page-head { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s3); padding: 0 var(--s2); }
.page-head + .page-lead { margin-top: calc(var(--s2) - var(--card-gap)); }
.page-lead { max-width: 70ch; margin: 0; padding: 0 var(--s2); }
.crumb { margin: 0; }
.back { display: inline-flex; align-items: center; gap: 6px; padding: 4px 14px 4px 10px; border: var(--border-card); border-radius: var(--r-pill); background: #fff; color: var(--muted); font-size: .9rem; font-weight: 500; line-height: 1.5; text-decoration: none; transition: color var(--ease), border-color var(--ease); }
.back:hover { color: var(--heading); border-color: var(--rule-strong); text-decoration: none; }

/* Card */
.card { min-width: 0; padding: var(--card-pad); background: #fff; border: var(--border-card); border-radius: var(--r-card); box-shadow: var(--shadow-card); }
.card > :first-child { margin-top: 0; }
.card > :last-child { margin-bottom: 0; }
.card-title { margin: 0 0 var(--s4); font-size: 2.4rem; }
.card-title a { color: inherit; text-decoration: none; }
.card-title a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--card-gap); }
@media (max-width: 759px) { .cards { grid-template-columns: 1fr; } }
.card-links { list-style: none; margin: 0; padding: 0; }
.card-links li { margin: 0; border-top: 1px solid var(--border); }
.card-links li:first-child { border-top: 0; }
.card-links a { display: block; padding: 9px 0; font-weight: 500; text-decoration: none; }
.card-links a:hover { text-decoration: underline; }
.card-links .plain { padding: 9px 0; color: var(--muted); }

/* KampAdmin embed in a card: a thin frame, so its table keeps its row layout (it needs ~990px) */
.card-embed, .card:has(> .ka-embed:only-child) { padding: var(--s3); }
.ka-embed { min-height: 240px; }
.card > .ka-embed:not(:only-child) { margin: var(--s5) calc(var(--s3) - var(--card-pad)) 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: var(--s2); padding: .6em 1.4em; border: 2px solid var(--link); border-radius: var(--r-pill); background: var(--link); color: #fff; font: 600 1rem/1.3 var(--font-body); text-decoration: none; cursor: pointer; transition: background-color var(--ease), border-color var(--ease), color var(--ease); }
.btn:hover { background: var(--heading); border-color: var(--heading); color: #fff; text-decoration: none; }
.btn:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: var(--r-pill); }
.btn-outline { background: #fff; color: var(--link); }
.btn-outline:hover { background: var(--tint); color: var(--heading); }

/* Badges */
.badges { display: flex; flex-wrap: wrap; gap: var(--s2); list-style: none; margin: 0; padding: 0; }
.badges li { margin: 0; }
.badge { display: inline-block; padding: 3px 12px; border: 1px solid var(--border); border-radius: var(--r-pill); background: #fff; color: var(--text); font-size: .875rem; font-weight: 600; line-height: 1.5; }
.badge[class*="badge-"] { border-color: transparent; color: #fff; }
.badge-kleuter { background: var(--kind-kleuter); }
.badge-jongeren { background: var(--kind-jongeren); }
.badge-sport { background: var(--kind-sport); }
.badge-dans, .badge-zwemmen { background: var(--kind-lessen); }
.badge-workshop, .badge-vorming { background: var(--kind-workshop); }

/* Body building blocks (detail/ and info/ pages) */
.prose > :where(p, ul:not([class]), ol:not([class]), h2, h3, h4, h5, blockquote) { max-width: 75ch; }
.prose > h2 { max-width: none; margin-top: 1.4em; padding-top: .7em; border-top: 1px solid var(--border); }
.prose > h2:first-child { padding-top: 0; border-top: 0; }
.prose > h2 + h3 { margin-top: .4em; }
.foto { display: block; border-radius: var(--r-img); }
.pill { display: block; border-radius: 10em; box-shadow: 0 8px 24px rgba(0, 0, 0, .18); }
.cols { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: clamp(20px, 4vw, 48px); margin: 0 0 1.5em; }
.cols.cols-2-1 { grid-auto-flow: row; grid-template-columns: 2fr 1fr; }
.cols.cols-1-2 { grid-auto-flow: row; grid-template-columns: 1fr 2fr; }
.col { min-width: 0; }
.col > :first-child { margin-top: 0; }
.col > :last-child { margin-bottom: 0; }
.media { display: flex; align-items: center; gap: clamp(18px, 3vw, 40px); margin: 0 0 1.75em; }
.media-rev { flex-direction: row-reverse; }
.media-img { flex: 0 0 auto; width: clamp(120px, 22%, 220px); }
.media-body { flex: 1; min-width: 0; }
.media-body > :first-child { margin-top: 0; }
.media-body > :last-child { margin-bottom: 0; }
.adres-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: var(--s3); margin: 0 0 var(--s5); }
.adres { padding: var(--s3) var(--s4); border: var(--border-card); border-left: 4px solid var(--rule-strong); border-radius: var(--r-img); background: var(--surface); font-size: .95rem; line-height: 1.5; }
.adres strong { color: var(--heading); }
.contact-block { padding: var(--s4) var(--s5); border: var(--border-card); border-left: 4px solid var(--rule-strong); border-radius: var(--r-img); background: var(--surface); }
.embed-kaart { position: relative; aspect-ratio: 16 / 10; border-radius: var(--r-img); overflow: hidden; border: var(--border-card); }
.embed-kaart iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.toc { padding-block: clamp(16px, 3vw, 28px); }
.toc ul { columns: 2; column-gap: var(--s7); margin: 0; padding-left: 1.4em; }
.toc li { break-inside: avoid; }
.card > :last-child, .card .adres-grid:last-child, .card .cols:last-child { margin-bottom: 0; }
@media (max-width: 759px) {
  .cols, .cols.cols-2-1, .cols.cols-1-2 { grid-auto-flow: row; grid-template-columns: 1fr; }
  .media, .media-rev { flex-direction: column; align-items: flex-start; }
  .media-img { width: 150px; }
  .embed-kaart { aspect-ratio: 3 / 4; }
  .toc ul { columns: 1; }
}

/* Home + /links: five equal round tiles with their menu label; photo strip; link cards */
.welcome { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); align-items: center; gap: clamp(20px, 4vw, 48px); }
.welcome .lead { max-width: 64ch; margin: var(--s3) 0 var(--s5); }
.welcome .foto { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 759px) {
  .welcome { grid-template-columns: 1fr; }
  .welcome .foto { order: -1; aspect-ratio: 16 / 9; }
}
.tiles { --gap: clamp(12px, 2.2vw, 28px); display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s5) var(--gap); list-style: none; margin: 0; padding: 0; }
.tile { --n: 5; flex: 0 0 calc((100% - (var(--n) - 1) * var(--gap)) / var(--n)); margin: 0; }
.tile a { display: flex; flex-direction: column; align-items: center; gap: var(--s3); color: var(--heading); text-decoration: none; border-radius: var(--r-card); }
.tile img { display: block; width: 100%; border-radius: 50%; transition: transform .2s ease, filter .2s ease; }
.tile a:hover img { transform: translateY(-4px); filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .15)); }
.tile-label { font-weight: 600; font-size: .98rem; line-height: 1.3; text-align: center; text-wrap: balance; }
.tile a:hover .tile-label { text-decoration: underline; }
.photos { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--s3); list-style: none; margin: 0; padding: 0; }
.photos li { margin: 0; }
.photos .foto { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-card); box-shadow: var(--shadow-card); }
@media (max-width: 899px) {
  .tile { --n: 3; }
}
@media (max-width: 559px) {
  .tile { --n: 2; }
  .photos { grid-template-columns: repeat(2, 1fr); }
  .photos li:last-child { grid-column: 1 / -1; justify-self: center; width: calc(50% - 6px); }
}

/* Detail pages (themes, lessons): head with badges, text + pill image card, embed card */
.detail-cols { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.detail-cols.no-image { grid-template-columns: 1fr; }
.detail-text { max-width: 75ch; }
.detail-text > :first-child { margin-top: 0; }
.detail-text > :last-child { margin-bottom: 0; }
.detail-img .pill { width: 100%; max-width: 340px; margin: 0 auto; }
@media (max-width: 759px) {
  .detail-cols { grid-template-columns: 1fr; }
  .detail-img { order: -1; }
  .detail-img .pill { max-width: 240px; }
}

/* Footer: three columns, partner logos; the KampAdmin-regel follows (own stylesheet, never styled here) */
.site-foot { background: #fff; border-top: 1px solid var(--border); padding: clamp(28px, 4vw, 44px) var(--gutter) var(--s5); font-size: .95rem; }
.foot-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--s6); }
.foot-cols > * { min-width: 0; }
.foot-logo { display: inline-block; line-height: 0; margin-bottom: var(--s3); border-radius: var(--r-img); }
.foot-logo img { width: 180px; }
.foot-facts { margin: 0; color: var(--muted); line-height: 1.7; }
.foot-facts strong { color: var(--text); }
.foot-facts a, .foot-menu a { color: var(--muted); text-decoration: none; }
.foot-facts a:hover, .foot-menu a:hover { color: var(--heading); text-decoration: underline; }
.foot-menu { list-style: none; margin: 0; padding: 0; }
.foot-menu li { margin: 0 0 6px; }
.foot-menu a { font-weight: 500; }
.foot-social { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s4); }
.foot-social .login-btn img { width: 104px; }
.partners { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: var(--s4) clamp(24px, 4vw, 44px); list-style: none; margin: clamp(24px, 3vw, 36px) 0 0; padding: var(--s5) 0 0; border-top: 1px solid var(--border); }
.partners li { margin: 0; }
.partners a { display: block; line-height: 0; border-radius: 6px; opacity: .85; transition: opacity var(--ease); }
.partners a:hover { opacity: 1; }
.partners img { height: 48px; width: auto; }
@media (max-width: 759px) {
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .foot-cols > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 459px) {
  .partners { gap: var(--s4) var(--s5); }
  .partners img { height: 40px; }
}

/* Search: Pagefind Default UI. #zoeken outranks its .svelte-* rules (its CSS loads after this file). */
.zoeken {
  --pagefind-ui-scale: 1; --pagefind-ui-primary: var(--heading); --pagefind-ui-text: var(--text); --pagefind-ui-background: #fff;
  --pagefind-ui-border: var(--border); --pagefind-ui-tag: var(--tint); --pagefind-ui-border-width: 1px; --pagefind-ui-border-radius: var(--r-img);
  --pagefind-ui-image-border-radius: var(--r-img); --pagefind-ui-image-box-ratio: 1 / 1; --pagefind-ui-font: var(--font-body) }
#zoeken .pagefind-ui__form::before { left: 24px; }
#zoeken .pagefind-ui__search-input { height: 60px; padding-left: 56px; border-radius: var(--r-pill); box-shadow: var(--shadow-card); font-family: var(--font-body); font-weight: 400; }
#zoeken .pagefind-ui__search-input:focus { outline: 3px solid var(--focus); outline-offset: 2px; }
#zoeken .pagefind-ui__search-clear { top: 6px; right: 8px; height: 48px; padding: 0 16px; border: 0; border-radius: var(--r-pill); color: var(--muted); font: 500 15px var(--font-body); }
#zoeken .pagefind-ui__search-clear:hover { color: var(--heading); text-decoration: underline; }
#zoeken .pagefind-ui__drawer { gap: var(--card-gap); }
#zoeken .pagefind-ui__filter-panel { min-width: min(240px, 100%); align-self: flex-start; padding: var(--s4) var(--s5); background: #fff; border: var(--border-card); border-radius: var(--r-card); box-shadow: var(--shadow-card); }
#zoeken fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
#zoeken .pagefind-ui__message { padding: var(--s4) var(--s2) var(--s2); color: var(--muted); font-weight: 500; }
#zoeken .pagefind-ui__results { display: flex; flex-direction: column; gap: var(--s3); }
#zoeken .pagefind-ui__result { gap: var(--s5); padding: var(--s5); background: #fff; border: var(--border-card); border-radius: var(--r-card); box-shadow: var(--shadow-card); }
#zoeken .pagefind-ui__result-link { color: var(--link); font-weight: 600; }
#zoeken .pagefind-ui__result-title { font-family: var(--font-body); }
#zoeken .pagefind-ui__result-excerpt { margin-bottom: 0; }
#zoeken mark { background: #fde2c4; color: var(--text); border-radius: 3px; }
#zoeken .pagefind-ui__button { margin-top: var(--s5); font-family: var(--font-body); font-weight: 600; border: 2px solid var(--link); border-radius: var(--r-pill); background: #fff; color: var(--link); }
#zoeken .pagefind-ui__button:hover { background: var(--tint); }
@media (max-width: 559px) {
  #zoeken .pagefind-ui__result { padding: var(--s4); gap: var(--s4); }
}

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