/* PTC Headermenu — huisstijl: blauw #0B5FAB, navy #0A2540, rood #E2231A */

/*
 * BELANGRIJK
 * De trigger-knop krijgt uitsluitend styling van het Impreza-theme
 * (.w-btn.us-btn-style_6). In dit bestand staat bewust GEEN enkele regel die
 * afmetingen, padding, breedte, font, font-size of line-height van die knop
 * beinvloedt. Ook de wrapper zet geen font of line-height, omdat die zouden
 * doorerven naar de knop.
 */

/* Wrapper: alleen positionering voor het uitklappaneel. */
.ptc-headermenu {
	position: relative;
	display: inline-block;
	vertical-align: middle;
}

.ptc-headermenu--stacked {
	display: block;
}

/* Geen .ptc-headermenu__trigger regel: knop is 100% theme. */

/* Pijltje staat in de w-btn-label en erft dus font-size van de knop. */
.ptc-headermenu__caret {
	display: inline-block;
	transition: transform 0.18s ease;
}

.ptc-headermenu__trigger[aria-expanded="true"] .ptc-headermenu__caret {
	transform: rotate(180deg);
}

/* --- Uitklappaneel: hier staat de eigen huisstijl --- */

.ptc-headermenu__panel {
	position: absolute;
	top: 100%;
	margin-top: 6px;
	width: 310px;
	max-width: calc(100vw - 32px);
	background: #fff;
	border: 1px solid #e6ebf0;
	box-shadow: 0 26px 50px -22px rgba(10, 37, 64, 0.45);
	z-index: 999;
	text-align: left;
	line-height: 1.2;
	font-family: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

.ptc-headermenu--align-right .ptc-headermenu__panel {
	right: 0;
}

.ptc-headermenu--align-left .ptc-headermenu__panel {
	left: 0;
}

.ptc-headermenu__panel[hidden] {
	display: none;
}

.ptc-headermenu__heading {
	margin: 0;
	font-family: "IBM Plex Mono", ui-monospace, monospace;
	font-size: 10.5px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #8593a0;
	padding: 14px 18px 10px;
	border-bottom: 1px solid #eef2f6;
}

.ptc-headermenu__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ptc-headermenu__item {
	margin: 0;
}

.ptc-headermenu__link,
.ptc-headermenu__link:visited {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 13px 18px;
	border-bottom: 1px solid #f4f7fa;
	border-left: 3px solid transparent;
	text-decoration: none;
	color: #14181d;
	transition: background-color 0.15s ease, border-left-color 0.15s ease;
}

.ptc-headermenu__link:hover,
.ptc-headermenu__link:focus-visible {
	background: #f4f7fa;
	border-left-color: #e2231a;
	color: #14181d;
}

.ptc-headermenu__label {
	flex: 1;
	font-family: "Archivo", "Public Sans", sans-serif;
	font-weight: 700;
	font-size: 15px;
	line-height: 1.25;
}

.ptc-headermenu__chevron {
	color: #0b5fab;
	font-weight: 800;
	font-size: 15px;
}

.ptc-headermenu__all,
.ptc-headermenu__all:visited {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 18px;
	background: #0a2540;
	color: #fff !important;
	font-weight: 700;
	font-size: 14px;
	text-decoration: none;
	transition: background-color 0.15s ease;
}

.ptc-headermenu__all span {
	color: #fff !important;
}

.ptc-headermenu__all:hover,
.ptc-headermenu__all:focus-visible {
	background: #0b5fab;
	color: #fff !important;
}

@media (max-width: 782px) {
	.ptc-headermenu {
		display: block;
	}

	.ptc-headermenu__panel {
		position: static;
		width: 100%;
		margin-top: 4px;
		box-shadow: none;
	}
}
