/* [vm_header] – header en zijmenu. Alles onder .vm-header en .vm-sidemenu; kleuren uit tokens.css. */

/* Header */
.vm.vm-header {
	box-sizing: border-box;
	position: relative;
	z-index: 10;
	background: var(--vm-zand);
	border-bottom: 1px solid var(--vm-lijn);
	box-shadow: var(--vm-sch-header);
	font-family: var(--vm-font-tekst);
	color: var(--vm-inkt);
}

.vm-header *,
.vm-sidemenu * {
	box-sizing: border-box;
}

.vm-header__in {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 60px;
	margin: 0 auto;
	padding: 0 8px 0 16px;
}

.vm-header__logo {
	display: block;
	width: 140px;
	line-height: 0;
}

.vm-header__logo svg {
	display: block;
	width: 100%;
	height: auto;
}

.vm-header__nav {
	display: none;
}

.vm-header__actions {
	display: flex;
	align-items: center;
	gap: 4px;
}

.vm-header .vm-header__cta {
	display: none;
	align-items: center;
	justify-content: center;
	height: 40px;
	margin-right: 8px;
	padding: 0 16px;
	border-radius: var(--vm-r-s);
	background: var(--vm-knop);
	color: var(--vm-wit);
	font: 700 14px/1 var(--vm-font-tekst);
	text-decoration: none;
	white-space: nowrap;
}

.vm-header .vm-header__cta:hover {
	background: var(--vm-knop-hover);
	color: var(--vm-wit);
}

.vm-header .vm-header__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: none;
	color: var(--vm-inkt);
	cursor: pointer;
	text-decoration: none;
}

.vm-header .vm-header__icon svg {
	width: 22px;
	height: 22px;
}

.vm-header .vm-header__icon:hover {
	background: var(--vm-lijn);
	color: var(--vm-inkt);
}

.vm-header a:focus-visible,
.vm-header button:focus-visible,
.vm-sidemenu a:focus-visible,
.vm-sidemenu button:focus-visible {
	outline: 2px solid var(--vm-knop);
	outline-offset: 2px;
}

/* Tablet en desktop */
@media (min-width: 768px) {
	.vm-header__in {
		display: grid;
		grid-template-columns: 1fr auto 1fr;
		height: 72px;
		max-width: 1298px;
		padding: 0 24px;
	}

	.vm-header__logo {
		width: 172px;
	}

	.vm-header__actions {
		grid-column: 3;
		justify-self: end;
	}

	.vm-header .vm-header__cta {
		display: inline-flex;
	}

	.vm-header .vm-header__icon {
		width: 40px;
		height: 40px;
		color: var(--vm-grijs);
	}
}

/* Menu alleen vanaf desktop */
@media (min-width: 1024px) {
	.vm-header__nav {
		display: block;
		height: 100%;
	}

	.vm-header .vm-header__menu {
		display: flex;
		gap: 48px;
		height: 100%;
		margin: 0;
		padding: 0;
		list-style: none;
	}

	.vm-header .vm-header__menu li {
		display: flex;
		height: 100%;
		margin: 0;
		padding: 0;
	}

	.vm-header .vm-header__menu a {
		position: relative;
		display: flex;
		align-items: center;
		color: var(--vm-inkt);
		font: 600 14px/1.2 var(--vm-font-tekst);
		text-decoration: none;
	}

	.vm-header .vm-header__menu a:hover,
	.vm-header .vm-header__menu .is-active > a {
		color: var(--vm-blauw-700);
	}

	.vm-header .vm-header__menu .is-active > a::after {
		content: "";
		position: absolute;
		right: 0;
		bottom: -1px;
		left: 0;
		height: 3px;
		border-radius: 2px 2px 0 0;
		background: var(--vm-knop);
	}
}

/* Zijmenu */
.vm.vm-sidemenu {
	position: fixed;
	inset: 0;
	z-index: 100000;
	font-family: var(--vm-font-tekst);
	color: var(--vm-inkt);
}

.vm-sidemenu[hidden] {
	display: none;
}

.vm-sidemenu__overlay {
	position: absolute;
	inset: 0;
	background: var(--vm-overlay);
	opacity: 0;
	transition: opacity 200ms ease;
}

.vm-sidemenu__panel {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	display: flex;
	flex-direction: column;
	width: 100%;
	background: var(--vm-creme);
	box-shadow: var(--vm-sch-zijmenu);
	transform: translateX(100%);
	transition: transform 250ms ease;
}

.vm-sidemenu.is-open .vm-sidemenu__overlay {
	opacity: 1;
}

.vm-sidemenu.is-open .vm-sidemenu__panel {
	transform: none;
}

.vm-sidemenu__head {
	display: flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: space-between;
	height: 60px;
	padding: 0 8px 0 16px;
	border-bottom: 1px solid var(--vm-lijn);
	background: var(--vm-zand);
}

.vm-sidemenu__title {
	color: var(--vm-inkt-sterk);
	font: 800 18px/1.2 var(--vm-font-kop);
}

.vm-sidemenu .vm-header__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: none;
	color: var(--vm-inkt);
	cursor: pointer;
}

.vm-sidemenu .vm-header__icon:hover,
.vm-sidemenu .vm-header__icon:focus {
	background: var(--vm-lijn);
	border: 0;
	box-shadow: none;
	color: var(--vm-inkt);
}

.vm-sidemenu .vm-header__icon svg {
	width: 22px;
	height: 22px;
}

.vm-sidemenu__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 24px;
	overflow: auto;
	padding: 16px 16px 28px;
}

.vm-sidemenu__body > * {
	flex-shrink: 0;
}

.vm-sidemenu .vm-sidemenu__cta {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 48px;
	border-radius: var(--vm-r-s);
	background: var(--vm-knop);
	color: var(--vm-wit);
	font: 700 16px/1 var(--vm-font-tekst);
	text-decoration: none;
}

.vm-sidemenu .vm-sidemenu__cta:hover {
	background: var(--vm-knop-hover);
	color: var(--vm-wit);
}

.vm-sidemenu .vm-sidemenu__list,
.vm-sidemenu .vm-sidemenu__meer {
	margin: 0;
	padding: 0;
	list-style: none;
}

.vm-sidemenu .vm-sidemenu__list {
	border-top: 1px solid var(--vm-lijn);
}

.vm-sidemenu .vm-sidemenu__list li {
	margin: 0;
	padding: 0;
}

.vm-sidemenu .vm-sidemenu__list a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 52px;
	padding: 0 4px 0 12px;
	border-bottom: 1px solid var(--vm-lijn);
	color: var(--vm-inkt);
	font: 600 16px/1.3 var(--vm-font-tekst);
	text-decoration: none;
}

.vm-sidemenu .vm-sidemenu__list a:hover {
	color: var(--vm-blauw-700);
}

.vm-sidemenu .vm-sidemenu__list a > svg {
	flex-shrink: 0;
	color: var(--vm-header-chevron);
}

.vm-sidemenu .vm-sidemenu__list .is-active > a {
	color: var(--vm-blauw-700);
	box-shadow: inset 3px 0 var(--vm-knop);
}

.vm-sidemenu__tekst {
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

.vm-sidemenu__icoon {
	display: inline-flex;
	color: var(--vm-header-icoon);
}

.vm-sidemenu .vm-sidemenu__label {
	margin: 0 0 10px;
	color: var(--vm-grijs);
	font: 700 12px/1.3 var(--vm-font-tekst);
	letter-spacing: .06em;
	text-transform: uppercase;
}

.vm-sidemenu .vm-sidemenu__meer {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2px 16px;
}

.vm-sidemenu .vm-sidemenu__meer li {
	margin: 0;
	padding: 0;
}

.vm-sidemenu .vm-sidemenu__meer a {
	display: flex;
	align-items: center;
	min-height: 40px;
	color: var(--vm-inkt);
	font: 400 15px/1.3 var(--vm-font-tekst);
	text-decoration: none;
}

.vm-sidemenu .vm-sidemenu__meer a:hover {
	color: var(--vm-blauw-700);
	text-decoration: underline;
}

@media (min-width: 768px) {
	.vm-sidemenu__panel {
		width: 400px;
	}

	.vm-sidemenu__head {
		height: 72px;
		padding: 0 16px 0 24px;
	}

	.vm-sidemenu__body {
		padding: 20px 24px 32px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.vm-sidemenu__overlay,
	.vm-sidemenu__panel {
		transition: none;
	}
}
