/* NU Examen – huisstijl (kleuren en lettertypes van nuexamen.nl) */

:root {
	--nx-blue: #0e89ef;
	--nx-blue-btn: #0b74d1;
	--nx-blue-hover: #095fae;
	--nx-cyan: #00adef;
	--nx-navy: #1d73bc;
	--nx-deep: #0b3d6b;
	--nx-sky: #e8f4fe;
	--nx-ink: #1d201e;
	--nx-text: #3a4047;
	--nx-muted: #66707c;
	--nx-grey: #f2f2f2;
	--nx-line: #e1e7ee;
	--nx-white: #ffffff;
	--nx-ok: #0a8a3a;
	--nx-warn: #b37400;
	--nx-err: #c62828;
	--nx-radius: 18px;
	--nx-radius-sm: 12px;
	--nx-shadow: 0 10px 30px rgba(11, 61, 107, .08);
	--nx-shadow-lg: 0 24px 60px rgba(11, 61, 107, .16);
	--nx-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--nx-font-head: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--nx-wrap: 1160px;
	--nx-header-h: 72px;
}

/* ---------- Basis (alleen op pagina's met het NU Examen-sjabloon) ---------- */

body.nx-body {
	margin: 0;
	background: var(--nx-white);
	color: var(--nx-text);
	font-family: var(--nx-font);
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

body.nx-body .wp-site-blocks {
	padding: 0;
}

body.nx-body .wp-site-blocks > * {
	margin-block-start: 0;
}

body.nx-body [id] {
	scroll-margin-top: calc(var(--nx-header-h) + 16px);
}

.nx-main {
	margin: 0;
}

.nx-main .wp-block-post-content > * {
	margin-block-start: 0;
	margin-block-end: 0;
}

/* Losse blokken (bijv. op de voorwaardenpagina) netjes in een kolom */
.nx-main .wp-block-post-content > :not(.nx-section):not(.alignfull) {
	max-width: 760px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 20px;
	padding-right: 20px;
}

.nx-main .wp-block-post-content > :not(.nx-section):first-child {
	padding-top: 56px;
}

.nx-main .wp-block-post-content > :not(.nx-section) + :not(.nx-section) {
	margin-top: 1em;
}

.nx-main .wp-block-post-content > :not(.nx-section):last-child {
	padding-bottom: 72px;
}

body.nx-body h1,
body.nx-body h2,
body.nx-body h3,
body.nx-body h4 {
	font-family: var(--nx-font-head);
	color: var(--nx-ink);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -.025em;
	margin: 0 0 .5em;
}

body.nx-body h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); }
body.nx-body h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
body.nx-body h3 { font-size: clamp(1.15rem, 1.8vw, 1.35rem); }

body.nx-body p { margin: 0 0 1em; }
body.nx-body a { color: var(--nx-blue-btn); text-underline-offset: 3px; }
body.nx-body a:hover { color: var(--nx-blue-hover); }
body.nx-body :focus-visible { outline: 3px solid var(--nx-cyan); outline-offset: 2px; border-radius: 6px; }

/* ---------- Knoppen ---------- */

.nx-btn,
body.nx-body .wp-block-button .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5em;
	padding: .9em 1.7em;
	border: 2px solid var(--nx-blue-btn);
	border-radius: 64px;
	background: var(--nx-blue-btn);
	color: var(--nx-white);
	font-family: var(--nx-font);
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background .2s, border-color .2s, transform .2s, box-shadow .2s, color .2s;
	box-shadow: 0 8px 20px rgba(11, 116, 209, .25);
}

.nx-btn:hover,
body.nx-body .wp-block-button .wp-block-button__link:hover {
	background: var(--nx-blue-hover);
	border-color: var(--nx-blue-hover);
	color: var(--nx-white);
	transform: translateY(-1px);
}

.nx-btn--ghost,
body.nx-body .wp-block-button.nx-btn-ghost .wp-block-button__link {
	background: transparent;
	color: var(--nx-blue-btn);
	box-shadow: none;
}

.nx-btn--ghost:hover,
body.nx-body .wp-block-button.nx-btn-ghost .wp-block-button__link:hover {
	background: var(--nx-sky);
	color: var(--nx-blue-hover);
}

.nx-btn--sm { padding: .6em 1.2em; font-size: .92rem; box-shadow: none; }

body.nx-body .wp-block-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 1.4em;
}

/* Knoppen op een blauwe achtergrond */
.nx-hero .wp-block-button .wp-block-button__link,
.nx-cta .wp-block-button .wp-block-button__link {
	background: var(--nx-white);
	border-color: var(--nx-white);
	color: var(--nx-blue-btn);
	box-shadow: 0 10px 24px rgba(0, 0, 0, .15);
}

.nx-hero .wp-block-button .wp-block-button__link:hover,
.nx-cta .wp-block-button .wp-block-button__link:hover {
	background: var(--nx-sky);
	border-color: var(--nx-sky);
	color: var(--nx-blue-hover);
}

.nx-hero .wp-block-button.nx-btn-ghost .wp-block-button__link,
.nx-cta .wp-block-button.nx-btn-ghost .wp-block-button__link {
	background: transparent;
	border-color: rgba(255, 255, 255, .7);
	color: var(--nx-white);
	box-shadow: none;
}

.nx-hero .wp-block-button.nx-btn-ghost .wp-block-button__link:hover,
.nx-cta .wp-block-button.nx-btn-ghost .wp-block-button__link:hover {
	background: rgba(255, 255, 255, .12);
	color: var(--nx-white);
}

/* ---------- Header ---------- */

.nx-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(255, 255, 255, .92);
	backdrop-filter: saturate(160%) blur(10px);
	-webkit-backdrop-filter: saturate(160%) blur(10px);
	border-bottom: 1px solid transparent;
	transition: border-color .2s, box-shadow .2s;
}

body.admin-bar .nx-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .nx-header { top: 46px; } }
@media (max-width: 600px) { body.admin-bar .nx-header { top: 0; } }

.nx-header.is-scrolled {
	border-bottom-color: var(--nx-line);
	box-shadow: 0 4px 20px rgba(11, 61, 107, .06);
}

.nx-header__inner {
	max-width: var(--nx-wrap);
	height: var(--nx-header-h);
	margin: 0 auto;
	padding: 0 20px;
	display: flex;
	align-items: center;
	gap: 28px;
}

.nx-logo {
	font-family: var(--nx-font-head);
	font-size: 1.6rem;
	font-weight: 700;
	color: var(--nx-ink) !important;
	text-decoration: none;
	letter-spacing: -.025em;
	display: inline-flex;
	align-items: baseline;
	gap: .18em;
}

.nx-logo__nu {
	background: var(--nx-blue);
	color: var(--nx-white);
	padding: .1em .3em;
	border-radius: 8px;
	font-size: .9em;
}

.nx-logo--light { color: var(--nx-white) !important; }

.nx-nav {
	display: flex;
	gap: 24px;
	margin-left: auto;
}

.nx-nav a {
	color: var(--nx-ink);
	text-decoration: none;
	font-weight: 500;
	font-size: .95rem;
}

.nx-nav a:hover { color: var(--nx-blue-btn); }

@media (max-width: 860px) {
	.nx-nav { display: none; }
	.nx-header__inner { justify-content: space-between; }
}

/* ---------- Secties ---------- */

.nx-section {
	padding: 88px 20px;
	position: relative;
}

.nx-section > * {
	max-width: var(--nx-wrap);
	margin-left: auto !important;
	margin-right: auto !important;
}

.nx-section--grey { background: var(--nx-grey); }
.nx-section--sky { background: var(--nx-sky); }

.nx-section > h2,
.nx-section > .nx-intro {
	text-align: center;
	max-width: 760px;
}

.nx-intro {
	font-size: 1.08rem;
	color: var(--nx-muted);
	margin-bottom: 2.6em !important;
}

.nx-eyebrow {
	display: block;
	width: fit-content;
	margin: 0 auto 14px !important;
	padding: .35em .9em;
	border-radius: 64px;
	background: var(--nx-sky);
	color: var(--nx-navy);
	font-size: .78rem;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.nx-section--sky .nx-eyebrow { background: var(--nx-white); }

/* ---------- Hero (Attention) ---------- */

.nx-hero {
	background:
		radial-gradient(1200px 500px at 85% -10%, rgba(0, 173, 239, .55), transparent 60%),
		linear-gradient(135deg, var(--nx-blue) 0%, var(--nx-navy) 100%);
	color: rgba(255, 255, 255, .92);
	padding-top: 72px;
	padding-bottom: 96px;
	overflow: hidden;
}

.nx-hero h1 { color: var(--nx-white) !important; }

.nx-hero .nx-eyebrow {
	margin-left: 0 !important;
	background: rgba(255, 255, 255, .16);
	color: var(--nx-white);
}

.nx-hero .wp-block-columns { align-items: center !important; gap: 56px; }

.nx-lead {
	font-size: 1.15rem;
	color: rgba(255, 255, 255, .9);
	max-width: 560px;
}

.nx-hero .nx-checks li { color: var(--nx-white); }
.nx-hero .nx-checks li::before { background: rgba(255, 255, 255, .2); color: var(--nx-white); }

.nx-hero__img img {
	width: 100%;
	height: auto;
	border-radius: 24px;
	box-shadow: var(--nx-shadow-lg);
}

.nx-hero__note {
	font-size: .88rem;
	color: rgba(255, 255, 255, .8);
	margin-top: 1.2em !important;
}

/* ---------- Lijst met vinkjes ---------- */

body.nx-body .nx-checks {
	list-style: none;
	padding: 0;
	margin: 1.4em 0 0;
	display: flex;
	flex-wrap: wrap;
	gap: 10px 22px;
}

body.nx-body .nx-checks li {
	position: relative;
	padding-left: 30px;
	font-weight: 500;
}

body.nx-body .nx-checks li::before {
	content: "✓";
	position: absolute;
	left: 0;
	top: .15em;
	width: 21px;
	height: 21px;
	border-radius: 50%;
	background: var(--nx-sky);
	color: var(--nx-blue-btn);
	font-size: .75rem;
	font-weight: 700;
	display: grid;
	place-items: center;
	line-height: 1;
}

.nx-checks--stack { flex-direction: column; }

/* ---------- Kaarten ---------- */

body.nx-body .nx-cards {
	gap: 24px;
}

body.nx-body .nx-card {
	background: var(--nx-white);
	border: 1px solid var(--nx-line);
	border-radius: var(--nx-radius);
	padding: 28px;
	box-shadow: var(--nx-shadow);
	transition: transform .2s, box-shadow .2s;
}

body.nx-body .nx-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--nx-shadow-lg);
}

body.nx-body .nx-card > *:last-child { margin-bottom: 0; }
body.nx-body .nx-card h3 { margin-bottom: .4em; }
body.nx-body .nx-card p { color: var(--nx-muted); font-size: .97rem; }

body.nx-body .nx-cards + .nx-cards { margin-top: 24px !important; }
body.nx-body .wp-block-columns { margin-bottom: 0; }

body.nx-body .nx-card__title {
	font-family: var(--nx-font-head);
	font-size: 1.28rem;
	font-weight: 700;
	line-height: 1.2;
	color: var(--nx-ink) !important;
	margin: 0 0 .45em;
}

body.nx-body .nx-card__link { margin: 1em 0 0; font-weight: 600; }
body.nx-body .nx-card__link a { text-decoration: none; }
body.nx-body .nx-card__link a:hover { text-decoration: underline; }

body.nx-body .nx-eyebrow--left { margin-left: 0 !important; }

.nx-num {
	display: inline-grid !important;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 14px;
	background: var(--nx-blue);
	color: var(--nx-white);
	font-family: var(--nx-font-head);
	font-weight: 700;
	font-size: 1.15rem;
	margin-bottom: 16px !important;
}

.nx-icon {
	font-size: 2rem !important;
	line-height: 1;
	margin-bottom: 12px !important;
}

/* ---------- Voordelen (Desire) ---------- */

body.nx-body .nx-benefit {
	position: relative;
	padding-left: 62px;
	background: transparent;
	border: 0;
	box-shadow: none;
}

body.nx-body .nx-benefit:hover { transform: none; box-shadow: none; }

body.nx-body .nx-benefit::before {
	content: "";
	position: absolute;
	left: 0;
	top: 28px;
	width: 44px;
	height: 44px;
	border-radius: 14px;
	background: var(--nx-sky) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%230b74d1' d='M10 15.17l9.19-9.19 1.41 1.42L10 18 3.64 11.64l1.41-1.41z'/%3E%3C/svg%3E") center / 24px no-repeat;
}

/* ---------- Prijzen ---------- */

body.nx-body .nx-pricing { gap: 24px; align-items: stretch !important; }

body.nx-body .nx-price-card {
	display: flex;
	flex-direction: column;
	text-align: center;
	padding: 34px 28px;
	position: relative;
}

body.nx-body .nx-price-card .wp-block-buttons { justify-content: center; margin-top: auto; padding-top: 12px; }

body.nx-body .nx-price-card--featured {
	border: 2px solid var(--nx-blue);
	box-shadow: var(--nx-shadow-lg);
}

@media (min-width: 782px) {
	body.nx-body .nx-price-card--featured { transform: scale(1.04); }
	body.nx-body .nx-price-card--featured:hover { transform: scale(1.04) translateY(-3px); }
}

.nx-badge,
body.nx-body .nx-price-card .nx-badge {
	display: inline-block;
	width: fit-content;
	margin: 0 auto 12px;
	padding: .3em .85em;
	border-radius: 64px;
	background: var(--nx-blue);
	color: var(--nx-white) !important;
	font-size: .75rem;
	font-weight: 600;
	font-style: normal;
	letter-spacing: .05em;
	text-transform: uppercase;
}

.nx-badge--soft,
body.nx-body .nx-price-card .nx-badge--soft {
	background: var(--nx-sky);
	color: var(--nx-navy) !important;
}

body.nx-body .nx-price {
	font-family: var(--nx-font);
	font-size: 3rem;
	font-weight: 700;
	color: var(--nx-ink) !important;
	line-height: 1;
	margin: .2em 0 .35em;
}

.nx-price-note {
	text-align: center;
	color: var(--nx-muted);
	font-size: .92rem;
	margin-top: 2.2em !important;
}

/* ---------- Machtigen ---------- */

body.nx-body .nx-steps-list {
	counter-reset: nxstep;
	list-style: none;
	padding: 0;
	margin: 1.2em 0 0;
}

body.nx-body .nx-steps-list li {
	counter-increment: nxstep;
	position: relative;
	padding: 0 0 18px 52px;
}

body.nx-body .nx-steps-list li::before {
	content: counter(nxstep);
	position: absolute;
	left: 0;
	top: -2px;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--nx-blue);
	color: var(--nx-white);
	font-weight: 700;
	display: grid;
	place-items: center;
}

.nx-code {
	display: inline-block;
	padding: .1em .55em;
	border-radius: 8px;
	background: var(--nx-sky);
	color: var(--nx-navy);
	font-weight: 700;
	letter-spacing: .04em;
}

.nx-video video {
	width: 100%;
	border-radius: var(--nx-radius);
	box-shadow: var(--nx-shadow-lg);
	background: #000;
	display: block;
}

.nx-video figcaption {
	font-size: .88rem;
	color: var(--nx-muted);
	margin-top: 10px;
}

/* ---------- FAQ ---------- */

.nx-faq-list { max-width: 820px !important; }

body.nx-body .wp-block-details.nx-faq {
	background: var(--nx-white);
	border: 1px solid var(--nx-line);
	border-radius: var(--nx-radius-sm);
	padding: 0;
	margin: 0 0 12px;
	overflow: hidden;
}

body.nx-body .wp-block-details.nx-faq summary {
	list-style: none;
	cursor: pointer;
	padding: 20px 56px 20px 22px;
	font-weight: 600;
	color: var(--nx-ink);
	position: relative;
}

body.nx-body .wp-block-details.nx-faq summary::-webkit-details-marker { display: none; }

body.nx-body .wp-block-details.nx-faq summary::after {
	content: "+";
	position: absolute;
	right: 20px;
	top: 50%;
	transform: translateY(-50%);
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--nx-sky);
	color: var(--nx-blue-btn);
	display: grid;
	place-items: center;
	font-weight: 600;
	font-size: 1.2rem;
	transition: transform .2s;
}

body.nx-body .wp-block-details.nx-faq[open] summary::after { content: "–"; }

body.nx-body .wp-block-details.nx-faq > :not(summary) {
	padding: 0 22px;
	color: var(--nx-muted);
}

body.nx-body .wp-block-details.nx-faq > :last-child { padding-bottom: 20px; margin-bottom: 0; }

/* ---------- Slot-CTA (Action) ---------- */

.nx-cta {
	background: linear-gradient(135deg, var(--nx-navy) 0%, var(--nx-blue) 100%);
	color: rgba(255, 255, 255, .9);
	text-align: center;
}

.nx-cta h2 { color: var(--nx-white) !important; }
.nx-cta p { max-width: 640px; margin-left: auto !important; margin-right: auto !important; }
.nx-cta .wp-block-buttons { justify-content: center; }
.nx-cta a:not(.wp-block-button__link) { color: var(--nx-white); }

/* ---------- Kolommen op mobiel ---------- */

@media (max-width: 781px) {
	.nx-section { padding: 64px 20px; }
	.nx-hero { padding-top: 48px; padding-bottom: 64px; }
	body.nx-body .wp-block-columns { gap: 18px !important; }
	.nx-hero .wp-block-columns { gap: 36px !important; }
}

/* ---------- Footer ---------- */

.nx-footer {
	background: var(--nx-deep);
	color: rgba(255, 255, 255, .78);
	font-size: .95rem;
}

.nx-footer__inner {
	max-width: var(--nx-wrap);
	margin: 0 auto;
	padding: 64px 20px 40px;
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr;
	gap: 40px;
}

.nx-footer p { margin: 14px 0 0; max-width: 340px; }
.nx-footer__title { color: var(--nx-white); font-weight: 600; margin: 0 0 12px !important; }
.nx-footer ul { list-style: none; margin: 0; padding: 0; }
.nx-footer li { margin-bottom: 8px; }
.nx-footer a { color: rgba(255, 255, 255, .9); text-decoration: none; }
.nx-footer a:hover { color: var(--nx-cyan); text-decoration: underline; }

.nx-footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, .12);
	text-align: center;
	padding: 18px 20px;
	font-size: .85rem;
	color: rgba(255, 255, 255, .6);
}

@media (max-width: 760px) {
	.nx-footer__inner { grid-template-columns: 1fr; gap: 28px; padding-top: 48px; }
	.nx-footer__bottom { padding-bottom: 92px; }
}

/* ---------- Mobiele aanmeldbalk ---------- */

.nx-mobilebar { display: none; }

@media (max-width: 760px) {
	.nx-mobilebar {
		position: fixed;
		left: 12px;
		right: 12px;
		bottom: 12px;
		z-index: 90;
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		padding: 10px 10px 10px 18px;
		background: var(--nx-white);
		border-radius: 64px;
		box-shadow: 0 12px 30px rgba(11, 61, 107, .25);
		color: var(--nx-ink);
		transition: transform .25s, opacity .25s;
	}
	.nx-mobilebar.is-hidden { transform: translateY(140%); opacity: 0; pointer-events: none; }
}

/* =====================================================================
 * Aanmeldformulier
 * ================================================================== */

.nx-form {
	font-family: var(--nx-font);
	color: var(--nx-text);
	max-width: var(--nx-wrap);
	margin: 0 auto;
}

.nx-form *,
.nx-form *::before,
.nx-form *::after { box-sizing: border-box; }

.nx-progress {
	list-style: none;
	margin: 0 0 24px !important;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 8px;
	counter-reset: none;
}

.nx-progress li {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 14px;
	border-radius: var(--nx-radius-sm);
	background: var(--nx-white);
	border: 1px solid var(--nx-line);
	color: var(--nx-muted);
	font-weight: 500;
	font-size: .92rem;
	margin: 0;
}

.nx-progress li::before { content: none !important; }
.nx-progress li.is-clickable { cursor: pointer; }

.nx-progress__num {
	flex: 0 0 28px;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: var(--nx-grey);
	font-weight: 700;
	font-size: .85rem;
}

.nx-progress li.is-active { border-color: var(--nx-blue); color: var(--nx-ink); box-shadow: 0 0 0 3px rgba(14, 137, 239, .12); }
.nx-progress li.is-active .nx-progress__num { background: var(--nx-blue); color: var(--nx-white); }
.nx-progress li.is-done { color: var(--nx-ink); }
.nx-progress li.is-done .nx-progress__num { background: var(--nx-sky); color: var(--nx-blue-btn); }

@media (max-width: 600px) {
	.nx-progress { gap: 6px; }
	.nx-progress li { flex-direction: column; gap: 4px; padding: 10px 4px; font-size: .74rem; text-align: center; }
}

.nx-form__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 24px;
	align-items: start;
}

@media (max-width: 900px) {
	.nx-form__grid { grid-template-columns: 1fr; }
}

.nx-form__main {
	background: var(--nx-white);
	border: 1px solid var(--nx-line);
	border-radius: var(--nx-radius);
	padding: 32px;
	box-shadow: var(--nx-shadow);
	margin: 0;
}

@media (max-width: 600px) { .nx-form__main { padding: 22px 18px; } }

.nx-step { border: 0; margin: 0; padding: 0; min-width: 0; }
.nx-step[hidden] { display: none !important; }
.nx-step.is-active { animation: nxIn .3s ease; }

@keyframes nxIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.nx-step__title {
	font-family: var(--nx-font-head);
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--nx-ink);
	margin: 0 0 20px;
	padding: 0;
	line-height: 1.2;
}

.nx-step__title:focus { outline: none; }

.nx-options { display: grid; gap: 12px; }
.nx-options--3 { grid-template-columns: repeat(3, 1fr); }
.nx-options--2 { grid-template-columns: repeat(2, 1fr); }

@media (max-width: 600px) {
	.nx-options--3 { grid-template-columns: 1fr; }
	.nx-options--2 { grid-template-columns: 1fr; }
}

.nx-option { position: relative; display: block; cursor: pointer; margin: 0; }

.nx-option input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
}

.nx-option__body {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 4px;
	height: 100%;
	padding: 22px 16px;
	border: 2px solid var(--nx-line);
	border-radius: var(--nx-radius-sm);
	background: var(--nx-white);
	transition: border-color .15s, background .15s, box-shadow .15s;
}

.nx-option:hover .nx-option__body { border-color: #b7d8f7; }

.nx-option input:checked + .nx-option__body {
	border-color: var(--nx-blue);
	background: #f3f9ff;
	box-shadow: 0 0 0 3px rgba(14, 137, 239, .12);
}

.nx-option input:focus-visible + .nx-option__body { outline: 3px solid var(--nx-cyan); outline-offset: 2px; }

.nx-option__icon {
	font-size: 2.2rem;
	color: var(--nx-blue);
	line-height: 1;
	margin-bottom: 6px;
}

.nx-option__title { color: var(--nx-ink); font-weight: 600; font-size: 1.02rem; }
.nx-option__sub { color: var(--nx-muted); font-size: .86rem; }

.nx-option--row .nx-option__body {
	flex-direction: row;
	justify-content: space-between;
	text-align: left;
	align-items: center;
	gap: 16px;
	padding: 18px 20px;
}

.nx-option__text { display: flex; flex-direction: column; gap: 2px; }
.nx-option--row .nx-option__title { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.nx-option--row .nx-badge { margin: 0; font-size: .66rem; }

.nx-option__price {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--nx-ink);
	white-space: nowrap;
}

.nx-option input:checked + .nx-option__body .nx-option__price { color: var(--nx-blue-btn); }

.nx-note { font-size: .88rem; color: var(--nx-muted); margin: 14px 0 0 !important; }

.nx-fields {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px 18px;
}

@media (max-width: 600px) { .nx-fields { grid-template-columns: 1fr; } }

.nx-field { margin: 0 !important; display: flex; flex-direction: column; gap: 6px; }
.nx-field--full { grid-column: 1 / -1; }
.nx-field label { font-weight: 600; font-size: .9rem; color: var(--nx-ink); }
.nx-optional { font-weight: 400; color: var(--nx-muted); }

.nx-field input,
.nx-field select,
.nx-field textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1.5px solid #cfd8e3;
	border-radius: 10px;
	background: var(--nx-white);
	color: var(--nx-ink);
	font: inherit;
	font-size: 1rem;
	transition: border-color .15s, box-shadow .15s;
}

.nx-field input:focus,
.nx-field select:focus,
.nx-field textarea:focus {
	outline: none;
	border-color: var(--nx-blue);
	box-shadow: 0 0 0 3px rgba(14, 137, 239, .15);
}

.nx-field [aria-invalid="true"] { border-color: var(--nx-err); }

.nx-check {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	margin: 20px 0 0;
	font-size: .92rem;
	cursor: pointer;
}

.nx-check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--nx-blue); flex: 0 0 auto; }

.nx-error { color: var(--nx-err); font-size: .86rem; font-weight: 500; margin: 8px 0 0 !important; display: block; }
.nx-error[hidden] { display: none; }

.nx-alert {
	margin-top: 18px;
	padding: 12px 16px;
	border-radius: 10px;
	background: #fdecec;
	color: #8e1c1c;
	font-size: .92rem;
}

.nx-alert[hidden] { display: none; }

.nx-actions {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	margin-top: 26px;
}

.nx-btn--pay { min-width: 200px; font-size: 1.05rem; }
.nx-submit__total:not(:empty)::before { content: "· "; }

.nx-btn.is-loading { pointer-events: none; opacity: .8; }

.nx-btn.is-loading::after {
	content: "";
	width: 16px;
	height: 16px;
	border: 2px solid currentColor;
	border-right-color: transparent;
	border-radius: 50%;
	animation: nxSpin .7s linear infinite;
}

@keyframes nxSpin { to { transform: rotate(360deg); } }

.nx-secure { text-align: right; font-size: .82rem; color: var(--nx-muted); margin: 12px 0 0 !important; }

@media (max-width: 600px) {
	.nx-actions { flex-direction: column-reverse; align-items: stretch; }
	.nx-actions .nx-btn { width: 100%; }
	.nx-actions > span:empty { display: none; }
	.nx-secure { text-align: center; }
}

.nx-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Samenvatting */
.nx-summary {
	position: sticky;
	top: calc(var(--nx-header-h) + 20px);
	background: var(--nx-ink);
	color: rgba(255, 255, 255, .85);
	border-radius: var(--nx-radius);
	padding: 26px;
}

.nx-summary__title { color: var(--nx-white); font-family: var(--nx-font-head); font-size: 1.2rem; font-weight: 700; margin: 0 0 14px !important; }
.nx-summary dl { margin: 0; }
.nx-summary dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.nx-summary dt { color: rgba(255, 255, 255, .6); font-size: .9rem; }
.nx-summary dd { margin: 0; color: var(--nx-white); font-weight: 600; text-align: right; font-size: .92rem; }

.nx-summary__total {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	margin: 16px 0 !important;
	color: var(--nx-white);
}

.nx-summary__total strong { font-size: 1.8rem; }

.nx-summary__usp { list-style: none; margin: 0; padding: 16px 0 0; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .88rem; }
.nx-summary__usp li { display: flex; gap: 8px; margin: 0 0 6px; padding: 0; }
.nx-summary__usp li::before { content: none !important; }
.nx-summary__usp i { color: var(--nx-cyan); }

@media (max-width: 900px) { .nx-summary { position: static; } }

/* Resultaat na betaling */
.nx-result {
	background: var(--nx-white);
	border: 1px solid var(--nx-line);
	border-radius: var(--nx-radius);
	padding: 32px;
	box-shadow: var(--nx-shadow);
	max-width: 820px;
}

.nx-result__head { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 22px; }
.nx-result__head > i { font-size: 2.6rem; line-height: 1; }
.nx-result__head h3 { margin: 0 0 6px !important; font-size: 1.4rem; }
.nx-result__head p { margin: 0 !important; color: var(--nx-muted); }
.nx-result__head--ok > i { color: var(--nx-ok); }
.nx-result__head--wait > i { color: var(--nx-warn); }
.nx-result__head--fail > i { color: var(--nx-err); }

.nx-result__list { margin: 0 0 24px; border-top: 1px solid var(--nx-line); }
.nx-result__list > div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--nx-line); }
.nx-result__list dt { color: var(--nx-muted); }
.nx-result__list dd { margin: 0; font-weight: 600; color: var(--nx-ink); text-align: right; }

.nx-result__next { background: var(--nx-sky); border-radius: var(--nx-radius-sm); padding: 22px 24px; }
.nx-result__next h3 { margin: 0 0 10px !important; font-size: 1.15rem; }
.nx-result__next ol { margin: 0 0 16px; padding-left: 20px; }
.nx-result__next li { margin-bottom: 4px; }
.nx-result__actions { display: flex; flex-wrap: wrap; gap: 12px; }

@media (prefers-reduced-motion: reduce) {
	* { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Specificiteit: winnen van algemene regels ---------- */

body.nx-body a.nx-btn,
body.nx-body a.nx-btn:hover { color: var(--nx-white); }
body.nx-body a.nx-btn--ghost { color: var(--nx-blue-btn); }
body.nx-body a.nx-btn--ghost:hover { color: var(--nx-blue-hover); }

body.nx-body .nx-hero .wp-block-button .wp-block-button__link,
body.nx-body .nx-cta .wp-block-button .wp-block-button__link {
	background: var(--nx-white);
	border-color: var(--nx-white);
	color: var(--nx-blue-btn);
	box-shadow: 0 10px 24px rgba(0, 0, 0, .15);
}

body.nx-body .nx-hero .wp-block-button .wp-block-button__link:hover,
body.nx-body .nx-cta .wp-block-button .wp-block-button__link:hover {
	background: var(--nx-sky);
	border-color: var(--nx-sky);
	color: var(--nx-blue-hover);
}

body.nx-body .nx-hero .wp-block-button.nx-btn-ghost .wp-block-button__link,
body.nx-body .nx-cta .wp-block-button.nx-btn-ghost .wp-block-button__link {
	background: transparent;
	border-color: rgba(255, 255, 255, .7);
	color: var(--nx-white);
	box-shadow: none;
}

body.nx-body .nx-hero .wp-block-button.nx-btn-ghost .wp-block-button__link:hover,
body.nx-body .nx-cta .wp-block-button.nx-btn-ghost .wp-block-button__link:hover {
	background: rgba(255, 255, 255, .12);
	color: var(--nx-white);
}

body.nx-body .nx-card p.nx-card__title {
	font-family: var(--nx-font-head);
	font-size: 1.28rem;
	font-weight: 700;
	line-height: 1.2;
	color: var(--nx-ink);
	margin: 0 0 .45em;
}

body.nx-body .nx-card p.nx-num {
	color: var(--nx-white);
	font-family: var(--nx-font-head);
	font-size: 1.15rem;
	font-weight: 700;
}

body.nx-body .nx-card p.nx-icon { font-size: 2rem; }

body.nx-body .nx-card p.nx-price {
	font-family: var(--nx-font);
	font-size: 3rem;
	font-weight: 700;
	line-height: 1;
	color: var(--nx-ink);
	margin: .2em 0 .35em;
}

body.nx-body .nx-card p.nx-badge { font-size: .75rem; }
body.nx-body .nx-card p.nx-card__link { font-size: 1rem; }

/* ---------- Klassieke thema's: groepen met een binnencontainer ---------- */

.nx-section > .wp-block-group__inner-container > h2,
.nx-section > .wp-block-group__inner-container > .nx-intro {
	text-align: center;
	max-width: 760px;
	margin-left: auto !important;
	margin-right: auto !important;
}

.nx-section.nx-hero > .wp-block-group__inner-container > h2 { text-align: left; }

body.nx-body .nx-faq-list {
	margin-left: auto !important;
	margin-right: auto !important;
}

body.nx-body .nx-footer a { color: rgba(255, 255, 255, .9); }
body.nx-body .nx-footer a:hover { color: var(--nx-cyan); }

body.nx-body .sharedaddy,
body.nx-body .jp-relatedposts,
body.nx-body .wpl-likebox,
body.nx-body #jp-post-flair { display: none !important; }

.nx-header .nx-btn { white-space: nowrap; }

@media (max-width: 400px) {
	.nx-logo { font-size: 1.35rem; }
	.nx-header .nx-btn--sm { padding: .55em .95em; font-size: .85rem; }
}

body.nx-body h1 { font-weight: 800; }

/* ---------- Contact ---------- */

.nx-contact {
	display: grid;
	grid-template-columns: 1fr 1.1fr;
	gap: 48px;
	align-items: start;
	max-width: var(--nx-wrap);
	margin: 0 auto;
}

body.nx-body .nx-contact h2 { text-align: left; margin-bottom: .4em; }
body.nx-body .nx-contact__intro > p { color: var(--nx-muted); }

.nx-contact *, .nx-contact *::before, .nx-contact *::after { box-sizing: border-box; }
.nx-contact .nx-field { min-width: 0; }

.nx-contact__links { display: grid; gap: 12px; margin-top: 24px; }

body.nx-body a.nx-contact__link {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 18px;
	border: 1.5px solid var(--nx-line);
	border-radius: var(--nx-radius-sm);
	background: var(--nx-white);
	color: var(--nx-ink);
	text-decoration: none;
	transition: border-color .2s, box-shadow .2s, transform .2s;
}

body.nx-body a.nx-contact__link:hover { border-color: var(--nx-blue); box-shadow: var(--nx-shadow); transform: translateY(-1px); color: var(--nx-ink); }

.nx-contact__link i {
	display: grid;
	place-items: center;
	flex: 0 0 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--nx-sky);
	color: var(--nx-blue-btn);
	font-size: 1.35rem;
}

.nx-contact__link--wa i { background: #e3f7ea; color: #128c4b; }
.nx-contact__link span { display: flex; flex-direction: column; line-height: 1.3; }
.nx-contact__link strong { font-weight: 600; font-size: 1.02rem; }
.nx-contact__link small { color: var(--nx-muted); font-size: .9rem; }

.nx-contact__form {
	padding: 28px;
	border-radius: var(--nx-radius);
	background: var(--nx-white);
	box-shadow: var(--nx-shadow-lg);
}

body.nx-body p.nx-contact__title { font-weight: 700; font-size: 1.15rem; color: var(--nx-ink); margin-bottom: 16px; }
.nx-contact__send { margin-top: 20px; width: 100%; }
.nx-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.nx-alert--ok { background: #e6f6ec; color: #0a5c2a; }

@media (max-width: 860px) {
	.nx-contact { grid-template-columns: 1fr; gap: 28px; }
	.nx-contact__form { padding: 22px 18px; }
}

/* Zwevende WhatsApp-knop */
body.nx-body a.nx-wa-float {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 95;
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: #25d366;
	color: #fff;
	font-size: 1.75rem;
	text-decoration: none;
	box-shadow: 0 10px 24px rgba(0, 0, 0, .2);
	transition: transform .2s;
}

body.nx-body a.nx-wa-float:hover { transform: scale(1.06); color: #fff; }

@media (max-width: 760px) {
	body.nx-body a.nx-wa-float { right: 14px; bottom: 82px; width: 50px; height: 50px; font-size: 1.55rem; }
}

/* Machtigen: alleen stappenplan, geen video */
body.nx-body #machtigen .wp-block-column { max-width: 760px; }
body.nx-body #machtigen .wp-block-buttons { margin-top: 24px; }
