/**
 * MINIMAL Mega Menu CSS - Only essential styling
 */

/* Just add background to the container */
.ct-mega-menu .ct-mega-menu__container {
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 4px !important;
}

/* Remove only the empty paragraph spacing that's causing issues */
.ct-mega-menu .wp-block-column p:empty,
.ct-mega-menu .wp-block-column p:only-child:not(:has(*)) {
    display: none !important;
}

/* Tighten spacing between H2 and menu items */
.ct-mega-menu h2.wp-block-heading {
    margin-bottom: 5px !important;
}

.ct-mega-menu .mega-menu-section {
    margin-bottom: 12px !important;
}

/* Style links to be bold and black - ONLY this */
.ct-mega-menu .mega-menu-list a {
    color: #000 !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

.ct-mega-menu .mega-menu-list a:hover {
    color: #159c48 !important;
}

/* Keep category headings green */
.ct-mega-menu h2.wp-block-heading a {
    color: #159c48 !important;
    text-decoration: none !important;
}

/* Add divider lines with proper spacing */
.ct-mega-menu .col-border-right {
    border-right: 1px solid #ddd !important;
    padding-right: 15px !important;
    margin-right: 15px !important;
}

/* Fix button positioning */
.ct-mega-menu .megamenu-img-col {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
}

.ct-mega-menu .mega-menu-cta-btn {
    margin-top: 15px !important;
}

.ct-mega-menu .mega-menu-cta-btn .wp-block-button__link {
    background-color: #159c48 !important;
    color: white !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    padding: 10px 20px !important;
    border-radius: 4px !important;
    border: none !important;
    text-decoration: none !important;
}

/* Reduce spacer height */
.ct-mega-menu .wp-block-spacer {
    height: 6px !important;
}

