/**
 * v1.4.24.1 — Deterministic local flags for the validated RO / EN / IT switcher.
 * Replaces only the visual glyph inside the existing aria-hidden flag span.
 */
body .rs-language-switcher .rs-language-switcher__flag {
	display: inline-block !important;
	flex: 0 0 22px;
	width: 22px;
	height: 15px;
	min-width: 22px;
	font-size: 0 !important;
	line-height: 0 !important;
	color: transparent !important;
	text-indent: -9999px;
	overflow: hidden;
	background-color: #fff;
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	border: 1px solid rgba(31, 23, 54, .16);
	border-radius: 3px;
	box-shadow: 0 1px 3px rgba(20, 10, 45, .16);
}

body .rs-language-switcher .rs-language-switcher__item[lang="ro"] .rs-language-switcher__flag,
body .rs-language-switcher .rs-language-switcher__item[hreflang="ro"] .rs-language-switcher__flag {
	background-image: url('../img/flags/ro.svg');
}

body .rs-language-switcher .rs-language-switcher__item[lang="en"] .rs-language-switcher__flag,
body .rs-language-switcher .rs-language-switcher__item[hreflang="en"] .rs-language-switcher__flag {
	background-image: url('../img/flags/en.svg');
}

body .rs-language-switcher .rs-language-switcher__item[lang="it"] .rs-language-switcher__flag,
body .rs-language-switcher .rs-language-switcher__item[hreflang="it"] .rs-language-switcher__flag {
	background-image: url('../img/flags/it.svg');
}

body .rs-language-switcher .rs-language-switcher__label {
	white-space: nowrap;
}

@media (max-width: 768px) {
	body .rs-language-switcher .rs-language-switcher__flag {
		flex-basis: 20px;
		width: 20px;
		height: 14px;
		min-width: 20px;
	}
}

@media (forced-colors: active) {
	body .rs-language-switcher .rs-language-switcher__flag {
		border: 1px solid CanvasText;
	}
}
