/* Language switch — auto-loaded for the language-switch snippet
   (site/snippets/layout/language-switch.php). Plain text, also under the
   pointer; the chip's look is ui/chip's. */

.lang-switch {
    display: inline-flex;
    /* The current language's chip reaches back by its inset (ui/chip,
       chip--large); the gap keeps that much clear before it. */
    gap: calc(var(--space-2xs) + var(--chip-pad-inline) + var(--chip-border));
}
.lang-switch__link:hover {
    text-decoration: none;
}

/* A toggle with an icon (the mobile menu's globe): the icon before the text,
   as in a chip (ui/chip), so the two toggles read alike. */
.lang-switch__link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2xs);
}
.lang-switch__icon {
    flex: none;
    width: var(--mark-size);
}
