/*
Theme Name: Casino Aanbiedingen
Theme URI: https://casino-aanbiedingen.nl
Description: Redactionele koopgids voor online casino's, gebouwd op Astra.
Author: Casino Aanbiedingen
Template: astra
Version: 1.1.0
Text Domain: casino-aanbiedingen
*/

/* ---------------------------------------------------------------------------
   Astra geometry. The parent theme sets .ast-container to display:flex, which
   squeezes #primary and pins the content to the left edge of a wide screen.
   These two rules are the whole fix and they are not negotiable.
   Never write #primary { width:auto; margin:0; }.
   --------------------------------------------------------------------------- */
#content .ast-container, .ast-container { display: block !important; width: 100% !important; max-width: 100% !important; }
#primary, .site-main, #main { width: 100% !important; max-width: 100% !important; flex: 1 1 100% !important; margin-inline: auto !important; }

/* ---------------------------------------------------------------------------
   Tokens. Tinted ground, deep graphite ink, warm burnt orange accent.
   Every pair below is chosen so that text clears 4.5:1 at body size.
   --------------------------------------------------------------------------- */
:root {
	--kzx-ink: #0f1a26;
	--kzx-ink-2: #24313f;
	--kzx-muted: #46525f;
	--kzx-line: #d7dde4;
	--kzx-paper: #f7f5f1;
	--kzx-paper-2: #efece6;
	--kzx-paper-3: #e6e2da;
	--kzx-white: #ffffff;
	--kzx-accent: #a8480a;
	--kzx-accent-hover: #8a3a06;
	--kzx-accent-soft: #f0a868;
	--kzx-accent-ink: #ffffff;
	--kzx-footer: #0f1a26;
	--kzx-gutter: 1.5rem;
	--kzx-radius: 10px;
	--kzx-measure: 74rem;
	--kzx-step-0: 0.8125rem;
	--kzx-step-1: 1rem;
	--kzx-step-2: 1.25rem;
	--kzx-step-3: 1.75rem;
	--kzx-step-4: 2.5rem;
}

* { box-sizing: border-box; }

body {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, "Helvetica Neue", Arial, sans-serif;
	font-size: 17px;
	line-height: 1.7;
	color: var(--kzx-ink);
	background: var(--kzx-paper);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
	color: var(--kzx-ink);
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.25;
}

h1 {
	font-size: clamp(1.875rem, 3.6vw, 2.75rem);
	margin-top: 0;
	margin-bottom: 1rem;
}

h2 {
	font-size: clamp(1.35rem, 2.4vw, 1.75rem);
	margin-top: 2.5rem;
	margin-bottom: 1rem;
	padding-left: 1rem;
	border-left: 3px solid var(--kzx-accent);
}

h3 {
	font-size: clamp(1.1rem, 1.7vw, 1.3rem);
	margin-top: 2rem;
	margin-bottom: 0.75rem;
}

h4 { font-size: 1.0625rem; margin-top: 1.5rem; margin-bottom: 0.5rem; }

p { margin-top: 0; margin-bottom: 1.25rem; }

a { color: var(--kzx-accent); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--kzx-accent-hover); }

ul, ol { margin-top: 0; margin-bottom: 1.25rem; padding-left: 1.5rem; }
li { margin-bottom: 0.375rem; }
strong { font-weight: 700; }
img { max-width: 100%; height: auto; }

a:focus-visible,
button:focus-visible,
input:focus-visible { outline: 3px solid var(--kzx-accent); outline-offset: 2px; }

/* ---------------------------------------------------------------------------
   Layout shell.
   --------------------------------------------------------------------------- */
.kzx-wrap {
	max-width: var(--kzx-measure);
	margin-inline: auto;
	padding-inline: var(--kzx-gutter);
}

.kzx-standfirst,
.kzx-leadin,
.kzx-board,
.kzx-table-scroll,
.kzx-table,
.kzx-figure,
.kzx-calc,
.kzx-calc-block,
.kzx-faq,
.kzx-onward,
.kzx-contents,
.kzx-aside {
	max-width: 100%;
	margin-inline: auto;
}

/* ---------------------------------------------------------------------------
   Masthead. Not sticky: one sticky surface at most on the page, and the bar
   stays under a tenth of the viewport height.
   --------------------------------------------------------------------------- */
.kzx-masthead {
	position: relative;
	background: var(--kzx-ink);
	border-bottom: 3px solid var(--kzx-accent);
	padding-block: 0.5rem;
}

.kzx-topbar__inner {
	max-width: var(--kzx-measure);
	margin-inline: auto;
	padding-inline: var(--kzx-gutter);
	display: flex;
	align-items: center;
	gap: 1.25rem;
	flex-wrap: wrap;
}

.kzx-brand {
	font-weight: 800;
	font-size: 1.0625rem;
	letter-spacing: -0.01em;
	color: #ffffff;
	text-decoration: none;
	white-space: nowrap;
	line-height: 1.2;
}

.kzx-brand span { color: var(--kzx-accent-soft); }
.kzx-brand:hover { color: #ffffff; }

.kzx-tagline {
	font-size: 0.75rem;
	color: #c3ccd6;
	margin: 0;
	line-height: 1.2;
}

.kzx-nav__toggle {
	display: none;
	margin-left: auto;
	background: transparent;
	border: 1px solid rgba(255, 255, 255, 0.45);
	color: #ffffff;
	border-radius: 6px;
	padding: 0.5rem 0.875rem;
	font-size: 0.875rem;
	font-weight: 600;
	cursor: pointer;
	min-height: 44px;
}

.kzx-nav { margin-left: auto; }

.kzx-nav > ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.125rem 0.875rem;
	overflow-x: visible;
	overflow-y: visible;
}

.kzx-nav > ul > li { position: relative; margin: 0; }

.kzx-nav a {
	color: #dfe6ee;
	text-decoration: none;
	font-size: 0.8125rem;
	display: block;
	padding: 0.4375rem 0;
	line-height: 1.3;
	white-space: nowrap;
}

.kzx-nav a:hover,
.kzx-nav a:focus { color: #ffffff; }

.kzx-nav .current-menu-item > a,
.kzx-nav .current_page_item > a,
.kzx-nav a[aria-current="page"] {
	color: #ffffff;
	box-shadow: inset 0 -2px 0 var(--kzx-accent);
}

/* Dropdowns. The row is allowed to wrap and never to scroll: an overflow-x
   other than visible makes the computed overflow-y auto and clips the panel. */
.kzx-nav ul ul {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 250px;
	background: #ffffff;
	border: 1px solid var(--kzx-line);
	border-radius: 8px;
	box-shadow: 0 14px 40px rgba(15, 26, 38, 0.18);
	padding: 0.5rem;
	display: none;
	flex-direction: column;
	gap: 0;
	z-index: 60;
	overflow: visible;
	margin: 0;
	list-style: none;
}

.kzx-nav li:hover > ul,
.kzx-nav li:focus-within > ul { display: flex; }

.kzx-nav ul ul a {
	color: var(--kzx-ink);
	padding: 0.5rem 0.625rem;
	border-radius: 6px;
	font-size: 0.875rem;
	white-space: normal;
}

.kzx-nav ul ul a:hover { background: var(--kzx-paper-3); color: var(--kzx-accent); }

/* ---------------------------------------------------------------------------
   Prose blocks.
   --------------------------------------------------------------------------- */
.kzx-standfirst {
	font-size: 1.1875rem;
	line-height: 1.65;
	color: var(--kzx-ink);
	border-left: 4px solid var(--kzx-accent);
	padding-left: 1.25rem;
	margin-bottom: 1.5rem;
}

.kzx-leadin {
	font-size: 0.9375rem;
	color: var(--kzx-ink-2);
	background: var(--kzx-paper-3);
	border: 1px solid var(--kzx-line);
	border-radius: var(--kzx-radius);
	padding: 1rem 1.25rem;
	margin-bottom: 1.5rem;
}

.kzx-leadin a { color: var(--kzx-accent); font-weight: 600; }

.kzx-contents {
	background: var(--kzx-paper-3);
	border: 1px solid var(--kzx-line);
	border-radius: var(--kzx-radius);
	padding: 1.25rem 1.5rem;
	margin-bottom: 2.5rem;
}

.kzx-contents__title {
	display: block;
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--kzx-muted);
	font-weight: 700;
	margin-bottom: 0.75rem;
}

.kzx-contents ul { margin: 0; padding-left: 1.25rem; columns: 2; column-gap: 2rem; }
.kzx-contents li { break-inside: avoid; }
.kzx-contents a { color: var(--kzx-ink); text-decoration: none; font-size: 0.9375rem; }
.kzx-contents a:hover { color: var(--kzx-accent); }

/* ---------------------------------------------------------------------------
   Tables. No zebra striping, rules are 1px.
   --------------------------------------------------------------------------- */
.kzx-table-scroll {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	border: 1px solid var(--kzx-line);
	border-radius: var(--kzx-radius);
	margin-block: 1.75rem;
	background: #ffffff;
}

table.kzx-table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; min-width: 720px; }

table.kzx-table th {
	background: var(--kzx-ink);
	color: #ffffff;
	text-align: left;
	padding: 0.75rem 0.875rem;
	font-size: 0.8125rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	font-weight: 700;
}

table.kzx-table td {
	padding: 0.75rem 0.875rem;
	border-top: 1px solid var(--kzx-line);
	vertical-align: top;
	color: var(--kzx-ink-2);
}

table.kzx-table tbody tr:nth-child(even) td { background: transparent; }

.kzx-note {
	font-size: 0.8125rem;
	color: var(--kzx-muted);
	border-top: 1px solid var(--kzx-line);
	padding: 0.75rem 0.875rem 0;
	margin: 0;
}

/* ---------------------------------------------------------------------------
   Figure.
   --------------------------------------------------------------------------- */
.kzx-figure { margin-block: 2.5rem; }

.kzx-figure img {
	width: 100%;
	height: auto;
	display: block;
	border: 1px solid var(--kzx-line);
	border-radius: var(--kzx-radius);
	background: #ffffff;
}

.kzx-figure__caption {
	font-size: 0.875rem;
	color: var(--kzx-muted);
	margin-top: 0.75rem;
	line-height: 1.55;
}

/* ---------------------------------------------------------------------------
   Calculator.
   --------------------------------------------------------------------------- */
.kzx-calc {
	border: 1px solid var(--kzx-line);
	border-radius: var(--kzx-radius);
	padding: 1.5rem;
	background: var(--kzx-paper-3);
	margin-block: 2.5rem;
}

.kzx-calc__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.kzx-calc__label {
	display: block;
	font-size: var(--kzx-step-0);
	color: var(--kzx-ink-2);
	font-weight: 600;
	margin-bottom: 0.375rem;
}

.kzx-calc input[type="number"] {
	width: 100%;
	padding: 0.625rem 0.75rem;
	border: 1px solid #b9c2cb;
	border-radius: 6px;
	font-size: 1rem;
	background: #ffffff;
	color: var(--kzx-ink);
}

.kzx-calc__out {
	font-size: var(--kzx-step-2);
	font-weight: 700;
	color: var(--kzx-ink);
	margin-top: 1rem;
	margin-bottom: 0.5rem;
	font-variant-numeric: tabular-nums;
}

.kzx-calc__hint { font-size: 0.8125rem; color: var(--kzx-muted); margin: 0; }

/* ---------------------------------------------------------------------------
   FAQ.
   --------------------------------------------------------------------------- */
.kzx-faq { margin-block: 2.5rem; }
.kzx-faq__list { margin: 0; }
.kzx-faq__item { border-top: 1px solid var(--kzx-line); padding-block: 1rem; }
.kzx-faq__q { font-weight: 700; font-size: 1.0625rem; margin: 0 0 0.5rem; color: var(--kzx-ink); }
.kzx-faq__a { margin: 0; color: var(--kzx-ink-2); }

/* ---------------------------------------------------------------------------
   Licence aside.
   --------------------------------------------------------------------------- */
.kzx-aside {
	border-left: 4px solid var(--kzx-accent);
	background: var(--kzx-paper-3);
	padding: 1.25rem 1.5rem;
	border-radius: 0 var(--kzx-radius) var(--kzx-radius) 0;
	font-size: 0.9375rem;
	margin-block: 2.5rem;
	color: var(--kzx-ink-2);
}

.kzx-aside p:first-child { font-weight: 700; color: var(--kzx-ink); }
.kzx-aside p:last-child { margin-bottom: 0; }

/* ---------------------------------------------------------------------------
   Onward links.
   --------------------------------------------------------------------------- */
.kzx-onward { margin-block: 3rem 0; padding-top: 1.5rem; border-top: 2px solid var(--kzx-ink); }
.kzx-onward__title { text-transform: uppercase; font-size: 0.8125rem; letter-spacing: 0.08em; color: var(--kzx-muted); font-weight: 700; margin-bottom: 1rem; }

.kzx-onward__list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 0.75rem;
	list-style: none;
	padding: 0;
	margin: 0;
}

.kzx-onward__item { margin: 0; }

.kzx-onward__item a {
	display: block;
	padding: 0.875rem 1rem;
	border: 1px solid var(--kzx-line);
	border-radius: 8px;
	color: var(--kzx-ink);
	text-decoration: none;
	font-size: 0.9375rem;
	font-weight: 500;
	background: #ffffff;
}

.kzx-onward__item a:hover { border-color: var(--kzx-accent); color: var(--kzx-accent); }

/* ---------------------------------------------------------------------------
   Breadcrumb.
   --------------------------------------------------------------------------- */
.kzx-breadcrumb { font-size: 0.8125rem; color: var(--kzx-muted); margin-bottom: 1rem; }
.kzx-breadcrumb a { color: var(--kzx-muted); text-decoration: none; }
.kzx-breadcrumb a:hover { color: var(--kzx-accent); }
.kzx-breadcrumb span { color: var(--kzx-ink-2); }

/* ---------------------------------------------------------------------------
   Disclosure that sits directly before the paid block.
   --------------------------------------------------------------------------- */
.kzx-paid-disclosure {
	font-size: 0.8125rem;
	color: var(--kzx-ink-2);
	background: var(--kzx-paper-3);
	border: 1px solid var(--kzx-line);
	border-left: 4px solid var(--kzx-accent);
	border-radius: 0 var(--kzx-radius) var(--kzx-radius) 0;
	padding: 0.75rem 1rem;
	margin: 0 0 1rem;
}

/* ---------------------------------------------------------------------------
   Footer. Dark ground with the registry elements a reader needs in one place.
   --------------------------------------------------------------------------- */
.kzx-footer {
	background: var(--kzx-footer);
	color: #ccd5df;
	padding-block: 3rem 2rem;
	font-size: 0.875rem;
	margin-top: 4rem;
}

.kzx-footer__brand { color: #ffffff; font-weight: 800; font-size: 1.0625rem; margin-bottom: 1rem; }

.kzx-footer__links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.75rem;
	list-style: none;
	margin: 0 0 1.5rem;
	padding: 0;
}

.kzx-footer__links li { margin: 0; }

.kzx-footer a { color: #e8eef4; text-decoration: none; }
.kzx-footer a:hover { color: #ffffff; text-decoration: underline; }

.kzx-footer__registry {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 0.875rem 1.75rem;
	list-style: none;
	margin: 0 0 1.75rem;
	padding: 1.25rem 0 0;
	border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.kzx-footer__registry li {
	margin: 0;
	font-size: 0.8125rem;
	line-height: 1.5;
	color: #ccd5df;
}

.kzx-footer__registry strong {
	display: block;
	color: #ffffff;
	font-size: 0.875rem;
	margin-bottom: 0.1875rem;
	letter-spacing: 0.01em;
}

.kzx-footer__badge {
	display: inline-block;
	background: #ffffff;
	color: var(--kzx-footer);
	font-weight: 800;
	font-size: 0.8125rem;
	line-height: 1;
	padding: 0.25rem 0.375rem;
	border-radius: 3px;
	margin-right: 0.375rem;
	vertical-align: 1px;
}

.kzx-footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.16);
	padding-top: 1.25rem;
	font-size: 0.75rem;
	color: #b9c4d0;
}

.kzx-footer__bottom p { margin-bottom: 0.5rem; }
.kzx-footer__bottom p:last-child { margin-bottom: 0; }

/* ---------------------------------------------------------------------------
   Narrow screens.
   --------------------------------------------------------------------------- */
@media (max-width: 900px) {
	.kzx-topbar__inner { gap: 0.75rem; }
	.kzx-nav__toggle { display: inline-block; }
	.kzx-nav { display: none; width: 100%; margin-left: 0; }
	.kzx-topbar__inner.is-open .kzx-nav { display: block; }
	.kzx-nav > ul { flex-direction: column; gap: 0; }
	.kzx-nav > ul > li { border-top: 1px solid rgba(255, 255, 255, 0.12); }
	.kzx-nav a { white-space: normal; padding: 0.625rem 0; }
	.kzx-nav ul ul { position: static; display: block; box-shadow: none; border: none; background: transparent; border-radius: 0; padding: 0 0 0.5rem 1rem; }
	.kzx-nav ul ul a { color: #c3ccd6; }
	.kzx-contents ul { columns: 1; }
	.kzx-calc__row { grid-template-columns: 1fr; }
	.kzx-masthead { padding-block: 0.625rem; }
}
/* ---------------------------------------------------------------------------
   Final overrides. Kept at the very end so every rule below wins on source
   order without a single !important beyond the Astra geometry block above.
   --------------------------------------------------------------------------- */

/* Ground. A pure #ffffff body reads as an untoned page on the audit and drifts
   away from the paper palette. The tint is warm and very light, so body text
   still clears the contrast floor by a wide margin. */
html,
body,
#page,
.site,
#content,
.site-content,
.ast-container,
.entry-content,
#primary,
.site-main {
	background-color: var(--kzx-paper);
}

body,
.entry-content,
.site-content {
	color: var(--kzx-ink);
}

/* One marker for paid placement, directly before the paid block. */
.kzx-disclosure {
	font-size: 0.8125rem;
	line-height: 1.5;
	font-weight: 600;
	color: var(--kzx-ink);
	background: var(--kzx-paper-3);
	border: 1px solid var(--kzx-line);
	border-left: 4px solid var(--kzx-accent);
	border-radius: 0 var(--kzx-radius) var(--kzx-radius) 0;
	padding: 0.6875rem 1rem;
	margin: 0 0 0.875rem;
	max-width: 100%;
}

/* The age mark in the footer registry, on its own line above the text. */
.kzx-footer__registry .kzx-footer__badge {
	display: inline-block;
	background: #ffffff;
	color: var(--kzx-footer);
	font-weight: 800;
	font-size: 0.75rem;
	line-height: 1;
	padding: 0.3125rem 0.4375rem;
	border-radius: 3px;
	margin-bottom: 0.375rem;
	letter-spacing: 0.02em;
}

/* The helpline and the commission lines carry a phone-shaped token so a reader
   scanning the dark band can find them without reading every line. */
.kzx-footer__registry .kzx-footer__helpline::before {
	content: "Tel ";
	font-weight: 800;
	color: #ffffff;
}

/* Narrow screens: the bar folds into a single column and the button is the
   only control. */
@media (max-width: 900px) {
	.kzx-topbar__inner {
		align-items: flex-start;
	}

	.kzx-nav__toggle {
		margin-left: auto;
	}

	.kzx-disclosure {
		padding: 0.625rem 0.875rem;
	}
}

@media (max-width: 600px) {
	.kzx-footer__registry {
		grid-template-columns: 1fr;
	}
}
/* ---------------------------------------------------------------------------
   The onward list is navigation, not commerce. It is styled as plain links so
   that it is never mistaken for an action button, and the only button-shaped
   element on a page that carries a paid block is the call to action itself.
   --------------------------------------------------------------------------- */
.kzx-onward__item a {
	background: transparent;
	border: none;
	border-bottom: 1px solid var(--kzx-line);
	border-radius: 0;
	padding: 0.625rem 0;
	min-width: 0;
	font-weight: 600;
}

.kzx-onward__item a:hover {
	border-bottom-color: var(--kzx-accent);
	background: transparent;
}

/* The call to action keeps its button geometry and its own age line. */
.kzx-board__cta {
	min-width: 160px;
	min-height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.kzx-board__age {
	font-size: 0.75rem;
	line-height: 1.4;
	color: var(--kzx-muted);
	margin: 0.375rem 0 0;
	text-align: center;
}

/* Footer registry: the age mark, a helpline line and the commission line are
   all present as their own rows on the dark ground. */
.kzx-footer__registry .kzx-footer__badge {
	font-size: 0.75rem;
	padding: 0.25rem 0.375rem;
}
/* ---------------------------------------------------------------------------
   The bar has to fit on one line from 1024px upward. The labels are the
   manifest titles, so the bar is shrunk rather than the labels rewritten. A
   tighter type size and a shorter gap keep nine items on a single row at
   1024px, where the previous settings wrapped by 33px.
   --------------------------------------------------------------------------- */
@media (min-width: 1024px) {
	.kzx-topbar__inner {
		gap: 0.75rem;
		padding-inline: 1rem;
	}

	.kzx-brand {
		font-size: 0.9375rem;
	}

	.kzx-nav {
		flex: 1 1 auto;
		min-width: 0;
	}

	.kzx-nav > ul {
		flex-wrap: nowrap;
		gap: 0 0.6875rem;
		justify-content: flex-end;
	}

	.kzx-nav a {
		font-size: 0.75rem;
		padding: 0.5rem 0;
	}
}

@media (min-width: 1024px) and (max-width: 1200px) {
	.kzx-nav > ul {
		gap: 0 0.5rem;
	}

	.kzx-nav a {
		font-size: 0.6875rem;
	}
}

/* ---------------------------------------------------------------------------
   Footer registry. Five rows on the dark ground, each with its own label. The
   helpline and the commission line were reported missing because their labels
   sat inside a paragraph rather than in their own element.
   --------------------------------------------------------------------------- */
.kzx-footer__registry li {
	display: block;
}

.kzx-footer__registry strong {
	color: #ffffff;
}

.kzx-footer__helpline strong::after {
	content: " (gratis)";
	font-weight: 400;
	color: #ccd5df;
	font-size: 0.75rem;
}
/* ---------------------------------------------------------------------------
   Footer registry grid. Five cells, each with its own bold label on its own
   line, so the age mark, the helpline, the self exclusion register, the
   regulator and the commission line are all findable at a glance.
   --------------------------------------------------------------------------- */
.kzx-footer__registry {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
	gap: 1rem 1.75rem;
	margin: 0 0 1.75rem;
	padding: 1.5rem 0 0;
	border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.kzx-footer__cell {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}

.kzx-footer__label {
	display: block;
	color: #ffffff;
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.kzx-footer__text {
	color: #ccd5df;
	font-size: 0.8125rem;
	line-height: 1.5;
}

.kzx-footer__cell a {
	color: #ffffff;
	text-decoration: underline;
}

/* The bar lines up with the article column. The inner wrapper carried its own
   inline padding and drifted 8px to the right of the content edges. */
.kzx-topbar__inner {
	padding-inline: var(--kzx-gutter);
	box-sizing: border-box;
	width: 100%;
	max-width: var(--kzx-measure);
	margin-inline: auto;
}

@media (min-width: 1024px) {
	.kzx-topbar__inner {
		padding-inline: var(--kzx-gutter);
		gap: 1rem;
	}
}

/* Lists inside prose never push their markers outside the measure. */
.kzx-wrap ul,
.kzx-wrap ol,
.entry-content ul,
.entry-content ol {
	padding-left: 1.5rem;
	margin-left: 0;
}

.kzx-wrap li,
.entry-content li {
	margin-left: 0;
	padding-left: 0;
}
/* ---------------------------------------------------------------------------
   The opening block above the paid rows has to stay compact so that the first
   offer row lands within the first viewport at 1366x768. Every part of it is
   tightened here: the lead-in loses its padding, the standfirst loses its top
   gap, and the marker keeps a single line of height.
   --------------------------------------------------------------------------- */
.kzx-standfirst {
	font-size: 1.0625rem;
	line-height: 1.55;
	padding-left: 1rem;
	margin-bottom: 1rem;
}

.kzx-leadin {
	font-size: 0.875rem;
	line-height: 1.45;
	padding: 0.6875rem 0.875rem;
	margin-bottom: 0.875rem;
}

.kzx-disclosure {
	font-size: 0.75rem;
	line-height: 1.4;
	padding: 0.5rem 0.75rem;
	margin: 0 0 0.75rem;
}

.kzx-board {
	margin-block: 0 1.5rem;
}

/* Prose lists sit inside the measure instead of pushing their markers out of
   it. The list markers were reaching 7px from the left edge. */
.entry-content ul,
.entry-content ol,
.kzx-wrap ul,
.kzx-wrap ol {
	padding-left: 1.375rem;
	margin-left: 0;
	list-style-position: outside;
}

.entry-content li,
.kzx-wrap li {
	margin-left: 0;
	padding-left: 0;
}

.kzx-contents ul {
	padding-left: 1.375rem;
}

/* The footer registry cells are divs, not list items, so they never inherit a
   list marker and never report a gutter violation. */
.kzx-footer__registry {
	list-style: none;
	padding-left: 0;
}

.kzx-footer__registry > * {
	margin: 0;
}

.kzx-footer__age .kzx-footer__badge {
	display: inline-block;
	background: #ffffff;
	color: var(--kzx-footer);
	font-weight: 800;
	font-size: 0.75rem;
	line-height: 1;
	padding: 0.25rem 0.375rem;
	border-radius: 3px;
	margin-bottom: 0.25rem;
	width: auto;
}