/** Scoped public language switcher */
.vred-translate-switcher {
	display: inline-block;
	max-width: 100%;
	font: inherit;
	line-height: 1.5;
	text-align: start;
	overflow: visible
}
.vred-translate-switcher ul {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none
}
.vred-translate-switcher li {
	display: block;
	margin: 0;
	padding: 0;
	list-style: none
}
.vred-translate-switcher a,
.vred-translate-switcher .vred-translate-switcher__label {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	max-width: 100%;
	overflow-wrap: anywhere
}
.vred-translate-switcher a {
	padding: 4px
}
.vred-translate-switcher a,
.vred-translate-switcher a:hover,
.vred-translate-switcher a:focus,
.vred-translate-switcher a:active,
.vred-translate-switcher a:visited {
	color: inherit;
	text-decoration: none;
	border: 0;
	box-shadow: none;
	background-image: none
}
.vred-translate-switcher:not([data-vred-format="flag"]) a[aria-current="page"] {
	font-weight: 700
}
.vred-translate-switcher a:focus-visible,
.vred-translate-switcher summary:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px
}
/** Floating dropdown */
.vred-translate-switcher details {
	position: relative;
	min-width: 8rem;
	max-width: 100%;
	color: #1d2327
}
.vred-translate-switcher details[open] {
	z-index: 1000
}
.vred-translate-switcher summary {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 6px 10px;
	list-style: none;
	border: 1px solid #c3c4c7;
	border-radius: 4px;
	background: #fff;
	cursor: pointer
}
.vred-translate-switcher summary::-webkit-details-marker {
	display: none
}
.vred-translate-switcher summary::marker {
	content: ''
}
.vred-translate-switcher summary::after {
	content: '';
	flex: 0 0 auto;
	width: 6px;
	height: 6px;
	margin-inline-start: auto;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: translateY(-2px) rotate(45deg)
}
.vred-translate-switcher details[open] > summary::after {
	transform: translateY(2px) rotate(225deg)
}
.vred-translate-switcher details > ul {
	position: absolute;
	inset-block-start: 100%;
	inset-inline-start: 0;
	flex-direction: column;
	width: 100%;
	max-width: calc(100vw - 32px);
	max-height: min(20rem, 60vh);
	margin: 2px 0 0;
	padding: 4px;
	box-sizing: border-box;
	border: 1px solid #c3c4c7;
	border-radius: 4px;
	background: #fff;
	box-shadow: 0 3px 12px rgba(0, 0, 0, 0.18);
	overflow: auto
}
.vred-translate-switcher details a {
	width: 100%;
	padding: 6px;
	box-sizing: border-box
}
.vred-translate-switcher details a:hover {
	background: #f0f0f1
}
.vred-translate-switcher .vred-translate-flag {
	display: inline-block;
	flex: 0 0 auto;
	width: var(--vred-translate-flag-width, 24px);
	max-width: none;
	height: auto;
	margin: 0;
	padding: 0;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border: 0;
	outline: 0;
	border-radius: 0;
	box-shadow: none
}
.vred-translate-switcher .vred-translate-flag.is-circular {
	aspect-ratio: 1 / 1;
	border-radius: 50%
}
