/* StroomWijs megamenu (16-11-2026). Alleen desktop vanaf 992px; mobiel menu blijft ongewijzigd. */
.sw-mega { display: none; }

@media only screen and (min-width: 992px) {
	header .navbar .nav-bar ul.navbar-nav > li.sw-has-mega { position: static; }
	header .navbar .nav-bar ul.navbar-nav > li.sw-has-mega > a { position: relative; }
	header .navbar .nav-bar ul.navbar-nav > li.sw-has-mega > ul.submenu { display: none !important; }
	header .navbar .nav-bar ul.navbar-nav > li.sw-has-mega .sw-mega a::before { content: none; }

	header .sw-mega {
		position: absolute;
		left: 15px;
		right: 15px;
		top: calc(100% + 29px);
		z-index: 50;
		padding-top: 0;
		color: #333333;
		text-align: left;
		line-height: 1.4;
		font-weight: 400;
		opacity: 0;
		visibility: hidden;
		transform: translateY(8px);
		transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
		display: block;
	}
	/* brug zodat het paneel open blijft als de muis van de knop naar het paneel gaat */
	header .sw-mega::before {
		content: "";
		position: absolute;
		left: 0;
		right: 0;
		top: -40px;
		height: 40px;
	}
	header.sticky-nav .sw-mega { top: calc(100% + 0px); }

	header .navbar .nav-bar ul.navbar-nav > li.sw-has-mega:hover > .sw-mega,
	header .navbar .nav-bar ul.navbar-nav > li.sw-has-mega:focus-within > .sw-mega {
		opacity: 1;
		visibility: visible;
		transform: translateY(0);
		transition-delay: 0s;
	}

	header .sw-mega__inner {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 320px;
		gap: 40px;
		background: #FFFFFF;
		border-radius: 20px;
		box-shadow: 0 20px 45px -10px rgba(2, 58, 81, .25), 0 4px 15px 0 rgba(0, 0, 0, .10);
		padding: 30px 32px 30px 40px;
		max-height: calc(100vh - 170px);
		overflow-y: auto;
	}

	header .sw-mega__head {
		display: flex;
		align-items: flex-end;
		justify-content: space-between;
		gap: 24px;
		margin-bottom: 18px;
	}
	header .sw-mega__eyebrow,
	header .sw-mega__cta-eyebrow {
		display: block;
		font-size: 13px;
		font-weight: 600;
		letter-spacing: .14em;
		text-transform: uppercase;
		color: #B28B00;
		margin-bottom: 6px;
	}
	header .sw-mega__heading {
		margin: 0;
		font-size: 24px;
		line-height: 1.25;
		font-weight: 600;
		color: #023A51;
	}
	header .navbar .nav-bar .sw-mega a.sw-mega__all {
		flex: 0 0 auto;
		font-size: 16px;
		font-weight: 600;
		color: #023A51;
		text-decoration: none;
		padding: 0;
		border: 0;
		line-height: 1.4;
		white-space: nowrap;
	}
	header .navbar .nav-bar .sw-mega a.sw-mega__all:hover { color: #B28B00; }

	header .sw-mega__cols {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px 32px;
	}
	header .sw-mega__cols--single .sw-mega__col { grid-column: 1 / -1; }
	header .sw-mega__cols--single .sw-mega__list {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: 32px;
	}

	header .navbar .nav-bar .sw-mega .sw-mega__label {
		display: block;
		font-size: 13px;
		font-weight: 600;
		letter-spacing: .12em;
		text-transform: uppercase;
		color: #6D6D6D;
		margin: 0 0 8px;
		padding: 0;
		border: 0;
		line-height: 1.4;
		text-decoration: none;
	}
	header .navbar .nav-bar .sw-mega a.sw-mega__label:hover { color: #023A51; }

	header .navbar .nav-bar .sw-mega a.sw-mega__item {
		display: flex;
		align-items: center;
		gap: 16px;
		padding: 7px 12px;
		margin: 0 -12px;
		border: 0;
		border-radius: 14px;
		color: #333333;
		text-decoration: none;
		line-height: 1.35;
		font-size: 16px;
		transition: background-color .15s ease;
	}
	header .navbar .nav-bar .sw-mega a.sw-mega__item:hover,
	header .navbar .nav-bar .sw-mega a.sw-mega__item:focus-visible,
	header .navbar .nav-bar .sw-mega a.sw-mega__item[aria-current="page"] {
		background: #F2F6F8;
		border-color: transparent;
	}
	header .sw-mega__thumb {
		flex: 0 0 64px;
		width: 64px;
		height: 48px;
		border-radius: 10px;
		object-fit: cover;
		background: #E6EDF1;
		display: block;
	}
	header .sw-mega__text { flex: 1 1 auto; min-width: 0; }
	header .sw-mega__title {
		display: block;
		font-size: 17px;
		font-weight: 600;
		color: #023A51;
	}
	header .sw-mega__sub {
		display: block;
		font-size: 14px;
		color: #6D6D6D;
		margin-top: 2px;
	}
	header .sw-mega__chev {
		flex: 0 0 auto;
		width: 8px;
		height: 8px;
		border-right: 2px solid #B28B00;
		border-top: 2px solid #B28B00;
		transform: rotate(45deg);
		margin-right: 4px;
		transition: transform .15s ease;
	}
	header .navbar .nav-bar .sw-mega a.sw-mega__item:hover .sw-mega__chev { transform: translateX(3px) rotate(45deg); }

	header .sw-mega__cta {
		position: relative;
		border-radius: 16px;
		overflow: hidden;
		min-height: 320px;
		display: flex;
		align-items: flex-end;
		background-color: #023A51;
		background-image: linear-gradient(180deg, rgba(2, 58, 81, .15) 0%, rgba(2, 58, 81, .92) 62%), var(--sw-mega-bg, none);
		background-size: cover;
		background-position: center;
		color: #FFFFFF;
	}
	header .sw-mega__cta-body { padding: 28px; }
	header .sw-mega__cta-eyebrow { color: #FFFFFF; opacity: .85; }
	header .sw-mega__cta-title {
		margin: 0 0 8px;
		font-size: 24px;
		line-height: 1.25;
		font-weight: 600;
		color: #FFFFFF;
	}
	header .sw-mega__cta-text {
		margin: 0 0 18px;
		font-size: 15px;
		line-height: 1.5;
		color: rgba(255, 255, 255, .9);
	}
	header .navbar .nav-bar .sw-mega .sw-mega__cta .btn.btn-primary {
		display: inline-block;
		background-color: #B28B00;
		border: 1px solid #B28B00;
		color: #FFFFFF;
		backdrop-filter: none;
		line-height: 1.4;
		white-space: nowrap;
	}
	header .navbar .nav-bar .sw-mega .sw-mega__cta .btn.btn-primary:hover {
		background-color: #FFFFFF;
		border-color: #FFFFFF;
		color: #023A51;
	}

	header .sw-mega a:focus-visible {
		outline: 2px solid #B28B00;
		outline-offset: 2px;
	}
}

/* iPad liggend / kleine laptops: kaart weg, compacter */
@media only screen and (min-width: 992px) and (max-width: 1199px) {
	header .sw-mega__inner { grid-template-columns: minmax(0, 1fr); padding: 28px; }
	header .sw-mega__cta { display: none; }
	header .sw-mega__heading { font-size: 22px; }
	header .sw-mega__thumb { flex-basis: 60px; width: 60px; height: 45px; }
}

@media (prefers-reduced-motion: reduce) {
	header .sw-mega { transition: none; transform: none; }
}

/* Google-reviewscore (menu's) */
.sw-rating { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; line-height: 1; font-weight: 600; white-space: nowrap; }
.sw-rating__g { width: 18px; height: 18px; flex: 0 0 18px; }
.sw-rating__score { font-size: 16px; }
.sw-rating__stars { position: relative; display: inline-block; width: 80px; height: 15px; background: no-repeat left center / 80px 15px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 15'%3E%3Cg fill='%23C9D3DA'%3E%3Cpath id='s' d='M7.5 0l2.2 4.6 5 .7-3.6 3.5.9 5-4.5-2.4L3 13.8l.9-5L.3 5.3l5-.7z'/%3E%3Cuse href='%23s' x='16'/%3E%3Cuse href='%23s' x='32'/%3E%3Cuse href='%23s' x='48'/%3E%3Cuse href='%23s' x='64'/%3E%3C/g%3E%3C/svg%3E"); }
.sw-rating__fill { position: absolute; left: 0; top: 0; bottom: 0; overflow: hidden; background: no-repeat left center / 80px 15px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 15'%3E%3Cg fill='%23FBBC04'%3E%3Cpath id='s' d='M7.5 0l2.2 4.6 5 .7-3.6 3.5.9 5-4.5-2.4L3 13.8l.9-5L.3 5.3l5-.7z'/%3E%3Cuse href='%23s' x='16'/%3E%3Cuse href='%23s' x='32'/%3E%3Cuse href='%23s' x='48'/%3E%3Cuse href='%23s' x='64'/%3E%3C/g%3E%3C/svg%3E"); }
.sw-rating__count { font-weight: 500; opacity: .85; }
.sw-rating--light { color: #023A51; }
.sw-rating--dark { color: #FFFFFF; background: rgba(255, 255, 255, .14); backdrop-filter: blur(6px); padding: 8px 12px; border-radius: 30px; margin-bottom: 14px; }
.sw-rating--dark .sw-rating__g { background: #fff; border-radius: 50%; padding: 2px; width: 20px; height: 20px; flex-basis: 20px; }
.sidenav .sw-rating-item { padding: 15px; }
.sidenav ul li.sw-rating-item { border: 0; }
header .sw-rating--dark { gap: 6px; padding: 7px 11px; font-size: 13px; max-width: 100%; }
header .sw-rating--dark .sw-rating__score { font-size: 15px; }
header .sw-rating--dark .sw-rating__stars,
header .sw-rating--dark .sw-rating__fill { width: 68px; background-size: 68px 13px; }
header .sw-rating--dark .sw-rating__stars { height: 13px; }

/* Mobiel menu (tot 991px) */
@media only screen and (max-width: 991px) {
	.sidenav ul.navbar-nav > li { border-bottom: 1px solid #EEF2F5; }
	.sidenav ul.navbar-nav > li > a { color: #023A51; font-weight: 600; }
	.sidenav ul.navbar-nav > li.sw-mob-parent > .toggle_sub_menu { width: 56px; height: 66px; top: 0; }
	.sidenav ul.navbar-nav > li.sw-mob-parent > .toggle_sub_menu i { color: #B28B00; }

	.sidenav li.sw-mob-quick { padding: 14px 15px 16px; background: #F2F6F8; border-bottom: 0; }
	.sw-mob-quick__label { display: block; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #6D6D6D; margin-bottom: 10px; line-height: 1.2; }
	.sw-mob-quick__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
	.sidenav ul li.sw-mob-quick a { display: block; padding: 12px 10px; border-radius: 30px; background: #023A51; color: #fff; text-align: center; font-size: 15px; font-weight: 600; line-height: 1.2; text-decoration: none; }
	.sidenav ul li.sw-mob-quick a:last-child { background: #B28B00; }

	.sidenav ul.navbar-nav ul.sw-mob-list { background: #F7FAFB; padding: 6px 0 10px; }
	.sidenav ul.navbar-nav ul.sw-mob-list li.sw-mob-label { padding: 12px 15px 4px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #6D6D6D; line-height: 1.2; }
	.sidenav ul.navbar-nav ul.sw-mob-list li.sw-mob-card a.sw-mega__item { display: flex; align-items: center; gap: 12px; padding: 8px 15px; line-height: 1.3; font-size: 15px; color: #333; text-decoration: none; }
	.sidenav ul.navbar-nav ul.sw-mob-list li.sw-mob-card a.sw-mega__item[aria-current="page"] { background: #E9F0F4; }
	.sidenav .sw-mega__thumb { flex: 0 0 52px; width: 52px; height: 40px; border-radius: 8px; object-fit: cover; display: block; background: #E6EDF1; }
	.sidenav .sw-mega__text { flex: 1 1 auto; min-width: 0; }
	.sidenav .sw-mega__title { display: block; font-size: 16px; font-weight: 600; color: #023A51; }
	.sidenav .sw-mega__sub { display: block; font-size: 13px; color: #6D6D6D; margin-top: 2px; }
	.sidenav .sw-mega__chev { flex: 0 0 auto; width: 7px; height: 7px; border-right: 2px solid #B28B00; border-top: 2px solid #B28B00; transform: rotate(45deg); margin-right: 4px; }
	.sidenav ul.navbar-nav ul.sw-mob-list li.sw-mob-all a { padding: 10px 15px; font-size: 15px; font-weight: 600; color: #023A51; line-height: 1.3; }
	.sidenav .sw-mega { display: none !important; }
}

/* Reviewscore in de header */
.sw-header-rating-mob { display: none; }
header .navbar-wrapper > .container .navbar-contact ul li.sw-header-rating { list-style: none; padding-right: 28px; }
.sw-rating--header { color: #FFFFFF; font-size: 13px; gap: 7px; }
.sw-rating--header .sw-rating__score { font-size: 16px; }
.sw-rating--header .sw-rating__g { background: #fff; border-radius: 50%; padding: 2px; width: 20px; height: 20px; flex-basis: 20px; }
.sw-rating--header .sw-rating__stars, .sw-rating--header .sw-rating__fill { width: 72px; background-size: 72px 14px; }
.sw-rating--header .sw-rating__stars { height: 14px; }
header.sticky-nav .sw-rating--header { color: #023A51; }
@media only screen and (min-width: 992px) and (max-width: 1299px) {
	header .navbar-wrapper > .container .hright { column-gap: 32px; }
	.sw-rating--header .sw-rating__count { display: none; }
	header .navbar-wrapper > .container .navbar-contact ul li.sw-header-rating { padding-right: 18px; }
}
@media only screen and (max-width: 991px) {
	header .sw-header-rating-mob { display: block; margin-left: auto; margin-right: 14px; line-height: 0; }
	header .sw-header-rating-mob .sw-rating--header { gap: 5px; }
	header .sw-header-rating-mob .sw-rating__count { display: none; }
	header .sw-header-rating-mob .sw-rating__stars, header .sw-header-rating-mob .sw-rating__fill { width: 62px; background-size: 62px 12px; }
	header .sw-header-rating-mob .sw-rating__stars { height: 12px; }
	header.sticky-nav .sw-header-rating-mob .sw-rating--header,
	.scrolling-off header .sw-header-rating-mob .sw-rating--header { color: #023A51; }
}
@media only screen and (max-width: 359px) {
	header .sw-header-rating-mob .sw-rating__stars { display: none; }
}

/* Topbalk boven het hoofdmenu */
header .navbar-wrapper:has(.sw-topbar) { padding-top: 0; }
.sw-topbar { background: rgba(2, 58, 81, .92); color: #FFFFFF; font-size: 14px; line-height: 1.2; margin-bottom: 22px; }
.sw-topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 40px; }
.sw-topbar__left { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.sw-topbar__rating { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.sw-topbar__rating strong { font-weight: 700; }
.sw-topbar .sw-rating__stars, .sw-topbar .sw-rating__fill { width: 72px; height: 14px; background-size: 72px 14px; }
.sw-topbar__dot { width: 4px; height: 4px; border-radius: 50%; background: #B28B00; display: inline-block; }
header .sw-topbar a.sw-topbar__tel { color: #FFFFFF; font-weight: 600; text-decoration: none; white-space: nowrap; }
header .sw-topbar a.sw-topbar__tel:hover { color: #E5C766; }
.sw-topbar__right ul.sw-topbar__menu { display: flex; gap: 22px; margin: 0; padding: 0; list-style: none; }
.sw-topbar__right ul.sw-topbar__menu li { list-style: none; margin: 0; }
header .sw-topbar__right ul.sw-topbar__menu li a { color: #FFFFFF; text-decoration: none; font-weight: 500; }
header .sw-topbar__right ul.sw-topbar__menu li a:hover, header .sw-topbar__right ul.sw-topbar__menu li.current-menu-item a { color: #E5C766; }
header.sticky-nav .sw-topbar { display: none; }
@media only screen and (min-width: 992px) {
	header.sticky-nav .navbar-wrapper:has(.sw-topbar) { padding-top: 20px; }
	/* ruimte voor de topbalk: hoofdmenu iets hoger */
	header .navbar-wrapper:has(.sw-topbar) > .container::before { bottom: -24px; }
}
@media only screen and (max-width: 991px) {
	.sw-topbar { font-size: 12px; margin-bottom: 14px; }
	.sw-topbar .container { justify-content: center; min-height: 32px; }
	.sw-topbar__right, .sw-topbar__usp, .sw-topbar__usp + .sw-topbar__dot { display: none; }
	.sw-topbar .sw-rating__stars, .sw-topbar .sw-rating__fill { width: 62px; height: 12px; background-size: 62px 12px; }
	header .navbar-wrapper:has(.sw-topbar) { padding-top: 0; }
	header.sticky-nav .navbar-wrapper:has(.sw-topbar), .scrolling-off .site-header .navbar-wrapper:has(.sw-topbar) { padding-top: 15px; }
	.scrolling-off .sw-topbar { display: none; }
}
/* ingelogd: topbalk onder de WordPress-adminbalk */
body.admin-bar header:not(.sticky-nav) .sw-topbar { margin-top: 32px; }
@media screen and (max-width: 782px) { body.admin-bar header:not(.sticky-nav) .sw-topbar { margin-top: 46px; } }
