/* ==========================================================================
   Onlinehardloper theme — main stylesheet (afgeleid van Onlinetennisser, 22 nov 2026)
   Palet A "Baan", gekozen door Sjoerd op 22 nov 2026: bijna-zwart met het logorood
   #d80000, plus petrol #0f3d4a als steunkleur. Onderbouwing: website-design/brand-guidelines.md.
   Typografie: Barlow Semi Condensed (koppen) + Figtree (body/UI), self-hosted.
   ========================================================================== */

/* ---------- Webfonts (self-hosted, latin + latin-ext subset) ----------
   Bestanden komen via _scripts/fonts-ophalen.sh in assets/fonts/. Ontbreken
   ze, dan valt de site stil terug op de systeem-stack in de tokens. */

/* Barlow Semi Condensed (koppen), subset latin, op 22 nov 2026 opgehaald van Google Fonts (fonts.gstatic.com).
   700 voor koppen, 600 voor kleine koppen, 800 cursief voor het woordmerk. Tekens buiten latin vallen terug op Figtree. */
@font-face {
	font-family: 'Barlow Semi Condensed';
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url('../fonts/barlow-semi-condensed-latin-600.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Barlow Semi Condensed';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url('../fonts/barlow-semi-condensed-latin-700.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Barlow Semi Condensed';
	font-style: italic;
	font-weight: 800;
	font-display: swap;
	src: url('../fonts/barlow-semi-condensed-latin-800italic.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Figtree';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('../fonts/figtree-latin_latin-ext-regular.woff2') format('woff2');
}
@font-face {
	font-family: 'Figtree';
	font-style: italic;
	font-weight: 400;
	font-display: swap;
	src: url('../fonts/figtree-latin_latin-ext-italic.woff2') format('woff2');
}
@font-face {
	font-family: 'Figtree';
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url('../fonts/figtree-latin_latin-ext-500.woff2') format('woff2');
}
@font-face {
	font-family: 'Figtree';
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url('../fonts/figtree-latin_latin-ext-600.woff2') format('woff2');
}
@font-face {
	font-family: 'Figtree';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url('../fonts/figtree-latin_latin-ext-700.woff2') format('woff2');
}

/* ---------- Design tokens ----------
   Paletwissel = alleen dit blok aanpassen. oh-content-styles.php leest deze
   :root-regels ook in voor de blok-editor. */
:root {
	/* Palet A "Baan", gekozen door Sjoerd op 22 nov 2026: de twee logokleuren (rood en zwart),
	   met het petrol van palet B als steunkleur ("die dageraad kleur mag wel als blauw erbij").
	   Rood = alles waar je op klikt en elk prijsvoordeel. Petrol = rustige vlakken (banden, kaarten
	   zonder foto, tipblokken, de kop van een artikel). Bijna-zwart = tekst, tabelkoppen, footer.
	   Nooit rode tekst op donker (3,2:1): daar --oh-accent-on-dark. Zie website-design/brand-guidelines.md. */
	--oh-primary: #1b1a1c;          /* bijna-zwart: zware knoppen, tabelkoppen, header-rand */
	--oh-primary-rgb: 27,26,28;
	--oh-primary-dark: #121113;     /* hover, donkere banden */
	--oh-primary-dark-rgb: 18,17,19;
	--oh-primary-darker: #0a090a;   /* footer en de donkerste banden */
	--oh-primary-tint: #f5f4f6;     /* lichte neutrale panelen */
	--oh-primary-tint-2: #e6e4e8;
	--oh-secondary: #0f3d4a;        /* petrol: pillar-band, kaarten zonder foto, tipblokken */
	--oh-secondary-rgb: 15,61,74;
	--oh-secondary-dark: #0a2c36;
	--oh-secondary-dark-rgb: 10,44,54;
	--oh-secondary-light-rgb: 44,110,128; /* lichte gloed op een petrol band */
	--oh-secondary-tint: #eaf4f5;   /* lichte petrol vlakken: kaarten zonder foto, tipblokken */
	--oh-accent: #d80000;           /* logorood: knoppen en labels, met witte tekst (5,4:1) */
	--oh-accent-rgb: 216,0,0;
	--oh-accent-dark: #b00000;      /* hover op rode vlakken */
	--oh-accent-fg: #ffffff;        /* tekst op een rood vlak */
	--oh-accent-text: #c40000;      /* rood als tekst op wit (6,3:1): links, labels, korting */
	--oh-accent-text-rgb: 196,0,0;
	--oh-accent-tint: #fdf0ee;      /* lichtrood: alleen achter het kortingslabel */
	--oh-accent-on-dark: #ffa8a0;   /* rood op zwart of petrol (6,4:1 op petrol) */
	--oh-ink: #17161a;
	--oh-ink-rgb: 23,22,26;
	--oh-ink-soft: #232228;
	--oh-body: #33323a;
	--oh-muted: #6b6a73;
	--oh-bg: #ffffff;
	--oh-bg-alt: #f7f6f8;
	--oh-card: #ffffff;
	--oh-border: #e6e4e8;
	--oh-danger: #a4161a;           /* foutmeldingen (formulier), 7,6:1 op de tint */
	--oh-danger-tint: #fdecea;
	--oh-danger-border: #f2c4c4;
	--oh-shadow-sm: 0 1px 3px rgba(var(--oh-ink-rgb),0.06);
	--oh-shadow-md: 0 6px 20px rgba(var(--oh-ink-rgb),0.10);
	--oh-shadow-lg: 0 16px 40px rgba(var(--oh-ink-rgb),0.14);
	--oh-radius-sm: 6px;
	--oh-radius: 10px;
	--oh-radius-lg: 14px;
	--oh-font-body: 'Figtree', -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
	--oh-font-heading: 'Barlow Semi Condensed', 'Arial Narrow', 'Figtree', -apple-system, system-ui, "Segoe UI", Helvetica, Arial, sans-serif;
	--oh-heading-stretch: 100%;      /* Barlow Semi Condensed is zelf al smal; geen breedte-as */
	--oh-font-mono: 'SF Mono', Consolas, 'Liberation Mono', monospace;
	--oh-max: 1280px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; }
img, svg, video, canvas { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 0.4em; }
p { margin: 0 0 1em; }
figure { margin: 0; }

/* ---------- Base typografie ---------- */
body {
	font-family: var(--oh-font-body);
	color: var(--oh-body);
	background: var(--oh-bg);
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, h5, h6 {
	font-family: var(--oh-font-heading);
	font-stretch: var(--oh-heading-stretch);
	color: var(--oh-ink);
	letter-spacing: -0.01em;
	font-weight: 700;
}
a { color: var(--oh-primary-dark); text-decoration: none; transition: color 0.15s ease; }
a:hover, a:focus { color: var(--oh-accent-text); }

/* Skip link */
.oh-skip-link {
	position: absolute;
	left: -9999px;
	top: 8px;
	background: var(--oh-ink);
	color: #fff;
	padding: 10px 16px;
	border-radius: var(--oh-radius-sm);
	font-weight: 600;
	z-index: 200;
}
.oh-skip-link:focus { left: 8px; color: #fff; }

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

/* ---------- Site header (light met gradient-strip onderin) ---------- */
.oh-site-header {
	background: var(--oh-card);
	position: sticky;
	top: 0;
	z-index: 100;
	transition: box-shadow 0.22s ease;
	background-image:
		linear-gradient(var(--oh-card), var(--oh-card)),
		linear-gradient(90deg, var(--oh-primary) 0%, var(--oh-primary-dark) 40%, var(--oh-accent) 100%);
	background-position: top, bottom;
	background-size: 100% calc(100% - 3px), 100% 3px;
	background-repeat: no-repeat;
}
.oh-site-header.oh-is-scrolled { box-shadow: var(--oh-shadow-sm); }
.oh-site-header__row {
	max-width: var(--oh-max);
	margin: 0 auto;
	padding: 0 24px;
	height: 96px;
	display: flex;
	align-items: center;
	gap: 28px;
	transition: height 0.22s ease;
}
.oh-site-header__logo { flex-shrink: 0; }
.oh-logo-image,
.oh-site-header__logo img,
.oh-site-header__logo .custom-logo {
	height: 54px !important;
	width: auto !important;
	display: block;
	transition: height 0.22s ease;
}
.oh-site-header.oh-is-scrolled .oh-site-header__row { height: 64px; }
.oh-site-header.oh-is-scrolled .oh-logo-image,
.oh-site-header.oh-is-scrolled .oh-site-header__logo img,
.oh-site-header.oh-is-scrolled .oh-site-header__logo .custom-logo {
	height: 38px !important;
}

.oh-site-header__nav { display: flex; }
.oh-site-header__nav .oh-menu {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	gap: 2px;
}
.oh-menu-item { position: relative; }
.oh-menu-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 10px 14px;
	font-size: 14px;
	font-weight: 500;
	color: var(--oh-body);
	border-radius: var(--oh-radius-sm);
	transition: color 0.15s ease, background 0.15s ease;
}
.oh-menu-link:hover,
.oh-menu-link:focus {
	color: var(--oh-primary-dark);
	background: var(--oh-primary-tint);
}
.oh-menu-item.is-current > .oh-menu-link {
	color: var(--oh-primary-dark);
	font-weight: 600;
}
.oh-menu-item.is-current > .oh-menu-link::after {
	content: "";
	position: absolute;
	left: 14px; right: 14px;
	bottom: -15px;
	height: 3px;
	background: var(--oh-primary);
	border-radius: 2px 2px 0 0;
	z-index: 2;
}
.oh-menu-chev { opacity: 0.6; flex-shrink: 0; }

/* Submenu */
.oh-submenu {
	list-style: none;
	padding: 6px;
	margin: 0;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 240px;
	background: var(--oh-card);
	border: 1px solid var(--oh-border);
	border-radius: var(--oh-radius-sm);
	box-shadow: var(--oh-shadow-md);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-4px);
	transition: all 0.15s ease;
	margin-top: 4px;
	z-index: 50;
}
.oh-menu-item.has-submenu:hover > .oh-submenu,
.oh-menu-item.has-submenu:focus-within > .oh-submenu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}
.oh-submenu .oh-menu-link { padding: 10px 14px; font-size: 14px; }
.oh-submenu .oh-menu-item { position: relative; }

/* Search form in header */
.oh-site-header__search {
	margin-left: auto;
	display: flex;
	align-items: center;
	background: var(--oh-bg);
	border: 1px solid var(--oh-border);
	border-radius: 999px;
	padding: 0 16px;
	height: 38px;
	min-width: 260px;
	transition: all 0.15s ease;
}
.oh-site-header__search:focus-within {
	background: var(--oh-card);
	border-color: var(--oh-primary);
	box-shadow: 0 0 0 3px var(--oh-primary-tint);
}
.oh-site-header__search svg { color: var(--oh-muted); margin-right: 8px; flex-shrink: 0; }
.oh-site-header__search input {
	border: 0;
	background: transparent;
	outline: none;
	font: inherit;
	font-size: 13px;
	width: 100%;
	color: var(--oh-ink);
}
.oh-site-header__search input::placeholder { color: var(--oh-muted); }

/* Header CTA */
.oh-site-header__cta {
	background: var(--oh-primary);
	color: #fff;
	padding: 9px 16px;
	border-radius: var(--oh-radius-sm);
	font-weight: 600;
	font-size: 13px;
	white-space: nowrap;
}
.oh-site-header__cta:hover { background: var(--oh-primary-dark); color: #fff; }

/* Mobile burger */
.oh-site-header__burger {
	display: none;
	background: transparent;
	border: 0;
	padding: 8px;
	color: var(--oh-ink);
	cursor: pointer;
	margin-left: auto;
}

/* Mobile menu (hidden by default) */
.oh-mobile-menu { display: none; }
.oh-mobile-menu[aria-hidden="false"],
.oh-mobile-menu.is-open { display: block; }
.oh-mobile-menu__list {
	list-style: none;
	padding: 12px 16px 20px;
	margin: 0;
	background: var(--oh-card);
	border-top: 1px solid var(--oh-border);
}
.oh-mobile-menu__list li { padding: 8px 0; border-bottom: 1px solid var(--oh-border); }
.oh-mobile-menu__list li:last-child { border-bottom: 0; }
.oh-mobile-menu__list a { color: var(--oh-ink); font-weight: 500; font-size: 15px; }
.oh-mobile-menu__list .sub-menu { list-style: none; padding: 8px 0 0 16px; display: none; }
/* Het categoriemenu heeft ruim honderd subitems: dicht tot je de pijl aantikt (site.js). */
.oh-mobile-menu__list li.menu-item-has-children { display: flex; flex-wrap: wrap; align-items: center; }
.oh-mobile-menu__list li.menu-item-has-children > a { flex: 1; }
.oh-mobile-menu__list li.is-expanded > .sub-menu { display: block; flex-basis: 100%; }
.oh-sub-toggle {
	background: transparent;
	border: 0;
	padding: 6px 10px;
	margin: -6px -10px -6px 0;
	color: var(--oh-muted);
	cursor: pointer;
	line-height: 0;
}
.oh-sub-toggle svg { transition: transform 0.15s ease; }
.oh-mobile-menu__list li.is-expanded > .oh-sub-toggle svg { transform: rotate(180deg); }

/* Twee rijen op desktop. Het categoriemenu van Onlinehardloper heeft twaalf
   hoofditems (menu 11, "categorieën"); naast logo en zoekveld past dat op geen
   enkel scherm. Rij 1: logo en zoeken, rij 2: het menu over de volle breedte.
   Gemeten op 18 okt 2026: de twaalf items samen zijn 1.135 px breed, dus onder
   1.200 px viewport gaat het menu in de hamburger. */
@media (min-width: 1200px) {
	.oh-site-header__row { flex-wrap: wrap; height: auto; row-gap: 0; padding-top: 14px; }
	.oh-site-header.oh-is-scrolled .oh-site-header__row { height: auto; padding-top: 8px; }
	.oh-site-header__logo { order: 1; }
	.oh-site-header__search { order: 2; }
	.oh-site-header__cta { order: 3; }
	.oh-site-header__nav { order: 4; flex: 0 0 100%; border-top: 1px solid var(--oh-border); margin-top: 14px; }
	.oh-site-header.oh-is-scrolled .oh-site-header__nav { margin-top: 8px; }
	.oh-site-header__nav .oh-menu { width: 100%; justify-content: space-between; gap: 0; }
	.oh-site-header__nav .oh-menu > .oh-menu-item > .oh-menu-link { padding: 12px 10px; font-weight: 600; }
	.oh-menu-item.is-current > .oh-menu-link::after { bottom: -3px; }
	/* Submenu's van de laatste drie items rechts uitlijnen, anders steken ze
	   (ook onzichtbaar) buiten beeld en krijgt de pagina een horizontale scrollbalk. */
	.oh-site-header__nav .oh-menu > .oh-menu-item:nth-last-child(-n+3) > .oh-submenu { left: auto; right: 0; }
}
@media (max-width: 1199px) {
	.oh-site-header__nav { display: none; }
	.oh-site-header__burger { display: flex; }
	.oh-site-header__search { margin-left: auto; }
	.oh-site-header__burger { margin-left: 0; }
}
@media (max-width: 900px) {
	.oh-site-header__row { padding: 0 16px; height: 76px; gap: 12px; }
	.oh-logo-image,
	/* Het liggende logo is breed (649×153, 4,2:1): 44px hoog is ~186px breed, past naast de burger. */
	.oh-site-header__logo img { height: 52px !important; }
	.oh-site-header.oh-is-scrolled .oh-site-header__row { height: 56px; }
	.oh-site-header.oh-is-scrolled .oh-logo-image,
	.oh-site-header.oh-is-scrolled .oh-site-header__logo img { height: 34px !important; }
	.oh-site-header__search { display: none; }
	.oh-site-header__cta { display: none; }
	.oh-site-header__burger { margin-left: auto; }
}

/* ---------- Site main ---------- */
.oh-site-main { outline: none; }

/* ---------- Top grid (homepage — 6 gelijke cards) ---------- */
.oh-mosaic {
	max-width: var(--oh-max);
	margin: 0 auto;
	padding: 32px 24px 0;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}
.oh-mosaic__card {
	background: var(--oh-card);
	border: 1px solid var(--oh-border);
	border-radius: var(--oh-radius);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	color: inherit;
	text-decoration: none;
	transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.oh-mosaic__card:hover {
	transform: translateY(-3px);
	box-shadow: var(--oh-shadow-md);
	border-color: rgba(var(--oh-primary-rgb),0.2);
	color: inherit;
}
.oh-mosaic__card-img {
	aspect-ratio: 1200 / 630;
	overflow: hidden;
	background: linear-gradient(135deg, var(--oh-secondary-tint), var(--oh-primary-tint-2));
}
.oh-mosaic__card-img img { width: 100%; height: 100%; object-fit: cover; }
.oh-mosaic__card-body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.oh-mosaic__card-cat { font-size: 11px; font-weight: 700; color: var(--oh-accent-text); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 6px; }
.oh-mosaic__card-title { font-size: 17px; font-weight: 700; line-height: 1.3; color: var(--oh-ink); margin: 0 0 8px; letter-spacing: -0.01em; }
.oh-mosaic__card-meta { margin-top: auto; font-size: 12px; color: var(--oh-muted); }

@media (max-width: 900px) {
	.oh-mosaic { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
	.oh-mosaic { grid-template-columns: 1fr; }
}

/* ---------- Hero-intro (boven mosaic) — SITEBREED ---------- */
.oh-hero-intro {
	padding: 72px 0 48px;
	position: relative;
	overflow: hidden;
}
/* Achtergrondlaag: zachte radial gradients + dots pattern voor diepte — full width */
.oh-hero-intro::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse at 92% 10%, rgba(var(--oh-primary-rgb),0.14), transparent 55%),
		radial-gradient(ellipse at 5% 95%, rgba(var(--oh-accent-rgb),0.09), transparent 50%),
		radial-gradient(circle at 1px 1px, rgba(var(--oh-ink-rgb),0.05) 1px, transparent 0);
	background-size: auto, auto, 22px 22px;
	background-position: 0 0, 0 0, 24px 24px;
	pointer-events: none;
	z-index: 0;
}
@keyframes oh-shimmer {
	0%, 100% { background-position: 0% 0%; }
	50%      { background-position: 100% 0%; }
}
/* Decoratieve blobs — nu over de volle breedte, mooier effect */
.oh-hero-intro__blob {
	position: absolute;
	right: -3%;
	top: 50%;
	transform: translateY(-50%);
	width: 380px;
	height: 380px;
	border-radius: 50%;
	background: radial-gradient(circle at 30% 30%, var(--oh-primary-tint-2), transparent 70%);
	filter: blur(10px);
	opacity: 0.7;
	pointer-events: none;
	z-index: 0;
}
.oh-hero-intro__blob--accent {
	right: auto;
	left: -3%;
	top: 80%;
	width: 220px;
	height: 220px;
	background: radial-gradient(circle at 50% 50%, var(--oh-accent-tint), transparent 70%);
	opacity: 0.55;
}
/* Inner wrapper — constraint content naar container-breedte */
.oh-hero-intro__inner {
	position: relative;
	z-index: 2;
	max-width: var(--oh-max);
	margin: 0 auto;
	padding: 22px 24px 0;
}
/* Animated gradient strip — aligned met content-kolom */
.oh-hero-intro__inner::before {
	content: "";
	position: absolute;
	left: 24px; top: 0;
	width: 96px; height: 4px;
	background: linear-gradient(90deg, var(--oh-primary) 0%, var(--oh-accent) 50%, var(--oh-primary) 100%);
	background-size: 200% 100%;
	border-radius: 2px;
	animation: oh-shimmer 3.6s ease-in-out infinite;
}
.oh-hero-intro__title {
	font-size: clamp(30px, 4.8vw, 44px);
	font-weight: 800;
	letter-spacing: -0.025em;
	line-height: 1.1;
	color: var(--oh-ink);
	margin: 0 0 16px;
	max-width: 720px;
	opacity: 0;
	transform: translateY(12px);
	animation: oh-fade-up 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) 0.1s forwards;
}
.oh-hero-intro__body {
	font-size: 17px;
	line-height: 1.65;
	color: var(--oh-body);
	margin: 0 0 26px;
	max-width: 620px;
	opacity: 0;
	transform: translateY(12px);
	animation: oh-fade-up 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) 0.25s forwards;
}
.oh-hero-intro__ctas {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	opacity: 0;
	transform: translateY(12px);
	animation: oh-fade-up 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) 0.4s forwards;
}
@keyframes oh-fade-up {
	to {
		opacity: 1;
		transform: translateY(0);
	}
}
.oh-hero-intro__cta {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 12px 22px;
	border-radius: var(--oh-radius-sm);
	font-weight: 600;
	font-size: 14px;
	transition: all 0.18s cubic-bezier(0.2, 0.8, 0.2, 1);
	position: relative;
}
.oh-hero-intro__cta--primary {
	background: var(--oh-primary);
	color: #fff;
	box-shadow: 0 2px 0 rgba(var(--oh-primary-dark-rgb),0.12);
}
.oh-hero-intro__cta--primary:hover {
	background: var(--oh-primary-dark);
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(var(--oh-primary-rgb),0.28);
}
.oh-hero-intro__cta--secondary {
	background: rgba(255,255,255,0.6);
	color: var(--oh-primary-dark);
	border: 1px solid var(--oh-border);
	backdrop-filter: blur(4px);
}
.oh-hero-intro__cta--secondary:hover {
	background: var(--oh-primary-tint);
	border-color: var(--oh-primary);
	color: var(--oh-primary-dark);
	transform: translateY(-2px);
}

/* Accessibility — respecteer reduced-motion voorkeuren */
@media (prefers-reduced-motion: reduce) {
	.oh-hero-intro__inner::before,
	.oh-hero-intro__title,
	.oh-hero-intro__body,
	.oh-hero-intro__ctas {
		animation: none;
		opacity: 1;
		transform: none;
	}
	.oh-hero-intro__cta:hover {
		transform: none;
	}
}

@media (max-width: 860px) {
	.oh-hero-intro__blob { width: 240px; height: 240px; right: -8%; }
	.oh-hero-intro__blob--accent { width: 140px; height: 140px; left: -8%; }
}
@media (max-width: 540px) {
	.oh-hero-intro { padding: 48px 0 32px; }
	.oh-hero-intro__inner { padding: 18px 20px 0; }
	.oh-hero-intro__inner::before { left: 20px; width: 72px; }
	.oh-hero-intro__title { font-size: clamp(26px, 7vw, 34px); }
	.oh-hero-intro__body { font-size: 16px; }
	.oh-hero-intro__blob { display: none; }
	.oh-hero-intro__blob--accent { display: none; }
}

/* ---------- Recent bijgewerkt section ---------- */
.oh-home-section--recent { margin-top: 56px; }
.oh-home-section--recent .oh-home-section__head .count {
	text-transform: none;
	letter-spacing: normal;
	font-weight: 500;
	font-style: italic;
	color: var(--oh-muted);
}

/* ---------- Over Onlinehardloper teaser ---------- */
.oh-about-teaser {
	max-width: var(--oh-max);
	margin: 64px auto 0;
	padding: 0 24px;
}
.oh-about-teaser__inner {
	background: var(--oh-card);
	border: 1px solid var(--oh-border);
	border-radius: var(--oh-radius-lg);
	padding: 36px 40px;
	display: grid;
	grid-template-columns: 180px 1fr;
	gap: 36px;
	align-items: center;
	box-shadow: var(--oh-shadow-sm);
	position: relative;
	overflow: hidden;
}
.oh-about-teaser__inner::before {
	content: "";
	position: absolute;
	right: -20%; top: 50%;
	width: 360px; height: 360px;
	background: radial-gradient(circle, var(--oh-primary-tint), transparent 70%);
	transform: translateY(-50%);
	pointer-events: none;
}
.oh-about-teaser__inner::after {
	content: "";
	position: absolute;
	left: 0; top: 0; bottom: 0;
	width: 4px;
	background: linear-gradient(180deg, var(--oh-primary) 0%, var(--oh-accent) 100%);
}
.oh-about-teaser__avatar {
	width: 180px;
	height: 180px;
	aspect-ratio: 1 / 1;
	border-radius: 18px;
	background: linear-gradient(135deg, var(--oh-primary), var(--oh-primary-dark));
	overflow: hidden;
	flex-shrink: 0;
	position: relative;
	z-index: 1;
	box-shadow: 0 8px 24px rgba(var(--oh-primary-rgb),0.18), 0 2px 6px rgba(0,0,0,0.06);
}
.oh-about-teaser__avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
	border-radius: 18px;
	display: block;
}
.oh-about-teaser__body { position: relative; z-index: 1; min-width: 0; }
.oh-about-teaser__kicker {
	display: inline-block;
	font-size: 11px;
	font-weight: 700;
	color: var(--oh-primary-dark);
	text-transform: uppercase;
	letter-spacing: 0.14em;
	margin-bottom: 10px;
	padding: 4px 10px;
	background: var(--oh-primary-tint);
	border-radius: 999px;
}
.oh-about-teaser__title {
	font-size: 24px;
	font-weight: 800;
	color: var(--oh-ink);
	margin: 0 0 10px;
	letter-spacing: -0.02em;
	line-height: 1.2;
}
.oh-about-teaser__text {
	font-size: 15px;
	line-height: 1.65;
	color: var(--oh-body);
	margin: 0 0 16px;
	max-width: 640px;
}
.oh-about-teaser__link {
	color: var(--oh-primary-dark);
	font-weight: 600;
	font-size: 14px;
	display: inline-block;
	border-bottom: 1px solid transparent;
	transition: border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.oh-about-teaser__link:hover {
	color: var(--oh-accent-text);
	border-bottom-color: var(--oh-accent);
	transform: translateX(2px);
}

@media (max-width: 640px) {
	.oh-about-teaser__inner {
		grid-template-columns: 1fr;
		gap: 20px;
		text-align: center;
		padding: 28px 24px;
	}
	.oh-about-teaser__inner::after { width: 100%; height: 4px; bottom: auto; background: linear-gradient(90deg, var(--oh-primary) 0%, var(--oh-accent) 100%); }
	.oh-about-teaser__avatar {
		margin: 0 auto;
		width: 140px;
		height: 140px;
		border-radius: 16px;
	}
	.oh-about-teaser__avatar img { border-radius: 16px; }
	.oh-about-teaser__text { margin-left: auto; margin-right: auto; }
}

/* ---------- Over-ons hero (page-over-ons.php) ----------
   Variant C: actiefoto als hoofdbeeld + profielfoto als overlay rechtsonder
   naast de naam/rol/meta-strip. Beide bronfoto's zijn verticaal 3:4.
   ---------------------------------------------------------------- */
.oh-over-hero {
	background: var(--oh-card);
	border: 1px solid var(--oh-border);
	border-radius: var(--oh-radius-lg);
	padding: 40px;
	box-shadow: var(--oh-shadow-sm);
	position: relative;
	overflow: hidden;
	margin: 0 0 40px;
}
.oh-over-hero::before {
	content: "";
	position: absolute;
	left: 0; top: 0; bottom: 0;
	width: 4px;
	background: linear-gradient(180deg, var(--oh-primary) 0%, var(--oh-accent) 100%);
}
.oh-over-hero__grid {
	display: grid;
	/* Beide kolommen meebewegend. Stond eerder op een vaste 380px voor de foto;
	   binnen de post-wrap (630px inhoud) bleef er dan 202px over voor de naam,
	   die daardoor werd afgekapt. */
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
	gap: 32px;
	align-items: center;
}
.oh-over-hero__photos {
	position: relative;
	aspect-ratio: 3 / 4;
}
.oh-over-hero__action {
	position: absolute;
	inset: 0;
	border-radius: var(--oh-radius-lg);
	overflow: hidden;
	box-shadow: var(--oh-shadow-md);
	background: var(--oh-primary-tint);
}
.oh-over-hero__action img {
	width: 100%; height: 100%;
	object-fit: cover;
	object-position: center center;
	display: block;
}
.oh-over-hero__profile {
	position: absolute;
	right: -24px;
	bottom: -24px;
	width: 46%;
	aspect-ratio: 3 / 4;
	border-radius: var(--oh-radius-lg);
	overflow: hidden;
	border: 4px solid var(--oh-card);
	box-shadow: 0 12px 32px rgba(0,0,0,0.18);
	background: var(--oh-card);
}
.oh-over-hero__profile img {
	width: 100%; height: 100%;
	object-fit: cover;
	object-position: center top;
	display: block;
}
.oh-over-hero__body { min-width: 0; }
.oh-over-hero__kicker {
	display: inline-block;
	font-size: 11px;
	font-weight: 700;
	color: var(--oh-primary-dark);
	text-transform: uppercase;
	letter-spacing: 0.14em;
	padding: 4px 10px;
	background: var(--oh-primary-tint);
	border-radius: 999px;
	margin-bottom: 14px;
}
.oh-over-hero__name {
	font-size: clamp(24px, 3.2vw, 34px);
	font-weight: 700;
	overflow-wrap: anywhere;
	letter-spacing: -0.02em;
	color: var(--oh-ink);
	margin: 0 0 12px;
	line-height: 1.2;
}
.oh-over-hero__role {
	font-size: 14px;
	color: var(--oh-muted);
	margin: 0 0 24px;
	font-weight: 500;
}
.oh-over-hero__meta {
	display: flex;
	gap: 24px;
	flex-wrap: wrap;
	padding-top: 20px;
	border-top: 1px solid var(--oh-border);
	margin: 0;
}
.oh-over-hero__meta-item {
	display: flex;
	flex-direction: column;
	gap: 2px;
	margin: 0;
}
.oh-over-hero__meta-label {
	font-size: 11px;
	font-weight: 700;
	color: var(--oh-muted);
	text-transform: uppercase;
	letter-spacing: 0.1em;
	margin: 0;
}
.oh-over-hero__meta-value {
	font-size: 16px;
	font-weight: 700;
	color: var(--oh-ink);
	margin: 0;
}

@media (max-width: 820px) {
	.oh-over-hero { padding: 28px 20px; }
	.oh-over-hero__grid { grid-template-columns: 1fr; gap: 36px; }
	.oh-over-hero__photos { max-width: 320px; margin: 0 auto; }
	.oh-over-hero__name { font-size: 28px; }
	.oh-over-hero__meta { justify-content: space-between; gap: 16px; }
}

/* Alleen een portret, geen actiefoto (Onlinehardloper, okt 2026: een getekend
   rond portret): groot en rond in de fotokolom in plaats van als kleine overlay. */
.oh-over-hero--alleen-portret .oh-over-hero__photos { aspect-ratio: 1 / 1; max-width: 260px; justify-self: center; width: 100%; }
.oh-over-hero--alleen-portret .oh-over-hero__profile {
	position: static;
	width: 100%;
	aspect-ratio: 1 / 1;
	border-radius: 50%;
	border: 0;
	box-shadow: none;
	background: transparent;
}
@media (max-width: 820px) {
	.oh-over-hero--alleen-portret .oh-over-hero__photos { max-width: 200px; }
}

/* Fallback: geen foto's geüpload → grid strekt body over volle breedte,
   zachte accent-strook blijft zichtbaar aan de linkerzijde. */
.oh-over-hero--no-photos .oh-over-hero__grid {
	grid-template-columns: 1fr;
	max-width: 720px;
}

/* ---------- Pillar dark band ---------- */
.oh-pillar { max-width: var(--oh-max); margin: 48px auto 0; padding: 0 24px; }
.oh-pillar__inner {
	background: var(--oh-secondary);
	color: #fff;
	border-radius: var(--oh-radius-lg);
	padding: 40px;
	display: grid; grid-template-columns: 1fr 2fr; gap: 36px;
	position: relative;
	overflow: hidden;
}
.oh-pillar__inner::before {
	content: "";
	position: absolute;
	right: -10%; top: -30%;
	width: 500px; height: 500px;
	background: radial-gradient(circle, rgba(var(--oh-secondary-light-rgb),0.45), transparent 60%);
	pointer-events: none;
}
.oh-pillar__side { position: relative; z-index: 1; }
.oh-pillar__kicker { font-size: 11px; font-weight: 700; color: var(--oh-accent-on-dark); text-transform: uppercase; letter-spacing: 0.15em; margin-bottom: 12px; }
.oh-pillar__title { font-size: 36px; font-weight: 800; margin: 0 0 14px; letter-spacing: -0.025em; color: #fff; line-height: 1.05; }
.oh-pillar__desc { font-size: 15px; color: rgba(255,255,255,0.82); line-height: 1.5; margin: 0 0 20px; max-width: 340px; }
.oh-pillar__cta {
	display: inline-block;
	background: var(--oh-accent); color: var(--oh-accent-fg);
	padding: 11px 20px; border-radius: var(--oh-radius-sm);
	font-size: 14px; font-weight: 600;
}
.oh-pillar__cta:hover { background: var(--oh-card); color: var(--oh-ink); }
.oh-pillar__posts { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.oh-pillar__post {
	background: rgba(255,255,255,0.06);
	border: 1px solid rgba(255,255,255,0.08);
	border-radius: var(--oh-radius-sm);
	padding: 16px;
	color: #fff;
	transition: background 0.15s ease, transform 0.15s ease;
}
.oh-pillar__post:hover { background: rgba(255,255,255,0.12); color: #fff; transform: translateY(-2px); }
.oh-pillar__post .cat { font-size: 10px; font-weight: 700; color: var(--oh-accent-on-dark); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 6px; }
.oh-pillar__post h3 { font-size: 15px; font-weight: 700; color: #fff; margin: 0 0 4px; line-height: 1.3; }
.oh-pillar__post p { font-size: 11px; color: rgba(255,255,255,0.55); margin: 0; }

@media (max-width: 860px) {
	.oh-pillar__inner { grid-template-columns: 1fr; padding: 28px; gap: 24px; }
	.oh-pillar__posts { grid-template-columns: 1fr; }
	.oh-pillar__title { font-size: 28px; }
}

/* ---------- Home section + card-grid ---------- */
.oh-home-section { max-width: var(--oh-max); margin: 48px auto 0; padding: 0 24px; }
.oh-home-section__head {
	display: flex; align-items: baseline; gap: 14px;
	margin: 0 0 20px;
	padding-bottom: 12px;
	position: relative;
}
.oh-home-section__head::after {
	content: "";
	position: absolute;
	left: 0; bottom: 0;
	width: 60px; height: 4px;
	background: linear-gradient(90deg, var(--oh-primary), var(--oh-accent));
	border-radius: 2px;
}
.oh-home-section__head h2 { font-size: 24px; font-weight: 800; color: var(--oh-ink); margin: 0; letter-spacing: -0.015em; }
.oh-home-section__head .count { font-size: 12px; color: var(--oh-muted); font-weight: 600; }
.oh-home-section__head .all { margin-left: auto; font-size: 13px; font-weight: 600; color: var(--oh-primary-dark); }
.oh-home-section__head .all:hover { color: var(--oh-accent-text); }

.oh-card-grid {
	display: grid;
	/* Minimum 320px per card: vermijdt dat lange Nederlandse woorden als
	   "hardloopaccessoires" op smalle cards constant moeten hyphenaten. */
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 20px;
}

.oh-card {
	background: var(--oh-card);
	border: 1px solid var(--oh-border);
	border-radius: var(--oh-radius);
	overflow: hidden;
	display: flex; flex-direction: column;
	transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
	margin: 0;
}
.oh-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--oh-shadow-md);
	border-color: rgba(var(--oh-primary-rgb),0.2);
}
.oh-card__img-link { display: block; color: inherit; }
.oh-card__img {
	aspect-ratio: 1200 / 630;
	overflow: hidden;
	position: relative;
	background: linear-gradient(135deg, var(--oh-secondary-tint), var(--oh-primary-tint-2));
}
.oh-card__img img,
.oh-card__img-el { width: 100%; height: 100%; object-fit: cover; display: block; }
.oh-card__badge {
	position: absolute; top: 12px; left: 12px;
	background: var(--oh-card); color: var(--oh-primary-dark);
	font-size: 11px; font-weight: 700;
	text-transform: uppercase; letter-spacing: 0.08em;
	padding: 4px 10px; border-radius: 3px;
	box-shadow: var(--oh-shadow-sm);
}
.oh-card__badge--green { background: var(--oh-primary); color: #fff; }
.oh-card__badge--accent { background: var(--oh-accent); color: var(--oh-accent-fg); }
.oh-card__body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.oh-card__cat { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 6px; }
.oh-card__cat a { color: var(--oh-accent-text); }
.oh-card__cat a:hover { color: var(--oh-accent-text); }
.oh-card__title {
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
	margin: 0 0 8px;
	letter-spacing: -0.01em;
	/* Alleen breken als woord echt niet past — geen proactieve hyphenation
	   die woorden als "hardloopaccessoires" onnodig splitst. */
	overflow-wrap: break-word;
	word-break: normal;
	hyphens: manual;
}
.oh-card__title a { color: var(--oh-ink); }
.oh-card__title a:hover { color: var(--oh-primary-dark); }
.oh-card__excerpt {
	font-size: 13px;
	color: var(--oh-body);
	margin: 0 0 14px;
	overflow-wrap: break-word;
	hyphens: manual;
}
.oh-card__meta {
	margin-top: auto;
	font-size: 12px;
	color: var(--oh-muted);
	display: flex;
	align-items: center;
	gap: 8px;
}
.oh-card__avatar,
.oh-card__meta img {
	width: 22px !important; height: 22px !important;
	border-radius: 50%;
	flex-shrink: 0;
}

/* ---------- Archive ---------- */
.oh-archive__hero {
	background: var(--oh-secondary);
	color: #fff;
	padding: 72px 24px 56px;
	position: relative;
	overflow: hidden;
}
.oh-archive__hero::before {
	content: "";
	position: absolute; inset: 0;
	background:
		radial-gradient(ellipse at 100% 20%, rgba(var(--oh-secondary-dark-rgb),0.7), transparent 55%),
		radial-gradient(ellipse at 0% 100%, rgba(var(--oh-secondary-light-rgb),0.45), transparent 50%);
	pointer-events: none;
}
.oh-archive__hero-inner {
	position: relative;
	max-width: var(--oh-max);
	margin: 0 auto;
}
.oh-archive__eyebrow { font-size: 11px; font-weight: 700; color: var(--oh-accent-on-dark); text-transform: uppercase; letter-spacing: 0.15em; margin-bottom: 14px; }
.oh-archive__title {
	font-size: clamp(36px, 6vw, 56px);
	font-weight: 800; color: #fff;
	margin: 0 0 16px;
	line-height: 1; letter-spacing: -0.03em;
}
.oh-archive__desc { font-size: 17px; color: rgba(255,255,255,0.82); line-height: 1.55; max-width: 620px; margin: 0 0 20px; }
.oh-archive__desc p { margin-bottom: 0.6em; }
.oh-archive__stats { display: flex; gap: 20px; flex-wrap: wrap; font-size: 13px; color: rgba(255,255,255,0.7); }
.oh-archive__stats strong { color: #fff; font-weight: 700; }

.oh-archive__body {
	max-width: var(--oh-max);
	margin: 0 auto;
	padding: 32px 24px 48px;
	display: grid;
	grid-template-columns: 1fr 280px;
	gap: 32px;
}
@media (max-width: 900px) {
	.oh-archive__body { grid-template-columns: 1fr; }
}
.oh-archive__content { min-width: 0; }
/* Archive-grid explicit: 3 kolommen op desktop, 2 op tablet, 1 op mobiel.
   Expliciet (geen auto-fill/auto-fit) om te voorkomen dat lege kolommen of
   min-track-breedte tot smalle cards of witruimte leiden. Matcht Hockeyblog. */
.oh-archive__content .oh-card-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}
@media (max-width: 1100px) {
	.oh-archive__content .oh-card-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media (max-width: 600px) {
	.oh-archive__content .oh-card-grid {
		grid-template-columns: minmax(0, 1fr);
	}
}
/* Lange NL-samengestelde woorden (hardloopaccessoires, trailschoenen, hardloophorloges)
   passen op ~300px kaart-breedte soms niet in één regel. Laat browser op
   lettergreep-grens breken via NL-hyphenation (werkt via <html lang="nl">). */
.oh-archive__content .oh-card__title,
.oh-archive__content .oh-card__excerpt {
	hyphens: auto;
	-webkit-hyphens: auto;
}

/* ---------- Categorie-hub (inc/hub.php, 15 nov 2026) ---------- */
.oh-archive__body--hub { grid-template-columns: minmax(0, 1fr); }
.oh-hub { margin-bottom: 8px; }
.oh-hub__nav { margin: 0 0 32px; }
.oh-hub__nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.oh-hub__nav a {
	display: inline-block; padding: 7px 14px;
	border: 1px solid var(--oh-border); border-radius: 999px;
	background: var(--oh-card); color: var(--oh-primary-dark);
	font-size: 14px; font-weight: 600; text-decoration: none;
	transition: background 0.15s ease, border-color 0.15s ease;
}
.oh-hub__nav a:hover { background: var(--oh-primary-tint); border-color: rgba(var(--oh-primary-rgb),0.25); }
.oh-hub__kop {
	font-stretch: var(--oh-heading-stretch);
	font-family: var(--oh-font-heading);
	font-size: clamp(22px, 3vw, 28px); font-weight: 800; color: var(--oh-ink);
	letter-spacing: -0.02em; line-height: 1.15;
	margin: 0 0 8px; scroll-margin-top: 90px;
}
.oh-hub__cluster-tekst { color: var(--oh-muted); font-size: 15px; margin: 0 0 18px; max-width: 720px; }
.oh-hub__start, .oh-hub__cluster { margin: 0 0 44px; scroll-margin-top: 90px; }
.oh-hub__start .oh-hub__kop { margin-bottom: 18px; }
.oh-archive__content .oh-hub__start-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 600px) {
	.oh-archive__content .oh-hub__start-grid { grid-template-columns: minmax(0, 1fr); }
}
.oh-hub__start-grid .oh-card__title { font-size: 19px; }
.oh-hub__gids {
	max-width: 760px;
	margin: 0 0 48px; padding: 32px 0 0;
	border-top: 1px solid var(--oh-border);
}
.oh-hub__gids > h2:first-child { margin-top: 0; }
.oh-hub__kop--alle { padding-top: 32px; border-top: 1px solid var(--oh-border); }

/* Pagination */
.pagination.navigation,
.navigation.pagination,
.nav-links {
	display: flex; justify-content: center; gap: 4px;
	margin-top: 40px; padding-top: 32px;
	border-top: 1px solid var(--oh-border);
}
.pagination.navigation .nav-links,
.navigation.pagination .nav-links {
	padding-top: 0; border-top: 0;
}
.page-numbers {
	min-width: 40px; height: 40px;
	padding: 0 14px;
	display: inline-flex; align-items: center; justify-content: center;
	border-radius: var(--oh-radius-sm);
	font-size: 14px; font-weight: 500;
	color: var(--oh-body); background: var(--oh-card); border: 1px solid var(--oh-border);
	text-decoration: none;
}
.page-numbers:hover,
.page-numbers:focus { background: var(--oh-primary-tint); border-color: var(--oh-primary); color: var(--oh-primary-dark); }
.page-numbers.current { background: var(--oh-ink); color: #fff; border-color: var(--oh-ink); }

/* ---------- Single post ---------- */
.oh-post__hero-band {
	background: var(--oh-secondary);
	color: #fff;
	padding: 48px 24px 44px;
	position: relative;
	overflow: hidden;
}
.oh-post__hero-band::before {
	content: "";
	position: absolute; inset: 0;
	background:
		radial-gradient(ellipse at 100% 30%, rgba(var(--oh-secondary-dark-rgb),0.7), transparent 55%),
		radial-gradient(ellipse at 0% 100%, rgba(var(--oh-secondary-light-rgb),0.45), transparent 50%);
	pointer-events: none;
}
.oh-post__hero-inner {
	position: relative;
	max-width: 1040px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
	gap: 44px;
	align-items: center;
}
.oh-post__hero-text { min-width: 0; }
.oh-post__hero-image {
	margin: 0;
	aspect-ratio: 1200 / 630;
	border-radius: var(--oh-radius);
	overflow: hidden;
	box-shadow: var(--oh-shadow-lg);
	position: relative;
	z-index: 1;
}
.oh-post__hero-image img { width: 100%; height: 100%; object-fit: cover; display: block; }

.oh-breadcrumb { font-size: 12px; color: rgba(255,255,255,0.55); margin-bottom: 14px; font-weight: 500; }
.oh-breadcrumb a { color: rgba(255,255,255,0.8); }
.oh-breadcrumb a:hover { color: #fff; }
.oh-breadcrumb__sep { opacity: 0.4; }
.oh-post__label {
	display: inline-block;
	background: var(--oh-primary); color: #fff !important;
	font-size: 11px; font-weight: 700;
	text-transform: uppercase; letter-spacing: 0.12em;
	padding: 4px 12px; border-radius: 3px;
	margin-bottom: 14px;
}
.oh-post__title {
	font-size: clamp(28px, 4.4vw, 42px);
	font-weight: 800; color: #fff;
	line-height: 1.1; letter-spacing: -0.025em;
	margin: 0 0 16px;
}
.oh-post__lede { font-size: 17px; color: rgba(255,255,255,0.85); line-height: 1.5; margin: 0 0 20px; }

.oh-post__byline {
	display: flex; align-items: center; gap: 12px;
	padding-top: 18px; margin-top: 4px;
	border-top: 1px solid rgba(255,255,255,0.12);
	font-size: 13px;
}
.oh-post__byline-avatar,
.oh-post__byline img {
	width: 40px !important; height: 40px !important;
	border-radius: 50%;
	flex-shrink: 0;
}
.oh-post__byline-text { display: flex; flex-direction: column; min-width: 0; }
.oh-post__byline-name { color: #fff; font-weight: 600; font-size: 14px; line-height: 1.2; }
.oh-post__byline-meta { color: rgba(255,255,255,0.65); font-size: 12px; margin-top: 2px; }

@media (max-width: 860px) {
	.oh-post__hero-inner {
		grid-template-columns: 1fr;
		gap: 24px;
	}
	.oh-post__hero-image {
		order: -1;  /* Image bovenaan op mobiel; verhouding blijft 1200/630 uit de basisregel */
	}
	.oh-post__hero-band { padding: 36px 20px 32px; }
}

.oh-post__wrap { max-width: 760px; margin: 0 auto; padding: 40px 24px 48px; }

/* Layout met TOC rechts — alleen als de post genoeg H2's heeft */
.oh-post__wrap.has-toc {
	max-width: 1120px;
	display: grid;
	grid-template-columns: minmax(0, 760px) 260px;
	gap: 48px;
	align-items: start;
}
.oh-post__wrap.has-toc > .oh-post { min-width: 0; }

/* Sticky TOC-sidebar */
.oh-post__toc {
	position: sticky;
	top: 96px;                   /* onder de shrink-header */
	align-self: start;
	max-height: calc(100vh - 120px);
	overflow-y: auto;
	padding: 20px 22px;
	background: var(--oh-card);
	border: 1px solid var(--oh-border);
	border-radius: var(--oh-radius);
	box-shadow: var(--oh-shadow-sm);
	font-size: 14px;
	line-height: 1.5;
}
.oh-post__toc-title {
	font-size: 11px;
	font-weight: 700;
	color: var(--oh-primary-dark);
	text-transform: uppercase;
	letter-spacing: 0.14em;
	margin: 0 0 12px;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--oh-primary);
}
.oh-post__toc-list {
	list-style: none;
	padding: 0;
	margin: 0;
	counter-reset: toc-counter;
}
.oh-post__toc-list > li {
	counter-increment: toc-counter;
	margin: 0;
	padding: 6px 0 6px 14px;
	border-left: 2px solid var(--oh-border);
	transition: border-color 0.18s ease, background-color 0.18s ease, padding-left 0.18s ease;
}
.oh-post__toc-list > li:hover,
.oh-post__toc-list > li:focus-within {
	border-left-color: var(--oh-primary);
}
.oh-post__toc a {
	color: var(--oh-body);
	text-decoration: none;
	display: block;
	padding: 2px 0;
	transition: color 0.15s ease, font-weight 0.15s ease;
}
.oh-post__toc a:hover,
.oh-post__toc a:focus {
	color: var(--oh-primary-dark);
}

/* Active state — gezet via JS scroll-spy (zie site.js) */
.oh-post__toc-list > li.is-active {
	border-left-color: var(--oh-primary);
	border-left-width: 3px;
	padding-left: 13px;
	background: linear-gradient(90deg, var(--oh-primary-tint) 0%, transparent 100%);
}
.oh-post__toc-list > li.is-active > a {
	color: var(--oh-primary-dark);
	font-weight: 600;
}

/* Anchor-scroll: geef wat ademruimte onder de sticky header */
.oh-post__body h2[id],
.oh-post__body h3[id] {
	scroll-margin-top: 96px;
}

/* Smooth scrolling voor TOC-links (met respect voor reduced-motion) */
@media (prefers-reduced-motion: no-preference) {
	html { scroll-behavior: smooth; }
}

/* Sidebar-kolom: koop-widget + TOC scrollen samen mee */
.oh-post__sidebar {
	position: sticky;
	top: 96px;
	align-self: start;
	display: flex;
	flex-direction: column;
	gap: 16px;
	max-height: calc(100vh - 120px);
}
.oh-post__sidebar .oh-post__toc {
	position: static;
	max-height: none;
	overflow-y: auto;
	min-height: 0;               /* laat de TOC krimpen en scrollen binnen de flex-kolom */
}

/* Koop-widget — zelfde kaartstijl als de TOC, accent-goud voor de knoppen */
.oh-post__koop {
	flex-shrink: 0;
	padding: 18px 20px;
	background: var(--oh-card);
	border: 1px solid var(--oh-border);
	border-radius: var(--oh-radius);
	box-shadow: var(--oh-shadow-sm);
}
.oh-post__koop-title {
	font-size: 11px;
	font-weight: 700;
	color: var(--oh-primary-dark);
	text-transform: uppercase;
	letter-spacing: 0.14em;
	margin: 0 0 12px;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--oh-accent);
}
.oh-post__koop-buttons {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.oh-post__koop-btn {
	display: block;
	text-align: center;
	background: var(--oh-accent);
	color: var(--oh-accent-fg);
	font-size: 14px;
	font-weight: 600;
	padding: 9px 12px;
	border-radius: 4px;
	text-decoration: none;
	transition: background-color 0.15s ease;
}
.oh-post__koop-btn:hover,
.oh-post__koop-btn:focus {
	background: var(--oh-accent-dark);
	color: #fff;
}

/* Mobiele koopbalk — vast onderin, verschijnt via site.js na scrollen */
.oh-koop-bar {
	position: fixed;
	left: 0; right: 0; bottom: 0;
	z-index: 120;
	display: flex;
	gap: 8px;
	align-items: center;
	padding: 10px 12px;
	padding-bottom: calc(10px + env(safe-area-inset-bottom));
	background: var(--oh-card);
	border-top: 1px solid var(--oh-border);
	box-shadow: 0 -2px 12px rgba(var(--oh-ink-rgb),0.12);
	transform: translateY(110%);
	transition: transform 0.25s ease;
}
.oh-koop-bar[hidden] { display: none; }
.oh-koop-bar.is-visible { transform: translateY(0); }
.oh-koop-bar__btn {
	flex: 1;
	min-width: 0;
	text-align: center;
	background: var(--oh-accent);
	color: var(--oh-accent-fg);
	font-size: 14px;
	font-weight: 600;
	padding: 10px 8px;
	border-radius: 4px;
	text-decoration: none;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.oh-koop-bar__btn:hover,
.oh-koop-bar__btn:focus {
	background: var(--oh-accent-dark);
	color: #fff;
}
.oh-koop-bar__close {
	flex-shrink: 0;
	width: 32px;
	height: 32px;
	border: 0;
	background: transparent;
	color: var(--oh-muted, #666);
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	padding: 0;
}
@media (min-width: 960px) {
	.oh-koop-bar { display: none; } /* desktop: zijbalk-widget doet het werk */
}

/* Mobile: TOC boven content, niet sticky, ingeklapt via details */
@media (max-width: 960px) {
	.oh-post__wrap.has-toc {
		max-width: 760px;
		grid-template-columns: 1fr;
		gap: 24px;
	}
	.oh-post__sidebar {
		position: static;
		max-height: none;
		order: -1;                  /* boven content */
	}
	.oh-post__koop { display: none; } /* mobiel: de CTA in de tekst doet het werk */
	.oh-post__toc {
		position: static;
		max-height: none;
		order: -1;                  /* boven content */
		padding: 14px 18px;
	}
	.oh-post__toc-title { margin-bottom: 8px; }
}

.oh-post__body { font-size: 17px; line-height: 1.75; color: var(--oh-body); }
.oh-post__body p { margin: 0 0 18px; }
.oh-post__body h2 {
	font-size: 26px;
	font-weight: 800;
	color: var(--oh-ink);
	margin: 36px 0 14px;
	letter-spacing: -0.015em;
	display: flex; align-items: baseline; gap: 12px;
}
.oh-post__body h2::before {
	content: "";
	display: inline-block;
	width: 24px; height: 4px;
	background: linear-gradient(90deg, var(--oh-primary), var(--oh-accent));
	border-radius: 2px;
	flex-shrink: 0;
}
.oh-post__body h3 {
	font-size: 20px;
	font-weight: 700;
	color: var(--oh-ink);
	margin: 24px 0 10px;
}
.oh-post__body ul,
.oh-post__body ol { margin: 0 0 18px 22px; }
.oh-post__body li { margin-bottom: 6px; }
.oh-post__body img { border-radius: var(--oh-radius-sm); }

/* In-content links — duidelijk te onderscheiden van bodytekst.
   :where() houdt de specificiteit op (0,1,1) zodat componenten met eigen
   linkstyling (oh-related-links, oh-affiliate-list, geladen ná dit blad)
   blijven winnen. Buttons staan niet in p/li en blijven dus ongemoeid. */
.oh-post__body :where(p, li, td, th, figcaption) a {
	color: var(--oh-ink);
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-decoration-color: var(--oh-accent);
	text-underline-offset: 3px;
}
.oh-post__body :where(p, li, td, th, figcaption) a:hover,
.oh-post__body :where(p, li, td, th, figcaption) a:focus {
	color: var(--oh-accent-text);
	text-decoration-color: currentColor;
}

/* Affiliate-links in lopende tekst — duidelijk te onderscheiden van gewone
   interne links, niet alleen aan een klein kleurverschil. rel="sponsored"
   wordt automatisch gezet door oh-affiliate-rel.php (bol., Amazon, Decathlon,
   Awin, tidd.ly, TradeTracker, Tradedoubler, Daisycon, HEMA, Impact),
   dus dit werkt met terugwerkende kracht op alle bestaande artikelen zonder
   dat de content zelf hoeft te wijzigen. Kleurwissel bij hover is bewust
   omgekeerd aan gewone links (die naar accent-text hoveren): zo blijft het
   onderscheid ook in de hover-state voelbaar. */
.oh-post__body :where(p, li, td, th, figcaption) a[rel~="sponsored"] {
	color: var(--oh-accent-text);
	font-weight: 600;
	text-decoration-style: solid;
	text-decoration-thickness: 1.5px;
	text-decoration-color: rgba(var(--oh-accent-text-rgb), 0.45);
}
.oh-post__body :where(p, li, td, th, figcaption) a[rel~="sponsored"]:hover,
.oh-post__body :where(p, li, td, th, figcaption) a[rel~="sponsored"]:focus {
	color: var(--oh-primary-dark);
	text-decoration-color: currentColor;
}
.oh-post__body blockquote {
	margin: 28px 0;
	padding: 16px 22px;
	background: var(--oh-primary-tint);
	border-left: 4px solid var(--oh-primary);
	border-radius: 0 var(--oh-radius-sm) var(--oh-radius-sm) 0;
	color: var(--oh-ink);
	font-size: 18px;
	line-height: 1.5;
	font-weight: 500;
}
.oh-post__body blockquote p:last-child { margin-bottom: 0; }

/* Block-pattern: Quick answer */
.oh-quick-answer {
	background: var(--oh-card);
	border: 2px solid var(--oh-primary);
	border-radius: var(--oh-radius);
	padding: 22px 26px;
	margin: 28px 0;
	position: relative;
	box-shadow: var(--oh-shadow-sm);
}
.oh-quick-answer::before {
	content: "Snel antwoord";
	position: absolute; top: -11px; left: 18px;
	background: var(--oh-primary); color: #fff;
	padding: 3px 14px;
	border-radius: 999px;
	font-size: 11px; font-weight: 700;
	text-transform: uppercase; letter-spacing: 0.1em;
}
.oh-quick-answer p {
	font-size: 17px;
	color: var(--oh-ink);
	line-height: 1.5;
	font-weight: 500;
	margin: 0;
}

/* Block-pattern: Pull dark */
.oh-pull-dark {
	margin: 32px 0;
	padding: 28px 32px;
	background: var(--oh-secondary);
	color: #fff;
	border-left: 5px solid var(--oh-primary);
	border-radius: 0 var(--oh-radius) var(--oh-radius) 0;
	position: relative;
	overflow: hidden;
}
.oh-pull-dark::before {
	content: "";
	position: absolute; inset: 0;
	background: radial-gradient(ellipse at top right, rgba(var(--oh-primary-rgb),0.3), transparent 50%);
	pointer-events: none;
}
.oh-pull-dark p {
	font-size: 22px;
	font-weight: 600;
	line-height: 1.35;
	color: #fff;
	letter-spacing: -0.01em;
	margin: 0;
	position: relative;
}
.oh-pull-dark p::before {
	content: "❝ ";
	color: var(--oh-accent-on-dark);
	font-weight: 900;
}

/* Block-pattern: product-dark */
.oh-product-dark {
	margin: 32px 0 !important;
	background: var(--oh-secondary);
	color: #fff;
	border-radius: var(--oh-radius);
	padding: 24px !important;
	display: grid !important;
	grid-template-columns: 120px 1fr auto !important;
	gap: 20px;
	align-items: center;
	position: relative;
	overflow: hidden;
	box-shadow: var(--oh-shadow-md);
}
.oh-product-dark::before {
	content: "";
	position: absolute; right: -20%; top: -20%;
	width: 300px; height: 300px;
	background: radial-gradient(circle, rgba(var(--oh-primary-rgb),0.3), transparent 60%);
	pointer-events: none;
}
.oh-product-dark .oh-product-dark__img img { aspect-ratio: 1; object-fit: cover; border-radius: var(--oh-radius-sm); background: rgba(255,255,255,0.08); }
.oh-product-dark__tag {
	display: inline-block !important;
	background: var(--oh-primary);
	color: #fff !important;
	font-size: 10px !important;
	font-weight: 700 !important;
	padding: 3px 10px !important;
	border-radius: 3px;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	margin: 0 0 6px !important;
	position: relative; z-index: 1;
	width: auto !important;
}
.oh-product-dark__name,
.oh-product-dark h3 {
	font-size: 18px !important;
	font-weight: 700 !important;
	color: #fff !important;
	margin: 0 0 4px !important;
	line-height: 1.25 !important;
	position: relative; z-index: 1;
}
.oh-product-dark__meta { font-size: 13px !important; color: rgba(255,255,255,0.6) !important; position: relative; z-index: 1; margin: 0 !important; }
.oh-product-dark .wp-block-buttons { position: relative; z-index: 1; }

@media (max-width: 580px) {
	.oh-product-dark { grid-template-columns: 1fr !important; text-align: center; padding: 24px !important; }
}

/* Author strip — compact bio aan einde artikel (geen datum/leestijd, die staan in hero) */
/* Affiliate-disclaimer onder artikelen met partnerlinks (oh_render_affiliate_disclaimer). */
.oh-affiliate-disclaimer {
	font-size: 13px;
	line-height: 1.5;
	color: var(--oh-muted);
	background: var(--oh-bg-alt);
	border-left: 3px solid var(--oh-primary-tint-2);
	border-radius: var(--oh-radius-sm);
	padding: 10px 14px;
	margin: 0 0 20px;
}

.oh-author-strip {
	display: grid;
	grid-template-columns: 72px 1fr;
	gap: 20px;
	align-items: start;
	padding: 20px 0;
	border-top: 1px solid var(--oh-border);
	border-bottom: 1px solid var(--oh-border);
	margin: 24px 0;
}
.oh-author-strip.oh-author-strip--zonder-foto { grid-template-columns: 1fr; }   /* geen eigen foto: geen lege cirkel */
.oh-author-strip__avatar {
	width: 72px; height: 72px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--oh-primary), var(--oh-primary-dark));
	color: #fff;
	display: flex; align-items: center; justify-content: center;
	font-weight: 700; font-size: 24px;
	flex-shrink: 0;
	overflow: hidden;
}
.oh-author-strip__avatar img,
.oh-author-strip__avatar-img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.oh-author-strip__body { min-width: 0; }
.oh-author-strip__name {
	color: var(--oh-ink);
	font-weight: 700;
	font-size: 15px;
	display: block;
	margin-bottom: 4px;
}
.oh-author-strip__role {
	color: var(--oh-muted);
	font-size: 14px;
	line-height: 1.55;
}

@media (max-width: 560px) {
	.oh-author-strip { grid-template-columns: 56px 1fr; gap: 16px; }
	.oh-author-strip__avatar { width: 56px; height: 56px; font-size: 20px; }
}

/* ---------- Related rail ---------- */
.oh-related-rail {
	background: var(--oh-secondary);
	color: #fff;
	padding: 48px 24px;
	position: relative;
	overflow: hidden;
}
.oh-related-rail::before {
	content: "";
	position: absolute; inset: 0;
	background: radial-gradient(circle at 80% 0%, rgba(var(--oh-secondary-light-rgb),0.35), transparent 60%);
	pointer-events: none;
}
.oh-related-rail__inner { position: relative; max-width: var(--oh-max); margin: 0 auto; }
.oh-related-rail h2 {
	font-size: 22px;
	font-weight: 800;
	color: #fff;
	margin: 0 0 24px;
	letter-spacing: -0.015em;
	display: flex; align-items: baseline; gap: 12px;
}
.oh-related-rail h2::before {
	content: ""; display: block;
	width: 40px; height: 4px;
	background: linear-gradient(90deg, var(--oh-primary), var(--oh-accent));
	border-radius: 2px;
}
.oh-related-rail__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 16px;
}
.oh-related-rail__card {
	background: rgba(255,255,255,0.06);
	border: 1px solid rgba(255,255,255,0.1);
	border-radius: var(--oh-radius);
	padding: 20px;
	color: #fff !important;
	transition: background 0.15s ease, transform 0.15s ease;
}
.oh-related-rail__card:hover { background: rgba(255,255,255,0.1); color: #fff; transform: translateY(-2px); }
.oh-related-rail__card .cat { font-size: 10px; font-weight: 700; color: var(--oh-accent-on-dark); text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 8px; }
.oh-related-rail__card h3 { font-size: 16px; font-weight: 700; color: #fff; margin: 0 0 6px; line-height: 1.3; }
.oh-related-rail__card p { font-size: 12px; color: rgba(255,255,255,0.55); margin: 0; }

/* ---------- Sidebar widgets ---------- */
.oh-sidebar { min-width: 0; }
.widget {
	background: var(--oh-card);
	border: 1px solid var(--oh-border);
	border-radius: var(--oh-radius);
	padding: 20px;
	margin-bottom: 20px;
	box-shadow: var(--oh-shadow-sm);
}
.widget-title {
	font-size: 18px;
	font-weight: 700;
	color: var(--oh-ink);
	margin: 0 0 14px;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--oh-primary);
	letter-spacing: -0.01em;
}
.widget ul { padding-left: 0; list-style: none; margin: 0; }
.widget li { font-size: 14px; padding: 8px 0; border-bottom: 1px solid var(--oh-border); }
.widget li:last-child { border-bottom: 0; }
.widget li a { color: var(--oh-ink); }
.widget li a:hover { color: var(--oh-primary-dark); }

/* Tagcloud */
.widget .tagcloud { display: flex; flex-wrap: wrap; gap: 4px; }
.widget .tagcloud a {
	display: inline-block;
	background: var(--oh-bg);
	border: 1px solid var(--oh-border);
	color: var(--oh-body) !important;
	padding: 4px 10px;
	margin: 0;
	border-radius: 999px;
	font-size: 12px !important;
	font-weight: 500;
}
.widget .tagcloud a:hover {
	background: var(--oh-primary-tint);
	border-color: var(--oh-primary);
	color: var(--oh-primary-dark) !important;
}

/* ---------- Buttons ---------- */
.oh-btn,
.button,
.wp-block-button__link {
	background: var(--oh-primary);
	color: #fff !important;
	padding: 11px 22px;
	border-radius: var(--oh-radius-sm);
	font-weight: 600;
	font-size: 14px;
	font-family: var(--oh-font-body);
	border: 0;
	cursor: pointer;
	transition: background 0.15s ease, transform 0.15s ease;
	text-decoration: none;
	display: inline-block;
}
.oh-btn:hover,
.button:hover,
.wp-block-button__link:hover {
	background: var(--oh-primary-dark);
	color: #fff !important;
	transform: translateY(-1px);
}
.oh-btn-accent,
.wp-block-button.oh-btn-accent .wp-block-button__link {
	background: var(--oh-accent) !important;
	color: var(--oh-accent-fg) !important;
}
.oh-btn-accent:hover,
.wp-block-button.oh-btn-accent .wp-block-button__link:hover {
	background: var(--oh-accent-dark) !important;
	color: var(--oh-primary-dark) !important; /* wit op geel is 1,7:1 */
}
/* Outline-knoppen (pills bovenaan een artikel). WordPress maakt de achtergrond doorzichtig; zonder deze regel bleef de
   witte tekst van .wp-block-button__link staan en waren de pills onzichtbaar tot je eroverheen ging (1 dec 2026). */
.wp-block-button.is-style-outline > .wp-block-button__link {
	background: transparent !important;
	color: var(--oh-primary) !important;
	border: 2px solid var(--oh-primary);
	padding: 9px 20px;
}
.wp-block-button.is-style-outline > .wp-block-button__link:hover,
.wp-block-button.is-style-outline > .wp-block-button__link:focus-visible {
	background: var(--oh-primary) !important;
	color: #fff !important;
}

/* ---------- Contactformulier (mu-plugin oh-contact-form.php) ---------- */
.oh-contact-form { margin-top: 28px; max-width: 640px; }
.oh-contact-form__veld { margin: 0 0 18px; }
.oh-contact-form label {
	display: block;
	margin-bottom: 6px;
	font-weight: 600;
	color: var(--oh-ink);
}
.oh-contact-form label span { color: var(--oh-muted); font-weight: 400; }
.oh-contact-form input[type=text],
.oh-contact-form input[type=email],
.oh-contact-form textarea {
	width: 100%;
	padding: 11px 13px;
	font: inherit;
	font-size: 16px; /* iOS zoomt niet in bij 16px */
	color: var(--oh-ink);
	background: var(--oh-bg);
	border: 1px solid var(--oh-border);
	border-radius: var(--oh-radius-sm);
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.oh-contact-form textarea { min-height: 160px; resize: vertical; }
.oh-contact-form input:focus,
.oh-contact-form textarea:focus {
	outline: none;
	border-color: var(--oh-primary);
	box-shadow: 0 0 0 3px rgba(var(--oh-accent-rgb), 0.55);
}
.oh-contact-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.oh-contact-form__knop {
	background: var(--oh-accent);
	color: var(--oh-accent-fg);
	border: 0;
	border-radius: var(--oh-radius-sm);
	padding: 13px 28px;
	font: 700 15px/1 var(--oh-font-body);
	cursor: pointer;
	transition: background 0.15s ease, transform 0.15s ease;
}
.oh-contact-form__knop:hover { background: var(--oh-accent-dark); transform: translateY(-1px); }
.oh-contact-form__knop:focus-visible { outline: 3px solid var(--oh-primary); outline-offset: 2px; }
.oh-contact-form__privacy { font-size: 14px; color: var(--oh-muted); }
.oh-contact-errors {
	background: var(--oh-danger-tint);
	border: 1px solid var(--oh-danger-border);
	color: var(--oh-danger);
	border-radius: var(--oh-radius-sm);
	padding: 12px 16px;
	margin-bottom: 20px;
}
.oh-contact-errors p { margin: 0; }
.oh-contact-errors ul { margin: 6px 0 0 18px; padding: 0; }
.oh-contact-success {
	background: var(--oh-accent-tint);
	border-left: 4px solid var(--oh-accent);
	border-radius: var(--oh-radius-sm);
	padding: 16px 20px;
	margin-top: 24px;
}
.oh-contact-success p { margin: 0; }

/* ---------- Search form ---------- */
.search-form {
	display: flex;
	gap: 8px;
	margin: 16px 0;
}
.search-form .search-field {
	flex: 1;
	padding: 10px 16px;
	border: 1px solid var(--oh-border);
	border-radius: var(--oh-radius-sm);
	font: inherit;
	background: var(--oh-card);
	color: var(--oh-ink);
}
.search-form .search-field:focus {
	outline: none;
	border-color: var(--oh-primary);
	box-shadow: 0 0 0 3px var(--oh-primary-tint);
}
.search-form .search-submit {
	background: var(--oh-ink);
	color: #fff;
	border: 0;
	padding: 10px 18px;
	border-radius: var(--oh-radius-sm);
	font-weight: 600;
	cursor: pointer;
}
.search-form .search-submit:hover { background: var(--oh-primary-dark); }

/* ---------- 404 ---------- */
.oh-404 { padding: 80px 24px; text-align: center; }
.oh-404__inner { max-width: 560px; margin: 0 auto; }
.oh-404__eyebrow { font-size: 11px; font-weight: 700; color: var(--oh-accent-text); text-transform: uppercase; letter-spacing: 0.15em; margin-bottom: 10px; }
.oh-404__title { font-size: 40px; font-weight: 800; color: var(--oh-ink); margin: 0 0 14px; letter-spacing: -0.02em; }
.oh-404__desc { font-size: 17px; color: var(--oh-body); margin: 0 0 24px; }
.oh-404__search { margin: 24px 0; }
.oh-404__actions { margin-top: 20px; }

/* ---------- No results ---------- */
.oh-no-results {
	max-width: 560px;
	margin: 40px auto;
	padding: 32px;
	background: var(--oh-card);
	border: 1px solid var(--oh-border);
	border-radius: var(--oh-radius);
	text-align: center;
}
.oh-no-results h2 { font-size: 22px; color: var(--oh-ink); margin: 0 0 10px; }

/* ---------- Logo (SVG, header en footer) ----------
   assets/img/logo.svg (op licht, 649x153); op donker het HTML-woordmerk .oh-wm
   inclusief de witruimte van het origineel. Het logoblauw zit in het bestand,
   niet in de tokens. De header-hoogte staat bij .oh-site-header__logo img. */
.oh-wordmark { display: inline-block; line-height: 0; text-decoration: none; }
.oh-wordmark img { height: 52px; width: auto; display: block; }

/* ---------- Footer ---------- */
.oh-site-footer {
	background: var(--oh-primary-darker);
	color: #c3c9d6;
	border-top: 4px solid var(--oh-primary);
	margin-top: 60px;
	position: relative;
	overflow: hidden;
}
/* Wanneer de dark related-rail of dark pillar direct vóór de footer staat: geen witte kloof,
   maar een naadloze overgang (dark → dark). De groene bovenrand blijft als accent. */
.oh-related-rail + .oh-site-footer,
.oh-pillar + .oh-site-footer {
	margin-top: 0;
}
/* Verleng het dark "Meer in"-block optisch naar de footer toe met een extra padding-bottom
   wanneer hij direct boven de footer staat, zodat er ademruimte is voor de CTA-cards. */
.oh-related-rail:has(+ .oh-site-footer) {
	padding-bottom: 64px;
}
.oh-site-footer::before {
	content: "";
	position: absolute; inset: 0;
	background: radial-gradient(ellipse at 20% 0%, rgba(var(--oh-primary-rgb),0.18), transparent 55%);
	pointer-events: none;
}

.oh-footer-body {
	position: relative;
	padding: 56px 24px 32px;
	border-bottom: 1px solid rgba(255,255,255,0.08);
}
.oh-footer-body__inner {
	max-width: var(--oh-max);
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr;
	gap: 56px;
}

.oh-footer-col { min-width: 0; }
.oh-footer-col--brand { max-width: 420px; }

.oh-footer-logo { display: inline-block; margin-bottom: 18px; }
.oh-footer-logo__img {
	height: 38px;
	width: auto;
	filter: brightness(0) invert(1);
	opacity: 0.95;
}
.oh-footer-tagline {
	font-size: 16px;
	color: #fff;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: -0.01em;
	margin: 0 0 12px;
}
.oh-footer-about {
	font-size: 14px;
	color: rgba(255,255,255,0.7);
	line-height: 1.65;
	margin: 0 0 16px;
}
/* Op de donkere footer het lichte accent: --oh-primary viel hier weg tegen de achtergrond. */
.oh-footer-cta {
	color: var(--oh-accent-on-dark);
	font-weight: 600;
	font-size: 14px;
	display: inline-block;
	border-bottom: 1px solid transparent;
	transition: border-color 0.15s ease;
}
.oh-footer-cta:hover {
	color: var(--oh-accent-on-dark);
	border-bottom-color: var(--oh-accent);
}

.oh-footer-heading {
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	margin: 0 0 16px;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--oh-primary);
	display: inline-block;
}
.oh-footer-links {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 8px;
}
.oh-footer-links li { padding: 0; border: 0; font-size: 14px; }
.oh-footer-links a {
	color: #d3d9e4;
	display: inline-block;
	padding: 2px 0;
	transition: color 0.15s ease, transform 0.15s ease;
}
.oh-footer-links a:hover {
	color: var(--oh-accent-on-dark);
	transform: translateX(2px);
}

.oh-site-footer__bar {
	position: relative;
	padding: 20px 24px;
	background: rgba(0,0,0,0.3);
}
.oh-site-footer__inner {
	max-width: var(--oh-max);
	margin: 0 auto;
	display: flex;
	gap: 24px;
	flex-wrap: wrap;
	align-items: center;
	font-size: 13px;
	color: rgba(255,255,255,0.55);
}
.oh-site-footer__copy a { color: #e6eaf2; }
.oh-site-footer__copy a:hover { color: var(--oh-accent-on-dark); }
.oh-site-footer__disclaimer {
	margin-left: auto;
	font-size: 12px;
	color: rgba(255,255,255,0.5);
	max-width: 640px;
	line-height: 1.55;
}

@media (max-width: 900px) {
	.oh-footer-body__inner {
		grid-template-columns: 1fr 1fr;
		gap: 40px;
	}
	.oh-footer-col--brand { grid-column: 1 / -1; max-width: none; }
}
@media (max-width: 560px) {
	.oh-footer-body { padding: 40px 20px 24px; }
	.oh-footer-body__inner {
		grid-template-columns: 1fr;
		gap: 32px;
	}
	.oh-site-footer__disclaimer { margin-left: 0; }
}

/* ---------- Home intro (page editor content) ---------- */
.oh-home-intro { max-width: 760px; margin: 48px auto 0; padding: 0 24px; }
.oh-home-intro__inner { color: var(--oh-body); font-size: 16px; }

/* ---------- Responsive fijnere tuning ---------- */
@media (max-width: 640px) {
	.oh-post__wrap { padding: 32px 20px; }
	.oh-post__body { font-size: 16px; }
	.oh-pull-dark { margin: 24px 0; padding: 22px 24px; }
	.oh-pull-dark p { font-size: 19px; }
	.oh-archive__hero { padding: 52px 20px 40px; }
}

/* ---------- Woordmerk voor donkere achtergronden (footer) ---------- */
.oh-wm {
	display: inline-flex; align-items: center; gap: 0;
	font-family: var(--oh-font-heading); font-size: 26px; line-height: 1; white-space: nowrap;
	color: #fff; text-decoration: none;
}
.oh-wm svg { height: 1.25em; width: auto; flex: none; margin-right: .4em; }
.oh-wm__on { font-weight: 600; font-style: italic; }
.oh-wm__hl { font-weight: 800; font-style: italic; color: var(--oh-accent-on-dark); margin-left: .04em; }
.oh-wm__nl { font-weight: 600; font-size: .55em; align-self: flex-end; margin-left: .1em; padding-bottom: .2em; }

/* ---------- Tabellen in artikelen (22 nov 2026) ----------
   Donkere kopregel, om en om een lichte rij, en op een telefoon schuift de tabel binnen zijn eigen kader. */
.oh-post__body .wp-block-table {
	margin: 24px 0;
	overflow-x: auto;
	border: 1px solid var(--oh-border);
	border-radius: var(--oh-radius-sm);
}
.oh-post__body table {
	width: 100%;
	border-collapse: collapse;
	margin: 0;
	font-size: 15px;
	line-height: 1.45;
	font-variant-numeric: tabular-nums;
}
.oh-post__body .wp-block-table table { min-width: 460px; }
.oh-post__body table th,
.oh-post__body table td {
	padding: 10px 14px;
	border: 0;
	border-top: 1px solid var(--oh-border);
	text-align: left;
	vertical-align: top;
}
.oh-post__body table thead { border-bottom: 0; }
.oh-post__body table thead th {
	background: var(--oh-primary);
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	border-top: 0;
}
.oh-post__body table tbody tr:nth-child(even) td { background: var(--oh-bg-alt); }
.oh-post__body table td:first-child { font-weight: 600; }
