.iba-slider {
	position: relative;
	overflow: hidden;
	user-select: none;
	touch-action: none;
	border-radius: 10px;
	aspect-ratio: 4 / 3;
	--iba-pos: 50%;
}

.iba-slider .iba-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.iba-slider .iba-img--after {
	position: absolute;
	inset: 0;
}

.iba-clip {
	position: absolute;
	inset: 0;
	width: var(--iba-pos);
	overflow: hidden;
}

.iba-slider .iba-clip .iba-img--before {
	position: absolute;
	top: 0;
	left: 0;
	width: var(--iba-w, 100%);
	max-width: none;
	height: 100%;
	object-fit: cover;
}

.iba-handle {
	position: absolute;
	top: 0;
	bottom: 0;
	left: var(--iba-pos);
	width: 2px;
	background: #fff;
	transform: translateX(-1px);
	pointer-events: none;
}

.iba-handle::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 28px;
	height: 28px;
	background: #fff;
	border-radius: 50%;
	transform: translate(-50%, -50%);
}

.iba-range {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	opacity: 0;
	cursor: ew-resize;
}

.iba-range:focus-visible + * ,
.iba-slider:focus-within .iba-handle {
	box-shadow: 0 0 0 2px rgba(0, 120, 215, 0.6);
}

.iba-gallery {
	--iba-gap: 1.25rem;
	display: flex;
	flex-wrap: wrap;
	gap: var(--iba-gap);
}

.iba-item {
	margin: 0;
	flex: 0 0 100%;
	max-width: 100%;
	background: #fff;
	border-radius: 14px;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
	padding: 5px 5px 12px;
	box-sizing: border-box;
}

.iba-item .iba-slider {
	border-radius: 8px;
}

.iba-item__title {
	font-family: "Roboto Condensed", Sans-serif;
	font-size: 23px;
	font-weight: 900;
	color: #3B3B3B;
	text-align: center;
	margin: 0.85rem 0 0;
}

@media (max-width: 599px) {
	.iba-item__title {
		font-size: 18px;
	}
}

@media (min-width: 600px) {
	.iba-item {
		flex-basis: calc((100% - var(--iba-gap)) / 2);
		max-width: calc((100% - var(--iba-gap)) / 2);
	}
}

@media (min-width: 1024px) {
	.iba-item {
		flex-basis: calc((100% - var(--iba-gap) * 2) / 3);
		max-width: calc((100% - var(--iba-gap) * 2) / 3);
	}
}
