/* Language selection and search controls shared by both site languages. */
/* Reserve the controls' width instead of squeezing them into equal side columns. */
@media (min-width: 922px) {
	#ast-desktop-header .site-above-header-wrap > .ast-builder-grid-row {
		grid-template-columns: auto minmax(0, 1fr) auto;
		column-gap: 20px;
	}
	#ast-desktop-header .site-header-above-section-center { justify-content: center; min-width: 0; }
	#ast-desktop-header .site-header-above-section-right,
	#ast-desktop-header .ast-header-search,
	#ast-desktop-header .header-social-inner-wrap {
		flex-wrap: nowrap;
		align-items: center;
		flex-shrink: 0;
	}
	#ast-desktop-header .site-header-above-section-right { gap: 12px; }
	#ast-desktop-header .site-header-above-section-right > .ast-builder-layout-element { margin-inline: 0; padding-inline: 0; }
	#ast-desktop-header .header-social-inner-wrap { display: flex; gap: 4px; }
	#ast-desktop-header .header-social-item { display: inline-flex; justify-content: center; align-items: center; min-width: 36px; min-height: 44px; margin: 0; }
	#ast-desktop-header .ast-header-search { width: auto; }
	#ast-desktop-header .ij-language-switcher { flex-shrink: 0; }
}
@media (min-width: 922px) and (max-width: 1200px) {
	#ast-desktop-header .site-above-header-wrap > .ast-builder-grid-row { column-gap: 12px; }
	#ast-desktop-header #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item { margin-inline: 0; }
	#ast-desktop-header #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link { padding-inline: 8px; }
}

.ast-header-search {
	display: flex;
	gap: 10px;
	align-items: center;
}

.ij-language-switcher {
	display: inline-flex;
	min-height: 34px;
	align-items: center;
	padding: 3px;
	border: 1px solid rgba(255, 255, 255, .38);
	border-radius: 999px;
	background: rgba(24, 68, 66, .18);
	box-shadow: 0 5px 18px rgba(16, 49, 48, .08);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}

.ij-language-switcher__link {
	display: grid;
	min-width: 38px;
	height: 27px;
	padding: 0 9px;
	border-radius: 999px;
	color: rgba(255, 255, 255, .94)!important;
	font-size: 11px;
	font-weight: 550;
	letter-spacing: .04em;
	line-height: 1;
	text-decoration: none;
	place-items: center;
	transition: background-color .18s ease, color .18s ease;
}

.ij-language-switcher__link:hover,
.ij-language-switcher__link:focus-visible {
	background: rgba(255, 255, 255, .16);
	color: inherit;
}

.ij-language-switcher__link.is-current {
	background: rgba(255, 255, 255, .94);
	color: #26766f!important;
}

.ast-header-search .astra-search-icon {
	display: grid;
	width: 38px;
	height: 38px;
	padding: 0 !important;
	border: 1px solid rgba(255, 255, 255, .3);
	border-radius: 50%;
	background: rgba(24, 68, 66, .16);
	color: inherit;
	place-items: center;
	transition: border-color .18s ease, background-color .18s ease, transform .18s ease;
}

.ast-header-search .astra-search-icon:hover,
.ast-header-search .astra-search-icon:focus-visible {
	border-color: rgba(255, 255, 255, .65);
	background: rgba(255, 255, 255, .14);
	color: inherit;
	transform: translateY(-1px);
}

.ast-header-search .ast-search-menu-icon .search-form {
	padding: 7px;
	border: 1px solid rgba(72, 111, 107, .22) !important;
	border-radius: 999px !important;
	background: rgba(249, 250, 246, .98) !important;
	box-shadow: 0 18px 48px rgba(23, 52, 54, .2) !important;
}

.ast-header-search .ast-search-menu-icon .search-field {
	height: 42px !important;
	padding: 0 18px !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: transparent !important;
	color: #234b4a !important;
	font-size: 15px !important;
	box-shadow: none !important;
}

.ast-header-search .ast-search-menu-icon .search-submit {
	border-radius: 50% !important;
	background: #2f9b8f !important;
	color: #fff !important;
}

.inner-journey-news-article .ij-language-switcher,
.inner-journey-news-article .ast-header-search .astra-search-icon {
	border-color: rgba(255, 255, 255, .28);
}

@media (max-width: 768px) {
	.ij-language-switcher:not(.ij-language-switcher--mobile) {
		display: none;
	}

	.ij-language-switcher--mobile {
		margin-right: 10px;
	}

	.ij-language-switcher__link {
		min-width: 36px;
		padding-right: 7px;
		padding-left: 7px;
	}
}
