/* Minimal Line Indicator Language Switcher */
.minimal-lang {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.lang-option {
    position: relative;
    color: #6b7280;
    text-decoration: none;
    font-weight: 400;
    transition: all 0.3s ease;
    cursor: pointer;
    padding: 0.25rem 0;
}

.lang-option::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #a87726;
    transition: width 0.3s ease;
}

.lang-option:hover {
    color: #a87726;
    text-decoration: none;
}

.lang-option:hover::after {
    width: 100%;
}

.lang-option.active {
    color: #a87726;
    font-weight: 600;
}

.lang-option.active::after {
    width: 100%;
}

/* Span elements (current language) styling */
span.lang-option.active {
    cursor: default;
}

/* Legacy styles for backward compatibility */
.footer-language .lang-link {
    color: #fff;
    text-decoration: none;
    padding: 0 10px;
    transition: color 0.2s ease;
}

.footer-language .lang-link:hover {
    color: #a87726;
    text-decoration: none;
}

.footer-language .active-lang {
    color: #a87726 !important;
    font-weight: bold;
    cursor: default;
}

/* Minimize visual jump on language switching */
.footer-language li {
    min-width: 25px;
    text-align: center;
}

/* Performance optimization - reduce repaints */
.footer-language {
    will-change: auto;
}

/* Fix openPR badge cursor */
.btn.btn-outline-primary:not([href]):not(button) {
    cursor: default !important;
}

.btn.btn-outline-primary .badge {
    cursor: default !important;
}

/* Remove margin from news containers */
.news-container .container {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}