/* ==========================================================================
   ebg elements - language switch ([ebg_lang_switch], _core/php/lang-switch.php):
   EL / EN with a slash between, current language in ink, others muted.
   ========================================================================== */

@layer components {

	.ebg-lang {
		display: flex;
		align-items: center;
		gap: 0;
		margin: 0;
		padding: 0;
		list-style: none;
		font-size: var(--fs-15, 15px);
		font-weight: 600;
		line-height: 1;

		& li { margin: 0; }

		& li + li::before {
			content: "/";
			padding-inline: 8px;
			color: var(--ebg-ink-3);
			font-weight: 400;
		}

		& a {
			color: var(--ebg-ink-3);
			text-decoration: none;

			&[aria-current],
			&:is(:hover, :focus-visible) { color: var(--ebg-ink); }
		}
	}
}
