#header {
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
    min-width: var(--min-width);
}

#header .container {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 35px 25px 25px 25px;
}

#header .logo {
    display: block;
    background: url(../../images/logo.png) no-repeat center center;
    background-size: contain;
    width: 260px;
    height: 40px;
}

#header .widget-menu {
    flex: 1;
    align-items: center;
}

#header .mobile-menu {
    position: fixed;
    right: -100%; /* Hidden off-screen */
    top: 51px;
    bottom: 0;
    width: 250px;
    background: var(--dark-grey);
    transition: right 0.5s ease;
    z-index: 999;

    display: none;
}

#header .mobile-menu ul {
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    list-style: none;
}

#header .mobile-menu ul li.sub-item {
    margin-left: 25px;
}

#header .mobile-menu a {
    background-color: transparent;
    padding: 0 12px;
    line-height: 40px;
    color: var(--color-white);
    font-size: 16px;
    display: block;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: 400;
}

#header .mobile-menu ul li.sub-item a {
    color: var(--light-grey);
    font-weight: normal;
}

#header .mobile-menu ul li:last-of-type a {
    color: var(--purple);
}

#header .mobile-menu.active {
    right: 0;
}

#header .widget-menu ul {
    display: flex;
    list-style: none;
    gap: 1px;
    justify-content: right;
    margin: 0;
}

#header .widget-menu a {
    display: block;
    box-sizing: border-box;
    font-size: var(--font-size);
    text-decoration: none;
    padding: 0 12px;
    line-height: 40px;
    color: var(--white);
    text-transform: uppercase;
    background-color: var(--light-grey);
    transition: all 0.6s ease-out 0s;
    white-space: nowrap;
}

#header .widget-menu li:last-of-type a {
    background-color: var(--purple);
}

#header .widget-menu li.current-menu-item a,
#header .widget-menu li.current-menu-parent a,
#header .widget-menu li.current-page-ancestor a,
#header .widget-menu li a:hover {
    background-color: var(--dark-grey);
}

@media screen and (max-width: 980px) {

    #header .container {
        justify-content: center;
    }

    #header .widget-menu {
        display: none;
    }

    #header .mobile-menu {
        display: block;
    }

    /* Specific adjustment for Phones only */
    @media screen and (max-width: 767px) {
    }
}