/* Windmeister spotkeuze – sluit aan op de huidige keuzelijst en kleuren van het thema */

/* keuzelijst: regio-kopjes en zoekveld */
.wm-spotkeuze .ss-main .ss-content .ss-list .ss-optgroup .ss-optgroup-label {
	padding: 10px 10px 4px;
	font-size: 12px;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: #7c99a3;
	font-weight: normal;
}
.wm-spotkeuze .ss-main .ss-content .ss-list .ss-optgroup .ss-option {
	padding-left: 18px;
}
.wm-spotkeuze .ss-main .ss-content .ss-search input {
	font-size: 16px; /* voorkomt inzoomen op iPhone */
	color: #284a56;
	text-indent: 0;
}
.wm-spotkeuze .ss-main .ss-content .ss-list {
	max-height: 340px;
}

/* homepage: foto met keuzelijst, met het spotoverzicht er direct onder in beeld */
.home .panel-layout > .panel-grid:first-child {
	min-height: 360px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

/* spotoverzicht */
.wm-spotkeuze {
	position: relative;
	z-index: 20; /* open keuzelijst valt over het overzicht heen */
}
.wm-spotoverzicht-rij {
	margin-top: 24px;
}
.wm-spotoverzicht {
	background: #11242c;
	border-radius: 6px;
	padding: 28px 28px 18px;
	text-align: left;
}
.wm-spotoverzicht .wm-so-titel {
	font-family: 'proxima_novasemibold', sans-serif;
	font-size: 26px;
	line-height: 1.2;
	margin: 0 0 22px;
	color: #fff;
}
.wm-spotoverzicht .wm-so-regios {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 26px 36px;
}
/* breed scherm: Gooi onder Randmeren, Waddeneilanden in de middelste kolom */
@media screen and (min-width: 901px) {
	.wm-spotoverzicht .wm-so-regios {
		grid-template-areas:
			"zh ze nh"
			"rm wa fg"
			"go wa fg";
		align-items: start;
	}
	.wm-spotoverzicht .wm-so-r-zuid-holland { grid-area: zh; }
	.wm-spotoverzicht .wm-so-r-zeeland { grid-area: ze; }
	.wm-spotoverzicht .wm-so-r-noord-holland { grid-area: nh; }
	.wm-spotoverzicht .wm-so-r-randmeren { grid-area: rm; }
	.wm-spotoverzicht .wm-so-r-gooi { grid-area: go; }
	.wm-spotoverzicht .wm-so-r-waddeneilanden { grid-area: wa; }
	.wm-spotoverzicht .wm-so-r-friesland-groningen { grid-area: fg; }
}
.wm-spotoverzicht .wm-so-regio h3 {
	font-family: 'proxima_novaregular', sans-serif;
	font-size: 13px;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: #7c99a3;
	margin: 0 0 8px;
	padding-bottom: 6px;
	border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.wm-spotoverzicht ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.wm-spotoverzicht ul li {
	margin: 0;
	padding: 0;
	list-style: none !important;
	background: none;
}
.wm-spotoverzicht ul li::marker {
	content: none;
}
.wm-spotoverzicht ul li a:before,
.wm-spotoverzicht ul li a::before {
	content: none !important;
	display: none !important;
}
.wm-spotoverzicht ul li {
	display: flex;
	align-items: center;
	border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.wm-spotoverzicht li a {
	flex: 1;
	min-width: 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 7px 0;
	color: #fff;
	text-decoration: none;
	font-size: 17px;
}
.wm-spotoverzicht li a:hover .wm-so-naam,
.wm-spotoverzicht li a:focus .wm-so-naam {
	color: #1fb5f0;
}
.wm-spotoverzicht .wm-so-naam {
	flex: 1;
	text-align: left;
	min-width: 0;
	line-height: 1.25;
	overflow-wrap: anywhere; /* lange namen (Zuidlaardermeer) afbreken i.p.v. over de pijl */
	-webkit-hyphens: auto;
	hyphens: auto;
}
.wm-spotoverzicht .wm-so-wind {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	flex: none;
	font-variant-numeric: tabular-nums;
}
.wm-spotoverzicht .wm-so-kn {
	display: inline-block;
	min-width: 58px;
	text-align: center;
	padding: 2px 8px;
	border-radius: 12px;
	font-size: 15px;
	background: rgba(255, 255, 255, .12);
	color: #fff;
}
.wm-spotoverzicht .wm-so-richting {
	width: 30px;
	font-size: 13px;
	color: #a9bec6;
}
.wm-spotoverzicht .wm-so-pijl {
	display: inline-block;
	width: 14px;
	text-align: center;
	color: #a9bec6;
	line-height: 1;
}
/* kleurschaal zoals Windguru (benadering): onder 8 kn geen kleur */
.wm-spotoverzicht .wm-so-wg1 .wm-so-kn { background: #9fe3f5; color: #11242c; } /*  8–10 kn */
.wm-spotoverzicht .wm-so-wg2 .wm-so-kn { background: #8ff08a; color: #11242c; } /* 10–14 kn */
.wm-spotoverzicht .wm-so-wg3 .wm-so-kn { background: #3fd83f; color: #11242c; } /* 14–18 kn */
.wm-spotoverzicht .wm-so-wg4 .wm-so-kn { background: #f2e33c; color: #11242c; } /* 18–22 kn */
.wm-spotoverzicht .wm-so-wg5 .wm-so-kn { background: #ffa53a; color: #11242c; } /* 22–26 kn */
.wm-spotoverzicht .wm-so-wg6 .wm-so-kn { background: #ff5a40; color: #11242c; } /* 26–30 kn */
.wm-spotoverzicht .wm-so-wg7 .wm-so-kn { background: #d01c1f; color: #fff; }    /* 30–35 kn: donkerrood */
.wm-spotoverzicht .wm-so-wg8 .wm-so-kn { background: #9333ea; color: #fff; }    /* 35+ kn */
.wm-spotoverzicht .wm-so-voet {
	margin: 18px 0 0;
	font-size: 13px;
	color: #a9bec6;
}

/* favoriet-ster */
.wm-spotoverzicht .wm-so-ster {
	flex: none;
	width: 30px;
	height: 30px;
	margin: 0 4px 0 -6px;
	padding: 0;
	border: 0;
	background: none;
	color: #7c99a3;
	font-size: 19px;
	line-height: 30px;
	cursor: pointer;
	border-radius: 50%;
}
.wm-spotoverzicht .wm-so-ster:hover,
.wm-spotoverzicht .wm-so-ster:focus-visible { color: #ffd23f; background: rgba(255, 255, 255, .08); outline: none; }
.wm-spotoverzicht .wm-so-ster[aria-pressed="true"] { color: #ffd23f; }

/* sorteerbalk */
.wm-spotoverzicht .wm-so-balk {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 14px;
	margin: -6px 0 22px;
}
.wm-spotoverzicht .wm-so-balk[hidden] { display: none; }
.wm-spotoverzicht .wm-so-balk-label { font-size: 14px; color: #a9bec6; }
.wm-spotoverzicht .wm-so-knoppen {
	display: inline-flex;
	border: 1px solid rgba(255, 255, 255, .2);
	border-radius: 18px;
	overflow: hidden;
}
.wm-spotoverzicht .wm-so-knoppen button {
	border: 0;
	margin: 0;
	padding: 7px 14px;
	background: transparent;
	color: #fff;
	font: inherit;
	font-size: 14px;
	line-height: 1.2;
	cursor: pointer;
	border-radius: 0;
	box-shadow: none;
	text-shadow: none;
}
.wm-spotoverzicht .wm-so-knoppen button + button { border-left: 1px solid rgba(255, 255, 255, .2); }
.wm-spotoverzicht .wm-so-knoppen button:hover { background: rgba(255, 255, 255, .08); }
.wm-spotoverzicht .wm-so-knoppen button[aria-pressed="true"] { background: #25c7fc; color: #11242c; }
.wm-spotoverzicht .wm-so-tip { font-size: 13px; color: #7c99a3; margin-left: auto; }

/* favorieten bovenaan en de gesorteerde lijst */
.wm-spotoverzicht .wm-so-favorieten { margin-bottom: 26px; }
.wm-spotoverzicht .wm-so-favorieten[hidden],
.wm-spotoverzicht .wm-so-lijst[hidden],
.wm-spotoverzicht .wm-so-regios[hidden] { display: none; }
.wm-spotoverzicht .wm-so-favorieten h3 {
	font-family: 'proxima_novaregular', sans-serif;
	font-size: 13px;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: #ffd23f;
	margin: 0 0 8px;
	padding-bottom: 6px;
	border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.wm-spotoverzicht .wm-so-favorieten ul,
.wm-spotoverzicht .wm-so-lijst ul {
	columns: 3;
	column-gap: 36px;
}
.wm-spotoverzicht .wm-so-favorieten li,
.wm-spotoverzicht .wm-so-lijst li { break-inside: avoid; }

@media screen and (max-width: 900px) {
	.wm-spotoverzicht .wm-so-favorieten ul,
	.wm-spotoverzicht .wm-so-lijst ul { columns: 2; }
	.wm-spotoverzicht .wm-so-regios { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media screen and (max-width: 600px) {
	.wm-spotoverzicht-rij { margin-top: 20px; }
	.wm-spotoverzicht { padding: 20px 16px 12px; border-radius: 0; }
	.wm-spotoverzicht .wm-so-titel { font-size: 22px; }
	.wm-spotoverzicht .wm-so-regios { grid-template-columns: 1fr; gap: 20px; }
	.wm-spotoverzicht .wm-so-favorieten ul,
	.wm-spotoverzicht .wm-so-lijst ul { columns: 1; }
	.wm-spotoverzicht .wm-so-tip { margin-left: 0; width: 100%; }
	.wm-spotoverzicht .wm-so-knoppen button { padding: 7px 11px; }
	.home #content { min-height: 0 !important; }
	.home .panel-layout > .panel-grid:first-child { min-height: 0; padding-top: 48px; justify-content: flex-end; }
}

/* homepage: achtergrondfoto over de hele pagina (tot aan de footer), niet alleen het eerste scherm */
html:has(body.home) { height: auto !important; }
body.home {
	height: auto !important;
	min-height: 100vh;
	background-size: cover !important;
	background-position: center top !important;
}
