/* [webcam_live] — kaart in dezelfde stijl als de kaarten van Weer Hub. */
.wdk-live {
	background: #f3f4f6;
	border-radius: 14px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
	overflow: hidden;
	margin: 0 0 20px;
	box-sizing: border-box;
	font-family: inherit;
}

.wdk-live *,
.wdk-live *::before,
.wdk-live *::after {
	box-sizing: border-box;
}

.wdk-live-kop {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	background: linear-gradient(90deg, #1f5fae, #4a8ad6);
	color: #fff;
	padding: 9px 14px;
}

.wdk-live h2.wdk-live-titel {
	margin: 0;
	padding: 0;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
	color: #fff;
	border: none;
}

.wdk-live-status {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 13px;
	white-space: nowrap;
}

.wdk-live-badge {
	background: #d93a32;
	color: #fff;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.6px;
	padding: 2px 7px;
	border-radius: 4px;
	line-height: 1.4;
}

.wdk-live-tijd {
	font-variant-numeric: tabular-nums;
	opacity: 0.95;
}

/* Beeld: alle webcams op elkaar, de actieve vloeit in. */
.wdk-live-beeld {
	position: relative;
	background: #1b2230;
	outline: none;
	overflow: hidden;
}

.wdk-live-beeld:focus-visible {
	box-shadow: inset 0 0 0 3px #4a8ad6;
}

.wdk-live-slide {
	position: absolute;
	inset: 0;
	margin: 0;
	opacity: 0;
	transition: opacity 0.6s ease;
}

/* De eerste webcam bepaalt de hoogte (geen bijsnijden, wat de webcam ook voor formaat heeft). */
.wdk-live-slide:first-child {
	position: relative;
}

.wdk-live-slide.is-actief {
	opacity: 1;
	z-index: 1;
}

.wdk-live-slide img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	margin: 0;
	border: 0;
	border-radius: 0;
	max-width: none;
}

/* Pijlen links en rechts. */
.wdk-live .wdk-live-pijl {
	position: absolute;
	top: 50%;
	z-index: 3;
	transform: translateY(-50%);
	width: 38px;
	height: 38px;
	border-radius: 50%;
	border: none;
	padding: 0;
	background: rgba(0, 0, 0, 0.45);
	color: #fff;
	font-size: 26px;
	line-height: 36px;
	text-align: center;
	cursor: pointer;
	opacity: 0.75;
	transition: opacity 0.15s ease, background 0.15s ease;
}

.wdk-live-vorige { left: 10px; }
.wdk-live-volgende { right: 10px; }

.wdk-live .wdk-live-pijl:hover,
.wdk-live .wdk-live-pijl:focus-visible {
	opacity: 1;
	background: rgba(31, 95, 174, 0.9);
	outline: none;
}

/* Klein pauzeteken rechtsboven zolang de muis op het beeld staat. */
.wdk-live-pauze {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 3;
	background: rgba(0, 0, 0, 0.5);
	color: #fff;
	font-size: 11px;
	letter-spacing: -1px;
	padding: 4px 8px;
	border-radius: 4px;
	opacity: 0;
	transition: opacity 0.2s ease;
}

.wdk-live.is-gepauzeerd .wdk-live-pauze {
	opacity: 1;
}

.wdk-live-voet {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 6px 12px;
	font-size: 13px;
	color: #1c2430;
	border-top: 1px solid #dfe3e9;
}

.wdk-live-naam {
	text-transform: lowercase;
}

.wdk-live-teller {
	color: #5b6472;
	font-variant-numeric: tabular-nums;
}

@media (max-width: 480px) {
	.wdk-live-kop {
		flex-wrap: wrap;
		gap: 4px 10px;
	}
	.wdk-live-status {
		font-size: 12px;
	}
	.wdk-live .wdk-live-pijl {
		width: 32px;
		height: 32px;
		font-size: 22px;
		line-height: 30px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.wdk-live-slide {
		transition: none;
	}
}
