.vbci-slider {
	--vbci-slider-height: 70vh;
	position: relative;
	height: var(--vbci-slider-height);
	min-height: 360px;
	overflow: hidden;
	background: #111;
	isolation: isolate;
}

.vbci-slider-track,
.vbci-slide,
.vbci-slide-bg,
.vbci-slide-overlay,
.vbci-layers {
	position: absolute;
	inset: 0;
}

.vbci-slide {
	opacity: 0;
	z-index: 1;
	transition: opacity 0.35s ease;
}

.vbci-slide.is-active {
	opacity: 1;
	z-index: 2;
}

.vbci-slide-bg {
	background-size: cover;
	background-position: center;
	transform: scale(1.01);
}

.vbci-slide-bg-picture {
	display: block;
	width: 100%;
	height: 100%;
}

.vbci-slide-video,
.vbci-slide-bg-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.vbci-slide-overlay {
	pointer-events: none;
}

.vbci-layers {
	z-index: 4;
	pointer-events: none;
	/* width: min(50%, 80vw) !important;
	height: 100%; */
	/* margin:0  auto; */
}

/*
 * Three tiers, each with one job:
 *
 * .vbci-layer-anchor  – placement. `left`/`top` are the CENTER point of the
 *                        layer (not top-left), via translate(-50%,-50%).
 *                        Needs `position: absolute` to be a real block box
 *                        so that % left/top/width resolve against
 *                        .vbci-layers' full-bleed size, not a collapsed one.
 * .vbci-layer-motion  – GSAP's entrance-animation target. Deliberately has
 *                        no transform of its own in CSS: GSAP writes to
 *                        `style.transform` directly, and an inline style
 *                        always wins over a class rule, so if the anchor's
 *                        centering transform lived on the same element GSAP
 *                        animates, GSAP would silently overwrite it.
 * .vbci-layer         – the actual text box. Stays `display: inline` so
 *                        box-decoration-break can clone its background
 *                        across wrapped lines.
 */
.vbci-layer-anchor {
	position: absolute;
	transform: translate(-50%, -50%);
}

.vbci-layer-motion {
	/* intentionally unstyled — GSAP owns this element's transform/opacity */
}

.vbci-layer {
	display: inline;
	line-height: 2;
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
}

.vbci-slider-overlay-ui {
	position: absolute;
	left: 20px;
	right: 20px;
	bottom: 80px;
	z-index: 10;
	display: flex;
	align-items: center;
	gap: 12px;
}

.vbci-nav {
	
	width: 40px;
	height: 40px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.35);
	background: rgba(12, 12, 12, 0.45);
	backdrop-filter: blur(2px);
	color: #fff;
	cursor: pointer;
	font-size: 22px;
	line-height: 1;
	display: grid;
	place-items: center;
}

.vbci-dots {
	display: flex;
	align-items: center;
	gap: 7px;
	margin-inline: auto;
}

.vbci-dot {
	width: 24px;
	height: 4px;
	border-radius: 999px;
	border: 0;
	background: rgba(255, 255, 255, 0.3);
	cursor: pointer;
}

.vbci-dot.is-active {
	width: 38px;
	background: #fff;
}

@media (max-width: 768px) {
	.vbci-slider {
		min-height: 280px;
	}

	.vbci-layer-anchor {
		width: min(92%, 92vw) !important;
		left: 50% !important;
	}

	.vbci-layer {
		font-size: clamp(18px, 5vw, 30px) !important;
	}

	.vbci-slider-overlay-ui {
		left: 10px;
		right: 10px;
		bottom: 80px;
	}
}
