
/* =========================================================
   MENU MOBILE CLINIQUE LARIVIERE
   ========================================================= */

.mobile-drawer{
    position:fixed;
    inset:0;
    z-index:500;

    visibility:hidden;
    opacity:0;

    background:rgba(24,21,19,.45);

    transition:
        opacity .35s ease,
        visibility .35s ease;
}

.mobile-drawer.open{
    visibility:visible;
    opacity:1;
}

.mobile-drawer-panel{
    position:absolute;
    top:0;
    right:0;

    width:min(88vw,390px);
    height:100%;

    padding:28px 30px 40px;

    background:#f4f0e8;

    transform:translateX(100%);
    transition:transform .45s cubic-bezier(.76,0,.24,1);
}

.mobile-drawer.open .mobile-drawer-panel{
    transform:translateX(0);
}

.mobile-drawer-close{
    display:block;

    width:44px;
    height:44px;

    margin-left:auto;

    border:0;
    padding:0;

    background:transparent;

    color:#26221f;

    font-size:34px;
    font-weight:300;

    cursor:pointer;
}

.mobile-drawer-links{
    display:flex;
    flex-direction:column;

    margin-top:45px;
}

.mobile-drawer-links a{
    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:20px 0;

    border-bottom:1px solid rgba(137,123,112,.25);

    color:#26221f;

    text-decoration:none;

    font-family:Georgia,serif;
    font-size:27px;
}

.mobile-drawer-links a::after{
    content:"→";

    font-family:Arial,sans-serif;
    font-size:17px;

    color:#897b70;
}

.mobile-drawer-links .mobile-drawer-cta{
    justify-content:center;

    margin-top:34px;
    padding:17px 20px;

    border:1px solid #26221f;

    font-family:Arial,sans-serif;
    font-size:11px;

    text-transform:uppercase;
    letter-spacing:.15em;
}

.mobile-drawer-links .mobile-drawer-cta::after{
    margin-left:12px;
}

.mobile-menu{
    display:none;
}

@media(max-width:960px){

    .nav-links{
        display:none !important;
    }

    .mobile-menu{
        display:flex !important;

        width:46px;
        height:46px;

        padding:10px;

        border:0;
        background:transparent;

        flex-direction:column;
        justify-content:center;

        gap:6px;

        cursor:pointer;
    }

    .mobile-menu span{
        display:block;

        width:25px;
        height:1px;

        margin-left:auto;

        background:#ffffff;
    }

    .mobile-menu span:nth-child(2){
        width:19px;
    }

    .site-header.scrolled .mobile-menu span{
        background:#26221f;
    }

}

@media(min-width:961px){

    .mobile-drawer{
        display:none !important;
    }

}

body.mobile-menu-open{
    overflow:hidden;
}

