/* Astrodak Talen: taalkiezer. Kleuren zijn aan te passen met de variabelen hieronder of in de Elementor-widget. */
.adt-switcher {
	--adt-active-bg: #c9a24a;
	--adt-active-fg: #1f3b2d;
	--adt-gap: 2px;
	display: inline-flex;
	align-items: center;
	gap: var(--adt-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;
}

.adt-switcher .adt-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;
}

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

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

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

.adt-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);
}

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

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

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

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

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