/* PastaLang Frontend Switcher */
.pl-switcher {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.pl-switcher.pl-horizontal {
    flex-direction: row;
}

.pl-switcher.pl-dropdown {
    position: relative;
}

.pl-lang-item a {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 13px;
    color: inherit;
    transition: background .15s;
    white-space: nowrap;
}

.pl-lang-item a:hover {
    background: rgba(0, 0, 0, .07);
}

.pl-lang-item.pl-active a {
    font-weight: 700;
    background: rgba(0, 0, 0, .05);
}

.pl-flag {
    font-size: 18px;
    line-height: 1;
}

.pl-name {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .5px;
}

/* When inside a nav menu */
.pl-switcher.pl-in-menu {
    display: inline-flex;
    vertical-align: middle;
    margin-left: 8px;
}

/* Dark header support */
.dark-header .pl-lang-item a,
[data-bg="dark"] .pl-lang-item a {
    color: #fff;
}
[data-bg="dark"] .pl-lang-item a:hover {
    background: rgba(255,255,255,.12);
}
