/* ==========================================================================
   Studeerkompas — Vergelijken (page-vergelijken.php)
   Designsysteem: ink #16232E · parchment #F7F2E7 · gold #B8862E
                  forest #2F6B4F · wine #7A2E36
   Fonts: Fraunces (display) · Inter (body) · IBM Plex Mono (labels)
   ========================================================================== */

.vc-main {
	--vc-ink: #16232E;
	--vc-parchment: #F7F2E7;
	--vc-gold: #B8862E;
	--vc-forest: #2F6B4F;
	--vc-wine: #7A2E36;
	--vc-lijn: rgba(22, 35, 46, 0.14);

	max-width: 1100px;
	margin: 0 auto;
	padding: 2.5rem 1.25rem 4rem;
	font-family: "Inter", system-ui, sans-serif;
	color: var(--vc-ink);
}

/* --- Hero ---------------------------------------------------------------- */

.vc-hero { margin-bottom: 2rem; }

.vc-eyebrow {
	font-family: "IBM Plex Mono", monospace;
	font-size: 0.75rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--vc-gold);
	margin: 0 0 0.5rem;
}

.vc-titel {
	font-family: "Fraunces", serif;
	font-size: clamp(2rem, 4vw, 2.75rem);
	line-height: 1.1;
	margin: 0 0 0.75rem;
}

.vc-intro {
	max-width: 40rem;
	margin: 0;
	color: rgba(22, 35, 46, 0.75);
}

/* --- Kiezer -------------------------------------------------------------- */

.vc-kiezer {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
	gap: 1rem;
	align-items: end;
	background: var(--vc-parchment);
	border: 1px solid var(--vc-lijn);
	border-radius: 12px;
	padding: 1.25rem;
	margin-bottom: 2.5rem;
}

.vc-kiezer-veld { display: flex; flex-direction: column; gap: 0.4rem; min-width: 0; }

.vc-kiezer-label {
	font-family: "IBM Plex Mono", monospace;
	font-size: 0.7rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(22, 35, 46, 0.6);
}

.vc-kiezer select {
	width: 100%;
	padding: 0.65rem 0.75rem;
	border: 1px solid var(--vc-lijn);
	border-radius: 8px;
	background: #fff;
	font: inherit;
	color: var(--vc-ink);
}

.vc-kiezer select:focus-visible,
.vc-knop:focus-visible,
.vc-cta:focus-visible {
	outline: 2px solid var(--vc-gold);
	outline-offset: 2px;
}

.vc-knop {
	padding: 0.7rem 1.5rem;
	border: 0;
	border-radius: 8px;
	background: var(--vc-gold);
	color: var(--vc-ink);
	font-weight: 600;
	font-family: inherit;
	cursor: pointer;
	white-space: nowrap;
}

.vc-knop:hover { filter: brightness(1.06); }

/* --- Lege staat ----------------------------------------------------------- */

.vc-leeg {
	border: 1px dashed var(--vc-lijn);
	border-radius: 12px;
	padding: 2.5rem 1.5rem;
	text-align: center;
	color: rgba(22, 35, 46, 0.65);
}

/* --- Tabel ---------------------------------------------------------------- */

.vc-tabel-scroll {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	border: 1px solid var(--vc-lijn);
	border-radius: 12px;
	background: #fff;
}

.vc-tabel {
	width: 100%;
	border-collapse: collapse;
	min-width: 640px; /* forceert scroll op smalle schermen i.p.v. kapotte kolommen */
}

.vc-tabel th,
.vc-tabel td {
	padding: 0.9rem 1rem;
	border-bottom: 1px solid var(--vc-lijn);
	vertical-align: top;
	text-align: left;
}

.vc-tabel tbody tr:last-child th,
.vc-tabel tbody tr:last-child td { border-bottom: 0; }

/* Eerste kolom (rijlabels) sticky bij horizontaal scrollen */
.vc-rijlabel {
	position: sticky;
	left: 0;
	background: var(--vc-parchment);
	font-family: "IBM Plex Mono", monospace;
	font-size: 0.72rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	font-weight: 500;
	color: rgba(22, 35, 46, 0.7);
	min-width: 8.5rem;
	z-index: 1;
}

/* Kolomkoppen */

.vc-kop { background: var(--vc-ink); }

.vc-kop-eyebrow {
	font-family: "IBM Plex Mono", monospace;
	font-size: 0.68rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--vc-gold);
	margin: 0 0 0.35rem;
}

.vc-kop-titel {
	font-family: "Fraunces", serif;
	font-size: 1.15rem;
	line-height: 1.25;
	margin: 0 0 0.3rem;
}

.vc-kop-titel a { color: var(--vc-parchment); text-decoration: none; }
.vc-kop-titel a:hover { text-decoration: underline; text-decoration-color: var(--vc-gold); }

.vc-kop-aanbieder {
	font-size: 0.85rem;
	color: rgba(247, 242, 231, 0.7);
	margin: 0;
}

thead .vc-rijlabel { background: var(--vc-ink); }

/* Waarden */

.vc-leeg-waarde { color: rgba(22, 35, 46, 0.35); }

.vc-beste { background: rgba(47, 107, 79, 0.08); }

.vc-beste-chip {
	display: inline-block;
	margin-left: 0.5rem;
	padding: 0.15rem 0.5rem;
	border-radius: 999px;
	background: var(--vc-forest);
	color: #fff;
	font-family: "IBM Plex Mono", monospace;
	font-size: 0.65rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	vertical-align: middle;
}

/* Erkenning — zegel alleen bij bevestigde status */

.vc-zegel {
	display: inline-block;
	padding: 0.25rem 0.7rem;
	border-radius: 999px;
	background: rgba(47, 107, 79, 0.12);
	border: 1px solid var(--vc-forest);
	color: var(--vc-forest);
	font-weight: 600;
	font-size: 0.85rem;
}

.vc-zegel-open {
	display: inline-block;
	padding: 0.25rem 0.7rem;
	border: 1px solid var(--vc-lijn);
	border-radius: 4px;
	font-family: "IBM Plex Mono", monospace;
	font-size: 0.68rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: rgba(22, 35, 46, 0.6);
}

/* CTA-rij */

.vc-cta-rij td { background: var(--vc-parchment); }
.vc-cta-rij .vc-rijlabel { background: var(--vc-parchment); }

.vc-cta {
	display: inline-block;
	padding: 0.6rem 1.2rem;
	border-radius: 8px;
	background: var(--vc-gold);
	color: var(--vc-ink);
	font-weight: 600;
	text-decoration: none;
}

.vc-cta:hover { filter: brightness(1.06); }

.vc-cta-secundair {
	background: transparent;
	border: 1px solid var(--vc-ink);
	color: var(--vc-ink);
}

/* --- Disclosure ------------------------------------------------------------ */

.vc-disclosure {
	margin-top: 1rem;
	font-size: 0.82rem;
	color: rgba(22, 35, 46, 0.6);
}

/* --- Responsief ------------------------------------------------------------ */

@media (max-width: 860px) {
	.vc-kiezer { grid-template-columns: 1fr; }
	.vc-knop { justify-self: start; }
}

@media (prefers-reduced-motion: reduce) {
	.vc-main * { transition: none !important; }
}
