/* StylesLuxe Hero Manager — scoped front-end styles. */
.slxh-hero,
.slxh-hero *,
.slxh-hero *::before,
.slxh-hero *::after {
	box-sizing: border-box;
}

.slxh-hero {
	width: calc(100vw - 20px);
	max-width: calc(100vw - 20px);
	margin: 20px calc(50% - 50vw + 10px) 30px;
	display: grid;
	grid-template-columns: 1fr 1.45fr 1fr;
	gap: 12px;
	padding: 10px;
	background: #F8F5F0;
	border-radius: 24px;
	overflow: hidden;
}

.slxh-video,
.slxh-slider {
	position: relative;
	height: 560px;
	border-radius: 20px;
	overflow: hidden;
}

.slxh-video {
	background: #0B1F33;
	box-shadow: 0 14px 35px rgba(11, 31, 51, 0.14);
}

.slxh-video::after {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(11, 31, 51, 0.28), rgba(11, 31, 51, 0.02));
	content: "";
	pointer-events: none;
}

.slxh-video-link,
.slxh-slide-link {
	display: block;
	width: 100%;
	height: 100%;
}

.slxh-video video {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.slxh-slider {
	background: #FFFFFF;
	border: 1px solid rgba(201, 164, 76, 0.28);
	box-shadow: 0 16px 42px rgba(11, 31, 51, 0.13);
}

.slxh-slide {
	position: absolute;
	inset: 0;
	z-index: 0;
	opacity: 0;
	visibility: hidden;
	transform: translate3d(1.25%, 0, 0) scale(1.035);
	filter: saturate(.96) contrast(.98) brightness(.96);
	transition:
		opacity var(--slxh-transition-ms, 1100ms) cubic-bezier(.22,.61,.36,1),
		transform var(--slxh-transition-ms, 1100ms) cubic-bezier(.22,.61,.36,1),
		filter var(--slxh-transition-ms, 1100ms) ease,
		visibility 0s linear var(--slxh-transition-ms, 1100ms);
	will-change: opacity, transform, filter;
	backface-visibility: hidden;
}

.slxh-slide.is-entering {
	z-index: 2;
	visibility: visible;
	opacity: 0;
	transform: translate3d(1.25%, 0, 0) scale(1.035);
}

.slxh-slide.is-active {
	z-index: 3;
	opacity: 1;
	visibility: visible;
	transform: translate3d(0, 0, 0) scale(1);
	filter: saturate(1) contrast(1) brightness(1);
	transition-delay: 0s;
}

.slxh-slide.is-leaving {
	z-index: 1;
	visibility: visible;
	opacity: 0;
	transform: translate3d(-.75%, 0, 0) scale(1.018);
	filter: saturate(.94) brightness(.94) blur(1px);
}

.slxh-slide img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transform: scale(1.015);
	transform-origin: 50% 50%;
	backface-visibility: hidden;
}

.slxh-slide.is-active img {
	animation: slxhCinematicDrift var(--slxh-display-ms, 5000ms) cubic-bezier(.22,.61,.36,1) both;
}

@keyframes slxhCinematicDrift {
	0% { transform: scale(1.015); }
	100% { transform: scale(1.045); }
}

.slxh-dots {
	position: absolute;
	left: 50%;
	bottom: 18px;
	z-index: 5;
	display: flex;
	gap: 8px;
	padding: 8px 11px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.72);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	transform: translateX(-50%);
}

.slxh-dots button {
	width: 8px;
	height: 8px;
	min-width: 0;
	min-height: 0;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: rgba(11, 31, 51, 0.35);
	box-shadow: none;
	cursor: pointer;
	transition: width .38s cubic-bezier(.22,.61,.36,1), background-color .28s ease, transform .28s ease, box-shadow .28s ease;
}

.slxh-dots button.is-active {
	width: 26px;
	background: #C9A44C;
	box-shadow: 0 3px 10px rgba(201, 164, 76, .28);
}

.slxh-dots button:focus-visible {
	outline: 2px solid #0B1F33;
	outline-offset: 3px;
}


/* Subtle premium vignette keeps transitions visually cohesive without changing content. */
.slxh-slider::after {
	position: absolute;
	inset: 0;
	z-index: 4;
	pointer-events: none;
	content: "";
	background: linear-gradient(180deg, rgba(11,31,51,.015), rgba(11,31,51,.045));
}

.slxh-dots { z-index: 6; }

@media (max-width: 1024px) {
	.slxh-hero {
		grid-template-columns: 1fr;
		gap: 12px;
		padding: 10px;
		border-radius: 20px;
	}

	.slxh-hero > .slxh-video:first-child { order: 1; }
	.slxh-hero > .slxh-slider { order: 2; height: 520px; }
	.slxh-hero > .slxh-video:last-child { order: 3; }
	.slxh-video { height: 420px; }
}

@media (max-width: 600px) {
	.slxh-hero {
		width: calc(100vw - 20px);
		max-width: calc(100vw - 20px);
		margin-left: calc(50% - 50vw + 10px);
		margin-right: calc(50% - 50vw + 10px);
		padding: 8px;
		gap: 10px;
		border-radius: 18px;
	}

	.slxh-hero > .slxh-video:first-child { order: 1; }
	.slxh-hero > .slxh-slider { order: 2; height: 380px; border-radius: 16px; }
	.slxh-hero > .slxh-video:last-child { order: 3; }
	.slxh-video { height: 330px; border-radius: 16px; }
	.slxh-dots { bottom: 14px; }
}

@media (max-width: 380px) {
	.slxh-hero > .slxh-slider { height: 330px; }
	.slxh-video { height: 300px; }
}

@media (prefers-reduced-motion: reduce) {
	.slxh-slide {
		transform: none !important;
		filter: none !important;
		transition: opacity .35s ease, visibility 0s linear .35s !important;
	}
	.slxh-slide.is-active {
		transition-delay: 0s !important;
	}
	.slxh-slide img {
		animation: none !important;
		transform: none !important;
	}
}
