/*
Theme Name: Allesoverjekind
Theme URI: https://allesoverjekind.nl/
Author: Allesoverjekind.nl
Description: Eigen thema voor Allesoverjekind.nl. Mobiel eerst, gericht op prettig lezen, zonder jQuery en zonder externe afhankelijkheden.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 8.0
License: GPL-2.0-or-later
Text Domain: aojk
*/

/* ==========================================================================
   1. Ontwerpvariabelen
   ========================================================================== */

:root {
	--ink: #23213a;
	--ink-soft: #474463;
	--muted: #6d6a85;
	--line: #e8e5f0;
	--line-strong: #d6d2e4;
	--bg: #fbfafc;
	--surface: #ffffff;
	--surface-2: #f4f2f8;

	--brand: #2a7fe8;
	--brand-deep: #1a5cb0;
	--brand-wash: #eaf2fd;
	--accent: #ef7f0d;
	--gold: #f8b62d;

	--fase-zwanger: #db4f92;
	--fase-baby: #2a7fe8;
	--fase-peuter: #ef7f0d;
	--fase-kind: #22a06b;
	--fase-review: #7b61c9;

	--radius-s: 10px;
	--radius: 16px;
	--radius-l: 24px;

	--shadow-s: 0 1px 2px rgba(35, 33, 58, .06), 0 2px 8px rgba(35, 33, 58, .05);
	--shadow: 0 2px 4px rgba(35, 33, 58, .05), 0 10px 30px rgba(35, 33, 58, .08);
	--shadow-l: 0 20px 50px rgba(35, 33, 58, .14);

	--font-ui: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--font-body: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

	--maat: min(1180px, 100% - 2.5rem);
	--lees: 40rem;
	--kop: 68px;
}

@media (prefers-color-scheme: dark) {
	:root:not([data-thema="licht"]) {
		--ink: #f2f0f8;
		--ink-soft: #cdc9dd;
		--muted: #9c98b4;
		--line: #322f47;
		--line-strong: #423e5c;
		--bg: #16152260;
		--bg: #161522;
		--surface: #1e1c2e;
		--surface-2: #262338;
		--brand: #6aa8f5;
		--brand-deep: #9cc6fa;
		--brand-wash: #1d2740;
		--shadow-s: 0 1px 2px rgba(0, 0, 0, .3);
		--shadow: 0 10px 30px rgba(0, 0, 0, .35);
		--shadow-l: 0 20px 50px rgba(0, 0, 0, .5);
	}
}

/* ==========================================================================
   2. Basis
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--kop) + 1rem);
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 1.0625rem;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	overflow-wrap: break-word;
}
body.menu-open { overflow: hidden; }

img, svg, video, iframe { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }

a { color: var(--brand-deep); text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: var(--brand); }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-ui);
	font-weight: 800;
	line-height: 1.18;
	letter-spacing: -.02em;
	color: var(--ink);
	margin: 0 0 .5em;
	text-wrap: balance;
}

:focus-visible {
	outline: 3px solid var(--brand);
	outline-offset: 3px;
	border-radius: 4px;
}

.maat { width: var(--maat); margin-inline: auto; }
.visueel-verborgen,
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px;
	padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.overslaan {
	position: absolute; left: 1rem; top: -100px; z-index: 200;
	background: var(--ink); color: #fff; padding: .8rem 1.2rem;
	border-radius: var(--radius-s); font-family: var(--font-ui); font-weight: 700;
	transition: top .15s;
}
.overslaan:focus { top: 1rem; color: #fff; }

/* ==========================================================================
   3. Knoppen en labels
   ========================================================================== */

.knop {
	display: inline-flex; align-items: center; gap: .5rem;
	font-family: var(--font-ui); font-weight: 700; font-size: .95rem;
	padding: .8rem 1.4rem; border-radius: 999px;
	background: var(--brand); color: #fff; text-decoration: none;
	border: 0; cursor: pointer;
	transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
	box-shadow: 0 6px 16px rgba(42, 127, 232, .28);
}
.knop:hover { background: var(--brand-deep); color: #fff; transform: translateY(-1px); }
.knop:active { transform: translateY(0); }
.knop--stil {
	background: var(--surface); color: var(--ink); box-shadow: none;
	border: 1.5px solid var(--line-strong);
}
.knop--stil:hover { background: var(--surface-2); color: var(--ink); }

.fase {
	display: inline-flex; align-items: center; gap: .38rem;
	font-family: var(--font-ui); font-weight: 700;
	font-size: .72rem; letter-spacing: .04em;
	padding: .32rem .7rem; border-radius: 999px;
	text-decoration: none; white-space: nowrap;
	background: var(--brand-wash); color: var(--brand-deep);
	transition: filter .15s;
}
.fase:hover { filter: brightness(.94); color: var(--brand-deep); }
.fase::before { content: ""; width: .45rem; height: .45rem; border-radius: 50%; background: currentColor; opacity: .75; }
.fase--zwanger { background: color-mix(in srgb, var(--fase-zwanger) 12%, var(--surface)); color: var(--fase-zwanger); }
.fase--baby    { background: color-mix(in srgb, var(--fase-baby) 12%, var(--surface));    color: var(--fase-baby); }
.fase--peuter  { background: color-mix(in srgb, var(--fase-peuter) 14%, var(--surface));  color: #b45c00; }
.fase--kind    { background: color-mix(in srgb, var(--fase-kind) 12%, var(--surface));    color: var(--fase-kind); }
.fase--review  { background: color-mix(in srgb, var(--fase-review) 12%, var(--surface));  color: var(--fase-review); }

@media (prefers-color-scheme: dark) {
	:root:not([data-thema="licht"]) .fase--peuter { color: var(--fase-peuter); }
}

/* ==========================================================================
   4. Kop
   ========================================================================== */

.kop {
	position: sticky; top: 0; z-index: 60;
	background: color-mix(in srgb, var(--surface) 88%, transparent);
	backdrop-filter: saturate(150%) blur(14px);
	-webkit-backdrop-filter: saturate(150%) blur(14px);
	border-bottom: 1px solid transparent;
	transition: border-color .2s, box-shadow .2s;
}
.kop--vast { border-bottom-color: var(--line); box-shadow: var(--shadow-s); }

.kop__balk {
	display: flex; align-items: center; gap: 1rem;
	height: var(--kop);
}
.kop__logo { display: flex; align-items: center; margin-right: auto; text-decoration: none; }
.kop__logo img { height: 34px; width: auto; }
.kop__logo-tekst {
	font-family: var(--font-ui); font-weight: 800; font-size: 1.15rem;
	color: var(--ink); letter-spacing: -.03em;
}

.hoofdnav { display: none; }
@media (min-width: 62rem) {
	.hoofdnav { display: block; }
	.hoofdnav ul { display: flex; gap: .25rem; list-style: none; margin: 0; padding: 0; }
	.hoofdnav a {
		display: block; padding: .55rem .85rem; border-radius: 999px;
		font-family: var(--font-ui); font-weight: 700; font-size: .92rem;
		color: var(--ink-soft); text-decoration: none;
		transition: background .15s, color .15s;
	}
	.hoofdnav a:hover, .hoofdnav .current-menu-item > a { background: var(--surface-2); color: var(--ink); }
}

.kop__acties { display: flex; align-items: center; gap: .4rem; }
.icoonknop {
	display: grid; place-items: center;
	width: 42px; height: 42px; border-radius: 12px;
	background: transparent; border: 0; cursor: pointer; color: var(--ink);
	transition: background .15s;
}
.icoonknop:hover { background: var(--surface-2); }
.icoonknop svg { width: 21px; height: 21px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (min-width: 62rem) { .icoonknop--menu { display: none; } }

/* voortgangsbalk */
.voortgang {
	position: absolute; left: 0; bottom: -1px; height: 3px; width: 0;
	background: linear-gradient(90deg, var(--brand), var(--gold));
	transition: width .1s linear;
}

/* ==========================================================================
   5. Uitschuifmenu
   ========================================================================== */

.paneel {
	position: fixed; inset: 0; z-index: 90;
	visibility: hidden; opacity: 0; transition: opacity .22s, visibility .22s;
}
.paneel[data-open="true"] { visibility: visible; opacity: 1; }
.paneel__waas { position: absolute; inset: 0; background: rgba(20, 18, 34, .5); backdrop-filter: blur(2px); }
.paneel__blad {
	position: absolute; inset: 0 0 0 auto; width: min(23rem, 88vw);
	background: var(--surface); box-shadow: var(--shadow-l);
	padding: 1rem 1.25rem 2rem; overflow-y: auto;
	transform: translateX(100%); transition: transform .28s cubic-bezier(.32, .72, 0, 1);
	display: flex; flex-direction: column;
}
.paneel[data-open="true"] .paneel__blad { transform: none; }
.paneel__top { display: flex; align-items: center; justify-content: space-between; height: var(--kop); margin-bottom: .5rem; }
.paneel__titel { font-family: var(--font-ui); font-weight: 800; font-size: 1rem; letter-spacing: -.02em; }

.paneelnav ul { list-style: none; margin: 0; padding: 0; }
.paneelnav a {
	display: flex; align-items: center; justify-content: space-between;
	padding: .95rem .25rem; font-family: var(--font-ui); font-weight: 700; font-size: 1.05rem;
	color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line);
}
.paneelnav a::after { content: "›"; color: var(--muted); font-size: 1.3rem; line-height: 1; }
.paneelnav a:hover { color: var(--brand); }
.paneel__extra { margin-top: auto; padding-top: 1.5rem; }
.paneel__extra ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem 1rem; }
.paneel__extra a { font-size: .9rem; color: var(--muted); text-decoration: none; }
.paneel__extra a:hover { color: var(--brand); }

/* zoeken */
.zoeklaag {
	position: fixed; inset: 0; z-index: 95;
	background: color-mix(in srgb, var(--bg) 96%, transparent);
	backdrop-filter: blur(10px);
	visibility: hidden; opacity: 0; transition: opacity .18s, visibility .18s;
	padding-top: 14vh;
}
.zoeklaag[data-open="true"] { visibility: visible; opacity: 1; }
.zoekform { width: var(--maat); max-width: 40rem; margin-inline: auto; }
.zoekform label { display: block; font-family: var(--font-ui); font-weight: 800; font-size: 1.6rem; margin-bottom: 1rem; letter-spacing: -.03em; }
.zoekveld { display: flex; gap: .5rem; }
.zoekveld input[type="search"] {
	flex: 1; font: inherit; font-size: 1.1rem;
	padding: 1rem 1.2rem; border-radius: var(--radius);
	border: 2px solid var(--line-strong); background: var(--surface); color: var(--ink);
}
.zoekveld input[type="search"]:focus { border-color: var(--brand); outline: none; }
.zoektip { margin-top: 1rem; color: var(--muted); font-size: .9rem; }

/* ==========================================================================
   6. Kaarten
   ========================================================================== */

.raster { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 40rem) { .raster { grid-template-columns: repeat(2, 1fr); gap: 1.75rem; } }
@media (min-width: 64rem) { .raster { grid-template-columns: repeat(3, 1fr); } }

.kaart {
	display: flex; flex-direction: column;
	background: var(--surface); border-radius: var(--radius-l);
	overflow: hidden; box-shadow: var(--shadow-s);
	transition: transform .2s ease, box-shadow .2s ease;
	position: relative;
}
.kaart:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.kaart__beeld { position: relative; aspect-ratio: 16 / 10; background: var(--surface-2); overflow: hidden; }
.kaart__beeld img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.kaart:hover .kaart__beeld img { transform: scale(1.04); }
.kaart__body { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.kaart__titel { font-size: 1.15rem; margin: 0; line-height: 1.28; }
.kaart__titel a { color: inherit; text-decoration: none; }
.kaart__titel a::after { content: ""; position: absolute; inset: 0; }
.kaart:hover .kaart__titel { color: var(--brand-deep); }
.kaart__tekst { color: var(--ink-soft); font-size: .95rem; margin: 0; }
.kaart__meta {
	margin-top: auto; padding-top: .4rem;
	display: flex; align-items: center; gap: .5rem;
	font-family: var(--font-ui); font-size: .78rem; color: var(--muted); font-weight: 600;
}
.kaart__meta span + span::before { content: "•"; margin-right: .5rem; opacity: .6; }

/* uitgelicht */
.uitgelicht { margin-bottom: 2.5rem; }
.uitgelicht .kaart { border-radius: var(--radius-l); }
@media (min-width: 52rem) {
	.uitgelicht .kaart { display: grid; grid-template-columns: 1.15fr 1fr; align-items: stretch; }
	.uitgelicht .kaart__beeld { aspect-ratio: auto; height: 100%; min-height: 22rem; }
	.uitgelicht .kaart__body { padding: 2.5rem; gap: .8rem; justify-content: center; }
	.uitgelicht .kaart__titel { font-size: 2rem; }
	.uitgelicht .kaart__tekst { font-size: 1.05rem; }
}

/* ==========================================================================
   7. Fasekiezer
   ========================================================================== */

.fasekiezer { margin: 2.5rem 0 3rem; }
.fasekiezer h2 { font-size: 1.15rem; margin-bottom: 1rem; }
.fasekiezer__rij {
	display: grid; gap: .75rem;
	grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 48rem) { .fasekiezer__rij { grid-template-columns: repeat(4, 1fr); } }
.fasekaart {
	display: flex; flex-direction: column; gap: .15rem;
	padding: 1.1rem 1.2rem; border-radius: var(--radius);
	background: var(--surface); box-shadow: var(--shadow-s);
	text-decoration: none; color: var(--ink);
	border-left: 4px solid var(--kleur, var(--brand));
	transition: transform .18s, box-shadow .18s;
}
.fasekaart:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: var(--ink); }
.fasekaart b { font-family: var(--font-ui); font-weight: 800; font-size: 1rem; letter-spacing: -.02em; }
.fasekaart small { color: var(--muted); font-size: .8rem; }

/* ==========================================================================
   8. Artikel
   ========================================================================== */

.artikel { padding-block: 1.5rem 3rem; }
.artikel__kop { width: var(--maat); max-width: 46rem; margin-inline: auto; text-align: left; }
.kruimels { font-size: .82rem; color: var(--muted); margin-bottom: 1rem; font-family: var(--font-ui); font-weight: 600; }
.kruimels a { color: var(--muted); text-decoration: none; }
.kruimels a:hover { color: var(--brand); }
.kruimels span { opacity: .5; margin: 0 .35rem; }

.artikel__labels { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .9rem; }
.artikel__titel { font-size: clamp(1.85rem, 5.5vw, 3rem); margin-bottom: .6rem; }
.artikel__intro { font-size: 1.15rem; color: var(--ink-soft); margin: 0 0 1.5rem; line-height: 1.55; }

.artikel__meta {
	display: flex; align-items: center; gap: .75rem; flex-wrap: wrap;
	padding-bottom: 1.5rem; border-bottom: 1px solid var(--line);
	font-size: .88rem; color: var(--muted);
}
.artikel__meta img { width: 40px; height: 40px; border-radius: 50%; }
.artikel__meta b { color: var(--ink); font-family: var(--font-ui); font-weight: 700; }
.artikel__meta .punt { opacity: .5; }

.artikel__beeld { width: var(--maat); max-width: 62rem; margin: 1.75rem auto; }
.artikel__beeld img { width: 100%; border-radius: var(--radius-l); box-shadow: var(--shadow); }
.artikel__beeld figcaption { font-size: .82rem; color: var(--muted); margin-top: .6rem; text-align: center; }

/* leesbaarheid van de tekst */
.inhoud {
	width: var(--maat); max-width: var(--lees); margin-inline: auto;
	font-size: 1.125rem; line-height: 1.75;
}
/* Eerst alle marges nul, daarna ritme tussen de blokken.
   Let op: geen selector met een elementnaam gebruiken, want die wint
   van de plus-regel hieronder en dan plakken alinea's tegen elkaar. */
.inhoud > * { margin-top: 0; margin-bottom: 0; }
.inhoud > * + * { margin-top: 1.35em; }
.inhoud strong { font-weight: 700; color: var(--ink); }
.inhoud h2 {
	font-size: clamp(1.4rem, 3.6vw, 1.75rem);
	margin-top: 2.6em; margin-bottom: .1em; scroll-margin-top: calc(var(--kop) + 1.5rem);
}
.inhoud h2 + * { margin-top: .8em; }
.inhoud h3 { font-size: 1.2rem; margin-top: 2em; margin-bottom: .1em; }
.inhoud h3 + * { margin-top: .7em; }
.inhoud h4, .inhoud h5 { font-size: 1.05rem; margin-top: 1.8em; }
.inhoud h6 { font-size: .88rem; color: var(--muted); font-weight: 600; font-family: var(--font-body); line-height: 1.6; letter-spacing: 0; }
.inhoud h6 a { color: var(--muted); }

.inhoud ul, .inhoud ol { margin-left: 0; padding-left: 1.3em; }
.inhoud li + li { margin-top: .5em; }
.inhoud li::marker { color: var(--brand); font-weight: 700; }
.inhoud ul li::marker { font-size: 1.1em; }

.inhoud img { border-radius: var(--radius); margin-inline: auto; }
.inhoud figure img { box-shadow: var(--shadow-s); }
.inhoud .wp-caption-text, .inhoud figcaption { font-size: .84rem; color: var(--muted); text-align: center; margin-top: .6rem; }
.inhoud .alignleft { float: left; margin: .4rem 1.4rem 1rem 0; max-width: 46%; }
.inhoud .alignright { float: right; margin: .4rem 0 1rem 1.4rem; max-width: 46%; }
.inhoud .aligncenter { display: block; margin-inline: auto; }
@media (max-width: 34rem) {
	.inhoud .alignleft, .inhoud .alignright { float: none; margin: 1.5rem auto; max-width: 100%; }
}

.inhoud blockquote {
	margin-left: 0; margin-right: 0; padding: 1.2rem 1.5rem;
	border-left: 4px solid var(--brand); background: var(--brand-wash);
	border-radius: 0 var(--radius) var(--radius) 0; font-size: 1.05rem;
}
.inhoud blockquote p { margin: 0; }

.inhoud table { width: 100%; border-collapse: collapse; font-size: .95rem; display: block; overflow-x: auto; }
.inhoud th, .inhoud td { padding: .7rem .9rem; border-bottom: 1px solid var(--line); text-align: left; }
.inhoud th { font-family: var(--font-ui); font-weight: 700; }

.inhoud iframe { border-radius: var(--radius); aspect-ratio: 16 / 9; width: 100%; }
.inhoud hr { border: 0; border-top: 1px solid var(--line); margin-block: 2.5em; }

/* inhoudsopgave */
.toc {
	margin: 2rem 0; padding: 1.1rem 1.3rem;
	background: var(--surface); border: 1px solid var(--line);
	border-radius: var(--radius); box-shadow: var(--shadow-s);
}
.toc > summary {
	cursor: pointer; list-style: none;
	font-family: var(--font-ui); font-weight: 800; font-size: .95rem;
	display: flex; align-items: center; justify-content: space-between; gap: .5rem;
}
.toc > summary::-webkit-details-marker { display: none; }
.toc > summary::after { content: "▾"; color: var(--muted); transition: transform .2s; }
.toc[open] > summary::after { transform: rotate(180deg); }
.toc ol { margin: .9rem 0 0; padding-left: 1.2rem; font-size: .95rem; }
.toc li + li { margin-top: .45rem; }
.toc a { color: var(--ink-soft); text-decoration: none; }
.toc a:hover { color: var(--brand); text-decoration: underline; }

/* deelknoppen */
.delen { width: var(--maat); max-width: var(--lees); margin: 2.5rem auto 0; }
.delen__rij { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.delen__label { font-family: var(--font-ui); font-weight: 700; font-size: .85rem; color: var(--muted); margin-right: .25rem; }
.deelknop {
	display: grid; place-items: center; width: 40px; height: 40px;
	border-radius: 50%; background: var(--surface-2); color: var(--ink-soft);
	border: 0; cursor: pointer; text-decoration: none; transition: background .15s, color .15s;
}
.deelknop:hover { background: var(--brand); color: #fff; }
.deelknop svg { width: 18px; height: 18px; }

/* auteursblok */
.auteur {
	width: var(--maat); max-width: var(--lees); margin: 3rem auto 0;
	display: flex; gap: 1.1rem; align-items: flex-start;
	padding: 1.5rem; background: var(--surface); border-radius: var(--radius-l); box-shadow: var(--shadow-s);
}
.auteur img { width: 64px; height: 64px; border-radius: 50%; flex: none; }
.auteur h2 { font-size: 1.05rem; margin-bottom: .3rem; }
.auteur p { margin: 0; font-size: .93rem; color: var(--ink-soft); line-height: 1.6; }

/* vervolg */
.vervolg { margin-top: 4rem; }
.vervolg h2 { font-size: 1.4rem; margin-bottom: 1.25rem; }

/* ==========================================================================
   9. Overzichten
   ========================================================================== */

.paginakop { padding: 2.5rem 0 2rem; }
.paginakop h1 { font-size: clamp(1.8rem, 5vw, 2.6rem); margin-bottom: .4rem; }
.paginakop p { color: var(--ink-soft); max-width: 42rem; margin: 0; font-size: 1.05rem; }

.pagineren { margin: 3rem 0 1rem; }
.pagineren .nav-links { display: flex; gap: .4rem; justify-content: center; flex-wrap: wrap; align-items: center; }
.pagineren .page-numbers {
	display: grid; place-items: center; min-width: 42px; height: 42px; padding-inline: .7rem;
	border-radius: 12px; background: var(--surface); box-shadow: var(--shadow-s);
	font-family: var(--font-ui); font-weight: 700; font-size: .92rem;
	color: var(--ink); text-decoration: none;
}
.pagineren .page-numbers:hover { background: var(--surface-2); }
.pagineren .page-numbers.current { background: var(--brand); color: #fff; box-shadow: 0 6px 16px rgba(42,127,232,.3); }
.pagineren .dots { background: none; box-shadow: none; }
.pagineren .prev, .pagineren .next { padding-inline: 1.1rem; background: var(--surface); }
.pagineren .prev:hover, .pagineren .next:hover { background: var(--brand); color: #fff; }

/* Ook de doorklikkoppeling tussen berichten netjes. */
.post-navigation .nav-links { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ==========================================================================
   11. Voet
   ========================================================================== */

.voet {
	margin-top: 5rem; padding: 3rem 0 2rem;
	background: var(--surface); border-top: 1px solid var(--line);
}
.voet__grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 48rem) { .voet__grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 3rem; } }
.voet h2 { font-size: .82rem; text-transform: none; letter-spacing: .02em; color: var(--muted); margin-bottom: .9rem; font-weight: 700; }
.voet ul { list-style: none; margin: 0; padding: 0; }
.voet li + li { margin-top: .55rem; }
.voet a { color: var(--ink-soft); text-decoration: none; font-size: .95rem; }
.voet a:hover { color: var(--brand); }
.voet__over p { color: var(--ink-soft); font-size: .95rem; margin: 0; max-width: 30rem; }
.voet__logo { height: 30px; width: auto; margin-bottom: .9rem; }
.voet__onder {
	margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line);
	display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
	font-size: .85rem; color: var(--muted);
}

.omhoog {
	position: fixed; right: 1rem; bottom: 1rem; z-index: 50;
	width: 46px; height: 46px; border-radius: 50%;
	background: var(--ink); color: var(--bg); border: 0; cursor: pointer;
	display: grid; place-items: center; box-shadow: var(--shadow);
	opacity: 0; visibility: hidden; transform: translateY(8px);
	transition: opacity .2s, visibility .2s, transform .2s;
}
.omhoog[data-zichtbaar="true"] { opacity: 1; visibility: visible; transform: none; }
.omhoog svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* ==========================================================================
   12. Losse blokken
   ========================================================================== */

.leeg { text-align: center; padding: 4rem 1rem; }
.leeg h1 { font-size: clamp(2rem, 8vw, 3.5rem); }
.leeg p { color: var(--ink-soft); max-width: 32rem; margin-inline: auto; }

.melding {
	padding: 1rem 1.25rem; border-radius: var(--radius);
	background: var(--brand-wash); color: var(--brand-deep);
	font-size: .92rem; font-family: var(--font-ui); font-weight: 600;
}


/* ==========================================================================
   13. Correcties na de eerste proef
   ========================================================================== */

/* Lucht tussen de vaste kop en de eerste inhoud. */
#hoofd > .maat:first-child,
#hoofd > .artikel { padding-top: 2rem; }
@media (min-width: 48rem) {
	#hoofd > .maat:first-child,
	#hoofd > .artikel { padding-top: 2.75rem; }
}
.artikel__kop { padding-top: 0; }
.paginakop { padding-top: 0; }

/* De uitgelichte afbeelding nooit verder oprekken dan het origineel. */
.artikel__beeld { max-width: min(62rem, 100% - 2.5rem); }
.artikel__beeld img { max-height: 32rem; object-fit: cover; }

/* Het logo is donkere inkt; in de donkere modus maken we het licht. */
@media (prefers-color-scheme: dark) {
	:root:not([data-thema="licht"]) .kop__logo img,
	:root:not([data-thema="licht"]) .voet__logo { filter: brightness(0) invert(1); opacity: .92; }
}

/* Kaarten zonder eigen beeld blijven netjes in verhouding. */
.kaart__beeld img[src$=".svg"] { object-fit: cover; }

/* Contactformulier van Contact Form 7 in de huisstijl. */
.inhoud .wpcf7 input[type="text"], .inhoud .wpcf7 input[type="email"],
.inhoud .wpcf7 input[type="tel"], .inhoud .wpcf7 textarea {
	width: 100%; font: inherit; padding: .75rem .9rem; margin-top: .3rem;
	border: 1.5px solid var(--line-strong); border-radius: var(--radius-s);
	background: var(--surface); color: var(--ink);
}
.inhoud .wpcf7 input:focus, .inhoud .wpcf7 textarea:focus { border-color: var(--brand); outline: none; }
.inhoud .wpcf7 input[type="submit"] {
	font-family: var(--font-ui); font-weight: 700; font-size: .95rem;
	padding: .8rem 1.5rem; border-radius: 999px; background: var(--brand);
	color: #fff; border: 0; cursor: pointer;
}
.inhoud .wpcf7 p { margin-top: 1.1em; }

/* Paginanavigatie van wp-pagenavi in dezelfde stijl. */
.wp-pagenavi { display: flex; gap: .4rem; justify-content: center; flex-wrap: wrap; margin: 3rem 0 1rem; }
.wp-pagenavi a, .wp-pagenavi span {
	display: grid; place-items: center; min-width: 42px; height: 42px; padding-inline: .7rem;
	border-radius: 12px; background: var(--surface); box-shadow: var(--shadow-s);
	font-family: var(--font-ui); font-weight: 700; font-size: .92rem; color: var(--ink); text-decoration: none; border: 0;
}
.wp-pagenavi span.current { background: var(--brand); color: #fff; }


/* De meta-regel: naam op de eerste regel, datum en leestijd daaronder.
   De scheidingsstip staat alleen tussen twee items die naast elkaar staan,
   zodat er nooit een losse stip aan het begin van een regel belandt. */
.artikel__meta { gap: .35rem .9rem; }
.artikel__cijfers { display: inline-flex; gap: .95rem; flex-wrap: wrap; }
.artikel__cijfers > span + span { position: relative; padding-left: .95rem; }
.artikel__cijfers > span + span::before {
	content: ""; position: absolute; left: 0; top: 50%;
	width: 4px; height: 4px; margin-top: -2px; border-radius: 50%;
	background: currentColor; opacity: .45;
}
@media (min-width: 34rem) {
	.artikel__auteur { position: relative; padding-right: .95rem; }
	.artikel__auteur::after {
		content: ""; position: absolute; right: 0; top: 50%;
		width: 4px; height: 4px; margin-top: -2px; border-radius: 50%;
		background: currentColor; opacity: .45;
	}
}

/* Labels blijven op één rij passen op smalle schermen. */
.artikel__labels { row-gap: .45rem; }


/* ==========================================================================
   14. Doorscrollen
   ========================================================================== */

.meer { display: flex; flex-direction: column; align-items: center; gap: .75rem; margin-top: 2.5rem; }
.meer__sensor { height: 1px; }
.meer__status { margin: 0; color: var(--muted); font-size: .9rem; font-family: var(--font-ui); font-weight: 600; min-height: 1.2em; }
.meer__status--bezig { display: inline-flex; align-items: center; gap: .55rem; }
.meer__status--bezig::before {
	content: ""; width: 15px; height: 15px; border-radius: 50%;
	border: 2px solid var(--line-strong); border-top-color: var(--brand);
	animation: aojk-draai .7s linear infinite;
}
@keyframes aojk-draai { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .meer__status--bezig::before { animation: none; } }

/* De paginering blijft eronder staan als vangnet en om te springen. */
.pagineren { margin-top: 1.5rem; }
