.ba-container-49fc4948 {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start; /* Changed from center to align top */
    gap: 40px;
    background: transparent;
    font-family: inherit;
}

.ba-text-col-49fc4948 {
    flex: 0 0 25%;
    min-width: 250px;
    position: relative;
    padding-left: 20px; /* Added padding for the accent line */
}

/* Added editorial line similar to Custom Editorial Accordion */
.ba-text-col-49fc4948::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    bottom: 5px;
    width: 2px;
    background-color: #1b4d32; /* Default, will be overridden by settings */
}

.ba-slider-col-49fc4948 {
    flex: 1;
    min-width: 300px;
}

.ba-subtitle-49fc4948 {
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 15px;
}

.ba-title-49fc4948 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 20px;
    line-height: 1.1;
}

.ba-desc-49fc4948 {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.8;
}

.ba-slider-wrapper-49fc4948 {
    position: relative;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    user-select: none;
    background-color: #f5f5f5;
}

.ba-img-after-49fc4948,
.ba-img-before-49fc4948 {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    pointer-events: none;
}

.ba-before-wrapper-49fc4948 {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.ba-before-wrapper-49fc4948 img {
    width: 100vw;
    max-width: none;
}

.ba-slider-wrapper-49fc4948 .ba-img-before-49fc4948 {
    width: auto;
    min-width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left;
}


.ba-handle-49fc4948 {
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    transform: translateX(-50%);
    z-index: 2; /* Ensure it stays above labels */
    cursor: ew-resize;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ba-handle-line-49fc4948 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: inherit;
    opacity: 0.8;
}

.ba-handle-button-49fc4948 {
    position: relative;
    width: 40px;
    height: 40px;
    background-color: inherit;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    z-index: 3;
    transition: transform 0.2s ease;
}

.ba-handle-49fc4948:hover .ba-handle-button-49fc4948 {
    transform: scale(1.1);
}

.ba-label-49fc4948 {
    position: absolute;
    bottom: 20px;
    padding: 6px 12px;
    font-size: 10px;
    letter-spacing: 1.5px;
    font-weight: 700;
    color: #fff;
}

/* Moved AFTER label out of before wrapper, adjust z-index */
.ba-label-after-49fc4948 {
    right: 20px;
    z-index: 1; /* Keep it above the after image, below the before wrapper */
}

/* Moved BEFORE label to ensure visibility */
.ba-label-before-49fc4948 {
    left: 20px;
    background-color: #111;
    z-index: 2; /* Needs to be inside before-wrapper, but visible */
}

@media (max-width: 767px) {
    .ba-container-49fc4948 {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }
    
    .ba-text-col-49fc4948 {
        width: 100%;
        padding-left: 15px; /* Adjust padding for mobile */
    }
    
    .ba-slider-col-49fc4948 {
        width: 100%;
    }
}