/* [weer_waarschuwingen] — kaart in de klassieke stijl van de weer-plugins. */
.wwz {
	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;
	color: #1c2430;
	font-family: inherit;
}

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

.wwz-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: 9px 14px;
}

.wwz h2.wwz-kop-titel {
	margin: 0;
	padding: 0;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
	color: inherit;
	border: none;
}

.wwz-inhoud {
	padding: 14px;
}

/* Kop "Actieve weerwaarschuwingen" */
.wwz-head {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 12px;
}

.wwz-alarm {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: #d93a32;
	color: #fff;
	font-weight: 900;
	font-size: 16px;
	line-height: 1;
}

.wwz-alarm.wwz-groen { background: #2e9d55; }
.wwz-alarm.wwz-geel { background: #f2c200; color: #1c2430; }
.wwz-alarm.wwz-oranje { background: #f08a00; }
.wwz-alarm.wwz-rood { background: #d32f2f; }

.wwz-head-tekst {
	display: flex;
	flex-direction: column;
	min-width: 0;
	line-height: 1.3;
}

.wwz-head-titel {
	font-size: 16px;
	font-weight: 700;
}

.wwz-sub {
	font-size: 13px;
	color: #5b6573;
}

/* Geen waarschuwingen: groen vak */
.wwz-geen {
	display: flex;
	align-items: center;
	gap: 10px;
	background: #e3f4e8;
	border: 1px solid #b9e2c5;
	border-radius: 10px;
	padding: 12px 14px;
	color: #1d5a32;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.35;
}

.wwz-vink {
	flex: 0 0 auto;
	display: inline-flex;
	color: #2e9d55;
}

/* Lijst met waarschuwingen */
.wwz-lijst {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.wwz-item {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	margin: 0;
	padding: 11px 12px;
	border-radius: 10px;
	background: #fff;
	border: 1px solid #e3e6ea;
	border-left: 5px solid var(--wwz-kleur);
}

.wwz-geel { --wwz-kleur: #f2c200; --wwz-licht: #fff8d6; --wwz-tekst: #5c4a00; }
.wwz-oranje { --wwz-kleur: #f08a00; --wwz-licht: #ffeedb; --wwz-tekst: #7a3d00; }
.wwz-rood { --wwz-kleur: #d32f2f; --wwz-licht: #fde3e3; --wwz-tekst: #7f1515; }

.wwz-ico {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--wwz-licht);
	color: var(--wwz-tekst);
}

.wwz-item-tekst {
	min-width: 0;
	flex: 1 1 auto;
	line-height: 1.35;
}

.wwz-item-titel {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 8px;
	font-size: 15px;
}

.wwz-badge {
	display: inline-block;
	background: var(--wwz-kleur);
	color: #fff;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.3px;
	text-transform: uppercase;
	padding: 2px 7px;
	border-radius: 4px;
	line-height: 1.4;
}

.wwz-geel .wwz-badge { color: #1c2430; }

.wwz-periode {
	font-size: 13px;
	color: #5b6573;
	margin-top: 2px;
}

.wwz-details {
	margin-top: 6px;
	font-size: 13px;
}

.wwz-details summary {
	cursor: pointer;
	color: var(--wk-kop-basis-1, #1f5fae);
	font-weight: 600;
}

.wwz-details p {
	margin: 6px 0 0;
}

.wwz-fout {
	margin: 10px 0 0;
	font-size: 12px;
	color: #a8322a;
}

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

.wwz-voet a {
	color: inherit;
	text-decoration: underline;
}

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

.weer-kaart .weer-kaart-inhoud .wwz-kop {
	display: none;
}

.weer-kaart .weer-kaart-inhoud .wwz-inhoud {
	padding: 0;
}
