:root, [data-theme="light"] {
  --gold: #C9A14A;
  --gold-bright: #E8B54A;
  --gold-deep: #9A5B33;
  --gold-deepest: #7A4721;
  --gold-pale: #F4E5C2;
  --navy-deepest: #0A0F1A;
  --navy-deep: #1B2A4A;
  --navy: #2D4270;
  --navy-light: #506896;
  --cream: #F4EBDB;
  --paper: #F7F3EB;
  --white: #FFFFFF;
  --surface-page: var(--cream);
  --surface-paper: var(--paper);
  --surface-raised: var(--white);
  --surface-band: var(--navy-deep);
  --ink: #1D1B19;
  --ink-muted: #6A655E;
  --ink-faint: #A39C92;
  --heading: var(--navy-deep);
  --link: var(--navy-deep);
  --eyebrow: var(--gold-deepest);
  --accent-line: var(--gold);
  --on-band: #EFEBE4;
  --on-band-muted: #B8B3AA;
  --on-band-accent: var(--gold-bright);
  --cross-hiwa: #F2F4F8;
  --cta: var(--gold-bright);
  --cta-hover: var(--gold);
  --on-cta: var(--navy-deepest);
  --focus: var(--gold-deepest);
  --border-subtle: rgba(29, 27, 25, 0.08);
  --border-default: rgba(29, 27, 25, 0.14);
  --border-strong: rgba(29, 27, 25, 0.24);
  --rule-on-band: rgba(239, 235, 228, 0.16);
  --error: #B4553A;
  --success: #2E7D5B;
  --info: #2B5F8B;
  --warning: #B8811B;
}
[data-theme="dark"] {
  --surface-page: #0D1116;
  --surface-paper: #151A22;
  --surface-raised: #1C2129;
  --surface-band: #151A22;
  --ink: #EFEBE4;
  --ink-muted: #B8B3AA;
  --ink-faint: #8A8580;
  --heading: #EFEBE4;
  --link: var(--gold-bright);
  --eyebrow: var(--gold-bright);
  --accent-line: var(--gold-bright);
  --on-band: #EFEBE4;
  --on-band-muted: #B8B3AA;
  --on-band-accent: var(--gold-bright);
  --cross-hiwa: #F2F4F8;
  --cta: var(--gold-bright);
  --cta-hover: var(--gold);
  --on-cta: var(--navy-deepest);
  --focus: var(--gold-bright);
  --border-subtle: rgba(239, 235, 228, 0.08);
  --border-default: rgba(239, 235, 228, 0.14);
  --border-strong: rgba(239, 235, 228, 0.24);
  --rule-on-band: rgba(239, 235, 228, 0.16);
  --error: #E8856D;
  --success: #4FA67F;
  --info: #5B89B5;
  --warning: #D4A528;
}

html body {
  --gold: #C9A14A;
  --gold-bright: #E8B54A;
  --gold-deep: #9A5B33;
  --gold-deepest: #7A4721;
  --gold-pale: #F4E5C2;
  --navy-deepest: #0A0F1A;
  --navy-deep: #1B2A4A;
  --navy: #2D4270;
  --navy-light: #506896;
  --cream: #F4EBDB;
  --paper: #F7F3EB;
  --white: #FFFFFF;
  --surface-page: var(--cream);
  --surface-paper: var(--paper);
  --surface-raised: var(--white);
  --surface-band: var(--navy-deep);
  --ink: #1D1B19;
  --ink-muted: #6A655E;
  --ink-faint: #A39C92;
  --heading: var(--navy-deep);
  --link: var(--navy-deep);
  --eyebrow: var(--gold-deepest);
  --accent-line: var(--gold);
  --on-band: #EFEBE4;
  --on-band-muted: #B8B3AA;
  --on-band-accent: var(--gold-bright);
  --cross-hiwa: #F2F4F8;
  --cta: var(--gold-bright);
  --cta-hover: var(--gold);
  --on-cta: var(--navy-deepest);
  --focus: var(--gold-deepest);
  --border-subtle: rgba(29, 27, 25, 0.08);
  --border-default: rgba(29, 27, 25, 0.14);
  --border-strong: rgba(29, 27, 25, 0.24);
  --rule-on-band: rgba(239, 235, 228, 0.16);
  --error: #B4553A;
  --success: #2E7D5B;
  --info: #2B5F8B;
  --warning: #B8811B;
}
html[data-theme="dark"] body {
  --surface-page: #0D1116;
  --surface-paper: #151A22;
  --surface-raised: #1C2129;
  --surface-band: #151A22;
  --ink: #EFEBE4;
  --ink-muted: #B8B3AA;
  --ink-faint: #8A8580;
  --heading: #EFEBE4;
  --link: var(--gold-bright);
  --eyebrow: var(--gold-bright);
  --accent-line: var(--gold-bright);
  --on-band: #EFEBE4;
  --on-band-muted: #B8B3AA;
  --on-band-accent: var(--gold-bright);
  --cross-hiwa: #F2F4F8;
  --cta: var(--gold-bright);
  --cta-hover: var(--gold);
  --on-cta: var(--navy-deepest);
  --focus: var(--gold-bright);
  --border-subtle: rgba(239, 235, 228, 0.08);
  --border-default: rgba(239, 235, 228, 0.14);
  --border-strong: rgba(239, 235, 228, 0.24);
  --rule-on-band: rgba(239, 235, 228, 0.16);
  --error: #E8856D;
  --success: #4FA67F;
  --info: #5B89B5;
  --warning: #D4A528;
}

/* Hiwa Bo Kurd: huisstijl Dageraadszon (kennissite). Kleurtokens staan in tokens-kleur.css en worden bij het bouwen hiervoor geplakt. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]), html:not([data-theme="light"]) body {
    --surface-page: #0D1116; --surface-paper: #151A22; --surface-raised: #1C2129; --surface-band: #151A22;
    --ink: #EFEBE4; --ink-muted: #B8B3AA; --ink-faint: #8A8580; --heading: #EFEBE4; --link: #E8B54A;
    --eyebrow: #E8B54A; --accent-line: #E8B54A; --focus: #E8B54A;
    --border-subtle: rgba(239,235,228,.08); --border-default: rgba(239,235,228,.14); --border-strong: rgba(239,235,228,.24);
  }
}
@font-face { font-family: 'Noto Sans Arabic'; src: url('/assets/fonts/noto-sans-arabic.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Noto Naskh Arabic'; src: url('/assets/fonts/noto-naskh-arabic.woff2') format('woff2'); font-weight: 400 700; font-display: swap; }
:root {
  --font-arabic: 'Noto Sans Arabic', 'Noto Naskh Arabic', 'Geeza Pro', Tahoma, sans-serif;
  --font-naskh: 'Noto Naskh Arabic', 'Noto Sans Arabic', 'Geeza Pro', serif;
  --font-latin: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color-scheme: light dark;
}
:root[data-theme="light"] { color-scheme: light; }
:root[data-theme="dark"] { color-scheme: dark; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--surface-page); color: var(--ink); font: 400 18px/1.85 var(--font-arabic); min-height: 100vh; display: flex; flex-direction: column; }
html[lang="en"] body { font-family: var(--font-latin); }
img { max-width: 100%; height: auto; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; text-decoration-color: var(--accent-line); text-underline-offset: 6px; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 8px; top: -60px; background: var(--cta); color: var(--on-cta); padding: 8px 16px; z-index: 10; }
.skip:focus { top: 8px; }
.wrap { max-width: 1120px; margin: 0 auto; padding-inline: 16px; }
@media (min-width: 850px) { .wrap { padding-inline: 24px; } body { font-size: 19px; } }

/* Kopbalk */
.band { background: var(--surface-band); color: var(--on-band); }
.band a { color: var(--on-band); }
.band :focus-visible { outline-color: var(--on-band-accent); }
.kop { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px; padding-block: 10px; }
.merk { display: flex; align-items: center; gap: 12px; min-height: 44px; }
.merk:hover { text-decoration: none; }
.merk img { display: block; }
.merk span { font: 600 20px/1.3 var(--font-arabic); }
.kop-acties { display: flex; align-items: center; gap: 8px; }
.knop-icoon { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; background: transparent; border: 1px solid var(--rule-on-band); color: var(--on-band); cursor: pointer; border-radius: 0; padding: 0; }
.knop-icoon svg { width: 20px; height: 20px; }
.menu { width: 100%; display: none; }
.menu.open { display: block; }
.menu ul { list-style: none; margin: 0; padding: 0; }
.menu > ul { display: flex; flex-direction: column; border-top: 1px solid var(--rule-on-band); }
.menu li a, .menu summary { display: flex; align-items: center; min-height: 48px; font: 600 16px/1.5 var(--font-arabic); padding-block: 6px; cursor: pointer; }
.menu summary { list-style: none; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary::after { content: '▾'; margin-inline-start: 8px; color: var(--on-band-accent); font-size: 14px; }
.menu details ul { padding-inline-start: 16px; border-inline-start: 1px solid var(--on-band-accent); margin-bottom: 8px; }
.menu details li a { font-weight: 400; min-height: 44px; }
.menu a[aria-current="page"] { color: var(--on-band-accent); }
@media (min-width: 850px) {
  .menu-knop { display: none; }
  .menu { display: block; width: auto; order: 2; }
  .kop-acties { order: 3; }
  .menu > ul { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 0 22px; border: 0; }
  .menu li a, .menu summary { font-size: 15px; min-height: 44px; }
  .menu details { position: relative; }
  .menu details ul { position: absolute; inset-inline-start: 0; top: 100%; min-width: 230px; background: var(--surface-band); border: 1px solid var(--rule-on-band); border-top: 2px solid var(--on-band-accent); padding: 6px 16px; margin: 0; z-index: 5; }
}

/* Zoekveld */
.zoek { display: flex; align-items: stretch; border: 1px solid var(--border-strong); background: var(--surface-raised); max-width: 640px; }
.band .zoek { border-color: var(--on-band-muted); }
.zoek input { flex: 1; min-width: 0; height: 54px; border: 0; border-radius: 0; background: transparent; color: var(--ink); font: 400 18px/1.6 var(--font-arabic); padding: 0 16px; }
.zoek input::placeholder { color: var(--ink-muted); }
.zoek input:focus-visible { outline: 2px solid var(--focus); outline-offset: -2px; }
.zoek button { width: 54px; border: 0; border-radius: 0; background: var(--cta); color: var(--on-cta); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.zoek button svg { width: 22px; height: 22px; }

/* Voorpagina */
.held { padding-block: 48px 56px; display: flex; flex-direction: column; gap: 22px; max-width: 880px; }
.held h1 { margin: 0; font: 600 clamp(1.9rem, 6vw, 3.4rem)/1.35 var(--font-arabic); color: var(--on-band); text-wrap: balance; }
.held p { margin: 0; font-size: 19px; line-height: 1.85; color: var(--on-band-muted); max-width: 62ch; }
.ingangen { display: flex; flex-wrap: wrap; gap: 12px 28px; font: 600 16px/1.5 var(--font-arabic); }
.ingangen a { border-bottom: 1px solid var(--on-band-accent); padding-bottom: 4px; min-height: 44px; display: inline-flex; align-items: center; }
.ingangen a:hover { text-decoration: none; color: var(--on-band-accent); }
@media (min-width: 850px) { .held { padding-block: 72px 80px; } }
.vlak { background: var(--surface-paper); }
.blok { padding-block: 48px; display: flex; flex-direction: column; gap: 22px; }
@media (min-width: 850px) { .blok { padding-block: 72px; } }
.blok-kop { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; }
.blok h2, .h2 { margin: 0; font: 600 clamp(1.5rem, 3.4vw, 1.9rem)/1.5 var(--font-arabic); color: var(--heading); }
.lijnlink { font: 600 16px/1.5 var(--font-arabic); border-bottom: 1px solid var(--accent-line); padding-bottom: 4px; }
.lijnlink:hover { text-decoration: none; }
.raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 1px; background: var(--border-default); border-block: 1px solid var(--border-default); }
.cel { background: var(--surface-page); padding: 20px 20px 24px; display: flex; flex-direction: column; gap: 4px; min-height: 96px; color: inherit; }
.vlak .cel { background: var(--surface-paper); }
.cel:hover { text-decoration: none; background: var(--surface-raised); }
.cel .t { font: 600 19px/1.6 var(--font-arabic); color: var(--heading); }
.cel .m { font: 400 15px/1.75 var(--font-arabic); color: var(--ink-muted); }
.cel .d { font: 400 14px/1.7 var(--font-arabic); color: var(--ink-muted); }
.cel svg { width: 28px; height: 28px; stroke: var(--accent-line); margin-bottom: 12px; }
.begin { display: flex; flex-direction: row; flex-wrap: wrap; gap: 32px 72px; } /* rij: .blok zet kolom, daardoor werkte flex-basis als hoogte (lege ruimte) */
.begin > div:first-child { flex: 1 1 300px; display: flex; flex-direction: column; gap: 14px; }
.begin > .raster { flex: 1.3 1 420px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.begin p { margin: 0; color: var(--ink-muted); }
.begin .cel { flex-direction: row; align-items: center; gap: 14px; min-height: 72px; }
.begin .cel svg { margin: 0; flex: none; }
@media (min-width: 850px) { .begin .cel { flex-direction: column; align-items: flex-start; min-height: 120px; } .begin .cel svg { margin-bottom: 12px; } }
.raster.themas-raster { grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); }
.themas-raster .cel { padding: 16px; min-height: 84px; }
@media (min-width: 850px) { .raster.themas-raster { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); } .themas-raster .cel { padding: 20px 20px 24px; } }
.vers { padding-block: 56px; max-width: 880px; display: flex; flex-direction: column; gap: 16px; }
.vers .streep { width: 40px; height: 3px; background: var(--on-band-accent); }
.vers blockquote { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.vers blockquote p { margin: 0; font: 400 clamp(1.3rem, 2.6vw, 1.75rem)/1.9 var(--font-naskh); color: var(--on-band); }
.vers cite { font-style: normal; font: 600 16px/1.5 var(--font-arabic); color: var(--on-band-accent); }
.vers cite a { color: var(--on-band-accent); }

/* Inhoudspagina's */
.pagina { padding-block: 28px 72px; display: flex; flex-wrap: wrap; gap: 40px 72px; align-items: flex-start; width: 100%; }
.hoofd { flex: 999 1 560px; min-width: 0; max-width: 760px; display: flex; flex-direction: column; gap: 18px; }
.hoofd.breed { max-width: none; }
.zij { flex: 1 1 280px; display: flex; flex-direction: column; gap: 28px; }
@media (min-width: 850px) { .zij { position: sticky; top: 16px; } }
.kruim { font: 400 15px/1.75 var(--font-arabic); color: var(--ink-muted); }
.kruim ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 8px; }
.kruim li + li::before { content: '›'; margin-inline-end: 8px; }
.kruim a { color: var(--ink-muted); }
.titel { margin: 0; font: 600 clamp(1.75rem, 5vw, 2.6rem)/1.45 var(--font-arabic); color: var(--heading); text-wrap: balance; }
.datum { margin: -6px 0 0; font-size: 15px; color: var(--ink-muted); }
.inleiding { margin: 0; font-size: 19px; color: var(--ink-muted); max-width: 62ch; }

.tekst { display: flex; flex-direction: column; gap: 16px; overflow-wrap: anywhere; }
.tekst > * { margin: 0; }
.tekst p, .tekst li { line-height: 1.95; }
.tekst h2 { margin-top: 20px; font: 600 clamp(1.3rem, 3vw, 1.5rem)/1.6 var(--font-arabic); color: var(--heading); scroll-margin-top: 16px; }
.tekst h3 { margin-top: 12px; font: 600 1.2rem/1.6 var(--font-arabic); color: var(--heading); scroll-margin-top: 16px; }
.tekst h4, .tekst h5, .tekst h6 { font: 600 1.05rem/1.6 var(--font-arabic); color: var(--heading); }
.tekst a { text-decoration: underline; text-decoration-color: var(--accent-line); text-underline-offset: 6px; }
.tekst ul, .tekst ol { padding-inline-start: 1.4em; }
html[lang="ckb"] .tekst ol { list-style-type: arabic-indic; }
.tekst li { padding: 2px 0; }
.tekst strong, .tekst b { font-weight: 700; }
.tekst hr { border: 0; border-top: 1px solid var(--border-default); width: 100%; }
.tekst img { display: block; }
.tekst figure { margin: 0; }
.tekst table { border-collapse: collapse; width: 100%; display: block; overflow-x: auto; }
.tekst td, .tekst th { border: 1px solid var(--border-default); padding: 8px 12px; text-align: start; }
.tekst blockquote { margin: 8px 0; padding: 22px 22px 20px; background: var(--surface-band); color: var(--on-band); display: flex; flex-direction: column; gap: 10px; }
.tekst blockquote p { margin: 0; font: 400 1.15rem/1.9 var(--font-naskh); }
.tekst blockquote strong:only-child, .tekst blockquote cite { font: 600 16px/1.5 var(--font-arabic); color: var(--on-band-accent); font-style: normal; }
.tekst blockquote a { color: var(--on-band-accent); text-decoration-color: var(--on-band-accent); }
.tekst .hbk-lead, .kort { border-top: 3px solid var(--accent-line); padding-top: 16px; font-weight: 600; font-size: 1.1em; }
.tekst details { border-bottom: 1px solid var(--border-default); }
.tekst summary { cursor: pointer; padding: 12px 0; font-weight: 600; color: var(--heading); }
.tekst .bl-ref { text-decoration: underline dotted; text-decoration-color: currentColor; }
.video a { display: block; position: relative; background: #000; aspect-ratio: 16/9; }
.video img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.video-speel { display: block; position: absolute; inset: 0; margin: auto; width: 68px; height: 48px; background: var(--cta); clip-path: polygon(30% 20%, 30% 80%, 75% 50%); }
.video iframe { width: 100%; aspect-ratio: 16/9; border: 0; display: block; }

.delen { display: flex; gap: 10px; flex-wrap: wrap; border-top: 1px solid var(--border-default); margin-top: 8px; padding-top: 20px; }
.delen a { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 18px; border: 1px solid var(--border-strong); font: 600 15px/1 var(--font-arabic); color: var(--link); }
.delen a:hover { text-decoration: none; border-color: var(--accent-line); }
.delen svg { width: 18px; height: 18px; }

.toc { display: flex; flex-direction: column; border-top: 3px solid var(--accent-line); padding-top: 12px; }
.toc .kopje { font: 600 15px/1.6 var(--font-arabic); color: var(--ink-muted); padding-bottom: 4px; }
.toc a { padding: 7px 0; font-size: 16px; line-height: 1.8; }
.lees { display: flex; flex-direction: column; }
.lees h2 { margin: 0 0 8px; font: 600 19px/1.6 var(--font-arabic); color: var(--heading); }
.lees a { display: block; padding: 12px 0; border-top: 1px solid var(--border-default); font-size: 16px; line-height: 1.85; }
.lees a:last-child { border-bottom: 1px solid var(--border-default); }
.kader { background: var(--surface-paper); padding: 22px; display: flex; flex-direction: column; gap: 12px; border-top: 3px solid var(--accent-line); }
.kader h2 { margin: 0; font: 600 19px/1.6 var(--font-arabic); color: var(--heading); }
.kader p { margin: 0; font-size: 16px; color: var(--ink-muted); }
.kader a { font: 600 16px/1.5 var(--font-arabic); border-bottom: 1px solid var(--accent-line); padding-bottom: 4px; align-self: flex-start; }

/* Vragen per thema */
.themas { display: flex; flex-direction: column; border-top: 1px solid var(--border-default); }
.themas details { border-bottom: 1px solid var(--border-default); }
.themas summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 10px 0; cursor: pointer; color: var(--heading); }
.themas summary::-webkit-details-marker { display: none; }
.themas summary .n { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.themas summary .t { font: 600 19px/1.6 var(--font-arabic); }
.themas summary .m { font: 400 15px/1.75 var(--font-arabic); color: var(--ink-muted); }
.themas summary .teken { width: 32px; height: 32px; flex: none; display: flex; align-items: center; justify-content: center; border: 1px solid var(--border-strong); font: 400 20px/1 var(--font-latin); }
.themas summary .teken::before { content: '+'; }
.themas details[open] summary .teken::before { content: '−'; }
.themas .omschrijving { margin: 0 0 8px; color: var(--ink-muted); font-size: 16px; }
.themas ul { list-style: none; margin: 0 0 16px; padding: 0; padding-inline-start: 18px; border-inline-start: 1px solid var(--accent-line); }
.themas li a { display: block; padding: 9px 0; font-size: 17px; line-height: 1.8; }
.themas .alles { margin: 0 0 18px; }

.lijst { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--border-default); }
.lijst li { border-bottom: 1px solid var(--border-default); }
.lijst a { display: flex; flex-direction: column; padding: 14px 0; color: inherit; }
.lijst a:hover { text-decoration: none; }
.lijst a:hover .t { text-decoration: underline; text-decoration-color: var(--accent-line); text-underline-offset: 6px; }
.lijst .t { font: 600 18px/1.7 var(--font-arabic); color: var(--heading); }
.lijst .m { font-size: 15px; color: var(--ink-muted); line-height: 1.75; }
.groep { display: flex; flex-direction: column; gap: 10px; }
.groep h2 { margin: 16px 0 0; font: 600 1.3rem/1.6 var(--font-arabic); color: var(--heading); }

#zoek-uitslag[hidden] { display: none; }
.zoek-meld { color: var(--ink-muted); }

/* Bijbeltip */
#bl-tip { position: absolute; z-index: 50; max-width: min(340px, calc(100vw - 16px)); background: var(--surface-raised); color: var(--ink); border: 1px solid var(--border-strong); border-top: 3px solid var(--accent-line); padding: 12px 14px; font: 400 15px/1.85 var(--font-naskh); display: none; }
#bl-tip .r { font: 600 13px/1.5 var(--font-arabic); color: var(--heading); margin-bottom: 4px; }
#bl-tip .l { margin-top: 6px; font: 600 13px/1.5 var(--font-arabic); }
#bl-tip[role="dialog"] { box-shadow: 0 8px 28px rgb(0 0 0 / .18); border-radius: 14px; }
#bl-tip .vt { max-height: 40vh; overflow-y: auto; overscroll-behavior: contain; }
#bl-tip.blad { position: fixed; left: 8px; right: 8px; bottom: 8px; top: auto; max-width: none; z-index: 1000; border-radius: 18px; padding: 14px 16px calc(14px + env(safe-area-inset-bottom)); }
#bl-tip .kn { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
#bl-tip .kn .hoofdknop { font: 600 14px/1.4 var(--font-arabic); padding: 8px 14px; border-radius: 999px; background: var(--cta); color: var(--on-cta); text-decoration: none; }
#bl-tip .kn .hoofdknop:hover { background: var(--cta-hover); }
#bl-tip .kn button { font: 600 14px/1.4 var(--font-arabic); padding: 8px 12px; border-radius: 999px; border: 1px solid var(--border-strong); background: transparent; color: var(--ink); cursor: pointer; }
#bl-tip .kn button:focus-visible, #bl-tip .kn a:focus-visible { outline: 2px solid var(--accent-line); outline-offset: 2px; }

/* Voettekst */
.voet { margin-top: auto; }
.voet-in { padding-block: 36px 44px; display: flex; flex-direction: column; gap: 20px; }
.voet nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 24px; }
.voet nav a { color: var(--on-band-muted); font-size: 15px; min-height: 44px; display: inline-flex; align-items: center; }
.voet nav a:hover { color: var(--on-band); }
.voet .contact { color: var(--on-band-muted); font-size: 15px; display: flex; flex-wrap: wrap; gap: 4px 24px; }
.voet .contact a { color: var(--on-band-muted); direction: ltr; unicode-bidi: isolate; min-height: 44px; display: inline-flex; align-items: center; }
@media (min-width: 850px) { .voet-in { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; } }
.testband { background: var(--warning); color: #1D1B19; font: 600 14px/1.5 var(--font-latin); text-align: center; padding: 6px 12px; direction: ltr; }

/* Engelse pagina's */
html[lang="en"] .tekst, html[lang="en"] .titel, html[lang="en"] .kruim, html[lang="en"] .tekst h2, html[lang="en"] .tekst h3 { font-family: var(--font-latin); }
html[lang="en"] .tekst blockquote p { font-family: Georgia, serif; }

@media print { .band, .zij, .delen, .voet { display: none !important; } body { background: #fff; color: #000; } }

/* Bijbel: boekenlijst en hoofdknop */
.boeken { display: flex; flex-direction: column; gap: 14px; }
.boeken h2 { margin: 12px 0 0; font: 600 1.3rem/1.6 var(--font-arabic); color: var(--heading); }
.boeken ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); gap: 1px; background: var(--border-default); border-block: 1px solid var(--border-default); }
.boeken li a { display: flex; align-items: center; min-height: 48px; padding: 6px 14px; background: var(--surface-page); font-size: 16px; }
.boeken li a:hover { background: var(--surface-raised); }
.bron { font: 400 13px/1.7 var(--font-arabic); color: var(--ink-muted); }
.ingangen a.hoofdknop { background: var(--cta); color: var(--on-cta); border: 0; padding: 0 22px; min-height: 52px; }
.ingangen a.hoofdknop:hover { background: var(--cta-hover); color: var(--on-cta); }

/* Contactformulier */
.formulier { display: flex; flex-direction: column; gap: 16px; max-width: 640px; }
.veld { display: flex; flex-direction: column; gap: 6px; }
.veld label { font: 600 16px/1.5 var(--font-arabic); color: var(--heading); }
.veld input, .veld textarea { font: 400 17px/1.7 var(--font-arabic); color: var(--ink); background: var(--surface-raised); border: 1px solid var(--border-strong); border-radius: 0; padding: 10px 14px; min-height: 48px; width: 100%; }
.veld input:focus-visible, .veld textarea:focus-visible { outline: 2px solid var(--focus); outline-offset: 0; }
.veld [aria-invalid="true"] { border-color: var(--error); }
.veldfout { color: var(--error); font-size: 15px; }
.lok { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.knop { align-self: flex-start; min-height: 50px; padding: 0 28px; background: var(--cta); color: var(--on-cta); border: 0; border-radius: 0; font: 700 17px/1 var(--font-arabic); cursor: pointer; }
.knop:hover { background: var(--cta-hover); }
.knop[disabled] { opacity: .6; cursor: wait; }
.melding { display: none; margin: 0; padding: 14px 16px; border-inline-start: 3px solid; font-weight: 600; }
.melding.ok { border-color: var(--success); background: var(--surface-paper); }
.melding.fout { border-color: var(--error); background: var(--surface-paper); }
.melding:target, .melding.toon { display: block; }


/* Voorpagina: veilig lezen */
.veilig { flex-direction: row; align-items: flex-start; gap: 18px; padding-block: 40px; }
.veilig > svg { width: 32px; height: 32px; stroke: var(--accent-line); flex: none; margin-top: 6px; }
.veilig > div { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.veilig p { margin: 0; color: var(--ink-muted); }

/* Foto's: ingetogen, de tekst blijft het middelpunt. Bewerking (gedempt, crèmetint, voorpagina in marineblauw) zit in de bestanden zelf (scripts/fotos.py). */
.held-band { position: relative; overflow: hidden; isolation: isolate; }
.held-foto { position: absolute; inset: 0; z-index: -1; }
.held-foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Zachte overgang naar de bandkleur aan de tekstkant (rechts in RTL) en onderaan. */
.held-foto::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to left, var(--surface-band) 0%, color-mix(in srgb, var(--surface-band) 55%, transparent) 45%, transparent 85%), linear-gradient(to top, var(--surface-band) 0%, transparent 40%); }
html[dir="ltr"] .held-foto::after { transform: scaleX(-1); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .held-foto img { opacity: .55; } }
:root[data-theme="dark"] .held-foto img { opacity: .55; }

.kopfoto { margin: 0 0 -6px; display: flex; flex-direction: column; gap: 2px; }
.kopfoto img { display: block; width: 100%; height: auto; max-height: 190px; aspect-ratio: 10 / 3; object-fit: cover; opacity: .92; -webkit-mask-image: linear-gradient(to bottom, #000 50%, transparent 100%); mask-image: linear-gradient(to bottom, #000 50%, transparent 100%); }
.fotobron { margin: 0; font: 400 11px/1.5 var(--font-latin); color: var(--ink-muted); text-align: end; }
.fotobron a { color: var(--ink-muted); text-decoration: underline; text-decoration-color: var(--border-strong); text-underline-offset: 3px; }
.begin-bron { flex: 1 1 100%; margin-top: -20px; }

.begin .cel.met-foto { gap: 14px; }
.begin > .raster, .begin .cel { min-width: 0; }
.cel-foto { width: 72px; height: 72px; max-width: 100%; object-fit: cover; flex: none; display: block; }
@media (min-width: 850px) { .cel-foto { width: 100%; height: auto; min-height: 0; aspect-ratio: 16 / 9; margin-bottom: 6px; } .begin .cel.met-foto { gap: 4px; } }

@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .kopfoto img, :root:not([data-theme="light"]) .cel-foto { filter: brightness(.72) saturate(.85); } }
:root[data-theme="dark"] .kopfoto img, :root[data-theme="dark"] .cel-foto { filter: brightness(.72) saturate(.85); }

/* App-afbeeldingen op /incil/ (uit WordPress), naast de beschrijving zoals op de oude site. */
.tekst img.app-beeld { float: inline-start; width: 64px; height: 64px; object-fit: contain; margin: 6px 0 8px; margin-inline-end: 16px; border-radius: 14px; }
.tekst a:has(> img.app-beeld) > br, .tekst p:has(> a > img.app-beeld) > br:first-of-type { display: none; }
.tekst h2, .tekst h3, .tekst hr { clear: both; }
@media (min-width: 850px) { .begin > .raster { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* App-balk onderaan (telefoon). Zie site.js. */
.appbalk { position: fixed; inset-inline: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 20; display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 14px; padding-inline-start: 14px; background: color-mix(in srgb, var(--surface-band) 86%, transparent); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); color: var(--on-band); border: 1px solid var(--rule-on-band); border-radius: 22px; box-shadow: 0 8px 28px rgba(0,0,0,.28); max-width: 560px; margin-inline: auto; }
.appbalk img { width: 44px; height: 44px; border-radius: 12px; flex: none; }
.appbalk-tekst { display: flex; flex-direction: column; min-width: 0; flex: 1; line-height: 1.4; }
.appbalk-tekst strong { font-weight: 700; font-size: 16px; }
.appbalk-tekst span { font-size: 14px; color: var(--on-band-muted); }
.appbalk-knop { flex: none; background: var(--cta); color: var(--on-cta) !important; font-weight: 700; font-size: 16px; padding: 8px 18px; border-radius: 999px; min-height: 44px; display: inline-flex; align-items: center; }
.appbalk-knop:hover { background: var(--cta-hover); text-decoration: none; }
.appbalk-sluit { flex: none; background: none; border: 0; border-radius: 999px; color: var(--on-band-muted); font-size: 26px; line-height: 1; width: 44px; height: 44px; cursor: pointer; }
.appbalk :focus-visible { outline-color: var(--on-band-accent); }
body.met-appbalk { padding-bottom: calc(var(--appbalk-h, 76px) + 24px + env(safe-area-inset-bottom)); }
@media print { .appbalk { display: none; } }
