/* ========================================
   WAYS WE HELP SECTION - SPLIT-SCREEN INTERACTIVE
   Target: #ws-block-custom-hHjAgH1J
   ======================================== */

/* Section spacing improvement */
#ws-block-custom-hHjAgH1J {
    margin-top: 0px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
}

#ws-block-custom-hHjAgH1J .ws-section {
    padding-top: 60px !important;
    padding-bottom: 60px !important;
}

/* Title styling */
#ws-block-custom-hHjAgH1J h6 {
    font-size: 0.813rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    opacity: 0.65;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

#ws-block-custom-hHjAgH1J h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    letter-spacing: -0.01em;
}

/* Container uses CSS Grid for split layout */
#ws-block-custom-hHjAgH1J ws-columns {
    display: grid !important;
    grid-template-columns: 220px 1fr !important;
    grid-template-rows: auto !important;
    column-gap: 3.5rem !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
}

/* Clean menu container */
#ws-block-custom-hHjAgH1J .clean-menu {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.25rem !important;
}

/* Individual menu items */
#ws-block-custom-hHjAgH1J .menu-item {
    font-size: 0.9375rem !important;
    font-weight: 500 !important;
    padding: 0.5rem 0 0.5rem 0.75rem !important;
    color: rgba(255, 255, 255, 0.5) !important;
    line-height: 1.3 !important;
    border-left: 2px solid transparent !important;
    transition: all 0.2s ease !important;
    cursor: pointer !important;
}

#ws-block-custom-hHjAgH1J .menu-item:hover {
    color: rgba(255, 255, 255, 0.8) !important;
    padding-left: 0.875rem !important;
}

#ws-block-custom-hHjAgH1J .menu-item.active {
    color: hsl(195, 85%, 50%) !important;
    border-left-color: hsl(195, 85%, 50%) !important;
    font-weight: 600 !important;
}

/* Hide original columns - JavaScript rebuilds the menu */
#ws-block-custom-hHjAgH1J ws-column {
    display: none !important;
}

/* Content panel on right - created by JavaScript */
#ws-block-custom-hHjAgH1J .content-display {
    grid-column: 2 !important;
    grid-row: 1 / 6 !important;
    position: relative !important;
    min-height: 250px !important;
}

#ws-block-custom-hHjAgH1J .content-display h3 {
    font-size: 1.75rem !important;
    font-weight: 700 !important;
    color: rgba(255, 255, 255, 0.95) !important;
    margin-bottom: 1.25rem !important;
    padding: 0 !important;
    border: none !important;
    cursor: default !important;
}

#ws-block-custom-hHjAgH1J .content-display p {
    display: block !important;
    font-size: 1.0625rem !important;
    line-height: 1.75 !important;
    color: rgba(255, 255, 255, 0.75) !important;
    margin: 0 !important;
    padding: 0 !important;
}

#ws-block-custom-hHjAgH1J .content-display .service-content {
    opacity: 0 !important;
    transform: translateX(30px) !important;
    transition: opacity 0.4s ease, transform 0.4s ease !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    pointer-events: none !important;
}

#ws-block-custom-hHjAgH1J .content-display .service-content.active {
    opacity: 1 !important;
    transform: translateX(0) !important;
    pointer-events: auto !important;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    #ws-block-custom-hHjAgH1J h2 {
        font-size: 2rem;
    }

    #ws-block-custom-hHjAgH1J .ws-section {
        padding-top: 60px !important;
        padding-bottom: 60px !important;
    }

    #ws-block-custom-hHjAgH1J ws-columns {
        grid-template-columns: 280px 1fr !important;
        gap: 2.5rem !important;
    }

    #ws-block-custom-hHjAgH1J ws-column h3 {
        font-size: 1.125rem !important;
    }

    #ws-block-custom-hHjAgH1J .content-display h3 {
        font-size: 1.75rem !important;
    }

    #ws-block-custom-hHjAgH1J .content-display p {
        font-size: 1rem !important;
    }
}

@media (max-width: 767px) {
    /* Keep thin line on mobile */
    #ws-block-custom-hHjAgH1J {
        margin-top: 0px !important;
    }

    /* Stack vertically on mobile */
    #ws-block-custom-hHjAgH1J ws-columns {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    #ws-block-custom-hHjAgH1J ws-column {
        grid-column: 1 !important;
    }

    #ws-block-custom-hHjAgH1J .content-display {
        grid-column: 1 !important;
        grid-row: 6 !important;
        min-height: 300px !important;
    }

    #ws-block-custom-hHjAgH1J h2 {
        font-size: 1.75rem;
        margin-bottom: 2rem;
    }

    #ws-block-custom-hHjAgH1J ws-column h3 {
        font-size: 1.0625rem !important;
        padding: 0.75rem 0 0.75rem 1rem !important;
    }

    #ws-block-custom-hHjAgH1J ws-column.active h3,
    #ws-block-custom-hHjAgH1J ws-column h3:hover {
        padding-left: 1.25rem !important;
    }

    #ws-block-custom-hHjAgH1J .content-display h3 {
        font-size: 1.5rem !important;
        margin-bottom: 1rem !important;
    }

    #ws-block-custom-hHjAgH1J .content-display p {
        font-size: 0.9375rem !important;
        line-height: 1.65 !important;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    #ws-block-custom-hHjAgH1J ws-column h3,
    #ws-block-custom-hHjAgH1J .content-display .service-content {
        transition: none !important;
    }
}
