/* Overson Talen: taalkiezer. Kleuren zijn aan te passen met de variabelen hieronder. */
.ovt-switcher {
	--ovt-active-bg: #178fff;
	--ovt-active-fg: #fff;
	--ovt-gap: 2px;
	display: inline-flex;
	align-items: center;
	gap: var(--ovt-gap);
	padding: 2px;
	border: 1px solid rgba(127, 127, 127, 0.35);
	border: 1px solid color-mix(in srgb, currentColor 30%, transparent);
	border-radius: 999px;
	font-size: 13px;
	line-height: 1;
	font-weight: 600;
	letter-spacing: 0.02em;
	white-space: nowrap;
	vertical-align: middle;
}

.ovt-switcher .ovt-switcher__item {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 28px;
	padding: 4px 10px;
	border-radius: 999px;
	color: inherit;
	text-decoration: none;
	opacity: 0.8;
	transition: background-color 0.15s ease, color 0.15s ease, opacity 0.15s ease;
}

.ovt-switcher .ovt-switcher__item:hover,
.ovt-switcher .ovt-switcher__item:focus-visible {
	opacity: 1;
	text-decoration: none;
	color: inherit;
}

.ovt-switcher .ovt-switcher__item:focus-visible {
	outline: 2px solid var(--ovt-active-bg);
	outline-offset: 2px;
}

.ovt-switcher .ovt-switcher__item.is-active {
	background: var(--ovt-active-bg);
	color: var(--ovt-active-fg);
	opacity: 1;
	pointer-events: none;
}

.ovt-switcher__flag {
	display: inline-block;
	flex: none;
	width: 1.25em;
	height: 1.25em;
	border-radius: 50%;
	overflow: hidden;
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12);
}

.ovt-switcher__flag svg {
	display: block;
	width: 100%;
	height: 100%;
}

/* Alleen de andere taal: een rustig knopje. */
.ovt-switcher--single {
	padding: 0;
}

.ovt-switcher--single .ovt-switcher__item {
	opacity: 1;
}

/* In een menu: zelfde hoogte als de menu-items. */
.ovt-menu-item {
	display: flex;
	align-items: center;
	margin-inline-start: 8px;
}

.ovt-switcher .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

/* Overson-thema: bovenbalk (desktop) en mobiel menu. */
.top-nav .ovt-topbar-item {
	display: flex;
	align-items: center;
	flex: none;
}

.top-nav .top-nav__google {
	display: flex;
	align-items: center;
}

.top-nav .ovt-switcher {
	font-size: 12px;
}

.top-nav .ovt-switcher .ovt-switcher__item {
	min-height: 24px;
	padding: 3px 9px;
}

.mobile-nav .ovt-mobile-item {
	padding-top: 12px;
}

.mobile-nav .ovt-switcher {
	font-size: 15px;
}

/* Mobiel: vlag + NL/DE, compact; vlag even groot als het Google-icoon, tekst iets kleiner. */
@media (max-width: 767px) {
	.top-nav .ovt-switcher {
		gap: 2px;
		padding: 1px;
		font-size: 10px;
		line-height: 1;
	}

	.top-nav .ovt-switcher .ovt-switcher__item {
		min-height: 0;
		padding: 1px 5px 1px 1px;
		gap: 3px;
	}

	.top-nav .ovt-switcher__flag {
		width: 14px;
		height: 14px;
	}
}
