/*
 * lg-slider — the Flatsome [ux_slider] carousel.
 *
 * Scroll-snap rather than a JS-driven transform: the track is a real horizontally scrollable
 * element, so it is keyboard- and touch-navigable with no script at all, and the script below only
 * adds the arrows, dots and autoplay on top. Nothing breaks if it fails to load.
 */
.lg-slider { position: relative; width: 100%; }

.lg-slider-viewport { position: relative; }

.lg-slider-track {
	display: flex;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}

.lg-slider-track::-webkit-scrollbar { display: none; }

.lg-slider-slide {
	flex: 0 0 100%;
	min-width: 100%;
	scroll-snap-align: start;
}

.lg-slider-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 2;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.45);
	color: #fff;
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
}

.lg-slider-nav:hover,
.lg-slider-nav:focus-visible { background: rgba(0, 0, 0, 0.75); }

.lg-slider-prev { left: 16px; }
.lg-slider-next { right: 16px; }

.lg-slider-dots {
	position: absolute;
	bottom: 16px;
	left: 0;
	right: 0;
	display: flex;
	justify-content: center;
	gap: 8px;
	z-index: 2;
}

.lg-slider-dot {
	width: 9px;
	height: 9px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.45);
	cursor: pointer;
}

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

@media (prefers-reduced-motion: reduce) {
	.lg-slider-track { scroll-behavior: auto; }
}
