.lgl-hero-carousel {
	--lgl-hero-height: 40vh;
	--lgl-hero-min-height: 0px;
	--lgl-hero-transition-speed: 500ms;
	--lgl-hero-dot-size: 14px;
	--lgl-hero-dot-gap: 14px;
	--lgl-hero-dot-bottom: 10px;
	--lgl-hero-dot-color: #979797;
	--lgl-hero-dot-active-color: #d9d9d9;
	--lgl-hero-dot-radius: 999px;
	position: relative;
	width: 100%;
	height: var(--lgl-hero-height);
	min-height: var(--lgl-hero-min-height);
	background: #ffffff;
	isolation: isolate;
	touch-action: pan-y;
}

.lgl-hero-carousel--full-bleed {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

.lgl-hero-carousel--overflow-hidden {
	overflow: hidden;
}

.lgl-hero-carousel__track {
	display: flex;
	width: 100%;
	height: 100%;
	transform: translate3d(0, 0, 0);
	transition: transform var(--lgl-hero-transition-speed) ease;
	will-change: transform;
}

.lgl-hero-carousel__slide {
	position: relative;
	flex: 0 0 100%;
	width: 100%;
	height: 100%;
	min-width: 100%;
	margin: 0;
	overflow: hidden;
}

.lgl-hero-carousel__link {
	display: block;
	width: 100%;
	height: 100%;
}

.lgl-hero-carousel__slide img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: var(--lgl-slide-object-position, center center);
	-webkit-user-select: none;
	user-select: none;
	pointer-events: none;
}

.lgl-hero-carousel--fade .lgl-hero-carousel__track {
	display: block;
	position: relative;
	transform: none !important;
	transition: none;
}

.lgl-hero-carousel--fade .lgl-hero-carousel__slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	transform: none;
	transition: opacity var(--lgl-hero-transition-speed) ease;
}

.lgl-hero-carousel--fade .lgl-hero-carousel__slide.is-active {
	position: relative;
	opacity: 1;
	z-index: 1;
}

.lgl-hero-carousel__dots {
	position: absolute;
	left: 0;
	right: 0;
	bottom: var(--lgl-hero-dot-bottom);
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: var(--lgl-hero-dot-gap);
	pointer-events: auto;
}

.lgl-hero-carousel--hide-dots .lgl-hero-carousel__dots {
	display: none;
}

.lgl-hero-carousel__dot {
	width: var(--lgl-hero-dot-size);
	height: var(--lgl-hero-dot-size);
	padding: 0;
	border: 0;
	border-radius: var(--lgl-hero-dot-radius);
	background: var(--lgl-hero-dot-color);
	opacity: 1;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
	transition: background-color 180ms ease, transform 180ms ease;
}

.lgl-hero-carousel__dot.is-active {
	background: var(--lgl-hero-dot-active-color);
}

.lgl-hero-carousel__dot:hover {
	transform: scale(1.08);
}

.lgl-hero-carousel__dot:focus-visible {
	outline: 2px solid #ffffff;
	outline-offset: 4px;
}

.elementor-widget-lgl_hero_image_carousel,
.elementor-widget-lgl_hero_image_carousel > .elementor-widget-container {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
}

@media (prefers-reduced-motion: reduce) {
	.lgl-hero-carousel[data-lgl-respect-reduced-motion="true"] .lgl-hero-carousel__track,
	.lgl-hero-carousel[data-lgl-respect-reduced-motion="true"] .lgl-hero-carousel__slide,
	.lgl-hero-carousel[data-lgl-respect-reduced-motion="true"] .lgl-hero-carousel__dot {
		transition: none;
	}
}
