/* MuLang language switcher (frontend) */

.mulang-switcher {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.mulang-switcher .lang-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    line-height: 1.2;
}

.mulang-switcher .lang-link:hover,
.mulang-switcher .lang-link:focus {
    text-decoration: none;
}

.mulang-switcher .lang-link.active {
    font-weight: 600;
}

.mulang-switcher .flag {
    display: inline-flex;
    line-height: 1;
}

.mulang-switcher .name {
    text-decoration: none;
}

/* Language-filtered Page List block: highlight the page currently being viewed,
   matching the theme's existing .wp-block-navigation .current-menu-item treatment. */
.wp-block-page-list .current-menu-item > .wp-block-pages-list__item__link {
    color: var(--wp--preset--color--text-link);
}
