/**
 * Горизонтальный список языков (мобильная шапка).
 * Белый текст + тёмный контур — читается и на тёмном, и на белом фоне.
 */
.ng-lang-list {
	display: block;
	line-height: 1;
}

.ng-lang-list__items {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: flex-end;
	gap: 0.55em;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ng-lang-list__items .lang-item {
	margin: 0;
	padding: 0;
	list-style: none;
}

.ng-lang-list__items .lang-item a {
	display: inline-block;
	font-family: Commissioner, sans-serif;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.2;
	text-transform: uppercase;
	text-decoration: none;
	color: #ffffff;
	text-shadow:
		-1px -1px 0 rgba(0, 0, 0, 0.85),
		1px -1px 0 rgba(0, 0, 0, 0.85),
		-1px 1px 0 rgba(0, 0, 0, 0.85),
		1px 1px 0 rgba(0, 0, 0, 0.85),
		0 -1px 0 rgba(0, 0, 0, 0.85),
		0 1px 0 rgba(0, 0, 0, 0.85),
		-1px 0 0 rgba(0, 0, 0, 0.85),
		1px 0 0 rgba(0, 0, 0, 0.85);
	-webkit-text-stroke: 0.4px rgba(0, 0, 0, 0.55);
}

/* В попапе меню — без лишнего контура на тёмном фоне */
.elementor-popup-modal .ng-lang-list__items {
	justify-content: flex-start;
	gap: 0.75em;
	margin: 0.75em 0 0;
}

.elementor-popup-modal .ng-lang-list__items .lang-item a {
	text-shadow: none;
	-webkit-text-stroke: 0;
	opacity: 0.8;
}

.elementor-popup-modal .ng-lang-list__items .lang-item.current-lang a {
	opacity: 1;
}

.ng-lang-list__items .lang-item a:hover,
.ng-lang-list__items .lang-item a:focus {
	color: #20d3dc;
}

.ng-lang-list__items .lang-item.current-lang a {
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-thickness: 1px;
	text-decoration-color: currentColor;
}

/* На время перехода по языку — без мигания попапа/контента */
html.ng-lang-switching .elementor-popup-modal {
	display: none !important;
	visibility: hidden !important;
	opacity: 0 !important;
}

/* SI mobile toggle */
.ng-mobile-lang-toggle .elementor-icon i {
	position: relative;
	font-size: 0 !important;
	width: 28px;
	height: 28px;
	display: inline-block;
}

.ng-mobile-lang-toggle .elementor-icon i::before {
	content: "";
	display: block;
	width: 28px;
	height: 28px;
	background-color: currentColor;
	-webkit-mask: url("../icons/googletranslate.svg") center / contain no-repeat;
	mask: url("../icons/googletranslate.svg") center / contain no-repeat;
}
