/* ==========================================================================
   De Rips – hoofdstijlen
   Mobile-first. Breakpoints: 768px (tablet) en 1200px (desktop).

   Inhoud
   1.  Ontwerptokens
   2.  Basis
   3.  Layout
   4.  Hulpclasses
   5.  Knoppen, labels, links
   6.  Header
   7.  Navigatie
   8.  Zoeken
   9.  Paginakop
   10. Tekstinhoud
   11. Kaarten
   12. Kruimelpad, paginering, berichtnavigatie
   13. Footer en silhouet
   14. Reacties
   15. Beweging beperken
   ========================================================================== */

/* 1. Ontwerptokens
   ========================================================================== */
:root {
	/* Kleuren */
	--c-blue: #1668d6;
	--c-blue-dark: #0f53ad;
	--c-blue-soft: #e8f1fc;
	--c-logo-blue: #1689cc;
	--c-logo-blue-dark: #0769b2;
	--c-yellow: #fcc200;
	--c-red: #d83a2c;
	--c-green: #1d8a4c;
	--c-orange: #e0761a;
	--c-purple: #6b4fc7;

	--c-ink: #161b24;
	--c-ink-soft: #4b5565;
	--c-muted: #6b7482;
	--c-line: #e3e7ed;
	--c-bg: #ffffff;
	--c-bg-soft: #f4f6f9;
	--c-bg-tint: #edf2f8;
	--c-black: #0b0b0c;

	/* Typografie */
	--font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--fs-base: 1.0625rem;
	--lh-base: 1.65;

	/* Vormgeving */
	--radius-sm: 8px;
	--radius: 14px;
	--radius-lg: 20px;
	--shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.06);
	--shadow: 0 1px 2px rgba(16, 24, 40, 0.05), 0 6px 20px rgba(16, 24, 40, 0.07);
	--shadow-lg: 0 2px 4px rgba(16, 24, 40, 0.06), 0 16px 36px rgba(16, 24, 40, 0.12);
	--ease: cubic-bezier(0.2, 0.7, 0.2, 1);

	/* Layout */
	--container: 1240px;
	--container-text: 760px;
	--gutter: 16px;
	--section: 56px;

	/* Header (mobiel) */
	--header-gap: 16px;   /* ruimte boven de witte balk */
	--bar-h: 58px;        /* hoogte van de witte balk */
	--logo-size: 88px;    /* doorsnede van het ronde logo */
	--logo-top: -12px;    /* positie van het logo t.o.v. de bovenkant van de balk */
	--header-h: calc(var(--header-gap) + var(--bar-h));

	--focus: 3px solid var(--c-blue);
}

@media (min-width: 768px) {
	:root {
		--gutter: 24px;
		--section: 72px;
		--header-gap: 22px;
		--bar-h: 60px;
		--logo-size: 104px;
		--logo-top: -16px;
	}
}

@media (min-width: 1200px) {
	:root {
		--gutter: 32px;
		--section: 88px;
		--header-gap: 30px;
		--bar-h: 62px;
		--logo-size: 124px;
		--logo-top: -24px;
	}
}

/* 2. Basis
   ========================================================================== */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-padding-top: 24px;
}

body {
	position: relative; /* anker voor de header, ook met de adminbalk */
	margin: 0;
	background: var(--c-bg);
	color: var(--c-ink);
	font-family: var(--font);
	font-size: var(--fs-base);
	line-height: var(--lh-base);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

body.is-menu-open {
	overflow: hidden;
}

img,
svg,
video,
iframe {
	display: block;
	max-width: 100%;
}

img {
	height: auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0 0 0.5em;
	color: var(--c-ink);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.015em;
}

p {
	margin: 0 0 1em;
}

a {
	color: var(--c-blue);
	text-underline-offset: 0.18em;
	text-decoration-thickness: 1px;
}

a:hover {
	color: var(--c-blue-dark);
}

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

button,
input,
select,
textarea {
	font: inherit;
	color: inherit;
}

::selection {
	background: var(--c-yellow);
	color: var(--c-ink);
}

.site-main {
	display: block;
	overflow-x: clip; /* nooit een horizontale scrollbalk door brede blokken */
}

.site-main:focus {
	outline: none;
}

/* 3. Layout
   ========================================================================== */
.container {
	width: 100%;
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.container--text {
	max-width: calc(var(--container-text) + 2 * var(--gutter));
}

.container--wide {
	max-width: calc(1100px + 2 * var(--gutter));
}

.section {
	padding-block: var(--section);
}

.section-sm {
	padding-block: calc(var(--section) * 0.6);
}

.section--soft {
	background: var(--c-bg-soft);
}

.section-title {
	margin-bottom: 1.25rem;
	font-size: clamp(1.5rem, 2.4vw, 1.875rem);
}

.card-grid {
	display: grid;
	gap: 24px;
	grid-template-columns: 1fr;
}

@media (min-width: 600px) {
	.card-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1000px) {
	.card-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

/* 4. Hulpclasses
   ========================================================================== */
.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	clip-path: inset(50%);
	border: 0;
	white-space: nowrap;
	word-wrap: normal !important;
}

.skip-link:focus {
	position: fixed !important;
	top: 12px;
	left: 12px;
	z-index: 1000;
	width: auto;
	height: auto;
	margin: 0;
	padding: 12px 20px;
	clip: auto;
	clip-path: none;
	background: var(--c-ink);
	color: #fff;
	font-weight: 700;
	border-radius: var(--radius-sm);
	text-decoration: none;
}

.icon {
	flex: none;
	width: 1.25em;
	height: 1.25em;
}

/* 5. Knoppen, labels, links
   ========================================================================== */
.button,
.wp-block-button__link,
input[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.6em;
	min-height: 48px;
	padding: 0.7em 1.6em;
	border: 0;
	border-radius: 999px;
	background: var(--c-blue);
	color: #fff;
	font-weight: 700;
	font-size: 1rem;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.button:hover,
.wp-block-button__link:hover,
input[type="submit"]:hover {
	background: var(--c-blue-dark);
	color: #fff;
}

.button .icon {
	transition: transform 0.2s var(--ease);
}

.button:hover .icon {
	transform: translateX(3px);
}

.button--light {
	background: #fff;
	color: var(--c-blue);
}

.button--light:hover {
	background: var(--c-blue-soft);
	color: var(--c-blue-dark);
}

.icon-button {
	display: inline-grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: var(--c-ink);
	cursor: pointer;
	transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.icon-button:hover {
	background: var(--c-bg-soft);
	color: var(--c-blue);
}

.icon-button .icon {
	width: 24px;
	height: 24px;
}

/* Zoekknop: gevuld en opvallend, in het blauw van de overall uit het logo.
   (Het donkere logoblauw geeft genoeg contrast met witte tekst.) */
.search-toggle {
	width: 46px;
	height: 46px;
	background: var(--c-logo-blue-dark);
	color: #fff;
	box-shadow: 0 2px 10px rgba(7, 105, 178, 0.3);
}

.search-toggle:hover {
	background: #055a99;
	color: #fff;
	transform: scale(1.05);
}

.search-toggle[aria-expanded="true"] {
	background: var(--c-ink);
	color: #fff;
	box-shadow: none;
}

.search-toggle .icon {
	width: 22px;
	height: 22px;
	stroke-width: 2.4;
}

@media (min-width: 1200px) {
	.search-toggle {
		display: inline-flex;
		align-items: center;
		width: auto;
		gap: 8px;
		padding: 0 18px 0 14px;
		font-weight: 700;
		font-size: 0.9375rem;
	}

	.search-toggle__label {
		position: static !important;
		width: auto;
		height: auto;
		margin: 0;
		overflow: visible;
		clip: auto;
		clip-path: none;
		white-space: nowrap;
	}
}

/* Categorielabel (pill) */
.label {
	display: inline-block;
	padding: 0.28em 0.8em;
	border-radius: 999px;
	background: var(--c-blue);
	color: #fff;
	font-size: 0.75rem;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-decoration: none;
}

a.label:hover {
	color: #fff;
	filter: brightness(0.92);
}

.label--green { background: var(--c-green); }
.label--red { background: var(--c-red); }
.label--orange { background: var(--c-orange); }
.label--purple { background: var(--c-purple); }
.label--yellow { background: var(--c-yellow); color: var(--c-ink); }
a.label--yellow:hover { color: var(--c-ink); }

/* Tekstlink met pijl ("Bekijk alles →") */
.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
	font-weight: 600;
	font-size: 0.9375rem;
	text-decoration: none;
}

.link-arrow .icon {
	width: 1.1em;
	height: 1.1em;
	transition: transform 0.2s var(--ease);
}

.link-arrow:hover .icon {
	transform: translateX(3px);
}

.link-arrow--back:hover .icon {
	transform: translateX(-3px);
}

/* 6. Header
   ========================================================================== */
.site-header {
	position: absolute;
	inset: 0 0 auto;
	z-index: 50;
	padding-top: var(--header-gap);
	pointer-events: none; /* de strook boven de balk is doorklikbaar */
}

.site-header__bar {
	position: relative;
	height: var(--bar-h);
	background: #fff;
	box-shadow: 0 1px 0 rgba(16, 24, 40, 0.06), 0 6px 18px rgba(16, 24, 40, 0.08);
	pointer-events: auto;
}

.site-header__inner {
	position: relative;
	display: flex;
	align-items: center;
	height: 100%;
}

/* Het ronde logo steekt boven en onder de balk uit */
.site-logo {
	position: absolute;
	top: var(--logo-top);
	left: var(--gutter);
	z-index: 3;
	display: grid;
	place-items: center;
	width: var(--logo-size);
	height: var(--logo-size);
	padding: calc(var(--logo-size) * 0.07);
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 4px 14px rgba(16, 24, 40, 0.16);
	transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.site-logo:hover {
	transform: scale(1.03);
	box-shadow: 0 6px 20px rgba(16, 24, 40, 0.2);
}

.site-logo:focus-visible {
	border-radius: 50%;
	outline-offset: 4px;
}

.site-logo__img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	border-radius: 50%;
}

.site-header__actions {
	display: flex;
	align-items: center;
	gap: 4px;
	margin-left: auto;
}

/* 7. Navigatie
   ========================================================================== */
.primary-menu,
.primary-menu ul,
.footer-menu,
.social-links {
	margin: 0;
	padding: 0;
	list-style: none;
}

.social-links {
	display: flex;
	gap: 4px;
}

.social-links a {
	display: inline-grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 999px;
	color: inherit;
	transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.social-links a:hover {
	background: var(--c-bg-soft);
	color: var(--c-blue);
}

.social-links .icon {
	width: 20px;
	height: 20px;
}

.social-links--header {
	display: none;
}

/* Submenu-knop (pijltje naast een menu-item met subpagina's) */
.submenu-toggle {
	display: inline-grid;
	place-items: center;
	flex: none;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: inherit;
	cursor: pointer;
}

.submenu-toggle .icon {
	width: 18px;
	height: 18px;
	stroke-width: 2.2;
	transition: transform 0.25s var(--ease);
}

.primary-menu .is-open > .submenu-toggle .icon {
	transform: rotate(180deg);
}

/* Paneel met subpagina's */
.submenu-panel__head {
	display: none;
}

.submenu-arrow {
	flex: none;
	width: 20px;
	height: 20px;
	color: var(--c-blue);
	transition: transform 0.2s var(--ease);
}

.primary-menu .sub-menu a:hover .submenu-arrow {
	transform: translateX(4px);
}

/* --- Mobiel en tablet (< 1200px): uitklapmenu onder de balk --- */
@media (max-width: 1199.98px) {
	.primary-nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		max-height: calc(100vh - var(--header-h));
		max-height: calc(100dvh - var(--header-h));
		overflow-y: auto;
		padding: calc(var(--logo-size) + var(--logo-top) - var(--bar-h) + 16px) 0 24px;
		background: #fff;
		border-top: 1px solid var(--c-line);
		box-shadow: var(--shadow-lg);
		overscroll-behavior: contain;
	}

	.js .primary-nav {
		display: none;
	}

	.js .site-header.is-menu-open .primary-nav {
		display: block;
		animation: derips-drop 0.22s var(--ease);
	}

	.primary-menu {
		max-width: var(--container);
		margin-inline: auto;
		padding-inline: var(--gutter);
	}

	.primary-menu > li {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		border-bottom: 1px solid var(--c-line);
	}

	.primary-menu > li > a {
		display: flex;
		flex: 1;
		align-items: center;
		min-height: 54px;
		padding: 10px 4px;
		color: var(--c-ink);
		font-weight: 700;
		font-size: 1.0625rem;
		text-decoration: none;
	}

	.primary-menu > li > a:hover,
	.primary-menu > .current-menu-item > a,
	.primary-menu > .current-menu-ancestor > a {
		color: var(--c-blue);
	}

	.submenu-toggle:hover {
		background: var(--c-bg-soft);
		color: var(--c-blue);
	}

	.submenu-panel {
		display: none;
		flex-basis: 100%;
		padding: 0 0 12px;
	}

	.primary-menu .is-open > .submenu-panel,
	.no-js .primary-menu .submenu-panel {
		display: block;
		animation: derips-drop 0.2s var(--ease);
	}

	.primary-menu .sub-menu {
		margin: 0 0 0 4px;
		padding: 4px 16px;
		border-radius: var(--radius);
		background: var(--c-bg-soft);
	}

	.primary-menu .sub-menu li + li {
		border-top: 1px solid var(--c-line);
	}

	.primary-menu .sub-menu a {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		min-height: 48px;
		padding: 8px 0;
		color: var(--c-ink);
		font-weight: 500;
		font-size: 1rem;
		text-decoration: none;
	}

	.primary-menu .sub-menu a:hover,
	.primary-menu .sub-menu .current-menu-item > a {
		color: var(--c-blue);
	}

	.social-links--menu {
		max-width: var(--container);
		margin: 16px auto 0;
		padding-inline: var(--gutter);
	}

	/* Hamburger ↔ kruis */
	.menu-toggle__close,
	.is-menu-open .menu-toggle__open {
		display: none;
	}

	.is-menu-open .menu-toggle__close {
		display: block;
	}
}

/* --- Desktop (≥ 1200px): volledig menu in de balk --- */
@media (min-width: 1200px) {
	.menu-toggle,
	.social-links--menu,
	.primary-menu .menu-item--home {
		display: none;
	}

	.primary-nav {
		height: 100%;
		margin-left: calc(var(--logo-size) + 16px);
	}

	.primary-menu {
		display: flex;
		align-items: center;
		gap: 2px;
		height: 100%;
	}

	/* Elk hoofditem is een "pill" die oplicht bij hover, open of actief */
	.primary-menu > li {
		position: relative;
		display: flex;
		align-items: center;
		height: 44px;
		border-radius: 999px;
		transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
	}

	.primary-menu > li > a {
		display: flex;
		align-items: center;
		height: 100%;
		padding: 0 clamp(10px, 1vw, 16px);
		border-radius: 999px;
		color: var(--c-ink);
		font-weight: 600;
		font-size: 0.975rem;
		white-space: nowrap;
		text-decoration: none;
		transition: color 0.2s var(--ease);
	}

	.primary-menu > .menu-item-has-children > a {
		padding-right: 0;
	}

	.primary-menu > li > .submenu-toggle {
		width: 32px;
		height: 44px;
		margin-right: 4px;
	}

	.primary-menu > li:hover,
	.primary-menu > li.is-open {
		background: var(--c-bg-soft);
	}

	.primary-menu > li:hover > a,
	.primary-menu > li.is-open > a,
	.primary-menu > li.is-open > .submenu-toggle {
		color: var(--c-blue);
	}

	.primary-menu > .current-menu-item,
	.primary-menu > .current-menu-ancestor,
	.primary-menu > .current_page_parent {
		background: var(--c-blue-soft);
	}

	.primary-menu > .current-menu-item > a,
	.primary-menu > .current-menu-ancestor > a,
	.primary-menu > .current_page_parent > a,
	.primary-menu > .current-menu-ancestor > .submenu-toggle {
		color: var(--c-blue);
	}

	.primary-menu > li > a:focus-visible,
	.submenu-toggle:focus-visible {
		outline-offset: -3px;
	}

	/* Het uitklappaneel */
	.submenu-panel {
		position: absolute;
		top: calc(100% + 20px);
		left: 0;
		z-index: 10;
		width: 340px;
		padding: 24px 24px 12px;
		border-radius: 20px;
		background: #fff;
		box-shadow: 0 2px 6px rgba(16, 24, 40, 0.06), 0 24px 48px rgba(16, 24, 40, 0.16);
		opacity: 0;
		visibility: hidden;
		transform: translateY(8px);
		transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
	}

	/* Onzichtbare brug zodat het paneel open blijft als je de muis beweegt */
	.submenu-panel::before {
		content: "";
		position: absolute;
		left: 0;
		right: 0;
		bottom: 100%;
		height: 24px;
	}

	.primary-menu .is-open > .submenu-panel,
	.no-js .primary-menu li:hover > .submenu-panel,
	.no-js .primary-menu li:focus-within > .submenu-panel {
		opacity: 1;
		visibility: visible;
		transform: none;
	}

	.submenu-panel__head {
		display: block;
		margin-bottom: 14px;
	}

	.submenu-panel__title {
		display: inline-flex;
		align-items: center;
		gap: 6px;
		color: var(--c-ink);
		font-size: 1.25rem;
		font-weight: 800;
		letter-spacing: -0.02em;
		line-height: 1.2;
		text-decoration: none;
	}

	a.submenu-panel__title:hover {
		color: var(--c-blue);
	}

	.submenu-panel__desc {
		display: block;
		margin-top: 4px;
		color: var(--c-ink-soft);
		font-size: 0.9375rem;
		line-height: 1.45;
	}

	.primary-menu .sub-menu li + li {
		border-top: 1px solid var(--c-line);
	}

	.primary-menu .sub-menu a {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 16px;
		padding: 13px 0;
		color: var(--c-ink);
		font-weight: 500;
		font-size: 1rem;
		text-decoration: none;
		transition: color 0.2s var(--ease);
	}

	.primary-menu .sub-menu a:hover,
	.primary-menu .sub-menu .current-menu-item > a {
		color: var(--c-blue);
	}

	.search-toggle {
		margin-left: 12px;
	}
}

/* Social-iconen in de balk alleen als er echt ruimte is */
@media (min-width: 1600px) {
	.social-links--header {
		display: flex;
		margin-left: 12px;
	}
}

@keyframes derips-drop {
	from {
		opacity: 0;
		transform: translateY(-6px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

/* 8. Zoeken
   ========================================================================== */
.search-panel {
	position: relative;
	z-index: 2;
	padding: calc(var(--logo-size) + var(--logo-top) - var(--bar-h) + 12px) 0 20px;
	background: #fff;
	border-top: 1px solid var(--c-line);
	box-shadow: var(--shadow-lg);
	pointer-events: auto;
	animation: derips-drop 0.22s var(--ease);
}

@media (min-width: 1200px) {
	.search-panel {
		padding-top: 22px;
	}
}

.search-panel[hidden] {
	display: none;
}

.search-panel__inner {
	max-width: calc(760px + 2 * var(--gutter));
}

.search-form {
	position: relative;
	display: flex;
	gap: 8px;
	align-items: center;
}

.search-form__icon {
	position: absolute;
	left: 16px;
	width: 20px;
	height: 20px;
	color: var(--c-muted);
	pointer-events: none;
}

.search-form__input {
	flex: 1;
	min-width: 0;
	min-height: 52px;
	padding: 0 16px 0 46px;
	border: 1px solid var(--c-line);
	border-radius: 999px;
	background: var(--c-bg-soft);
	font-size: 1rem;
	transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.search-form__input:focus {
	border-color: var(--c-blue);
	background: #fff;
	outline: none;
	box-shadow: 0 0 0 3px var(--c-blue-soft);
}

.search-form__submit {
	min-height: 52px;
}

@media (max-width: 479.98px) {
	.search-form__submit {
		padding-inline: 1.1em;
	}
}

.search-again {
	max-width: 640px;
	margin-bottom: 32px;
}

/* 9. Paginakop
   ========================================================================== */
.page-hero {
	position: relative;
	padding: calc(var(--header-h) + 48px) 0 44px;
	background: var(--c-bg-tint);
	overflow: hidden;
}

@media (min-width: 1200px) {
	.page-hero {
		padding: calc(var(--header-h) + 72px) 0 60px;
	}
}

.page-hero__inner {
	position: relative;
	z-index: 1;
}

/* Op kleine schermen: tekst niet onder het logo laten vallen */
@media (max-width: 767.98px) {
	.page-hero__inner {
		padding-top: 8px;
	}
}

.page-hero__title {
	max-width: 22ch;
	margin: 0.3em 0 0;
	font-size: clamp(2rem, 4.4vw, 3.25rem);
	line-height: 1.08;
	letter-spacing: -0.025em;
	overflow-wrap: break-word;
	hyphens: auto;
}

.page-hero__intro {
	max-width: 60ch;
	margin: 16px 0 0;
	color: var(--c-ink-soft);
	font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
}

.page-hero__meta {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 16px 0 0;
	color: var(--c-ink-soft);
	font-weight: 500;
}

.page-hero .label {
	margin-top: 12px;
}

/* Variant met foto */
.page-hero--image {
	display: flex;
	align-items: flex-end;
	min-height: clamp(340px, 46vw, 480px);
	background: var(--c-ink);
	color: #fff;
}

.page-hero__media {
	position: absolute;
	inset: 0;
}

.page-hero__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(to top, rgba(8, 14, 24, 0.72) 0%, rgba(8, 14, 24, 0.2) 55%, rgba(8, 14, 24, 0.1) 100%),
		linear-gradient(to right, rgba(8, 14, 24, 0.45), rgba(8, 14, 24, 0) 70%);
}

.page-hero__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.page-hero--image .page-hero__title,
.page-hero--image .page-hero__intro,
.page-hero--image .page-hero__meta,
.page-hero--image .breadcrumbs,
.page-hero--image .breadcrumbs a {
	color: #fff;
}

.page-hero--image .page-hero__intro {
	opacity: 0.92;
}

.page-hero--image :focus-visible {
	outline-color: var(--c-yellow);
}

/* 10. Tekstinhoud
   ========================================================================== */
.entry-content {
	font-size: 1.0625rem;
}

@media (min-width: 768px) {
	.entry-content {
		font-size: 1.125rem;
	}
}

.entry-content > * {
	margin-block: 0 1.1em;
}

.entry-content > :last-child {
	margin-bottom: 0;
}

.entry-content h2 {
	margin-top: 1.8em;
	font-size: clamp(1.5rem, 2.6vw, 1.875rem);
}

.entry-content h3 {
	margin-top: 1.6em;
	font-size: clamp(1.25rem, 2vw, 1.4375rem);
}

.entry-content h4 {
	margin-top: 1.4em;
	font-size: 1.125rem;
}

.entry-content > h2:first-child,
.entry-content > h3:first-child {
	margin-top: 0;
}

.entry-content ul,
.entry-content ol {
	padding-left: 1.3em;
}

.entry-content li + li {
	margin-top: 0.35em;
}

.entry-content li::marker {
	color: var(--c-blue);
}

.entry-content blockquote,
.entry-content .wp-block-quote {
	margin-inline: 0;
	padding: 4px 0 4px 24px;
	border-left: 4px solid var(--c-yellow);
	font-size: 1.15em;
	font-weight: 500;
}

.entry-content blockquote cite {
	display: block;
	margin-top: 0.6em;
	color: var(--c-muted);
	font-size: 0.8em;
	font-style: normal;
}

.entry-content img,
.entry-content .wp-block-image img {
	border-radius: var(--radius);
}

.entry-content figcaption,
.entry-featured figcaption {
	margin-top: 10px;
	color: var(--c-muted);
	font-size: 0.875rem;
	text-align: center;
}

.entry-content hr {
	height: 1px;
	margin-block: 2.4em;
	border: 0;
	background: var(--c-line);
}

.entry-content table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.95em;
}

.entry-content th,
.entry-content td {
	padding: 10px 12px;
	border-bottom: 1px solid var(--c-line);
	text-align: left;
}

.entry-content th {
	background: var(--c-bg-soft);
	font-weight: 700;
}

/*
 * Brede en volle breedte: alleen voor blokken die direct in de tekstkolom
 * staan. Geneste blokken (bijv. een afbeelding in een groep) blijven binnen
 * hun ouder, zodat niets uit beeld schuift.
 */
.entry-content > .alignwide {
	width: auto;
	max-width: none;
	margin-inline: calc(50% - min(550px, 50vw - var(--gutter)));
}

.entry-content > .alignfull {
	width: auto;
	max-width: none;
	margin-inline: calc(50% - 50vw);
}

.entry-content .alignwide .alignwide,
.entry-content .alignfull .alignwide,
.entry-content .alignwide .alignfull,
.entry-content .alignfull .alignfull {
	width: auto;
	max-width: 100%;
	margin-inline: auto;
	transform: none;
}

/* Een volle-breedte groep houdt zijn inhoud in het midden */
.entry-content > .alignfull.wp-block-group,
.entry-content > .alignfull.wp-block-cover {
	padding-inline: var(--gutter);
}

.entry-content > .alignfull.wp-block-group > * {
	max-width: var(--container-text);
	margin-inline: auto;
}

.entry-content > .alignfull.wp-block-group > .alignwide {
	max-width: 1100px;
}

.entry-content > .alignfull.wp-block-group > .alignfull {
	max-width: none;
	margin-inline: calc(-1 * var(--gutter));
}

.entry-content .alignfull img,
.entry-content .alignfull.wp-block-image img {
	width: 100%;
	border-radius: 0;
}

.entry-content .wp-block-image.alignwide img {
	width: 100%;
}

.entry-content .wp-block-columns {
	gap: 24px;
}

.entry-content .wp-block-column img {
	width: 100%;
}

.entry-content .alignleft {
	float: left;
	margin: 0.3em 1.5em 1em 0;
}

.entry-content .alignright {
	float: right;
	margin: 0.3em 0 1em 1.5em;
}

.entry-content .aligncenter {
	margin-inline: auto;
}

.entry-content::after {
	content: "";
	display: table;
	clear: both;
}

.entry-featured {
	margin: 0 auto 40px;
}

.entry-featured img {
	width: 100%;
	border-radius: var(--radius-lg);
}

.entry-footer {
	display: flex;
	flex-direction: column;
	gap: 24px;
	margin-top: 40px;
	padding-top: 24px;
	border-top: 1px solid var(--c-line);
}

.tag-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.tag-list a {
	display: inline-block;
	padding: 4px 12px;
	border-radius: 999px;
	background: var(--c-bg-soft);
	color: var(--c-ink-soft);
	font-size: 0.875rem;
	font-weight: 500;
	text-decoration: none;
}

.tag-list a:hover {
	background: var(--c-blue-soft);
	color: var(--c-blue);
}

.page-links {
	display: flex;
	gap: 8px;
	margin-top: 2em;
	font-weight: 600;
}

.error-actions {
	margin-top: 28px;
}

/* 11. Kaarten
   ========================================================================== */
.card {
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border-radius: var(--radius);
	background: #fff;
	box-shadow: var(--shadow);
	transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.card:hover {
	transform: translateY(-3px);
	box-shadow: var(--shadow-lg);
}

.card:focus-within {
	box-shadow: var(--shadow-lg), 0 0 0 3px var(--c-blue);
}

.card__media {
	position: relative;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--c-bg-tint);
}

.card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s var(--ease);
}

.card:hover .card__media img {
	transform: scale(1.04);
}

.card__placeholder {
	display: grid;
	place-items: center;
	height: 100%;
	color: #b7c3d3;
}

.card__placeholder .icon {
	width: 48px;
	height: 48px;
}

.card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
	padding: 18px 20px 18px;
}

.card__title {
	margin: 0;
	font-size: 1.125rem;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: -0.01em;
}

.card__link {
	color: inherit;
	text-decoration: none;
}

/* De hele kaart klikbaar maken */
.card__link::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}

.card__link:focus-visible {
	outline: none;
}

.card__text {
	margin: 0;
	color: var(--c-ink-soft);
	font-size: 0.9375rem;
	line-height: 1.55;
}

.card__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	margin-top: auto;
	padding-top: 10px;
	color: var(--c-muted);
	font-size: 0.875rem;
}

.card__arrow {
	display: inline-grid;
	place-items: center;
	color: var(--c-blue);
	transition: transform 0.25s var(--ease);
}

.card__body > .card__arrow {
	margin-top: auto;
	align-self: flex-end;
}

.card:hover .card__arrow {
	transform: translateX(4px);
}

.card .label {
	position: relative;
	z-index: 2;
}

.empty-state {
	display: grid;
	justify-items: center;
	gap: 12px;
	padding: 48px 24px;
	border-radius: var(--radius);
	background: var(--c-bg-soft);
	color: var(--c-ink-soft);
	text-align: center;
}

.empty-state .icon {
	width: 36px;
	height: 36px;
	color: var(--c-muted);
}

.empty-state p {
	margin: 0;
}

/* 12. Kruimelpad, paginering, berichtnavigatie
   ========================================================================== */
.breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 0;
	margin: 0;
	padding: 0;
	list-style: none;
	color: var(--c-ink-soft);
	font-size: 0.875rem;
	font-weight: 500;
}

.breadcrumbs li:not(:last-child)::after {
	content: "›";
	margin-inline: 8px;
	opacity: 0.6;
}

.breadcrumbs a {
	color: inherit;
	text-decoration: none;
}

.breadcrumbs a:hover {
	text-decoration: underline;
}

.breadcrumbs [aria-current] {
	display: inline-block;
	max-width: 32ch;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	vertical-align: bottom;
}

.pagination {
	margin-top: 48px;
}

.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
}

.pagination .page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 44px;
	height: 44px;
	padding-inline: 12px;
	border-radius: 999px;
	background: #fff;
	box-shadow: var(--shadow-sm);
	border: 1px solid var(--c-line);
	color: var(--c-ink);
	font-weight: 600;
	text-decoration: none;
}

.pagination .page-numbers:hover {
	border-color: var(--c-blue);
	color: var(--c-blue);
}

.pagination .page-numbers.current {
	background: var(--c-blue);
	border-color: var(--c-blue);
	color: #fff;
}

.pagination .page-numbers.dots {
	border: 0;
	box-shadow: none;
	background: transparent;
}

.post-navigation {
	margin-top: 40px;
}

.post-navigation .nav-links {
	display: grid;
	gap: 16px;
}

@media (min-width: 768px) {
	.post-navigation .nav-links {
		grid-template-columns: 1fr 1fr;
	}

	.post-navigation .nav-next {
		grid-column: 2;
		text-align: right;
	}
}

.post-navigation a {
	display: block;
	height: 100%;
	padding: 16px 20px;
	border: 1px solid var(--c-line);
	border-radius: var(--radius);
	color: var(--c-ink);
	text-decoration: none;
	transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.post-navigation a:hover {
	border-color: var(--c-blue);
	box-shadow: var(--shadow);
}

.post-navigation__label {
	display: block;
	color: var(--c-muted);
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.post-navigation__title {
	display: block;
	margin-top: 4px;
	font-weight: 700;
	line-height: 1.35;
}

/* 13. Footer en silhouet
   ========================================================================== */
.site-footer {
	margin-top: var(--section);
	color: #c9ccd2;
}

/*
 * Silhouet: de SVG schaalt proportioneel mee tot een maximale breedte.
 * Onder de SVG loopt een zwarte band over de volle breedte die precies
 * even hoog is als de basisbalk in de SVG (23,62% van de hoogte), zodat
 * silhouet en footer één geheel vormen.
 */
.skyline {
	display: flex;
	align-items: flex-end;
	color: var(--c-black);
}

/* Zwarte band links en rechts van het silhouet (niet erachter, zodat de
   uitgesneden letters en lijnen in de SVG wit blijven). */
.skyline::before,
.skyline::after {
	content: "";
	flex: 1;
	align-self: stretch;
	background: linear-gradient(to top, var(--c-black) 23.62%, transparent 23.62%);
}

.skyline__art {
	flex: 0 1 1180px;
	min-width: 0;
}

.skyline__art svg {
	width: 100%;
	height: auto;
	margin-bottom: -1px;
}

.site-footer__main {
	margin-top: -1px; /* voorkomt een haarlijn tussen silhouet en footer */
	padding: 32px 0 28px;
	background: var(--c-black);
}

.site-footer__grid {
	display: grid;
	gap: 32px;
	padding-bottom: 32px;
}

@media (min-width: 768px) {
	.site-footer__grid {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
		gap: 48px;
	}
}

.site-footer__name {
	margin: 0 0 8px;
	color: #fff;
	font-size: 1.25rem;
	font-weight: 800;
	letter-spacing: -0.01em;
}

.site-footer__text {
	max-width: 36ch;
	margin: 0 0 16px;
	font-size: 0.9375rem;
}

.site-footer .social-links {
	margin-left: -10px;
}

.site-footer .social-links a {
	color: #fff;
}

.site-footer .social-links a:hover {
	background: rgba(255, 255, 255, 0.1);
	color: var(--c-yellow);
}

.footer-menu {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 4px 24px;
}

@media (min-width: 1000px) {
	.footer-menu {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.footer-menu a {
	display: inline-block;
	padding: 6px 0;
	color: #fff;
	font-size: 0.9375rem;
	font-weight: 500;
	text-decoration: none;
}

.footer-menu a:hover {
	color: var(--c-yellow);
	text-decoration: underline;
}

.site-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 24px;
	padding-top: 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	font-size: 0.8125rem;
	color: #9ea3ab;
}

.site-footer__bottom p {
	margin: 0;
}

.site-footer__bottom a {
	color: inherit;
}

.site-footer :focus-visible {
	outline-color: var(--c-yellow);
}

/* 14. Reacties
   ========================================================================== */
.comments {
	margin-top: 48px;
	padding-top: 32px;
	border-top: 1px solid var(--c-line);
}

.comment-list {
	margin: 0 0 32px;
	padding: 0;
	list-style: none;
}

.comment-list .children {
	margin: 0;
	padding-left: 24px;
	list-style: none;
}

.comment-body {
	padding: 20px 0;
	border-bottom: 1px solid var(--c-line);
}

.comment-author {
	display: flex;
	align-items: center;
	gap: 12px;
	font-weight: 700;
}

.comment-author .avatar {
	border-radius: 50%;
}

.comment-metadata {
	margin: 4px 0 8px 60px;
	font-size: 0.8125rem;
}

.comment-metadata a {
	color: var(--c-muted);
	text-decoration: none;
}

.comment-content {
	margin-left: 60px;
}

.comment-form label {
	display: block;
	margin-bottom: 4px;
	font-weight: 600;
	font-size: 0.9375rem;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--c-line);
	border-radius: var(--radius-sm);
	background: #fff;
}

.comment-form input:focus,
.comment-form textarea:focus {
	border-color: var(--c-blue);
	outline: none;
	box-shadow: 0 0 0 3px var(--c-blue-soft);
}

/* 15. Beweging beperken
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}
