/* Mobile styles for language switcher */
@media (max-width: 992px) {
    .lang-switcher {
        display: none;
    }

    .navbar-collapse.collapse.show + .lang-switcher {
        display: flex;
        justify-content: space-around;
        padding: 0.25rem 0.5rem;
        background-color: #1e1e1e;
        border-radius: 6px;
        /* margin: 0 auto; */
        width: 100%;
    }

    .lang-switcher ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }

    .lang-switcher a,
    .lang-switcher .active {
        font-size: 0.85rem;
        padding: 0.3rem 0.6rem;
    }
}


.lang-switcher ul {
    list-style: none;
    /* no bullets */
    margin: 0;
    /* remove default margin */
    padding: 0;
    /* remove default padding */
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.lang-switcher li {
    margin: 0;
    padding: 0;
}

.lang-switcher a,
.lang-switcher .active {
    display: flex;
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

/* default link */
.lang-switcher a {
    text-decoration: none;
    color: #007acc;
    /* accent blue */
    /* border: 1px solid transparent; */
    background-color: #1e1e1e;
    /* mid-dark background */
}

.lang-switcher a {
    text-decoration: none;
    color: #9ecbff;
    /* softer, muted blue */
    /* border: 1px solid transparent; */
    background-color: #1e1e1e;
}

.lang-switcher a:hover {
    background-color: #2a2a2a;
    /* border-color: #007acc; */
    color: #ffffff;
    /* clean white on hover */
}


/*******************************************************************************/
.breadcrumb {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    list-style: none;
    background-color: #444;
    border-radius: unset;
}

.breadcrumb a {
    color: white;
}

/******************************************************************************/
.list-group-item {
    background-color: #121212;
    color: #e0e0e0;
    border: 1px solid #2a2a2a;
}

.list-group-item-action:focus,
.list-group-item-action:hover {
    background-color: #2a2a2a;
    color: #ffffff;
}

/*******************************************************************************/
pre:has(> code) {
    background-color: #e0e0e0;
    padding: 1rem;
    border-radius: 0.5rem;
}

a {
    word-break: break-word;
}