/* ==========================================================================
   hex-kenteken — Nederlandse kentekenplaat (RDW-stijl)
   ========================================================================== */

.hex-kenteken {
	--hex-kenteken-height: 40px;
	--hex-kenteken-band: 24px;
	--hex-kenteken-yellow: #f5c800;
	--hex-kenteken-border: #1a1a18;
	--hex-kenteken-text: #111111;

	display: inline-flex;
	align-items: stretch;
	min-width: 168px;
	height: var(--hex-kenteken-height);
	border: 2px solid var(--hex-kenteken-border);
	border-radius: 5px;
	background: var(--hex-kenteken-yellow);
	overflow: hidden;
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.35),
		0 1px 2px rgba(0, 0, 0, 0.08);
	vertical-align: middle;
}

.hex-kenteken__band {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 var(--hex-kenteken-band);
	background: #003399;
}

.hex-kenteken__eu {
	display: block;
	height: 26px;
}

.hex-kenteken__plate {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 1 1 auto;
	padding: 0 14px 0 10px;
	color: var(--hex-kenteken-text);
	font-family: "Kenteken", "GL-Nummernschild-Eng", "Arial Black", "Helvetica Neue", Arial, sans-serif;
	font-size: 1.125rem;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	white-space: nowrap;
}

.hex-kenteken--compact {
	--hex-kenteken-height: 34px;
	--hex-kenteken-band: 28px;
	min-width: 148px;
}

.hex-kenteken--compact .hex-kenteken__eu {
	width: 15px;
	height: 28px;
}

.hex-kenteken--compact .hex-kenteken__plate {
	padding: 0 10px 0 8px;
	font-size: 0.95rem;
	letter-spacing: 0.08em;
}

/* In specificatielijst op occasion-detail */
.data-row .hex-kenteken {
	margin-left: auto;
}

.data-row:has(.hex-kenteken) {
	align-items: center;
}

@media (max-width: 720px) {
	.hex-kenteken {
		min-width: 152px;
	}

	.hex-kenteken__plate {
		font-size: 1rem;
	}
}
