/* Force Navigation Menu Display */
.medical-header-wrapper .header-navigation {
    background: #4472C4;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 999 !important;
    width: 100% !important;
    padding: 0 !important;
}

.medical-header-wrapper .main-navigation {
    display: block !important;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.medical-header-wrapper .nav-menu {
    display: flex !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    visibility: visible !important;
    opacity: 1 !important;
    flex-wrap: nowrap;
    justify-content: flex-start;
}

.medical-header-wrapper .nav-item {
    display: block !important;
    position: relative;
    margin: 0 !important;
    padding: 0 !important;
}

.medical-header-wrapper .nav-link {
    display: flex !important;
    align-items: center;
    gap: 5px;
    padding: 15px 25px !important;
    color: white !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    font-size: 15px !important;
    transition: all 0.3s ease;
    border: none !important;
    background: transparent !important;
    white-space: nowrap;
}

.medical-header-wrapper .nav-link:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #FFE66D !important;
    text-decoration: none !important;
}

.medical-header-wrapper .nav-item.current-menu-item .nav-link {
    background: rgba(255, 255, 255, 0.15) !important;
    color: #FFE66D !important;
}

.medical-header-wrapper .nav-item.has-submenu .nav-link i {
    font-size: 12px;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.medical-header-wrapper .nav-item.has-submenu:hover .nav-link i {
    transform: rotate(180deg);
}

/* Container override */
.medical-header-wrapper .container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    width: 100% !important;
    box-sizing: border-box;
}

/* Ensure no Bricks overrides */
.medical-header-wrapper * {
    box-sizing: border-box;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .medical-header-wrapper .nav-menu {
        flex-direction: column !important;
        background: #1E5F8B;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        z-index: 1000;
    }
    
    .medical-header-wrapper .nav-menu.mobile-open {
        max-height: 300px !important;
    }
    
    .medical-header-wrapper .nav-link {
        padding: 12px 20px !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
}

/* Additional specificity for Bricks overrides */
body .medical-header-wrapper .header-navigation {
    display: block !important;
}

body .medical-header-wrapper .nav-menu {
    display: flex !important;
}

body .medical-header-wrapper .nav-item {
    display: block !important;
}

body .medical-header-wrapper .nav-link {
    display: flex !important;
}

/* High specificity override */
html body .medical-header-wrapper .header-navigation .main-navigation .nav-menu {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

html body .medical-header-wrapper .header-navigation .main-navigation .nav-menu .nav-item {
    display: block !important;
}

html body .medical-header-wrapper .header-navigation .main-navigation .nav-menu .nav-item .nav-link {
    display: flex !important;
    color: white !important;
}
