/**
 * Language switcher.
 *
 * Values mirror the Elementor placeholder that lived in header template #254:
 * container gap 4px / padding 8px 12px / margin-left 4px, globe icon 13px at
 * 40% white, labels DM Sans 0.75rem with 0.05em tracking, active #FFF 600,
 * inactive 40% white 400 turning solid white on hover.
 */

.la-lang-switch {
	--la-lang-gap: 4px;
	--la-lang-icon: rgba(255, 255, 255, 0.4);
	--la-lang-active: #ffffff;
	--la-lang-inactive: rgba(255, 255, 255, 0.4);
	--la-lang-hover: #ffffff;

	display: flex;
	flex-direction: row;
	align-items: center;
	gap: var(--la-lang-gap);
	width: auto;
	padding: 8px 12px;
	margin-left: 4px;
}

.la-lang-switch--compact {
	padding: 0;
	margin-left: 0;
}

.la-lang-switch__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 13px;
	line-height: 1;
	color: var(--la-lang-icon);
}

.la-lang-switch__icon--svg svg {
	display: block;
	width: 13px;
	height: 13px;
	fill: none;
	stroke: currentColor;
}

.la-lang-switch a {
	display: inline-block;
	padding: 2px 4px;
	font-family: "DM Sans", "DMSans", sans-serif;
	font-size: 0.75rem;
	line-height: 1;
	letter-spacing: 0.05em;
	text-decoration: none;
	background: transparent;
	border: 0;
	transition: color 0.2s ease;
}

.la-lang-switch a:focus-visible {
	outline: 1px solid var(--la-lang-hover);
	outline-offset: 2px;
}

.la-lang-switch a.la-lang-active {
	color: var(--la-lang-active);
	font-weight: 600;
}

.la-lang-switch a.la-lang-inactive {
	color: var(--la-lang-inactive);
	font-weight: 400;
}

.la-lang-switch a.la-lang-inactive:hover,
.la-lang-switch a.la-lang-inactive:focus {
	color: var(--la-lang-hover);
}

.la-lang-sep {
	color: var(--la-lang-inactive);
	font-size: 0.75rem;
	line-height: 1;
}
