.ids__navbar {    
    display: block;
    position: fixed;
    top: 0;
    left: 0.3em;
    z-index: 1;

    @media (width < 768px) { 
        position: static;
        margin: 1em 0;

    }
}

.ids__navbar ul li {
    font-size: 0.8em;
    border: solid 1px transparent;
    
    padding: 0;
    margin-bottom: 0;
    
    &::before {
        content: '';
    }

    @media (width < 768px) { 
        font-size: 1em;
    }
    
    a {
        padding: 0.2em 0.5em 0.2em 0.3em;
        border-radius: 0.2em;
        display: block;
        text-decoration: none;

        @media (width < 768px) { 
            padding: 0.2em 0;
        }
    }
}

.ids__navbar .current {

    a {
        background-color: rgba(var(--ids__link-RGB), 0.1);

        @media (width < 768px) { 
            background-color: transparent;
        }

        &:hover {
            background-color: rgba(var(--ids__hover-RGB), 0.1);
            @media (width < 768px) { 
            background-color: transparent;
        }
        }
    }

    
    
}
.custom_navbar-column {
    position: fixed;
    top: 0;
    left: 0.6em;
    width: max-content;
    max-width: calc(100vw - 0.6em);
    z-index: 1;

    @media (width < 768px) {
        position: static;
        top: auto;
        left: auto;
        margin: 0;
        width: 100%;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

.custom_navbar-media {
    width: 100%;
    margin: 0 0 0.5em;

    @media (width < 768px) {
        display: none;
    }
}

.custom_navbar-musa {
    display: block;
    width: clamp(2.8em, 7.5vw, 4.8em);
    max-width: 100%;
    height: auto;
}

.custom_navbar-column .custom_dropdown {
    position: relative;
    top: auto;
    left: auto;
    width: max-content;
    min-width: 0;
    max-width: 100%;

    @media (width < 768px) {
        width: max-content;
        max-width: 100%;
        margin: 0 auto;
    }
}

.custom_dropdown .custom_dropdown-trigger {
    appearance: none;
    border: none;
    background: transparent;
    padding: 0;
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.45em;
    font: inherit;
    font-size: 0.8em;
    color: rgb(var(--ids__link-RGB));
    text-decoration: underline;
    text-decoration-style: dashed;
    text-decoration-color: currentColor;
    text-decoration-thickness: 0.06em;
    text-underline-offset: 0.15em;
    cursor: pointer;
}

@media (width < 768px) {
    .custom_dropdown .custom_dropdown-trigger {
        font-size: 1em;
    }
}

.custom_dropdown .custom_dropdown-trigger:hover,
.custom_dropdown .custom_dropdown-trigger:focus-visible {
    color: rgb(var(--ids__hover-RGB));
    text-decoration-color: currentColor;
}

.custom_dropdown .custom_dropdown-trigger:focus-visible {
    outline: none;
}

.custom_dropdown .custom_dropdown-trigger-label {
    white-space: nowrap;
}

.custom_dropdown .custom_dropdown-trigger-arrow {
    width: 0.45em;
    height: 0.45em;
    border-right: 0.08em solid currentColor;
    border-bottom: 0.08em solid currentColor;
    flex-shrink: 0;
    margin-top: -0.08em;
    transform: rotate(45deg);
}

.custom_dropdown .custom_back-arrow {
    width: 0.45em;
    height: 0.45em;
    border-left: 0.08em solid currentColor;
    border-bottom: 0.08em solid currentColor;
    flex-shrink: 0;
    position: relative;
    top: 0.08em;
    transform: rotate(45deg);
}

.custom_dropdown.is-open .custom_dropdown-trigger-arrow {
    transform: translateY(0.06em) rotate(-135deg);
}

.custom_dropdown .custom_dropdown-list {
    list-style: none;
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 3;
    margin: 0;
    padding: 0.2em 0;
    background: rgba(var(--ids__background-RGB), 1);
    border-radius: 0.2em;
    width: max-content;
    min-width: 100%;
}

.custom_dropdown.is-open .custom_dropdown-list {
    display: block;
}

.custom_dropdown .custom_dropdown-list li {
    margin: 0;
    padding: 0;
    border: none;
    font-size: 0.8em;

    @media (width < 768px) {
        font-size: 1em;
    }
}

.custom_dropdown .custom_dropdown-list li::before {
    content: none;
}

.custom_dropdown .custom_dropdown-list li a {
    display: block;
    text-decoration: none;
    color: rgb(var(--ids__text-RGB));
    border-radius: 0.2em;
    padding: 0.2em 0.35em;
}

.custom_dropdown .custom_dropdown-list li a:hover,
.custom_dropdown .custom_dropdown-list li a:focus-visible {
    background-color: rgba(var(--ids__hover-RGB), 0.1);
    color: rgb(var(--ids__hover-RGB));
    outline: none;
}

.custom_dropdown .custom_dropdown-list li.is-active a {
    background-color: rgba(var(--ids__link-RGB), 0.1);
    color: rgb(var(--ids__link-RGB));
}


.custom_dropdown .custom_dropdown-subtitle {
    font-size: 0.8em;
    line-height: 1.2;
    margin: 0.35em 0 0;
}
