/*
 * Huisstijl voor blokinhoud op gewone pagina's (thema 2.10.1)
 * Geldt alleen met body.vzqk-inhoud, zie inc/inhoud-stijl.php.
 *
 * CONTROLEER DE KLEUREN HIERONDER: ze zijn afgeleid van het ontwerp
 * (helm: limegroen + kobaltblauw), niet uitgelezen van de live site.
 * Lees de echte waarden uit met het console-script in de handleiding
 * en pas alleen deze variabelen aan.
 */
body.vzqk-inhoud {
	--vi-kop: #e8edf6;      /* koppen en nadruk          */
	--vi-tekst: #b9c2d0;    /* lopende tekst              */
	--vi-mut: #7b879b;      /* bijschriften               */
	--vi-lime: #c8ff00;     /* accent, links, knoppen     */
	--vi-blauw: #2f6bff;    /* focus, tweede accent       */
	--vi-paneel: #0e131c;   /* kaarten                    */
	--vi-lijn: #1c2432;     /* randen                     */
	--vi-op-lime: #0b1000;  /* tekst op limegroen         */
	--vi-display: 'Antonio', 'Arial Narrow', Arial, sans-serif;
	--vi-body: 'Barlow', 'Segoe UI', Roboto, Arial, sans-serif;
}

/* Astra zet bij een 'gescheiden container' een lichte kaart achter het artikel. */
body.vzqk-inhoud.ast-separate-container .ast-article-single,
body.vzqk-inhoud.ast-separate-container .ast-article-post {
	background: transparent;
}

/* ---------- Tekst ---------- */
body.vzqk-inhoud .entry-content {
	color: var(--vi-tekst);
	font-family: var(--vi-body);
	font-size: 1.0625rem;
	line-height: 1.65;
}
body.vzqk-inhoud .entry-content :is(p, li, dd, td, figcaption) {
	color: var(--vi-tekst);
}
body.vzqk-inhoud .entry-content > p:first-child {
	color: var(--vi-kop);
	font-size: clamp(1.125rem, 1.6vw, 1.3125rem);
	max-width: 62ch;
}
body.vzqk-inhoud .entry-content :is(p, ul, ol) {
	max-width: 72ch;
}
body.vzqk-inhoud .entry-content strong {
	color: var(--vi-kop);
	font-weight: 600;
}

/* ---------- Koppen ---------- */
body.vzqk-inhoud .entry-title,
body.vzqk-inhoud .entry-content :is(h1, h2, h3, h4, h5, h6) {
	color: var(--vi-kop);
	font-family: var(--vi-display);
	font-weight: 700;
	line-height: 1.02;
	letter-spacing: .005em;
	text-transform: uppercase;
}
body.vzqk-inhoud .entry-title {
	font-size: clamp(2.75rem, 7vw, 5rem);
	margin-bottom: .35em;
}
body.vzqk-inhoud .entry-content h2 {
	font-size: clamp(1.875rem, 3.6vw, 2.75rem);
	margin: 1.6em 0 .5em;
}
body.vzqk-inhoud .entry-content h3 {
	font-size: clamp(1.375rem, 2.2vw, 1.75rem);
	margin: 1.2em 0 .4em;
}
body.vzqk-inhoud .entry-content h4 {
	font-size: 1.25rem;
}

/* ---------- Links ---------- */
body.vzqk-inhoud .entry-content a:not(.wp-block-button__link) {
	color: var(--vi-lime);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: .2em;
}
body.vzqk-inhoud .entry-content a:not(.wp-block-button__link):hover {
	text-decoration-thickness: 2px;
}
body.vzqk-inhoud .entry-content a:focus-visible {
	outline: 2px solid var(--vi-blauw);
	outline-offset: 3px;
	border-radius: 2px;
}

/* ---------- Lijsten ---------- */
body.vzqk-inhoud .entry-content ul.wp-block-list {
	list-style: none;
	padding-left: 0;
	margin-left: 0;
}
body.vzqk-inhoud .entry-content ul.wp-block-list > li {
	position: relative;
	padding-left: 1.4em;
	margin: .5em 0;
}
body.vzqk-inhoud .entry-content ul.wp-block-list > li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .62em;
	width: .5em;
	height: .5em;
	background: var(--vi-lime);
	transform: skewX(-14deg);
}
body.vzqk-inhoud .entry-content ol > li::marker {
	color: var(--vi-lime);
	font-weight: 700;
}

/* ---------- Kolommen als kaarten (bijv. de drie circuits op /live-timing/) ---------- */
body.vzqk-inhoud .entry-content .wp-block-columns {
	gap: 16px;
	margin-block: 1.5em;
}
body.vzqk-inhoud .entry-content .wp-block-column {
	display: flex;
	flex-direction: column;
	padding: 24px;
	background: var(--vi-paneel);
	border: 1px solid var(--vi-lijn);
	border-top: 3px solid var(--vi-lime);
	border-radius: 8px;
}
body.vzqk-inhoud .entry-content .wp-block-column > :first-child {
	margin-top: 0;
}
body.vzqk-inhoud .entry-content .wp-block-column > .wp-block-buttons {
	margin-top: auto;
	padding-top: 12px;
}

/* ---------- Knoppen ---------- */
body.vzqk-inhoud .entry-content .wp-block-buttons {
	gap: 12px;
}
body.vzqk-inhoud .entry-content .wp-block-button .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	min-height: 48px;
	padding: .7em 1.4em;
	background: var(--vi-lime);
	color: var(--vi-op-lime);
	border: 2px solid var(--vi-lime);
	border-radius: 6px;
	font: 600 1rem/1.2 var(--vi-body);
	text-decoration: none;
	transition: background-color .15s, color .15s;
}
body.vzqk-inhoud .entry-content .wp-block-button .wp-block-button__link:hover {
	background: #d9ff4d;
	color: var(--vi-op-lime);
}
body.vzqk-inhoud .entry-content .wp-block-button.is-style-outline .wp-block-button__link {
	background: transparent;
	color: var(--vi-lime);
}
body.vzqk-inhoud .entry-content .wp-block-button.is-style-outline .wp-block-button__link:hover {
	background: rgba(200, 255, 0, .1);
	color: var(--vi-lime);
}
body.vzqk-inhoud .entry-content .wp-block-button .wp-block-button__link:focus-visible {
	outline: 2px solid var(--vi-blauw);
	outline-offset: 3px;
}

/* ---------- Overig ---------- */
body.vzqk-inhoud .entry-content .wp-block-image img {
	border-radius: 8px;
}
body.vzqk-inhoud .entry-content hr {
	border: 0;
	border-top: 1px solid var(--vi-lijn);
	margin-block: 2.5em;
}
body.vzqk-inhoud .entry-content blockquote {
	margin-inline: 0;
	padding-left: 1.2em;
	border-left: 3px solid var(--vi-lime);
	color: var(--vi-kop);
}
body.vzqk-inhoud .entry-content table {
	border-collapse: collapse;
}
body.vzqk-inhoud .entry-content :is(th, td) {
	border: 1px solid var(--vi-lijn);
	padding: .6em .8em;
}
body.vzqk-inhoud .entry-content th {
	color: var(--vi-kop);
	text-align: left;
}

@media (prefers-reduced-motion: reduce) {
	body.vzqk-inhoud .entry-content * {
		transition: none !important;
	}
}

/* ---------- 2.10.1: knopkleuren hard maken ----------
 * Op de teampagina wonnen themaregels het van de knopkleuren (lime tekst op
 * lime). Met #content (Astra) en !important blijft de knoptekst altijd leesbaar.
 */
body.vzqk-inhoud #content .entry-content .wp-block-button .wp-block-button__link {
	background: var(--vi-lime) !important;
	color: var(--vi-op-lime) !important;
}
body.vzqk-inhoud #content .entry-content .wp-block-button .wp-block-button__link:hover {
	background: #d9ff4d !important;
}
body.vzqk-inhoud #content .entry-content .wp-block-button.is-style-outline .wp-block-button__link {
	background: transparent !important;
	color: var(--vi-lime) !important;
}
body.vzqk-inhoud #content .entry-content .wp-block-button.is-style-outline .wp-block-button__link:hover {
	background: rgba(200, 255, 0, .1) !important;
}
