.menu-mobile {
    display: none;
}

.menu-mobile-content {
    box-shadow: 0px 5px 8px 5px #5f59594f;
    overflow-y: auto;
    max-height: var(--available-height, 80vh);
}

.menu-mobile.is-open {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;

    a {
        box-shadow: none !important;
    }
}

.button-mobile {
    cursor: pointer;
    width: 160px !important;
}

.site-header {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow: visible;

    /* Masquer la scrollbar */
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE/Edge */
}

.site-header::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.menu-header {
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;

    &>* {
        flex-shrink: 0;
        white-space: nowrap;
    }
}

.menu-header::-webkit-scrollbar {
    display: none;
}

/* show-on-scroll : tout l'élément scrolle, enfants non compressibles */
.show-on-scroll.menu-header > * {
    flex-shrink: 0 !important;
}

/* --- Fondu de droite sur le menu scrollable --- */
.menu-header-fade {
    position: fixed;
    right: 0;
    width: 35px;
    pointer-events: none;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.493));
    opacity: 0;
    transition: opacity 0.15s ease;
    z-index: 9999;
}

.menu-header-fade.is-visible {
    opacity: 1;
}



.menu-mobile {
    .bouton-se-connecter {
        border: 1px solid black;
        width: 100%;
        display: flex;
        justify-content: center;
        padding-top: 10px;
        padding-bottom: 10px;
        border-radius: 6px;
    }

    .bouton-se-connecter:hover {
        &:after {
            content: none;
        }
    }

    .vert-bouton-menu-header.is-current-page:after {
        content: none !important;
    }

    .bouton-je-fais-un-don {
        width: 100%;
    }
}



@media (max-width: 768px) {

    .hide-on-scroll,
    .show-on-scroll {
        padding-right: 12px !important;
        padding-left: 12px !important;
        margin-left: 0px !important;
        margin-right: 0px !important;
    }

    .je-fais-un-don a {
        display: flex !important;
        flex-wrap: nowrap;
    }

    .je-fais-un-don a::after {
        display: none !important;
    }

    .cta-bar-header {
        display: flex;
        flex-wrap: nowrap !important;
    }

    .button-mobile-active {
        gap: 5px !important;
    }
}



.anim-slide .letter {
    opacity: 0;
    animation: slideIn 0.45s ease-out forwards;
}

.anim-slide .letter-v {
    transform: translateX(-40px);
    animation-delay: 0s;
}

.anim-slide .letter-e {
    transform: translateX(-30px);
    animation-delay: 0.08s;
}

.anim-slide .letter-r {
    transform: translateX(-20px);
    animation-delay: 0.16s;
}

.anim-slide .letter-t {
    transform: translateX(-10px);
    animation-delay: 0.24s;
}

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.anim-drop {
    width: 100px;
    margin-bottom: 10px;
}

.anim-drop .letter {
    opacity: 0;
    transform: translateY(-30px);
    animation: dropBounce 0.3s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}

.anim-drop .letter-v {
    animation-delay: 0.3s;
}

.anim-drop .letter-e {
    animation-delay: 0.4s;
}

.anim-drop .letter-r {
    animation-delay: 0.5s;
}

.anim-drop .letter-t {
    animation-delay: 0.6s;
}

@keyframes dropBounce {
    0% {
        opacity: 0;
        transform: translateY(-30px);
    }

    50% {
        opacity: 1;
        transform: translateY(4px);
    }

    70% {
        transform: translateY(-2px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}