/* ==========================================================================
   1Post – hoofdopmaak
   ========================================================================== */

:root {
	--paper: #f4f6f9;
	--surface: #ffffff;
	--ink: #0e1b33;
	--ink-soft: #2a3856;
	--muted: #5a6479;
	--line: #dde2ea;
	--brand: #1f3fd0;
	--brand-ink: #ffffff;
	--stamp: #d12b1f;
	--shade: rgba(8, 14, 30, .82);

	--f-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
	--f-ui: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
	--f-text: "Source Serif 4", Georgia, "Times New Roman", serif;

	--wrap: 1240px;
	--gap: clamp(16px, 2.4vw, 28px);
	--article-size: 1.1875rem;
}

[data-theme="dark"] {
	--paper: #0a111f;
	--surface: #111a2d;
	--ink: #e8edf6;
	--ink-soft: #c5cee0;
	--muted: #98a4bb;
	--line: #243049;
	--brand: #7b95ff;
	--brand-ink: #0a111f;
	--stamp: #ff6b5e;
	--shade: rgba(4, 8, 18, .86);
	color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--f-ui);
	font-size: 1rem;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, video, iframe { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--brand); }
h1, h2, h3, h4 { font-family: var(--f-display); line-height: 1.14; margin: 0; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 3px; }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); white-space: nowrap;
}
.skip-link {
	position: fixed; left: 12px; top: -60px; z-index: 1000; padding: 10px 16px;
	background: var(--brand); color: var(--brand-ink); border-radius: 6px; font-weight: 600;
}
.skip-link:focus { top: 12px; color: var(--brand-ink); }

/* Leesvoortgang ----------------------------------------------------------- */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 900; display: none; }
.has-progress .progress { display: block; }
.progress__bar { display: block; height: 100%; width: 0; background: var(--brand); }

/* Header ------------------------------------------------------------------ */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); position: relative; z-index: 50; }
.topbar { border-bottom: 1px solid var(--line); font-size: .8125rem; color: var(--muted); }
.topbar__in { display: flex; align-items: center; gap: 20px; min-height: 38px; }
.topbar__nav { margin-left: auto; }
.topbar__list { list-style: none; display: flex; gap: 18px; }
.topbar__list a:hover { color: var(--brand); }

.theme-toggle {
	display: inline-flex; align-items: center; gap: 8px; background: none; border: 1px solid var(--line);
	border-radius: 999px; padding: 3px 12px 3px 4px; font-size: .8125rem; color: var(--muted);
}
.topbar__nav + .theme-toggle { margin-left: 0; }
.topbar__date + .theme-toggle { margin-left: auto; }
.theme-toggle__dot {
	width: 18px; height: 18px; border-radius: 50%; background: linear-gradient(90deg, var(--ink) 50%, var(--surface) 50%);
	border: 1px solid var(--ink); transition: transform .25s;
}
[data-theme="dark"] .theme-toggle__dot { transform: rotate(180deg); }
.theme-toggle:hover { color: var(--ink); border-color: var(--muted); }

.masthead { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding-block: 14px; gap: 12px; }
.brand { justify-self: center; }
.masthead__tools { justify-self: end; }
.menu-btn { display: none; }

.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo__stamp {
	width: 40px; height: 48px; display: grid; place-items: center; flex: none;
	background: var(--brand); color: var(--brand-ink);
	font: 800 1.9rem/1 var(--f-display); letter-spacing: -.04em; padding-bottom: 2px;
	-webkit-mask:
		linear-gradient(#000 0 0) 4px 4px / calc(100% - 8px) calc(100% - 8px) no-repeat,
		radial-gradient(circle at 4px 4px, #0000 2.4px, #000 2.9px) -4px -4px / 8px 8px;
	mask:
		linear-gradient(#000 0 0) 4px 4px / calc(100% - 8px) calc(100% - 8px) no-repeat,
		radial-gradient(circle at 4px 4px, #0000 2.4px, #000 2.9px) -4px -4px / 8px 8px;
}
.logo__word { font: 800 2.05rem/1 var(--f-display); letter-spacing: -.045em; color: var(--ink); }
.logo__tld { font-weight: 500; color: var(--muted); letter-spacing: -.02em; }
.custom-logo-link img { max-height: 54px; width: auto; }

.search-btn {
	display: inline-flex; align-items: center; gap: 8px; background: none; border: 1px solid var(--line);
	border-radius: 999px; padding: 8px 16px; font-weight: 500; font-size: .9rem;
}
.search-btn:hover, .search-btn[aria-expanded="true"] { border-color: var(--brand); color: var(--brand); }
.search-btn__icon {
	width: 14px; height: 14px; border: 2px solid currentColor; border-radius: 50%; position: relative; display: inline-block;
}
.search-btn__icon::after {
	content: ""; position: absolute; width: 2px; height: 7px; background: currentColor; right: -4px; bottom: -6px; transform: rotate(-45deg);
}

/* Navigatie --------------------------------------------------------------- */
.navbar { border-top: 1px solid var(--line); background: var(--surface); }
.nav__list { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; }
.nav__list > li { position: relative; }
.nav__list a {
	display: block; padding: 13px 14px; font: 700 .95rem/1 var(--f-display); letter-spacing: -.005em; color: var(--ink);
}
.nav__list > li > a::after {
	content: ""; display: block; height: 3px; margin-top: 10px; margin-bottom: -13px; background: transparent; border-radius: 2px;
}
.nav__list > li:hover > a, .nav__list > .current-menu-item > a, .nav__list > .current-cat > a { color: var(--brand); }
.nav__list > li:hover > a::after, .nav__list > .current-menu-item > a::after, .nav__list > .current-cat > a::after { background: var(--brand); }
.nav__list .sub-menu, .nav__list .children {
	list-style: none; position: absolute; left: 0; top: 100%; min-width: 220px; background: var(--surface);
	border: 1px solid var(--line); border-radius: 10px; padding: 6px; box-shadow: 0 14px 34px -14px rgba(10, 20, 50, .35);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s; z-index: 20;
}
.nav__list li:hover > .sub-menu, .nav__list li:focus-within > .sub-menu,
.nav__list li:hover > .children, .nav__list li:focus-within > .children { opacity: 1; visibility: visible; transform: none; }
.nav__list .sub-menu a, .nav__list .children a { padding: 10px 12px; font: 600 .9rem var(--f-ui); border-radius: 6px; }
.nav__list .sub-menu a:hover, .nav__list .children a:hover { background: var(--paper); }

/* Zoekpaneel -------------------------------------------------------------- */
.search-panel { border-top: 1px solid var(--line); background: var(--paper); padding-block: 18px; }
.search-panel[hidden] { display: none; }
.searchform { display: flex; gap: 8px; }
.searchform__input {
	flex: 1; min-width: 0; padding: 13px 16px; font: inherit; font-size: 1.05rem; color: var(--ink);
	background: var(--surface); border: 1px solid var(--line); border-radius: 10px;
}
.searchform__input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 22%, transparent); }
.searchform__btn, .btn, .more-btn, .newsletter button, .comment-form .submit {
	background: var(--brand); color: var(--brand-ink); border: 0; border-radius: 10px; padding: 13px 22px;
	font-weight: 600; display: inline-block; transition: filter .15s, transform .15s;
}
.searchform__btn:hover, .btn:hover, .more-btn:hover, .newsletter button:hover { filter: brightness(1.12); color: var(--brand-ink); }
.live-results { margin-top: 10px; }
.live-results:empty { display: none; }
.live-results ul { list-style: none; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.live-results li + li { border-top: 1px solid var(--line); }
.live-results a { display: flex; justify-content: space-between; gap: 16px; padding: 12px 16px; font-weight: 600; }
.live-results a:hover, .live-results a:focus { background: var(--paper); }
.live-results small { color: var(--muted); font-weight: 400; white-space: nowrap; }
.live-results .live-results__all { padding: 12px 16px; color: var(--brand); font-weight: 600; }

/* Nieuwsticker ------------------------------------------------------------ */
.ticker { background: var(--ink); color: var(--surface); font-size: .875rem; }
[data-theme="dark"] .ticker { background: #060b16; color: var(--ink); border-top: 1px solid var(--line); }
.ticker__in { display: flex; align-items: center; gap: 16px; min-height: 42px; }
.ticker__label {
	flex: none; background: var(--stamp); color: #fff; font: 700 .8125rem/1 var(--f-display);
	padding: 8px 12px; border-radius: 4px; letter-spacing: .01em;
}
[data-theme="dark"] .ticker__label { color: #1a0a08; }
.ticker__viewport { flex: 1; overflow: hidden; min-width: 0;
	-webkit-mask: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent);
	mask: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent);
}
.ticker__track { list-style: none; display: flex; width: max-content; animation: ticker 70s linear infinite; }
.ticker__track li { padding-right: 44px; white-space: nowrap; }
.ticker__track a { color: inherit; }
.ticker__track a:hover { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.ticker__time { opacity: .6; font-variant-numeric: tabular-nums; margin-right: 6px; }
.ticker:hover .ticker__track, .ticker.is-paused .ticker__track, .ticker:focus-within .ticker__track { animation-play-state: paused; }
.ticker__pause {
	flex: none; background: none; border: 1px solid rgba(255, 255, 255, .3); color: inherit; border-radius: 999px;
	padding: 4px 12px; font-size: .75rem;
}
@keyframes ticker { to { transform: translateX(-50%); } }

/* Hoofdinhoud ------------------------------------------------------------- */
.site-main { padding-block: 28px 56px; min-height: 60vh; }
.thumb { display: block; position: relative; overflow: hidden; background: var(--line); }
.thumb__img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
a:hover > .thumb__img, a:hover .thumb__img, .thumb:hover .thumb__img { transform: scale(1.035); }
.thumb__ph {
	position: absolute; inset: 0; display: grid; place-items: center;
	background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 85%, #000), color-mix(in srgb, var(--brand) 55%, var(--ink)));
	color: rgba(255, 255, 255, .22); font: 800 clamp(3rem, 9vw, 6rem)/1 var(--f-display);
}

.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: .8125rem; color: var(--muted); margin: 0 0 8px; }
.meta__sep { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .6; }
.meta__cat { font-weight: 700; color: var(--brand); }
.meta__cat:hover { text-decoration: underline; }
.badge {
	display: inline-block; background: var(--brand); color: var(--brand-ink); font: 700 .78rem/1 var(--f-display);
	padding: 6px 10px; border-radius: 5px; margin-bottom: 10px; letter-spacing: .01em;
}
.badge:hover { color: var(--brand-ink); filter: brightness(1.15); }

/* Hero -------------------------------------------------------------------- */
.hero { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: var(--gap); margin-bottom: 40px; }
.lead__link { position: relative; display: block; border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 10; min-height: 300px; color: #fff; background: var(--ink); }
.lead__link:hover { color: #fff; }
.lead__media { position: absolute; inset: 0; background: none; }
.lead__shade { position: absolute; inset: 0; background: linear-gradient(to top, var(--shade) 0%, rgba(8, 14, 30, .35) 48%, transparent 75%); }
.lead__text { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(18px, 3vw, 34px); display: grid; gap: 10px; }
.lead__title { font: 800 clamp(1.6rem, 3.4vw, 2.75rem)/1.08 var(--f-display); letter-spacing: -.025em; text-wrap: balance; }
.lead__link:hover .lead__title { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.lead__excerpt { font: 400 1.05rem/1.5 var(--f-text); color: rgba(255, 255, 255, .88); max-width: 62ch; }
.lead__meta { margin-top: 14px; margin-bottom: 0; }
.lead__meta .badge { margin: 0; }

.hero__side { display: grid; align-content: start; }
.topstory { display: grid; grid-template-columns: 1fr 96px; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: start; }
.topstory:first-child { padding-top: 0; }
.topstory:last-child { border-bottom: 0; padding-bottom: 0; }
.topstory__media { order: 2; aspect-ratio: 1; border-radius: 8px; }
.topstory__title { font-size: 1.1rem; line-height: 1.22; text-wrap: balance; }
.topstory__title a:hover { color: var(--brand); }

/* Indeling ---------------------------------------------------------------- */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: clamp(28px, 4vw, 56px); align-items: start; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; border-bottom: 2px solid var(--ink); padding-bottom: 10px; margin-bottom: 8px; }
.section-head__title { font-size: 1.5rem; letter-spacing: -.02em; }
.section-head__more { font-size: .875rem; font-weight: 600; color: var(--brand); }
.section-head__more:hover { text-decoration: underline; }

.row { display: grid; grid-template-columns: minmax(0, 1fr) 210px; gap: 22px; padding: 22px 0; border-bottom: 1px solid var(--line); align-items: start; }
.row__title { font-size: clamp(1.2rem, 2.2vw, 1.5rem); letter-spacing: -.018em; margin-bottom: 8px; text-wrap: balance; }
.row__title a:hover { color: var(--brand); }
.row__excerpt { color: var(--muted); font: 400 1rem/1.5 var(--f-text); margin: 0; }
.row__media { order: 2; aspect-ratio: 4 / 3; border-radius: 10px; }
.row.is-new { animation: fade .45s ease both; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } }

.more-btn { width: 100%; margin-top: 24px; padding: 15px; background: var(--surface); color: var(--ink); border: 1px solid var(--line); }
.more-btn:hover { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); filter: none; }
.more-btn[disabled] { opacity: .6; cursor: progress; }

.grid { display: grid; gap: var(--gap); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.catblock { margin-top: 56px; }
.catblock .section-head { margin-bottom: 20px; }

.card { display: flex; flex-direction: column; gap: 14px; }
.card__media { aspect-ratio: 16 / 10; border-radius: 10px; }
.card__body { display: flex; flex-direction: column; align-items: flex-start; }
.card__body .badge { margin-bottom: 8px; }
.card__title { font-size: 1.18rem; line-height: 1.2; letter-spacing: -.012em; margin-bottom: 8px; text-wrap: balance; }
.card__title a:hover { color: var(--brand); }
.card__excerpt { font-size: .9rem; color: var(--muted); margin-bottom: 10px; }

/* Zijbalk ----------------------------------------------------------------- */
.sidebar { position: sticky; top: 24px; display: grid; gap: 36px; min-width: 0; }
.sidebar > * { min-width: 0; }
.widget { min-width: 0; }
.widget__title, .widget h2, .widget .wp-block-heading {
	font: 800 1.25rem/1.15 var(--f-display); letter-spacing: -.02em; color: var(--ink);
	padding-bottom: 10px; margin: 0 0 6px; border-bottom: 2px solid var(--ink);
}
.widget ul, .widget ol { list-style: none; }
.widget li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.widget li:last-child { border-bottom: 0; }
.widget a:hover { color: var(--brand); }
.widget > p { margin: 12px 0 0; }

/* Meest gelezen */
.popular { counter-reset: pop; }
.widget .popular__item {
	counter-increment: pop; display: grid; grid-template-columns: 30px minmax(0, 1fr) 64px; gap: 4px 12px;
	align-items: center; padding: 14px 0;
}
.popular__item::before { content: counter(pop); grid-row: 1; grid-column: 1; font: 800 1.75rem/1 var(--f-display); color: var(--brand); text-align: center; }
.popular__body { grid-column: 2; grid-row: 1; min-width: 0; }
.popular__thumb { grid-column: 3; grid-row: 1; width: 64px; aspect-ratio: 1; border-radius: 8px; }
.popular__link { display: block; font: 700 1rem/1.25 var(--f-display); letter-spacing: -.01em; margin-bottom: 6px; text-wrap: balance; }
.popular__link:hover { color: var(--brand); }
.popular .meta { margin: 0; font-size: .78rem; }

/* Nieuwsbrief */
.widget--newsletter {
	position: relative; overflow: hidden; isolation: isolate; background: var(--brand); color: var(--brand-ink);
	border-radius: 16px; padding: 24px 22px 22px;
}
.widget--newsletter .widget__title { color: inherit; border: 0; padding: 0 64px 0 0; margin: 0 0 8px; font-size: 1.5rem; line-height: 1.1; }
.widget--newsletter > p { color: inherit; margin: 0 0 16px; font-size: .95rem; max-width: 30ch; opacity: .92; }
.widget--newsletter::after {
	content: "1"; position: absolute; z-index: -1; right: -10px; top: -12px; width: 96px; height: 112px;
	display: grid; place-items: center; transform: rotate(9deg); padding-bottom: 4px;
	background: rgba(255, 255, 255, .16); color: rgba(255, 255, 255, .5); font: 800 4.4rem/1 var(--f-display); letter-spacing: -.04em;
	-webkit-mask:
		linear-gradient(#000 0 0) 4px 4px / calc(100% - 8px) calc(100% - 8px) no-repeat,
		radial-gradient(circle at 4px 4px, #0000 2.4px, #000 2.9px) -4px -4px / 8px 8px;
	mask:
		linear-gradient(#000 0 0) 4px 4px / calc(100% - 8px) calc(100% - 8px) no-repeat,
		radial-gradient(circle at 4px 4px, #0000 2.4px, #000 2.9px) -4px -4px / 8px 8px;
}
[data-theme="dark"] .widget--newsletter::after { background: rgba(10, 17, 31, .16); color: rgba(10, 17, 31, .45); }
.newsletter { display: grid; gap: 10px; }
.newsletter input {
	width: 100%; min-width: 0; padding: 13px 14px; border: 0; border-radius: 10px; font: inherit;
	background: var(--surface); color: var(--ink);
}
.newsletter input::placeholder { color: var(--muted); }
.newsletter input:focus-visible, .newsletter button:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.newsletter button { background: var(--ink); color: var(--surface); border: 0; border-radius: 10px; padding: 13px 18px; font-weight: 600; }
.newsletter button:hover { filter: none; opacity: .88; color: var(--surface); }
.widget--newsletter .newsletter__note { margin: 10px 0 0; font-size: .85rem; font-weight: 600; min-height: 0; max-width: none; color: inherit; }
.newsletter__note:empty { display: none; }

/* Rubrieken */
.catlist a { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-weight: 600; }
.catlist__n {
	min-width: 32px; padding: 2px 9px; text-align: center; font: 600 .78rem/1.5 var(--f-ui); color: var(--muted);
	background: var(--surface); border: 1px solid var(--line); border-radius: 999px; transition: .15s;
}
.catlist a:hover .catlist__n { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }

/* Onderwerpen en sociaal */
.tagcloud, .widget .tagcloud { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tagcloud a, .tags a {
	font-size: .85rem !important; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px;
	background: var(--surface); color: var(--ink-soft);
}
.tagcloud a:hover, .tags a:hover { border-color: var(--brand); color: var(--brand); }
.widget--social .social { margin-top: 14px; }

/* Standaard WordPress-widgets in dezelfde stijl (zoeken, recent, archief ...) */
.widget .wp-block-group { display: block; }
.widget .wp-block-search__label { display: block; font-weight: 700; margin-bottom: 8px; }
.widget .wp-block-search__inside-wrapper, .widget .search-form { display: flex; gap: 8px; }
.widget .wp-block-search__input, .widget input[type="search"], .widget input[type="text"], .widget input[type="email"], .widget select {
	flex: 1; min-width: 0; width: 100%; padding: 11px 14px; font: inherit; color: var(--ink);
	background: var(--surface); border: 1px solid var(--line); border-radius: 10px;
}
.widget .wp-block-search__input:focus, .widget input:focus, .widget select:focus { outline: none; border-color: var(--brand); }
.widget .wp-block-search__button, .widget .wp-element-button, .widget input[type="submit"] {
	background: var(--brand); color: var(--brand-ink); border: 0; border-radius: 10px; padding: 11px 16px; font-weight: 600; width: auto;
}
.widget .wp-block-latest-posts__list li, .widget .wp-block-latest-comments__comment { padding: 10px 0; }
.widget .wp-block-latest-posts__post-title { font: 700 1rem/1.25 var(--f-display); }
.widget .wp-block-latest-posts__post-date, .widget .wp-block-latest-comments__comment-date { display: block; font-size: .8rem; color: var(--muted); margin-top: 2px; }
.widget .wp-block-latest-comments { padding: 0; margin: 0; }
.widget .wp-block-latest-comments__comment-meta { font-size: .92rem; }
.widget .wp-block-archives-list li, .widget .wp-block-categories-list li, .widget .cat-item, .widget_archive li, .widget_categories li { color: var(--muted); }
.widget .wp-block-archives-list a, .widget .wp-block-categories-list a, .widget .cat-item a, .widget_archive a, .widget_categories a { color: var(--ink); font-weight: 600; }
.widget .wp-block-archives-list a:hover, .widget .wp-block-categories-list a:hover, .widget .cat-item a:hover { color: var(--brand); }
.widget .wp-calendar-table, .widget table { width: 100%; border-collapse: collapse; font-size: .85rem; text-align: center; }
.widget table th, .widget table td { padding: 6px 2px; }
.widget table a { font-weight: 700; color: var(--brand); }

/* Archief, zoeken, 404 ---------------------------------------------------- */
.archive-head { padding: 8px 0 28px; margin-bottom: 8px; border-bottom: 2px solid var(--ink); display: grid; gap: 12px; }
.archive-head__title { font-size: clamp(1.9rem, 4vw, 3rem); letter-spacing: -.03em; text-wrap: balance; }
.archive-head__desc { color: var(--muted); margin: 0; max-width: 70ch; }
.archive-head .searchform { max-width: 640px; }
.empty { padding: 32px 0; color: var(--muted); }
.empty a { color: var(--brand); text-decoration: underline; }
.notfound { text-align: center; max-width: 620px; margin: 40px auto 20px; display: grid; gap: 12px; justify-items: center; }
.notfound .searchform { width: 100%; }
.notfound__code { font: 800 clamp(5rem, 18vw, 10rem)/1 var(--f-display); color: var(--brand); margin: 0; letter-spacing: -.06em; }
.notfound__title { font-size: clamp(1.6rem, 4vw, 2.4rem); }

.pagination { margin-top: 32px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.pagination .page-numbers {
	min-width: 44px; padding: 10px 14px; text-align: center; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); font-weight: 600;
}
.pagination .page-numbers.current { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.pagination a.page-numbers:hover { border-color: var(--brand); color: var(--brand); }

/* Artikel ----------------------------------------------------------------- */
.layout--single { margin-top: 4px; }
.article { min-width: 0; }
.article--page { max-width: 820px; margin-inline: auto; }
.article__head { margin-bottom: 22px; }
.article__title { font-size: clamp(2rem, 4.6vw, 3.4rem); letter-spacing: -.03em; line-height: 1.06; margin-bottom: 16px; text-wrap: balance; }
.article__lede { font: 400 clamp(1.15rem, 2vw, 1.4rem)/1.45 var(--f-text); color: var(--ink-soft); margin-bottom: 20px; }
.byline { display: flex; align-items: center; gap: 14px; padding-block: 14px; border-block: 1px solid var(--line); }
.byline__avatar { border-radius: 50%; }
.byline__text { display: grid; gap: 1px; font-size: .875rem; color: var(--muted); }
.byline__name { font-weight: 700; color: var(--ink); font-size: .95rem; }
.byline__name:hover { color: var(--brand); }
.byline__meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.byline__updated { font-size: .8125rem; }
.textsize { margin-left: auto; display: inline-flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.textsize button { background: var(--surface); border: 0; padding: 7px 12px; font-weight: 700; }
.textsize button + button { border-left: 1px solid var(--line); }
.textsize button:hover { background: var(--paper); color: var(--brand); }

.article__figure { margin: 0 0 22px; }
.article__img { width: 100%; border-radius: 14px; }
.article__figure figcaption { font-size: .85rem; color: var(--muted); padding-top: 8px; }

.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-block: 18px; }
.share__label { font-weight: 700; margin-right: 4px; font-size: .9rem; }
.share__btn {
	background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font-size: .85rem; font-weight: 600; color: var(--ink);
}
.share__btn:hover { border-color: var(--brand); color: var(--brand); }
.share__btn--whatsapp:hover { border-color: #1da851; color: #1da851; }

.entry { font-family: var(--f-text); font-size: var(--article-size); line-height: 1.72; color: var(--ink); max-width: 720px; }
.entry > * { margin-block: 0 1.35em; }
.entry h2 { font-size: 1.85rem; margin-top: 1.9em; }
.entry h3 { font-size: 1.45rem; margin-top: 1.6em; }
.entry h2, .entry h3, .entry h4 { scroll-margin-top: 90px; }
.entry a { color: var(--brand); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.entry a:hover { text-decoration-thickness: 2px; }
.entry img { border-radius: 10px; }
.entry figure { margin-inline: 0; }
.entry figcaption, .wp-caption-text { font: 400 .85rem/1.45 var(--f-ui); color: var(--muted); padding-top: 8px; }
.entry ul, .entry ol { padding-left: 1.4em; }
.entry li { margin-bottom: .4em; }
.entry blockquote {
	margin-inline: 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--brand);
	font: 600 1.45rem/1.35 var(--f-display); letter-spacing: -.015em; color: var(--ink);
}
.entry blockquote cite { display: block; margin-top: 10px; font: 400 .9rem var(--f-ui); color: var(--muted); font-style: normal; }
.entry table { width: 100%; border-collapse: collapse; font: .95rem var(--f-ui); }
.entry th, .entry td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.entry pre { overflow: auto; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; font-size: .9rem; }
.entry .alignwide, .entry .alignfull { max-width: none; }
.alignleft { float: left; margin: .3em 1.4em 1em 0; }
.alignright { float: right; margin: .3em 0 1em 1.4em; }
.aligncenter { margin-inline: auto; }
.page-links { font: .95rem var(--f-ui); }

.tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-block: 28px 8px; }
.tags__label { font-weight: 700; font-size: .9rem; margin-right: 4px; }

.authorbox { display: flex; gap: 18px; padding: 22px; margin-block: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; align-items: flex-start; }
.authorbox__avatar { border-radius: 50%; flex: none; }
.authorbox__name { font: 700 1.1rem var(--f-display); margin-bottom: 4px; }
.authorbox p:last-child { margin: 0; color: var(--muted); }

.postnav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-block: 28px; }
.postnav__item { padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); display: grid; gap: 4px; }
.postnav__item span { font-size: .78rem; color: var(--muted); }
.postnav__item a { font: 700 1.02rem/1.25 var(--f-display); }
.postnav__item--next { text-align: right; grid-column: 2; }
.postnav__item--prev { grid-column: 1; }
.postnav__item:hover { border-color: var(--brand); }

/* Reacties ---------------------------------------------------------------- */
.comments { margin-top: 40px; padding-top: 28px; border-top: 2px solid var(--ink); }
.comments__title, .comment-reply-title { font-size: 1.5rem; margin-bottom: 18px; }
.comments__list { list-style: none; }
.comments__list .children { list-style: none; margin-left: clamp(16px, 4vw, 40px); }
.comment__body { padding: 18px 0; border-bottom: 1px solid var(--line); }
.comment__head { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; }
.comment__avatar { border-radius: 50%; }
.comment__author { display: block; font-size: .95rem; }
.comment__date { font-size: .8125rem; color: var(--muted); }
.comment__text { font-family: var(--f-text); font-size: 1.02rem; }
.comment__text p:last-child { margin-bottom: 0; }
.comment__reply a { font-size: .85rem; font-weight: 600; color: var(--brand); }
.comment__wait { font-size: .875rem; color: var(--stamp); }
.comment-form p { margin-bottom: 14px; }
.comment-form label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
	width: 100%; padding: 12px 14px; font: inherit; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 10px;
}
.comment-form input:focus, .comment-form textarea:focus { outline: none; border-color: var(--brand); }
.comment-form-cookies-consent { display: flex; gap: 8px; align-items: flex-start; }
.comment-form-cookies-consent label { font-weight: 400; margin: 0; }

/* Footer ------------------------------------------------------------------ */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); margin-top: 24px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 36px; padding-block: 48px; }
.footer__grid:has(> :nth-child(3):last-child) { grid-template-columns: 1.6fr 1fr 1fr; }
.footer__about p { color: var(--muted); margin-top: 14px; max-width: 34ch; }
.footer__list { list-style: none; }
.footer__list li { padding: 5px 0; border: 0; }
.footer__list a:hover { color: var(--brand); }
.social { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.social a { border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: .85rem; font-weight: 600; }
.social a:hover { border-color: var(--brand); }
.footer__bar { border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); }
.footer__bar-in { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 18px; }
.footer__bar p { margin: 0; }
.to-top { font-weight: 600; }

/* WordPress-kern ---------------------------------------------------------- */
.wp-block-image img { border-radius: 10px; }
.wp-block-quote, .wp-block-pullquote { margin-inline: 0; }
.sticky .row__title::before { content: "Uitgelicht"; margin-right: 8px; font: 700 .7rem var(--f-display); background: var(--stamp); color: #fff; padding: 3px 7px; border-radius: 4px; vertical-align: .2em; }
[data-theme="dark"] .sticky .row__title::before { color: #1a0a08; }

/* Responsief -------------------------------------------------------------- */
@media (max-width: 1100px) {
	.grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.layout { grid-template-columns: minmax(0, 1fr) 290px; }
}

@media (max-width: 900px) {
	.hero { grid-template-columns: 1fr; }
	.hero__side { grid-template-columns: 1fr 1fr; column-gap: var(--gap); }
	.topstory:nth-child(-n+2) { padding-top: 0; }
	.topstory:nth-last-child(-n+2) { border-bottom: 0; }
	.layout { grid-template-columns: 1fr; }
	.sidebar { position: static; }
	.footer__grid, .footer__grid:has(> :nth-child(3):last-child) { grid-template-columns: 1fr 1fr; }

	.masthead { grid-template-columns: auto 1fr auto; }
	.brand { justify-self: start; }
	.menu-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; background: none; border: 1px solid var(--line); border-radius: 10px; order: -1; }
	.menu-btn__bars, .menu-btn__bars::before, .menu-btn__bars::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: .2s; }
	.menu-btn__bars::before, .menu-btn__bars::after { content: ""; position: absolute; left: 0; }
	.menu-btn__bars::before { top: -6px; }
	.menu-btn__bars::after { top: 6px; }
	.menu-btn[aria-expanded="true"] .menu-btn__bars { background: transparent; }
	.menu-btn[aria-expanded="true"] .menu-btn__bars::before { top: 0; transform: rotate(45deg); }
	.menu-btn[aria-expanded="true"] .menu-btn__bars::after { top: 0; transform: rotate(-45deg); }
	.search-btn__text { display: none; }
	.search-btn { padding: 12px; }
	.navbar { display: none; }
	.nav-open .navbar { display: block; }
	.nav__list { flex-direction: column; padding-block: 8px; gap: 0; }
	.nav__list a { padding: 14px 4px; border-bottom: 1px solid var(--line); }
	.nav__list > li > a::after { display: none; }
	.nav__list .sub-menu, .nav__list .children { position: static; opacity: 1; visibility: visible; transform: none; border: 0; box-shadow: none; padding: 0 0 0 14px; }
	.topbar__nav { display: none; }
}

@media (max-width: 640px) {
	.wrap { width: min(100% - 28px, var(--wrap)); }
	.topbar__date { font-size: .78rem; }
	.row { grid-template-columns: minmax(0, 1fr) 104px; gap: 14px; padding: 18px 0; }
	.row__excerpt { display: none; }
	.row__media { aspect-ratio: 1; border-radius: 8px; }
	.row__title { font-size: 1.1rem; }
	.hero__side { grid-template-columns: 1fr; }
	.topstory:nth-child(-n+2) { padding-top: 16px; }
	.topstory:first-child { padding-top: 0; }
	.topstory:nth-last-child(2) { border-bottom: 1px solid var(--line); }
	.grid--4 { grid-template-columns: 1fr; }
	.lead__excerpt { display: none; }
	.lead__link { aspect-ratio: 4 / 5; min-height: 0; }
	.byline { flex-wrap: wrap; }
	.textsize { margin-left: 0; }
	.postnav { grid-template-columns: 1fr; }
	.postnav__item--next, .postnav__item--prev { grid-column: 1; text-align: left; }
	.footer__grid, .footer__grid:has(> :nth-child(3):last-child) { grid-template-columns: 1fr; padding-block: 36px; }
	.ticker__pause { display: none; }
	.logo__word { font-size: 1.7rem; }
	.logo__stamp { width: 32px; height: 40px; font-size: 1.55rem; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
	.ticker__viewport { overflow-x: auto; }
	.ticker__track { animation: none; }
}

@media print {
	.site-header, .site-footer, .sidebar, .share, .comments, .postnav, .ticker, .progress, .textsize { display: none !important; }
	body { background: #fff; color: #000; }
	.entry { max-width: none; font-size: 12pt; }
}
