.adv-nav-container-7a7b5ab7 {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 20px;
    flex-wrap: wrap;
    position: relative; /* For mega menu absolute positioning */
}

.adv-nav-item {
    position: relative;
    margin: 0;
    padding: 15px 0;
}

.adv-nav-item > a,
.adv-nav-item > .adv-nav-trigger {
    font-size: 18px;
    font-weight: 600;
    color: #3B302B;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.3s;
    display: block;
}

/* --- SIMPLE DROPDOWN --- */
.adv-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: #fff;
    border: 1px solid #e0e0e0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    list-style: none;
    padding: 10px 0;
    margin: 0;
    z-index: 100;
    border-radius: 4px;
}

.adv-nav-item.type-dropdown:hover .adv-dropdown-menu,
.adv-dropdown-menu.show-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.adv-dropdown-menu li {
    margin: 0;
}

.adv-dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: #3B302B;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.adv-dropdown-menu a:hover {
    background: #f9f9f9;
    color: #61CE70;
}

/* --- MEGA MENU --- */
.adv-mega-menu-wrapper {
    position: absolute;
    top: 100%;
    left: 0; /* Align to the ul container */
    width: 800px;
    max-width: 90vw;
    background: #fff;
    border: 1px solid #e0e0e0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    display: flex;
    min-height: 350px;
    z-index: 99;
    border-radius: 4px;
}

.adv-nav-item.type-mega_menu:hover .adv-mega-menu-wrapper,
.adv-mega-menu-wrapper.show-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.adv-mm-left-list {
    width: 30%;
    margin: 0;
    padding: 0;
    list-style: none;
    border-right: 1px solid #e0e0e0;
}

.adv-mm-left-item {
    display: block;
    padding: 20px;
    cursor: pointer;
    font-weight: 600;
    border-right: 3px solid transparent;
    transition: all 0.3s ease;
}

.adv-mm-left-item.active {
    background: #fff;
}

.adv-mm-right-panels {
    width: 70%;
    position: relative;
    padding: 30px;
}

.adv-mm-panel-content {
    display: none;
    animation: fadeInPanel 0.4s ease forwards;
}

.adv-mm-panel-content.active {
    display: block;
}

.adv-mm-panel-heading {
    margin-top: 0;
    margin-bottom: 15px;
}

.adv-mm-panel-blurb {
    margin-bottom: 25px;
    color: #555;
}

.adv-mm-panel-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.adv-mm-panel-links ul li {
    margin-bottom: 10px;
}

.adv-mm-panel-links a {
    text-decoration: none;
    transition: color 0.2s;
    color: #3B302B;
}

/* --- MEGA MENU CTA BUTTON ---
   Structure only. Colours, padding, radius, margin & alignment are driven by
   the Elementor "Mega Menu - Button" style controls so they stay editable. */
.adv-mm-panel-button-wrap {
    margin-top: 16px;
}

.adv-mm-panel-button {
    display: inline-block;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s ease;
}

@keyframes fadeInPanel {
    from { opacity: 0; transform: translateX(10px); }
    to { opacity: 1; transform: translateX(0); }
}

@media (max-width: 768px) {
    .adv-nav-container-7a7b5ab7 {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    .adv-nav-item {
        width: 100%;
        padding: 10px 0;
    }
    .adv-dropdown-menu, .adv-mega-menu-wrapper {
        position: static;
        width: 100%;
        box-shadow: none;
        border: none;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }
    .adv-nav-item:hover .adv-dropdown-menu,
    .adv-nav-item:hover .adv-mega-menu-wrapper {
        display: block;
    }
    .adv-mega-menu-wrapper {
        flex-direction: column;
    }
    .adv-mm-left-list, .adv-mm-right-panels {
        width: 100%;
    }
    .adv-mm-left-list { border-right: none; }
    /* Keep the CTA button inline-sized, not full-bleed, on mobile */
    .adv-mm-panel-button {
        display: inline-block;
        width: auto;
    }
}
