/* Small, dependency-free language control. Colours can be adjusted with these variables. */
.lb-language-switcher {
    --lb-accent: #173e65;
    --lb-text: #52647a;
    --lb-border: #dce4ed;
    --lb-icon: #52647a;
    display: inline-flex !important;
    align-items: center;
    gap: 9px;
    width: max-content;
    max-width: 100%;
    vertical-align: middle;
    font-family: inherit;
    line-height: 1;
}
.lb-language-switcher .lb-language-icon {
    display: block;
    flex: 0 0 18px;
    color: var(--lb-icon);
}
.lb-language-switcher .lb-language-options {
    display: inline-flex;
    align-items: stretch;
    gap: 3px;
    padding: 4px;
    margin: 0;
    border: 1px solid var(--lb-border);
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 2px 6px rgb(23 62 101 / 4%);
}
.lb-language-switcher .lb-language-link {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 36px;
    box-sizing: border-box;
    padding: 8px 13px !important;
    margin: 0 !important;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--lb-text) !important;
    font-family: inherit;
    font-weight: 650 !important;
    line-height: 1.2 !important;
    letter-spacing: .06em;
    text-decoration: none !important;
    white-space: nowrap;
    opacity: 1 !important;
    transition: background-color 150ms ease, color 150ms ease, box-shadow 150ms ease;
}
.lb-language-switcher .lb-language-link:hover {
    background: #eef3f8;
    color: var(--lb-accent) !important;
}
.lb-language-switcher .lb-language-link[aria-current="true"] {
    background: var(--lb-accent);
    color: #fff !important;
    box-shadow: 0 2px 5px rgb(23 62 101 / 15%);
}
.lb-language-switcher .lb-language-link:focus-visible {
    outline: 2px solid var(--lb-accent);
    outline-offset: 3px;
}
/* A single menu item avoids Divi interpreting the language options as a submenu. */
li.lb-language-menu {
    display: flex !important;
    align-items: center;
    padding-block: 0 !important;
}
.et_mobile_menu li.lb-language-menu {
    padding: 12px 5% !important;
}
.et_mobile_menu .lb-language-switcher .lb-language-link {
    border-bottom: 0 !important;
}
@media (prefers-reduced-motion: reduce) {
    .lb-language-switcher .lb-language-link { transition: none; }
}
/* Additional languages wrap on narrow screens. */
.lb-language-switcher .lb-language-options { flex-wrap: wrap; border-radius: 20px; }
	