/* Persistent RU / EN switcher. Existing header and menu layout is untouched. */
.seaeg-language-switcher {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	box-sizing: border-box;
	line-height: 1;
}

header.seaeg-language-switcher-host {
	position: relative;
}

header > .seaeg-language-switcher {
	position: absolute;
	z-index: 9999;
	margin: 0;
	visibility: hidden;
	transform: translateY(-50%);
	pointer-events: auto;
}

header > .seaeg-language-switcher.is-positioned {
	visibility: visible;
}

.seaeg-language-switcher__button,
header.wp-block-template-part .seaeg-language-switcher__button {
	-webkit-appearance: none;
	appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 44px;
	height: 44px;
	min-width: 44px;
	min-height: 44px;
	margin: 0;
	padding: 0;
	border: 1px solid rgba(0, 0, 0, 0.48);
	border-radius: 50%;
	background: transparent;
	box-shadow: none;
	color: rgba(0, 0, 0, 0.72);
	cursor: pointer;
	font: inherit;
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1;
	text-align: center;
	text-transform: uppercase;
	touch-action: manipulation;
	-webkit-tap-highlight-color: transparent;
	visibility: visible;
	opacity: 1;
}

.seaeg-language-switcher__button:hover,
.seaeg-language-switcher__button:active {
	border-color: rgba(0, 0, 0, 0.65);
	background: transparent;
	color: rgba(0, 0, 0, 0.86);
}

.seaeg-language-switcher__button:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 3px;
}

.seaeg-language-switcher__button:disabled {
	cursor: wait;
	opacity: 0.58;
}

@media (max-width: 782px) {
	.seaeg-language-switcher__button,
	header.wp-block-template-part .seaeg-language-switcher__button {
		width: 42px;
		height: 42px;
		min-width: 42px;
		min-height: 42px;
		padding: 0;
		font-size: 0.78rem;
	}
}

@media (max-width: 480px) {
	.seaeg-language-switcher__button,
	header.wp-block-template-part .seaeg-language-switcher__button {
		width: 40px;
		height: 40px;
		min-width: 40px;
		min-height: 40px;
		padding: 0;
		font-size: 0.75rem;
	}
}

@media (max-width: 340px) {
	.seaeg-language-switcher__button,
	header.wp-block-template-part .seaeg-language-switcher__button {
		width: 24px;
		height: 24px;
		min-width: 24px;
		min-height: 24px;
		font-size: 0.625rem;
	}
}

	@media (max-width: 782px) {
	html.seaeg-android-mobile .wp-site-blocks {
		zoom: 0.9;
	}
}
