/**
 * Menu Style Fixes for Kumoco Static Site - ULTRA AGGRESSIVE VERSION
 * Removes borders and matches live site appearance
 */

/* NUCLEAR OPTION: Remove ALL backgrounds from ALL submenu wrapper elements */
ul.wp-megamenu-sub-menu,
.wp-megamenu-sub-menu,
li.wpmm-row,
.wpmm-row,
li.wpmm-col,
li.wpmm-col-12,
.wpmm-col,
.wpmm-col-12,
.wp-megamenu > li > ul.wp-megamenu-sub-menu,
.wp-megamenu-sub-menu > li.wpmm-row,
.wp-megamenu-sub-menu > li.wpmm-row > ul.wp-megamenu-sub-menu,
li.wpmm-type-widget,
li.menu-widget-class,
.custom-html-widget,
.textwidget.custom-html-widget,
.menu-widget-class .textwidget,
.wpmm-type-widget .textwidget,
.wpmm-type-widget .custom-html-widget,
.wp-megamenu-sub-menu .wpmm-type-widget,
.wp-megamenu-sub-menu .menu-widget-class {
    background: none !important;
    background-color: transparent !important;
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;
}

/* Remove Bootstrap default borders from dropdown menus */
.dropdown-menu.drop-custom {
    border: none !important;
    box-shadow: 0px 8px 24px rgba(11, 36, 65, 0.12) !important;
    border-radius: 16px !important;
    background: #ffffff !important;
}

/* Inner menu container styling */
.dropdown-menu.drop-custom .inner-menu {
    border: none !important;
}

/* Label styling - should be more subtle */
.dropdown-menu .inner-menu label,
.drop-custom .inner-menu label {
    background: none !important;
    background-color: transparent !important;
    padding-left: 15px !important;
    font-style: normal;
    font-weight: bold;
    font-size: 13px;
    line-height: 20px;
    letter-spacing: -0.02em;
    color: #0B2441;
    opacity: 0.4;
    margin-bottom: 16px;
}

/* Menu item links */
.dropdown-menu.drop-custom ul li a {
    padding: 15px;
    border-radius: 8px;
    font-style: normal;
    font-weight: bold !important;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: -0.0132em;
    color: rgba(11, 36, 65, 0.89);
    font-family: "Manrope", sans-serif;
    transition: background 0.2s ease;
}

/* Menu item hover */
.dropdown-menu.drop-custom ul li a:hover {
    background: rgba(31, 103, 187, 0.1) !important;
    color: #1F67BB !important;
}

/* Ensure dropdown visibility on desktop */
@media (min-width: 992px) {
    .header-wrapper .dropdown-menu.drop-custom {
        border: none !important;
        box-shadow: 0px 8px 24px rgba(11, 36, 65, 0.12) !important;
    }
}

/* Fix any widget container borders */
.custom-html-widget .dropdown-menu.drop-custom {
    border: none !important;
}

/* Small dropdowns (Company, Resources) */
.dropdown-menu.drop-custom.dropdown-xs {
    min-width: 250px !important;
}

/* Medium/Large dropdowns (Solutions) */
.dropdown-menu.drop-custom.dropdown-md,
.dropdown-menu.drop-custom.dropdown-lg {
    min-width: 610px !important;
}
