/**
 * Flyn Translator — front-end language switcher.
 *
 * Brand system:
 *   Navy         #001E41
 *   Navy hover   #00325F
 *   Blue tint    #EAF2FA
 *   Ink text     #0B1220
 * Headings use the site's Adobe Caslon-style serif; the switcher inherits the
 * site body typography so it blends into Elementor headers.
 */

.flyn-switcher {
	--flyn-navy: #001e41;
	--flyn-navy-hover: #00325f;
	--flyn-tint: #eaf2fa;
	--flyn-ink: #0b1220;

	display: inline-block;
	font: inherit;
	line-height: 1.2;
}

.flyn-switcher__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	gap: 0.15em;
}

.flyn-switcher--stacked .flyn-switcher__list {
	flex-direction: column;
	align-items: flex-start;
	gap: 0.25em;
}

.flyn-switcher__item {
	margin: 0;
	padding: 0;
	display: inline-flex;
	align-items: center;
}

.flyn-switcher__link {
	display: inline-block;
	padding: 0.2em 0.5em;
	font-weight: 600;
	letter-spacing: 0.02em;
	text-decoration: none;
	color: var(--flyn-navy);
	border-radius: 3px;
	transition: color 0.15s ease, background-color 0.15s ease;
}

a.flyn-switcher__link:hover,
a.flyn-switcher__link:focus {
	color: var(--flyn-navy-hover);
	background-color: var(--flyn-tint);
}

a.flyn-switcher__link:focus-visible {
	outline: 2px solid var(--flyn-navy);
	outline-offset: 2px;
}

.flyn-switcher__link--current {
	color: var(--flyn-ink);
	opacity: 0.55;
	cursor: default;
	font-weight: 600;
}

.flyn-switcher__sep {
	color: var(--flyn-ink);
	opacity: 0.35;
	padding: 0 0.1em;
	user-select: none;
}
