/* 
    Table of content
    1. MOBILE MENU
        1.1 Header
        1.2 Body
*/

/*  1. MOBILE MENU */
.mobile-menu {
    position: fixed;
    z-index: 30;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    background-color: white;
    display: none;
}

/* 1.1 Header */
.mobile-menu .header {
    padding: 0 var(--grid-padding);
}

.mobile-menu .header .container {
    padding: 1.2rem 0;
    display: flex;
    justify-content: space-between;
}

.mobile-menu .header .logo {
    display: flex;
}

.mobile-menu .header .logo img {
    width: auto;
    height: 3.4rem;
}

.mobile-menu .header .col-r {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.mobile-menu .header .text-wrapper {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.mobile-menu .header .text-wrapper a {
    font-size: 1.3rem;
}

.mobile-menu .header .text-wrapper a.btn {
    height: 3.2rem;
    margin: 0;
    padding: 0 1rem;
    align-items: center;    
}

.mobile-menu .header .close {
    width: 4.4rem;
    height: 3.2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 1.2 Body */
.mobile-menu .body .container {
    padding: 1.5rem 0 5rem;
}

.mobile-menu .body ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.mobile-menu .body ul.menu > li {
    position: relative;
    padding: 1.5rem var(--grid-padding);
    transition: .3s;
}

.mobile-menu .body ul.menu > li.menu-item-has-children.active {
    background-color: var(--color-lightpurple);
}

.mobile-menu .body ul.menu > li.menu-item-has-children::before {
    content: '\f107';
    position: absolute;
    top: 1.6rem;
    right: calc( var(--grid-padding) + 1.5rem );
    font-family: "Font Awesome 5 Pro";
    font-size: 1.8rem;
    font-weight: 400;
    color: #aaa;
    transition: .3s;
}

.mobile-menu .body ul.menu > li.menu-item-has-children.active::before {
    color: var(--color-black);
    transform: rotate(180deg);
}

.mobile-menu .body ul.menu a {
    font-family: "Archivo", sans-serif; 
    font-optical-sizing: auto;
    font-weight: 500;
    line-height: 1.3;
    color: var(--color-black);
    text-decoration: none;
}

.mobile-menu .body ul.menu > li > a {
    font-size: 1.8rem;
}

.mobile-menu .body ul.sub-menu {
    padding: 2.5rem 0;
    display: none;
}

.mobile-menu .body ul.sub-menu li:not(:first-child) {
    margin-top: 2rem;
}

.mobile-menu .body ul.sub-menu a {
    display: block;
    position: relative;
    font-size: 1.6rem;
}

.mobile-menu .body ul.sub-menu a::before {
    content: '\f178';
    position: absolute;
    top: .1rem;
    right: 1.5rem;
    font-family: "Font Awesome 5 Pro";
    font-weight: 400;
}

.mobile-menu .body ul.sub-menu ul {
    display: none;
}