/* Custom menu */
.lh-menu {
    height: var(--menu-height);
    padding-top: var(--menu-padding);
    padding-bottom: var(--menu-padding);
    z-index: 2;
    position: relative;
    background-color: var(--light-overlay);
}

.lh-menu.shadow {
    box-shadow: var(--shadow)
}

.lh-menu li a {
    color: var(--font-color-dark);
    font-weight: 600;
    text-decoration: none;
}

.lh-menu ul:not(.sub-menu)>li {
    margin: 0 calc(var(--space-large) / 2);
}

.lh-menu li a:hover::after,
.lh-menu li.current-menu-item a::after {
    opacity: 1;
    transform: scale(1);
}

.lh-menu-socials {
    display: flex;
    flex-direction: row;
    gap: var(--space-medium);
}

.lh-menu-socials svg {
    width: 1.8rem;
}

.lh-hamburger-icon svg {
    height: 50px;
}

.lh-mobile-menu {
    background-color: var(--bg-color);
    position: absolute;
    z-index: 10;
    width: 100%;
    max-width: 100%;
    height: 100vh;
    right: -600px;
    position: fixed;
    top: 0;
    transition: right 0.3s ease-out;
}

.lh-close-mobile {
    position: absolute;
    right: 30px;
    top: 25px;
}

.lh-mobile-menu-items-container {
    margin-top: calc(var(--space-xlarge) * 2);
    display: flex;
    justify-content: center;
    width: 100%;
}

.lh-mobile-menu-items-container ul {
    list-style: none;
    padding: 0px;
    margin: 0px;
    display: flex;
    flex-direction: column;
    gap: var(--space-medium);
    text-align: center;
}

li.menu-item-has-children>a {
    display: flex;
    justify-content: center;
    align-items: center;
}

.lh-mobile-menu li.menu-item-has-children>a::after {
    content: '';
    stroke: var(--font-color-white);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' focusable='false' width='16' height='16' viewBox='0 0 16 16' aria-hidden='true'%3E%3Cpath fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M15 4.5l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-size: cover;
    width: 10px;
    height: 10px;
    transform: none;
    display: block;
    margin-left: calc(var(--space-sml) / 2);
}

.lh-mobile-menu .sub-menu {
    border-radius: var(--border-radius);
    margin-top: var(--space-sml);
    height: 0;
    overflow: hidden;
    transition: height 0.2s ease-out;
}

.lh-mobile-menu .sub-menu.show {
    display: block;
    border: 1px solid var(--font-color-light);
}

.lh-mobile-menu .sub-menu li {
    padding: var(--space-sml);
}

.lh-mobile-menu li a {
    position: relative;
}

.lh-mobile-menu li.current-menu-item a::after {
    content: '';
    position: absolute;
    top: -4px;
    left: 0;
    width: 100%;
    height: 0.1em;
    background-color: var(--primary-color);
    opacity: 1;
}

.lh-mobile-socials {
    display: flex;
    justify-content: center;
    gap: var(--space-medium);
    padding-top: var(--space-xlarge);
}

.lh-mobile-socials a {
    text-decoration: none;
    display: block;
}

.lh-menu-logo {
    max-height: calc(var(--menu-height) - (2 * var(--menu-padding)));
}

@media screen and (min-width:576px) {
    .lh-mobile-menu {
        width: 400px;
    }
}

@media screen and (min-width:992px) {
    .lh-desktop-menu ul {
        display: flex;
        list-style: none;
        padding: 0;
    }

    .lh-desktop-menu ul li {
        position: relative;
    }

    .lh-desktop-menu li.menu-item-has-children {
        display: flex;
        align-items: center;
    }

    .lh-desktop-menu li.menu-item-has-children::after {
        content: '';
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' focusable='false' width='16' height='16' viewBox='0 0 16 16' aria-hidden='true'%3E%3Cpath fill='none' stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M15 4.5l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
        background-size: cover;
        width: 10px;
        height: 10px;
        transform: none;
        display: block;
        margin-left: calc(var(--space-sml) / 2);
    }

    .lh-desktop-menu ul.sub-menu {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        background-color: var(--color-dark);
        gap: var(--space-sml);
        position: absolute;
        top: 1.7rem;
        z-index: 3;
        height: 0;
        overflow: hidden;
        display: none;
        transition: height 0.2s ease-out;
        width: 15rem;
    }

    .lh-desktop-menu ul.sub-menu li {
        margin: calc(var(--space-sml) / 2) var(--space-medium);
    }

    .lh-desktop-menu li a::after {
        transform: scale(0);
        transform-origin: center;
        content: '';
        position: absolute;
        top: -2px;
        left: 0;
        width: 100%;
        height: 0.1em;
        background-color: var(--primary-color);
        opacity: 0;
        transition: opacity 300ms, transform 300ms;
    }
}