/* Two real language links; translation, URLs and persistence belong to TranslatePress. */
.vong-language-switcher {
    display: flex;
    flex: 0 0 auto;
    gap: 2px;
    padding: 2px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--wp--preset--color--background);
    color: var(--ink);
    font-size: 0.875rem;
    line-height: 1.4;
}
.vong-language-switcher a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 44px;
    padding: 8px 10px;
    border-radius: 4px;
    white-space: nowrap;
    text-decoration: none;
}
.vong-language-switcher a[aria-current="page"] {
    color: var(--wp--preset--color--background);
    background: var(--action);
}
.vong-language-switcher a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}
/* Leave room for both language links before the full desktop menu fits. */
@media (max-width: 1280px) {
    .site-header .has-language-switcher nav.primary-nav {
        flex: 0 0 auto;
        margin-inline-start: auto !important;
    }
    .site-header .has-language-switcher nav.primary-nav .wp-block-navigation__responsive-container:not(.is-menu-open) {
        display: none;
    }
    .site-header .has-language-switcher nav.primary-nav .wp-block-navigation__responsive-container-open:not(.always-shown) {
        display: flex;
    }
}
@media (max-width: 600px) {
    .site-header .vong-language-switcher {
        flex: 1 0 100%;
        order: 4;
        justify-content: center;
        margin-block-end: 10px;
    }
    .site-header .vong-language-switcher a {
        flex: 1 1 0;
    }
}
@media print {
    .vong-language-switcher { display: none; }
}
