/* Explain: CSS for reusable UI components like language switches. */
.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    line-height: 1;
}

.lang-switch a,
.lang-switch span.lang-active {
    color: var(--text-muted);
    text-decoration: none;
    padding: 0.15rem 0.25rem;
    border-radius: 4px;
    transition: color 0.2s ease;
}

.lang-switch a:hover {
    color: var(--primary-color);
}

.lang-switch span.lang-active {
    color: var(--primary-color);
    font-weight: 700;
    cursor: default;
}

.lang-switch .lang-sep {
    color: var(--border-color);
    font-weight: 400;
}