.ba-container {
    position: relative;
    overflow: hidden;
    user-select: none;
}

.ba-container img {
    width: 100% !important;
    display: block;
	height: 400px !important;
	border-radius: 10px !important;
	object-fit: cover !important;
}

/* BEFORE image (base) */
.ba-container .before {
    position: relative;
    z-index: 1;
	object-fit: cover !important;
}

/* AFTER image (overlay) */
.ba-container .after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    object-fit: cover !important;

    /* 🔥 IMPORTANT */
    clip-path: inset(0 50% 0 0);

    z-index: 2;
}

/* Slider line */
.slider {
    position: absolute;
    top: 0;
    left: 50%;
    width: 3px;
    height: 100%;
    background: #fff;
    cursor: ew-resize;
    z-index: 3;
}

.slider::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 50%;
}