/* Wasdrogergids v136 — compacte hoofdheader volgens dezelfde structuur als Koelkastwijzer. */
.wg-header {
	position: relative;
	z-index: 1001;
	width: 100%;
	background: #fff;
	border: 0;
}

.wg-header__main {
	background: #fff;
	border-bottom: 1px solid #e3e9e6;
}

.wg-header__container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: min(var(--wg-container-width), calc(100% - (2 * var(--wg-page-gutter))));
	min-height: 66px;
	margin-inline: auto;
}

.wg-header__brand {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	flex: 0 0 auto;
	min-width: 0;
	color: #0d3026;
	line-height: 1;
	text-decoration: none;
}

.wg-header__brand-picture {
	display: block;
	flex: 0 0 auto;
	line-height: 0;
}

.wg-header__brand-icon {
	display: block;
	width: 38px;
	height: 38px;
	object-fit: contain;
}

.wg-header__brand-copy {
	display: inline-flex;
	align-items: center;
	min-width: 0;
}

.wg-header__brand-name {
	display: inline-flex;
	align-items: baseline;
	white-space: nowrap;
	color: #0d3026;
	font-size: 21px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: -0.035em;
}

.wg-header__brand-primary { color: #0d3026; }
.wg-header__brand-accent { color: #0d7457; font: inherit; }
.wg-header__brand:hover,
.wg-header__brand:focus { color: inherit; text-decoration: none; }

.wg-header__navigation {
	display: flex;
	align-items: center;
	gap: 20px;
	min-width: 0;
	margin-left: 34px;
}

.wg-header__navigation > a {
	position: relative;
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: #33483f;
	font-size: 14.25px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
}

.wg-header__navigation > a:not(.wg-header__button)::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: 3px;
	left: 0;
	height: 2px;
	background: #0d7457;
	transform: scaleX(0);
	transform-origin: center;
	transition: transform .18s ease;
}

.wg-header__navigation > a:hover,
.wg-header__navigation > a:focus-visible { color: #0d7457; }
.wg-header__navigation > a:hover::after,
.wg-header__navigation > a:focus-visible::after { transform: scaleX(1); }

.wg-header__navigation .wg-header__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 0 18px;
	color: #fff;
	background: #0d7457;
	border: 1px solid #0d7457;
	border-radius: 6px;
	font-size: 14.25px;
	font-weight: 750;
}
.wg-header__navigation .wg-header__button:hover,
.wg-header__navigation .wg-header__button:focus-visible {
	color: #fff;
	background: #0a6049;
	border-color: #0a6049;
}

.wg-header__mobile-actions {
	display: none;
	align-items: center;
	margin-left: auto;
}

.wg-header__mobile-choice-help {
	display: none;
}

.wg-header__toggle {
	display: none;
	width: 44px;
	height: 44px;
	padding: 10px;
	border: 0;
	background: transparent;
	cursor: pointer;
}

.wg-header__toggle span {
	display: block;
	width: 24px;
	height: 2px;
	margin: 5px auto;
	background: #17352c;
	border-radius: 2px;
	transition: transform .2s ease, opacity .2s ease;
}

@media (max-width: 1160px) {
	.wg-header__navigation { gap: 16px; margin-left: 24px; }
	.wg-header__navigation > a { font-size: 13.75px; }
}

@media (max-width: 1000px) and (min-width: 901px) {
	.wg-header__brand-name { font-size: 19.5px; }
	.wg-header__brand-icon { width: 35px; height: 35px; }
	.wg-header__navigation { gap: 13px; margin-left: 20px; }
	.wg-header__navigation > a { font-size: 13.25px; }
	.wg-header__navigation .wg-header__button { padding-inline: 14px; font-size: 13.5px; }
}

@media (max-width: 900px) {
	.wg-header__container {
		width: min(var(--wg-container-width), calc(100% - (2 * var(--wg-page-gutter-mobile))));
		min-height: 58px;
	}

	.wg-header__brand {
		gap: 7px;
		flex: 1 1 auto;
		max-width: min(190px, calc(100vw - 145px));
	}
	.wg-header__brand-icon { width: 31px; height: 31px; }
	.wg-header__brand-name { font-size: 18.5px; }
	.wg-header__mobile-actions { display: flex; gap: 6px; }
	.wg-header__mobile-choice-help {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		min-height: 38px;
		padding: 0 5px;
		color: #5f6b67;
		font-size: 12.5px;
		font-weight: 750;
		line-height: 1;
		text-decoration: none;
		white-space: nowrap;
		background: transparent;
		border: 0;
		border-radius: 3px;
	}
	.wg-header__mobile-choice-help:hover,
	.wg-header__mobile-choice-help:focus { color: #35443f; text-decoration: none; }
	.wg-header__mobile-choice-help:focus-visible { outline: 2px solid #7b8782; outline-offset: 2px; }
	.wg-header__toggle { display: block; flex: 0 0 42px; }

	.wg-header__navigation {
		position: absolute;
		top: 100%;
		right: 0;
		left: 0;
		display: none;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		margin: 0;
		padding: 12px 18px 18px;
		background: #fff;
		border-top: 1px solid #e3e9e6;
		border-bottom: 1px solid #e3e9e6;
		box-shadow: 0 12px 24px rgba(13,48,38,.08);
	}
	.wg-header__navigation.is-open { display: flex; }
	.wg-header__navigation > a { padding: 11px 4px; font-size: 14px; }
	.wg-header__navigation > a:not(.wg-header__button)::after { display: none; }
	.wg-header__navigation .wg-header__button { margin-top: 8px; padding: 0 18px; }

	.wg-header__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
	.wg-header__toggle.is-open span:nth-child(2) { opacity: 0; }
	.wg-header__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

@media (max-width: 420px) {
	.wg-header__brand { max-width: calc(100vw - 142px); }
	.wg-header__brand-icon { width: 29px; height: 29px; }
	.wg-header__brand-name { font-size: 18px; }
	.wg-header__mobile-choice-help { padding-inline: 4px; font-size: 12px; }
}

.wg-header__toggle,
.wg-header__toggle:hover,
.wg-header__toggle:focus,
.wg-header__toggle:active {
	background: transparent !important;
	color: inherit;
	box-shadow: none;
	outline: none;
}
.wg-header__toggle:focus-visible { outline: 2px solid #0d7457; outline-offset: 3px; }

/* Wasdrogergids v144 — topical clusternavigatie, opnieuw opgebouwd. */
.wg-header__subnav-sticky {
	position: sticky;
	top: 0;
	z-index: 1900;
	width: 100%;
	background: #fff;
}
.admin-bar .wg-header__subnav-sticky { top: 32px; }

.wg-header__subnav {
	position: relative;
	z-index: 1;
	background: #0d7457;
	color: #fff;
	border: 0;
	border-bottom: 1px solid rgba(0,0,0,.08);
	box-shadow: 0 2px 8px rgba(13,48,38,.08);
}
.wg-header__subnav-inner {
	position: relative;
	display: flex;
	align-items: stretch;
	width: min(var(--wg-container-width),calc(100% - (2 * var(--wg-page-gutter))));
	min-height: 48px;
	margin-inline: auto;
	overflow: visible;
}
.wg-header__subnav-topic {
	position: relative;
	display: flex;
	align-items: center;
	gap: 9px;
	flex: 0 0 auto;
	min-height: 48px;
	padding: 0 22px 0 0;
	margin-right: 7px;
	border-right: 1px solid rgba(255,255,255,.24);
	color: #fff !important;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none !important;
	white-space: nowrap;
}
.wg-header__subnav-topic:hover,
.wg-header__subnav-topic:focus-visible { color:#fff !important; background:rgba(255,255,255,.10); }
.wg-header__subnav-topic-icon { display:grid; place-items:center; width:21px; height:21px; color:#fff; }
.wg-header__subnav-topic-icon svg { display:block; width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:1.65; stroke-linecap:round; stroke-linejoin:round; }
.wg-header__subnav-links { display:flex; align-items:stretch; min-width:0; }
.wg-header__subnav-links>a,
.wg-header__subnav-trigger {
	display:flex;
	align-items:center;
	min-height:48px;
	padding:0 14px;
	border:0;
	border-radius:0;
	background:transparent !important;
	color:#fff !important;
	font:inherit;
	font-size:14.5px;
	font-weight:650;
	line-height:1.2;
	text-decoration:none !important;
	white-space:nowrap;
	box-shadow:none !important;
}
.wg-header__subnav-links>a:hover,
.wg-header__subnav-links>a:focus-visible,
.wg-header__subnav-trigger:hover,
.wg-header__subnav-trigger:focus-visible,
.wg-header__subnav-menu.is-open>.wg-header__subnav-trigger { background:rgba(255,255,255,.10) !important; color:#fff !important; }
.wg-header__subnav-menu { position:relative; display:flex; align-items:stretch; flex:0 0 auto; }
.wg-header__subnav-trigger { gap:8px; cursor:pointer; }
.wg-header__subnav-trigger:focus-visible,
.wg-header__subnav-topic:focus-visible { outline:2px solid rgba(255,255,255,.95); outline-offset:-3px; }
.wg-header__subnav-chevron,
.wg-header__subnav-mobile-chevron,
.wg-header__subnav-mobile-group-chevron { width:7px; height:7px; border-right:1.5px solid currentColor; border-bottom:1.5px solid currentColor; transform:rotate(45deg) translateY(-2px); transition:transform .18s ease; }
.wg-header__subnav-menu.is-open .wg-header__subnav-chevron,
.wg-header__subnav-mobile-toggle[aria-expanded="true"] .wg-header__subnav-mobile-chevron,
.wg-header__subnav-mobile-group-toggle[aria-expanded="true"] .wg-header__subnav-mobile-group-chevron { transform:rotate(225deg) translate(-1px,-1px); }
.wg-header__subnav-dropdown { position:absolute; top:100%; left:0; z-index:1100; width:min(360px,calc(100vw - 32px)); padding:8px; border:1px solid #d9e5df; border-top:0; border-radius:0 0 9px 9px; background:#fff; box-shadow:0 18px 38px rgba(13,48,38,.14); }
.wg-header__subnav-dropdown[hidden] { display:none !important; }
.wg-header__subnav-dropdown a { display:flex !important; align-items:center !important; min-height:40px !important; padding:9px 11px !important; border-radius:6px; color:#18362d !important; background:transparent !important; font-size:14px !important; font-weight:600 !important; line-height:1.35 !important; text-decoration:none !important; white-space:normal !important; }
.wg-header__subnav-dropdown a:hover,
.wg-header__subnav-dropdown a:focus-visible { color:#0f8063 !important; background:#f0f7f4 !important; }
.wg-header__subnav-dropdown-footer { justify-content:space-between !important; margin-top:5px; padding-top:11px !important; border-top:1px solid #dce7e2; font-weight:750 !important; }
.wg-header__subnav-dropdown-footer span { margin-left:12px; color:#0f8063; }
.wg-header__subnav-mobile-toggle,
.wg-header__subnav-mobile-panel { display:none; }

@media (max-width:1120px) {
	.wg-header__subnav-links>a,
	.wg-header__subnav-trigger { padding-inline:11px; font-size:13.5px; }
	.wg-header__subnav-topic { font-size:14.5px; padding-right:17px; }
}

@media (max-width:900px) {
	/* Hoofdheader is gewoon wit en scrollt mee; hij is nooit sticky. */
	html,
	body,
	body.wasdrogergids,
	.wg-header,
	.wg-header__main,
	.wg-header__container { background:#fff !important; background-color:#fff !important; }
	.wg-header { position:relative !important; top:auto !important; z-index:1001 !important; }
	.wg-header__main { box-shadow:none !important; backdrop-filter:none !important; -webkit-backdrop-filter:none !important; border-bottom:1px solid #e3e9e6 !important; }

	/* Alleen deze wrapper is sticky. Exact één sticky regel voor mobiel. */
	.wg-header__subnav-sticky {
		position:sticky !important;
		top:0 !important;
		z-index:1900 !important;
		width:100% !important;
		height:48px !important;
		margin:0 !important;
		padding:0 !important;
		background:#fff !important;
	}
	.admin-bar .wg-header__subnav-sticky { top:46px !important; }

	.wg-header__subnav {
		width:100% !important;
		height:48px !important;
		min-height:48px !important;
		margin:0 !important;
		padding:0 !important;
		background:#0d7457 !important;
		color:#fff !important;
		border:0 !important;
		border-bottom:1px solid rgba(0,0,0,.08) !important;
		border-radius:0 !important;
		box-shadow:0 2px 8px rgba(13,48,38,.08) !important;
	}
	.wg-header__subnav-inner {
		display:flex !important;
		align-items:stretch !important;
		justify-content:space-between !important;
		width:100% !important;
		height:48px !important;
		min-height:48px !important;
		margin:0 !important;
		padding:0 !important;
		overflow:visible !important;
	}
	.wg-header__subnav-topic {
		display:flex !important;
		align-items:center !important;
		flex:1 1 auto !important;
		min-width:0 !important;
		height:48px !important;
		min-height:48px !important;
		margin:0 !important;
		padding:0 13px 0 var(--wg-page-gutter-mobile) !important;
		border:0 !important;
		border-right:1px solid rgba(255,255,255,.24) !important;
		background:transparent !important;
		color:#fff !important;
		font-size:14px !important;
		font-weight:700 !important;
		line-height:1 !important;
		letter-spacing:0 !important;
		text-decoration:none !important;
		overflow:hidden !important;
	}
	.wg-header__subnav-topic>span:last-child { display:block !important; overflow:hidden !important; text-overflow:ellipsis !important; white-space:nowrap !important; }
	.wg-header__subnav-topic-icon { display:none !important; }
	.wg-header__subnav-links { display:none !important; }
	.wg-header__subnav-mobile-toggle {
		display:flex !important;
		align-items:center !important;
		justify-content:center !important;
		gap:8px !important;
		flex:0 0 82px !important;
		width:82px !important;
		height:48px !important;
		min-width:82px !important;
		min-height:48px !important;
		margin:0 !important;
		padding:0 12px !important;
		border:0 !important;
		border-radius:0 !important;
		background:transparent !important;
		color:#fff !important;
		font:inherit !important;
		font-size:14px !important;
		font-weight:700 !important;
		line-height:1 !important;
		box-shadow:none !important;
		cursor:pointer;
	}
	.wg-header__subnav-mobile-toggle:hover,
	.wg-header__subnav-mobile-toggle:focus-visible,
	.wg-header__subnav-mobile-toggle[aria-expanded="true"] { background:rgba(255,255,255,.10) !important; color:#fff !important; }
	.wg-header__subnav-mobile-toggle:focus-visible { outline:2px solid rgba(255,255,255,.95); outline-offset:-3px; }
	.wg-header__subnav-mobile-panel {
		position:absolute;
		top:48px !important;
		right:0;
		left:0;
		z-index:1200;
		display:block;
		padding:0;
		background:#fff;
		border-top:1px solid #d9e5df;
		border-bottom:1px solid #d9e5df;
		box-shadow:0 16px 28px rgba(13,48,38,.12);
	}
	.wg-header__subnav-mobile-panel[hidden] { display:none !important; }
	.wg-header__subnav-mobile-link,
	.wg-header__subnav-mobile-group-toggle { display:flex; align-items:center; justify-content:space-between; width:100%; min-height:50px; padding:0 var(--wg-page-gutter-mobile); border:0; border-bottom:1px solid #e4ece8; border-radius:0; background:transparent !important; color:#18362d !important; font:inherit; font-size:14.5px; font-weight:650; line-height:1.3; text-align:left; text-decoration:none !important; box-shadow:none !important; }
	.wg-header__subnav-mobile-link:hover,
	.wg-header__subnav-mobile-link:focus-visible,
	.wg-header__subnav-mobile-group-toggle:hover,
	.wg-header__subnav-mobile-group-toggle:focus-visible { background:#f0f7f4 !important; color:#0f8063 !important; }
	.wg-header__subnav-mobile-group-links { padding:5px 0 8px; background:#f7faf8; border-bottom:1px solid #e4ece8; }
	.wg-header__subnav-mobile-group-links[hidden] { display:none !important; }
	.wg-header__subnav-mobile-group-links a { display:flex; align-items:center; min-height:42px; padding:8px calc(var(--wg-page-gutter-mobile) + 14px); color:#31564b !important; background:transparent !important; font-size:13.75px; font-weight:500; line-height:1.35; text-decoration:none !important; }
	.wg-header__subnav-mobile-group-links a:hover,
	.wg-header__subnav-mobile-group-links a:focus-visible { background:#edf5f1 !important; color:#0f8063 !important; }
	.wg-header__subnav-mobile-footer { justify-content:space-between; font-weight:700 !important; border-top:1px solid #d9e5df; margin-top:4px; color:#123f33 !important; }
}

/*
 * iOS Safari kan bij een sticky element dat de viewport-rand raakt de bovenste
 * browserzone dezelfde kleur geven. Gebruik daarom dezelfde witte guard als
 * Koelkastwijzer: de groene clusternavigatie raakt tijdens sticky scrollen
 * niet rechtstreeks de bovenste viewport-pixel. De safe-area blijft eveneens
 * wit wanneer een standalone/cover-layout daadwerkelijk een inset rapporteert.
 */
@supports (-webkit-touch-callout: none) {
	@media (max-width:900px) {
		.wg-ios-top-tint-guard {
			display:block;
			position:fixed;
			top:0;
			right:0;
			left:0;
			z-index:2147483000;
			height:calc(env(safe-area-inset-top, 0px) + 12px);
			background:#fff;
			pointer-events:none;
			transform:translateZ(0);
		}

		.wg-header__main {
			padding-top:env(safe-area-inset-top, 0px);
			background:#fff !important;
		}

		.wg-header__subnav-sticky {
			top:calc(env(safe-area-inset-top, 0px) + 12px) !important;
			box-shadow:0 2px 8px rgba(13,48,38,.08) !important;
		}

		.admin-bar .wg-header__subnav-sticky {
			top:calc(46px + env(safe-area-inset-top, 0px) + 12px) !important;
		}
	}
}


/* v214 — mobiel hoofdmenu onder de groene topical balk.
   Zonder topical balk blijft de bestaande positie ongewijzigd. */
@media (max-width:900px) {
	body.wdg-has-topical-subnav .wg-header__navigation {
		top: calc(100% + 48px);
	}

	/* De zoekbalk is nu het eerste element onder de groene balk. */
	body.wdg-has-topical-subnav .wg-header__navigation .wdg-site-search--mobile {
		margin-top: 0;
	}
}
