/*
 * VAL Media Onder Constructie.
 * Kleuren, fonts en logo's komen uit het VAL Media-thema (theme.css + CSS-variabelen).
 * De waarden hieronder zijn alleen een terugval zonder thema (:where = laagste voorrang).
 */
:where(:root) {
	--g1: #a7b5f3; --g2: #bd90c1; --g2-rgb: 189, 144, 193;
	--grad: linear-gradient(180deg, var(--g1), var(--g2));
	--ink: #2b2140; --head: #8a5aa8; --deep: #6b4590; --muted: #6a5d7c;
	--surface: #f4f0fa; --paper: #fff; --onpanel: #fff; --tint: .55;
	--radius: 28px; --radius-l: 44px;
	--shadow-l: 0 2px 4px rgba(43, 33, 64, .06), 0 24px 60px -24px rgba(43, 33, 64, .35);
	--f-head: "Century Gothic", "Avenir Next", system-ui, sans-serif;
	--f-body: var(--f-head); --f-fun: var(--f-head);
	--sf-g1: #7f9174;
}
:where(.vm-scope-sf, [data-world="sfeervol"]) {
	--g1: #7f9174; --g2: #6f8265; --g2-rgb: 111, 130, 101; --ink: #2f3a2a; --head: #7f9174; --deep: #5e6f55;
	--muted: #56664d; --surface: #efebdc; --paper: #f7f4e9; --onpanel: #f7f4e9;
	--grad: linear-gradient(180deg, var(--g1), var(--g2));
}

html, body { margin: 0; min-height: 100%; }
body.vmuc::after { display: none; } /* Randstrook van het thema hoort hier niet. */
body.vmuc { background: var(--ink); color: var(--ink); font-family: var(--f-body); font-size: 18px; line-height: 1.6; -webkit-font-smoothing: antialiased; }

.vmuc__stage { --card-w: min(520px, calc(100vw - 32px)); position: relative; display: flex; flex-direction: column; min-height: 100svh; }

/* Helften met foto. */
.vmuc__half {
	position: relative; isolation: isolate; overflow: hidden;
	display: flex; align-items: center; justify-content: center;
	min-height: 260px; padding: 56px 24px 88px;
	background: var(--grad); color: var(--onpanel); text-align: center;
}
.vmuc__half--sfeervol { padding: 88px 24px 56px; }
.vmuc__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: calc(1 - var(--tint)); }
.vmuc__half::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(var(--g2-rgb), .25), rgba(var(--g2-rgb), .7)); }
.vmuc__brand { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.vmuc__brand .vm-logo--val.vm-logo--stacked { width: clamp(150px, 20vw, 250px); }
.vmuc__brand .vm-logo--sf { width: clamp(170px, 17vw, 240px); }
.vmuc__brand .vm-logo__img { max-height: 130px; width: auto; }
.vmuc__line { margin: 0; font-family: var(--f-fun); text-transform: lowercase; letter-spacing: .08em; font-size: 1.05rem; color: var(--onpanel); text-shadow: 0 1px 12px rgba(0, 0, 0, .18); }

/* Kaart. */
.vmuc__card {
	position: relative; z-index: 2; box-sizing: border-box;
	width: var(--card-w); margin: -56px auto;
	padding: clamp(28px, 5vw, 48px);
	background: var(--paper); color: var(--ink);
	border-radius: var(--radius-l, 44px); box-shadow: var(--shadow-l);
	text-align: center;
}
.vmuc__cardlogo { display: flex; justify-content: center; margin-bottom: 22px; }
.vmuc__cardlogo .vm-logo--val.vm-logo--stacked { width: 170px; }
.vmuc__cardlogo .vm-logo--sf { width: 180px; }
.vmuc__kicker { margin: 0 0 6px; font-family: var(--f-fun); text-transform: lowercase; letter-spacing: .1em; color: var(--muted); font-size: 1.05rem; }
.vmuc__title { margin: 0 0 .5em; color: var(--head); font-family: var(--f-head); font-weight: 700; text-transform: uppercase; font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.4rem); line-height: 1.1; text-wrap: balance; }
.vmuc__text { margin: 0 0 1em; color: var(--ink); }
.vmuc__text:last-of-type { margin-bottom: 1.4em; }

.vmuc__count { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 0 0 8px; }
.vmuc__count span { display: flex; flex-direction: column; align-items: center; padding: 10px 4px; background: var(--surface); border-radius: 14px; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.vmuc__count b { font-family: var(--f-head); font-weight: 700; font-size: 1.7rem; line-height: 1.1; color: var(--deep); font-variant-numeric: tabular-nums; }
.vmuc__date { margin: 0 0 1.4em; font-size: .92rem; color: var(--muted); }

.vmuc__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.vmuc__actions .vm-btn--ghost:not(:hover) { color: var(--deep); }
.vmuc--split .vmuc__sfbtn { --btn-fg: #5e6f55; --btn-bd: #5e6f55; }
.vmuc--split .vmuc__sfbtn:hover { --btn-bg: #5e6f55; --btn-fg: #f7f4e9; }

/* Knoppen zonder thema. */
.vmuc__btn { display: inline-flex; align-items: center; min-height: 48px; padding: 12px 24px; border-radius: 999px; border: 2px solid var(--deep); background: var(--deep); color: #fff; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: .9rem; text-decoration: none; }
.vmuc__btn--ghost { background: transparent; color: var(--deep); }
.vmuc__wordmark { font-family: var(--f-head); font-weight: 700; font-size: clamp(2rem, 4vw, 3rem); letter-spacing: .02em; text-transform: uppercase; }

.vmuc__social { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin: 22px 0 0; padding: 0; }
.vmuc__social a { color: var(--deep); font-weight: 700; font-size: .9rem; text-decoration: none; }
.vmuc__social a:hover { text-decoration: underline; }

.vmuc__foot { margin: 26px 0 0; font-size: .8rem; color: var(--muted); }
.vmuc__foot a { color: inherit; }
.vmuc__credit { margin: 10px 0 0; padding-top: 14px; border-top: 1px solid rgba(0, 0, 0, .08); font-size: .9rem; color: var(--ink); }
.vmuc__credit a { white-space: nowrap; font-family: var(--f-head); font-weight: 700; color: var(--deep); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }

a:focus-visible { outline: 3px solid var(--deep); outline-offset: 3px; border-radius: 6px; }

/* Eén wereld: foto vult het scherm, kaart in het midden. */
.vmuc--val .vmuc__stage, .vmuc--sfeervol .vmuc__stage { display: grid; place-items: center; padding: 32px 16px; box-sizing: border-box; }
.vmuc--val .vmuc__half, .vmuc--sfeervol .vmuc__half { position: absolute; inset: 0; padding: 0; min-height: 0; }
.vmuc--val .vmuc__card, .vmuc--sfeervol .vmuc__card { margin: 0; }

/* Breed: twee helften naast elkaar, kaart over de naad. */
@media (min-width: 960px) {
	.vmuc--split .vmuc__stage { display: grid; grid-template-columns: 1fr 1fr; }
	.vmuc--split .vmuc__half { min-height: 100svh; padding: 48px; padding-right: calc(var(--card-w) / 2 + 48px); }
	.vmuc--split .vmuc__half--sfeervol { padding: 48px; padding-left: calc(var(--card-w) / 2 + 48px); }
	.vmuc--split .vmuc__card { position: absolute; left: 50%; top: 50%; margin: 0; transform: translate(-50%, -50%); max-height: calc(100svh - 48px); overflow: auto; }
}
@media (max-width: 959.98px) {
	/* De kleuren lopen door achter de kaart: boven VAL Media, onder SfeerVOL. */
	.vmuc--split .vmuc__stage { background: linear-gradient(180deg, var(--g2) 0 50%, var(--sf-g1) 50% 100%); }
	.vmuc--split .vmuc__half { min-height: 34svh; }
}
