.ba-slider-wrapper-395eb39c {
    position: relative;
    width: 100%;
    overflow: hidden;
    user-select: none;
    -webkit-user-select: none;
}

.ba-slider-wrapper-395eb39c img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ba-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.ba-image-container.ba-after {
    position: relative; /* establishes height based on image */
}

.ba-image-container.ba-before {
    z-index: 2;
    border-right: 2px solid rgba(255,255,255,0.7);
}

.ba-image-container.ba-before img {
    width: auto;
    max-width: none;
}

.ba-slider-control {
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 10;
    transform: translateX(-50%);
    cursor: ew-resize;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px; /* Touch area */
}

.ba-slider-line {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #fff;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.ba-slider-handle {
    position: relative;
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ba-slider-handle::before,
.ba-slider-handle::after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 6px 8px;
}

.ba-slider-handle::before {
    border-color: transparent #333 transparent transparent;
    margin-right: 2px;
}

.ba-slider-handle::after {
    border-color: transparent transparent transparent #333;
    margin-left: 2px;
}

.ba-label {
    position: absolute;
    top: 20px;
    padding: 5px 15px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    font-size: 14px;
    border-radius: 4px;
    z-index: 5;
    pointer-events: none;
}

.ba-label-before {
    left: 20px;
}

.ba-label-after {
    right: 20px;
}