.vsb-banner {
	position: relative;
	width: 100%;
	height: var(--vsb-height, 90vh);
	overflow: hidden;
	background: #111;
}

.vsb-slides {
	position: relative;
	width: 100%;
	height: 100%;
}

.vsb-slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	pointer-events: none;
	z-index: 0;
	transition: opacity 0.8s ease;
}

.vsb-slide.is-active {
	opacity: 1;
	pointer-events: auto;
	z-index: 1;
}

.vsb-poster,
.vsb-video-slot,
.vsb-video-slot iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border: 0;
}

.vsb-video-slot {
	opacity: 0;
	transition: opacity 1s ease;
}

.vsb-video-slot.vsb-video-ready {
	opacity: 1;
}

/* Vimeo background embeds are wider/taller than the container so they always fill it. */
.vsb-video-slot iframe {
	width: 100vw;
	height: 56.25vw; /* 16:9 */
	min-height: 100%;
	min-width: 177.77vh; /* 16:9 */
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.vsb-overlay {
	position: absolute;
	inset: 0;
	background: #000;
	opacity: calc(var(--vsb-overlay, 30) / 100);
	pointer-events: none;
}

.vsb-caption {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	text-align: left;
	color: #fff;
	padding: 0 24px;
}

.vsb-eyebrow {
	/* Font size and margin now come from the theme's heading-size-1 / mb-0
	   utility classes; only the color needed for the dark overlay stays. */
	text-transform: uppercase;
	letter-spacing: 0.14em;
	color: #fff;
	opacity: 0.85;
}

.vsb-caption h2 {
	/* Font size and margin now come from the theme's heading-size-1 /
	   mt-0 / mb-5 utility classes; only the color needed for the dark
	   overlay stays. */
	color: #fff;
}

/* .vsb-btn is left unstyled on purpose — the button/theme utility classes
   (wp-block-button__link, wp-element-button, button, button-outline,
   button-default, button-md) fully control its appearance now. */

.vsb-dots {
	position: absolute;
	bottom: 20px;
	left: 0;
	right: 0;
	z-index: 3;
	display: flex;
	justify-content: center;
	gap: 10px;
}

.vsb-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.5);
	border: 0;
	padding: 0;
	cursor: pointer;
}

.vsb-dot.is-active {
	background: #fff;
}

@media (max-width: 600px) {
	.vsb-banner {
		height: min(var(--vsb-height, 90vh), 100vh);
	}
}
