/* [wd_live] — klassieke stijl, zoals de andere weer-plugins (Weer Hub). */
.wdl {
	background: #f3f4f6;
	border-radius: 14px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
	overflow: hidden;
	max-width: 1200px;
	margin: 0 auto 2em;
	color: #1c2430;
	font-size: 14px;
	line-height: 1.4;
	box-sizing: border-box;
	container-type: inline-size;
}
.wdl *, .wdl *::before, .wdl *::after { box-sizing: border-box; }

.wdl-kop {
	background: linear-gradient(90deg, var(--wk-kop-basis-1, #1f5fae), var(--wk-kop-basis-2, #4a8ad6));
	color: var(--wk-kop-basis-tekst, #fff);
	padding: 10px 16px;
	font-size: 16px;
	font-weight: 700;
}
.wdl-body { padding: 14px 16px 4px; }
.wdl-laden { padding: 40px 10px; text-align: center; color: #5b6472; }
.wdl-voet { padding: 8px 16px 12px; font-size: 12px; color: #5b6472; text-align: center; }

/* Statusbalk */
.wdl-status {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	justify-content: space-between;
	margin-bottom: 14px;
	padding: 12px 16px;
	background: #fff;
	border: 1px solid #e3e6ea;
	border-radius: 10px;
}
.wdl-status-tekst { min-width: 0; }
.wdl-status-r1 { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 15px; }
.wdl-tijd { color: #3c4553; }
.wdl-weer { margin-top: 2px; font-size: 15px; font-weight: 600; }
.wdl-fc { margin-top: 4px; color: #3c4553; }
.wdl-dot { display: inline-block; flex: none; width: 14px; height: 14px; border-radius: 50%; background: #9aa3ad; box-shadow: 0 0 0 3px rgba(154, 163, 173, 0.25); }
.wdl-dot.is-live { background: #22a447; box-shadow: 0 0 0 3px rgba(34, 164, 71, 0.25); animation: wdl-puls 2s ease-in-out infinite; }
.wdl-dot.is-traag { background: #e8a317; box-shadow: 0 0 0 3px rgba(232, 163, 23, 0.25); }
.wdl-dot.is-oud { background: #d63a1e; box-shadow: 0 0 0 3px rgba(214, 58, 30, 0.25); }
@keyframes wdl-puls { 50% { box-shadow: 0 0 0 6px rgba(34, 164, 71, 0.08); } }
@media (prefers-reduced-motion: reduce) { .wdl-dot.is-live { animation: none; } }
.wdl-zonmaan { display: flex; gap: 10px; flex: none; }
.wdl-zonmaan > div { display: flex; flex-direction: column; padding: 6px 12px; background: #f3f4f6; border-radius: 8px; font-size: 12.5px; text-align: center; }
.wdl-zonmaan b { font-size: 13px; margin-bottom: 2px; }

/* Kaarten */
.wdl-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); gap: 14px; margin-bottom: 14px; }
.wdl-kaart { background: #fff; border: 1px solid #e3e6ea; border-radius: 10px; padding: 12px 14px; min-width: 0; }
.wdl-kaart--graf { grid-column: 1 / -1; }
.wdl-kaart-titel { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.wdl-rij { display: flex; align-items: flex-end; justify-content: center; gap: 6px; min-width: 0; }
.wdl-rij--regen { gap: 0; }
.wdl-kol { display: flex; flex-direction: column; align-items: center; flex: 1 1 110px; max-width: 110px; min-width: 0; }
.wdl-sub { font-size: 12px; color: #5b6472; font-weight: 600; }
.wdl-sub--c { text-align: center; margin-top: 4px; }
.wdl-vakken { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.wdl-vak { padding: 7px 10px; background: #f3f4f6; border-radius: 8px; }
.wdl-vak span { display: block; font-size: 11.5px; color: #5b6472; }
.wdl-vak b { display: block; font-size: 15px; }
.wdl-vak small { display: block; font-size: 11.5px; color: #5b6472; }

/* SVG */
.wdl-svg { display: block; width: 100%; height: auto; min-width: 0; overflow: visible; }
.wdl-kol .wdl-svg { width: 100%; }
.wdl-vocht { margin: 0 auto; }
.wdl-svg text { font-family: inherit; }
.wdl-as { fill: #5b6472; font-size: 11px; }
.wdl-as--g { font-size: 13px; }
.wdl-as--k { fill: #1c2430; font-size: 13px; font-weight: 600; }
.wdl-tick { stroke: #8a929c; stroke-width: 1; }
.wdl-tick--d { stroke: #1c2430; stroke-width: 2; }
.wdl-buis { fill: #fff; stroke: #b7bec7; stroke-width: 2; }
.wdl-kwik { fill: #f6c52b; }
.wdl-bol { fill: #1c2430; font-size: 11px; font-weight: 800; }
.wdl-bol--g { font-size: 14px; }
.wdl-max { stroke: #d63a1e; stroke-width: 2; }
.wdl-min { stroke: #1f5fae; stroke-width: 2; }
.wdl-max-t { fill: #d63a1e; font-size: 11px; font-weight: 700; }
.wdl-min-t { fill: #1f5fae; font-size: 11px; font-weight: 700; }
.wdl-g { font-size: 13px; }
.wdl-boog { fill: none; stroke: #e3e6ea; stroke-width: 10; }
.wdl-naald { stroke: #1c2430; stroke-width: 4; stroke-linecap: round; }
.wdl-naaldas { fill: #1c2430; }
.wdl-groot { fill: #1c2430; font-size: 18px; font-weight: 800; }
.wdl-roos { fill: #fff; stroke: #1c2430; stroke-width: 2.5; }
.wdl-wijzer { fill: #1c2430; }
.wdl-gem { fill: #22a447; }
.wdl-gem-t { fill: #22a447; font-size: 15px; font-weight: 800; }
.wdl-staaf-bg { fill: #f3f4f6; stroke: #c9ced6; stroke-width: 1; }
.wdl-staaf { fill: #4a8ad6; }
.wdl-st-wind { fill: #22a447; }
.wdl-st-vlaag { fill: #9b3fd6; }
.wdl-st-uv { fill: #8e44ad; }
.wdl-st-zon { fill: #f6c52b; }
.wdl-st-regen { fill: #4a8ad6; }
.wdl-staaf-kop { fill: #1c2430; font-size: 12px; font-weight: 700; }
.wdl-staaf-w { fill: #1c2430; font-size: 12px; font-weight: 700; }
.wdl-staaf-o { fill: #5b6472; font-size: 11px; }

/* Grafieken */
.wdl-grafieken { display: grid; grid-template-columns: repeat(auto-fit, minmax(460px, 1fr)); gap: 12px 18px; }
.wdl-gblok { min-width: 0; }
.wdl-gtitel { font-size: 13px; font-weight: 600; color: #3c4553; text-align: center; margin-bottom: 2px; }
.wdl-grafiek { width: 100%; }
.wdl-raster { stroke: #eceef1; stroke-width: 1; }
.wdl-g-staaf { fill: #4a8ad6; }
.wdl-lijn { fill: none; stroke: #1f5fae; stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.wdl-punt { fill: #1f5fae; opacity: 0; }
.wdl-punt:hover { opacity: 1; }
.wdl-l-temp.wdl-lijn { stroke: #d63a1e; }
.wdl-l-temp.wdl-punt { fill: #d63a1e; }
.wdl-l-wind.wdl-lijn { stroke: #22a447; }
.wdl-l-wind.wdl-punt { fill: #22a447; }
.wdl-l-baro.wdl-lijn { stroke: #1f5fae; }

@media (max-width: 640px) {
	.wdl-status { flex-direction: column; }
}

/* Breed (3 kolommen): neerslag over twee kolommen, zodat de rij vol is. */
@container (min-width: 1060px) {
	.wdl-kaart--regen { grid-column: span 2; }
}
