.lt-atomic-background-slideshow {
	position: relative;
	isolation: isolate;
	overflow: hidden;
}

.lt-atomic-background-slideshow__stage {
	position: absolute;
	inset: 0;
	z-index: 0;
	overflow: hidden;
	pointer-events: none;
}

.lt-atomic-background-slideshow__slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	will-change: opacity, transform;
}

.lt-atomic-background-slideshow__slide.is-active,
.lt-atomic-background-slideshow__slide.is-transitioning {
	visibility: visible;
}

.lt-atomic-background-slideshow__slide.is-active {
	opacity: 1;
}

.lt-atomic-background-slideshow__media {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: var(--lt-bg-fit, cover);
	object-position: var(--lt-bg-position, center center);
	pointer-events: none;
}

.lt-atomic-background-slideshow__overlay {
	position: absolute;
	inset: 0;
	background: var(--lt-bg-overlay, #000000);
	opacity: var(--lt-bg-overlay-opacity, 0);
	pointer-events: none;
}

/* Atomic children are the real fixed content and stay above the technical stage. */
.lt-atomic-background-slideshow > .e-atomic-element:not(.lt-atomic-background-slideshow__stage) {
	z-index: 1;
}

.lt-atomic-background-slideshow__arrows,
.lt-atomic-background-slideshow__dots {
	position: absolute;
	z-index: 3;
	pointer-events: auto;
}

.lt-atomic-background-slideshow__arrows {
	inset: 50% 24px auto;
	display: flex;
	justify-content: space-between;
	transform: translateY(-50%);
}

.lt-atomic-background-slideshow__arrow,
.lt-atomic-background-slideshow__dot {
	appearance: none;
	border: 0;
	font: inherit;
	cursor: pointer;
}

.lt-atomic-background-slideshow__arrow {
	display: inline-grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border-radius: 999px;
	background: rgba(0, 0, 0, .35);
	color: #fff;
}

.lt-atomic-background-slideshow__arrow svg {
	width: 22px;
	height: 22px;
}

.lt-atomic-background-slideshow__dots {
	left: 50%;
	bottom: 24px;
	display: flex;
	gap: 8px;
	transform: translateX(-50%);
}

.lt-atomic-background-slideshow__dot {
	width: 9px;
	height: 9px;
	padding: 0;
	border-radius: 999px;
	background: rgba(255, 255, 255, .5);
}

.lt-atomic-background-slideshow__dot.is-active {
	background: #fff;
}

.lt-atomic-background-slideshow.has-one-background .lt-atomic-background-slideshow__arrows,
.lt-atomic-background-slideshow.has-one-background .lt-atomic-background-slideshow__dots {
	display: none;
}

@media (prefers-reduced-motion: reduce) {
	.lt-atomic-background-slideshow__slide {
		will-change: auto;
	}
}
