nav.mobile {
    max-height: 0;
    overflow: hidden;
    padding: 0;
    position: relative;

    transition: max-height var(--transition-time), padding var(--transition-time);
}

nav.mobile.visible {
    max-height: 500px;
    padding: 20px 0;
}

nav.mobile ul {
    flex-direction: column;
    width: 100%;
    margin: 0 20px;
}

nav.mobile li {
    padding: 10px;
    border-bottom: 1px var(--dark-brand-color) solid;
}

nav.mobile a {
    line-height: 1;
    border: none;
    margin: 0;
    width: 100%;
    display: inline-flex;
    height: 100%;
    padding: 10px;
}

.hamburger {
    display: none !important;
    position: absolute;
    left: 35px;
    cursor: pointer;
    font-size: 20px;
}

.hamburger:hover,
nav.mobile a:hover {
    color: var(--light-brand-color);
}

@media only screen and (max-width: 992px) {
    .hamburger {
        display: block !important;
    }
}