.ba-container-26 {
	position: relative;
	width: 100%;
	max-width: 100%;
	overflow: hidden;
}

.ba-wrapper {
	position: relative;
	width: 100%;
	height: 100%;
	overflow: hidden;
	display: block;
}

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

.ba-image-before {
	z-index: 2;
}

.ba-image-after {
	z-index: 1;
}

/* Ensure images maintain their proportions without stretching or squishing */
.ba-image-after img,
.ba-image-before img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: center; /* keep centered to align correctly */
}

/* Both images must stay full width. JS will handle clip-path */
.ba-image-before img,
.ba-image-after img {
	width: 100%; 
	height: 100%;
}

/* Slider Input */
.ba-slider-input {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: transparent;
	outline: none;
	margin: 0;
	appearance: none;
	-webkit-appearance: none;
	z-index: 10;
	cursor: ew-resize;
	opacity: 0; /* Hidden but clickable */
}

/* Visual Line & Handle */
.ba-slider-line-wrapper {
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	height: 100%;
	width: 40px;
	display: flex;
	flex-direction: column;
	align-items: center;
	pointer-events: none;
	z-index: 3;
}

.ba-slider-line {
	width: 4px;
	background-color: #000;
	flex-grow: 1;
}

.ba-slider-handle {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background-color: rgba(0,0,0,0.5);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	border: 2px solid #fff;
}

.ba-handle-icon {
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
}

.ba-handle-icon svg {
	width: 20px;
	height: 20px;
	fill: currentColor;
}

/* Overlay Text - FIXED on top, doesn't move with slider */
.ba-overlay-content {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	z-index: 5;
	pointer-events: none; /* Let clicks pass through to slider */
	padding: 40px;
}

.ba-title, .ba-desc {
	margin: 0 0 10px 0;
	pointer-events: auto; /* Re-enable pointer events for text if needed */
}