/* [weer_verwachting] — klassieke stijl van de weer-plugins. */
.wvw {
	--wvw-kop: var(--wk-kop-basis-1, #1f5fae);
	background: #f3f4f6;
	border-radius: 14px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
	padding: 14px;
	margin: 0 0 20px;
	color: #1c2430;
	box-sizing: border-box;
	container-type: inline-size;
	font-family: inherit;
}

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

.wvw-sub {
	font-size: 12.5px;
	color: #5b6573;
	text-align: center;
	margin-bottom: 10px;
}

/* ------------------------------ dagstrook ------------------------------ */
.wvw-dagen-wrap {
	position: relative;
}

.wvw-dagen {
	display: flex;
	gap: 8px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: thin;
	padding: 2px 2px 6px;
}

.wvw .wvw-dag {
	flex: 0 0 132px;
	scroll-snap-align: start;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	margin: 0;
	padding: 0 0 8px;
	background: #fff;
	border: 1px solid #e3e6ea;
	border-radius: 10px;
	overflow: hidden;
	cursor: pointer;
	font: inherit;
	color: inherit;
	text-align: center;
	box-shadow: none;
	transition: border-color 0.15s, box-shadow 0.15s;
}

.wvw .wvw-dag:hover {
	border-color: #c5ccd5;
	background: #fff;
}

.wvw .wvw-dag.is-actief {
	border-color: var(--wvw-kop);
	box-shadow: 0 0 0 1px var(--wvw-kop);
}

.wvw-dag-naam {
	display: block;
	width: 100%;
	padding: 5px 4px;
	background: #e9edf2;
	font-size: 12.5px;
	font-weight: 700;
	white-space: nowrap;
}

.wvw .wvw-dag.is-actief .wvw-dag-naam {
	background: var(--wvw-kop);
	color: #fff;
}

.wvw-dag-icoon svg {
	display: block;
}

.wvw-dag-temp {
	display: flex;
	gap: 12px;
	font-size: 22px;
	font-weight: 800;
	line-height: 1;
}

.wvw-dag-info {
	display: flex;
	gap: 8px;
	margin: 2px 6px 0;
	padding: 3px 6px;
	background: #f1f3f5;
	border-radius: 6px;
	font-size: 11px;
	color: #37414d;
	white-space: nowrap;
}

.wvw-dag-info span {
	display: inline-flex;
	align-items: center;
	gap: 3px;
}

.wvw .wvw-scroll {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 2;
	width: 30px;
	height: 30px;
	padding: 0;
	margin: 0;
	border: none;
	border-radius: 50%;
	background: rgba(31, 42, 55, 0.6);
	color: #fff;
	font-size: 20px;
	line-height: 30px;
	cursor: pointer;
}

.wvw .wvw-scroll[hidden] {
	display: none;
}

.wvw-scroll-l { left: -6px; }
.wvw-scroll-r { right: -6px; }

/* -------------------------------- tabs -------------------------------- */
.wvw-tabs {
	display: flex;
	margin: 12px 0 0;
	border-bottom: 1px solid #dde1e6;
}

.wvw .wvw-tab {
	flex: 1;
	margin: 0;
	padding: 9px 6px;
	background: none;
	border: none;
	border-bottom: 3px solid transparent;
	font: inherit;
	font-size: 14px;
	font-weight: 700;
	color: #5b6573;
	cursor: pointer;
	box-shadow: none;
}

.wvw .wvw-tab:hover {
	color: var(--wvw-kop);
	background: none;
}

.wvw .wvw-tab.is-actief {
	color: var(--wvw-kop);
	border-bottom-color: var(--wvw-kop);
}

.wvw-paneel {
	margin-top: 10px;
}

.wvw-paneel[hidden] {
	display: none;
}

/* ------------------------------ uurtabel ------------------------------ */
.wvw table.wvw-tabel {
	width: 100%;
	margin: 0;
	border-collapse: collapse;
	background: #fff;
	border: 1px solid #e3e6ea;
	border-radius: 10px;
	overflow: hidden;
	font-size: 13px;
	font-variant-numeric: tabular-nums;
}

.wvw table.wvw-tabel th {
	padding: 7px 6px;
	background: var(--wvw-kop);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	text-align: center;
	border: none;
}

.wvw table.wvw-tabel td {
	padding: 4px 6px;
	text-align: center;
	vertical-align: middle;
	border: none;
	border-top: 1px solid #eef0f3;
}

.wvw table.wvw-tabel tbody tr:nth-child(even) td {
	background: #f7f8fa;
}

.wvw-uur {
	color: #5b6573;
	font-weight: 600;
}

.wvw-ic svg {
	display: block;
	margin: 0 auto;
}

.wvw-t {
	font-size: 18px;
	font-weight: 800;
}

.wvw td.wvw-wind span,
.wvw td.wvw-regen {
	line-height: 1.2;
}

.wvw td.wvw-wind {
	white-space: nowrap;
}

.wvw td.wvw-wind .wvw-pijl {
	vertical-align: middle;
	margin-right: 4px;
}

.wvw td.wvw-wind span {
	display: inline-block;
	vertical-align: middle;
	text-align: left;
}

.wvw td em {
	display: block;
	font-style: normal;
	font-size: 10.5px;
	color: #8a94a3;
}

.wvw td.wvw-regen.is-nat {
	color: #1e6fd9;
	font-weight: 700;
}

.wvw-leeg {
	color: #5b6573;
	padding: 14px !important;
}

/* Smal: minder kolommen. */
@container (max-width: 560px) {
	.wvw .wvw-k-druk { display: none; }
}
@container (max-width: 460px) {
	.wvw .wvw-k-gevoel,
	.wvw .wvw-k-vocht { display: none; }
	.wvw td.wvw-wind small { display: none; }
	.wvw .wvw-dag { flex-basis: 116px; }
}

/* ------------------------------ grafiek ------------------------------ */
.wvw-canvas {
	position: relative;
	background: #fff;
	border: 1px solid #e3e6ea;
	border-radius: 10px;
	padding: 8px 8px 4px;
}

.wvw-voet {
	margin-top: 10px;
	font-size: 12px;
	color: #6b7480;
}

.wvw-voet a {
	color: inherit;
}

.wvw.wvw-fout {
	font-size: 13px;
	color: #a8322a;
}

.wvw .screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
}

/* Binnen een [weer_kaart] (Weer Hub): één venster. */
.weer-kaart .weer-kaart-inhoud .wvw {
	background: transparent;
	border-radius: 0;
	box-shadow: none;
	padding: 0;
	margin: 0;
}

/* Geen kader van het thema rond knoppen na klikken. */
.wvw .wvw-tab:focus,
.wvw .wvw-dag:focus {
	outline: none;
}
.wvw .wvw-tab:focus-visible,
.wvw .wvw-dag:focus-visible {
	outline: 2px solid var(--wvw-kop);
	outline-offset: 2px;
}
.wvw .wvw-dag { flex-basis: 140px; }
.wvw-dag-info { gap: 6px; padding: 3px 5px; font-size: 10.5px; }
