/* Added extra specificity to override Elementor default styles */
.elementor-widget-resizable_panels_67845dd8 .rp-container-67845dd8,
.rp-container-67845dd8 {
    display: flex !important;
    flex-direction: row !important; /* Force horizontal direction */
    flex-wrap: nowrap !important; /* Prevent stacking */
    width: 100% !important;
    /* min-height is now controlled by Elementor */
    background: transparent;
    padding: 0;
    user-select: none;
    border: none !important;
    align-items: stretch !important;
}

.elementor-widget-resizable_panels_67845dd8 .rp-panel-67845dd8,
.rp-panel-67845dd8 {
    box-sizing: border-box;
    display: flex !important;
    flex-direction: column !important;
    border: none !important; 
    box-shadow: none !important;
    outline: none !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    min-width: 0; /* Crucial for preventing flex blowout from text */
    word-break: normal;
    overflow-wrap: break-word; /* Allows long words to break if necessary to prevent layout breaking */
    position: relative;
    padding: 0 !important;
}

/* Dynamic panels flex base is set inline, no need for hardcoded .rp-left etc */

/* Hide resizers by default on the frontend for ALL users */
body:not(.elementor-editor-active) .elementor-widget-resizable_panels_67845dd8 .rp-resizer-67845dd8,
body:not(.elementor-editor-active) .rp-resizer-67845dd8 {
    display: none !important;
    width: 0 !important;
    min-width: 0 !important;
    cursor: default !important;
    opacity: 0 !important;
    pointer-events: none !important;
    margin: 0 !important;
    border: none !important;
    background: transparent !important;
}

/* Show resizers ONLY when Elementor Editor is active */
body.elementor-editor-active .elementor-widget-resizable_panels_67845dd8 .rp-resizer-67845dd8,
body.elementor-editor-active .rp-resizer-67845dd8 {
    display: block !important;
    width: 20px !important;
    min-width: 20px !important;
    cursor: col-resize !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    margin: 0 -10px !important; /* Pull over adjacent elements slightly to be grabbable */
    background: rgba(0, 0, 0, 0.1) !important;
    border-left: 1px solid rgba(0, 0, 0, 0.3) !important;
    border-right: 1px solid rgba(0, 0, 0, 0.3) !important;
    transition: background 0.2s;
    flex-shrink: 0 !important;
    position: relative;
    z-index: 10;
}

body.elementor-editor-active .rp-resizer-67845dd8:hover, 
body.elementor-editor-active .rp-resizer-67845dd8.dragging {
    background: rgba(0, 0, 0, 0.3) !important; /* Darker on hover/drag */
}

/* Content Wrappers for all panels to ensure proper padding and text flow */
.rp-content-wrap-67845dd8 {
    position: relative;
    z-index: 2;
    padding: 20px; 
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    text-align: inherit;
}