/* ==========================================================================
   Elite GSAP Horizontal Scroll Showcase — v2.0 Stylesheet
   GSAP ScrollTrigger Pinned Horizontal Scroll — BEM Structure
   ========================================================================== */

/* --------------------------------------------------------------------------
   Custom Properties
   -------------------------------------------------------------------------- */
.egh-carousel {
	position: relative;
	width: 100%;
	overflow: hidden;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	background: #0a0a0f;
	--egh-accent: #6c5ce7;
	--egh-accent-light: #a29bfe;
	--egh-accent-glow: rgba(108, 92, 231, 0.35);
	--egh-bg-start: #0a0a0f;
	--egh-bg-end: #1a1a2e;
	--egh-container-bg-opacity: 1;
	--egh-overlay-color: rgba(0, 0, 0, 0.4);
	--egh-overlay-color-end: rgba(0, 0, 0, 0);
	--egh-overlay-direction: to top;
	--egh-overlay-opacity: 1;
}

.egh-carousel *,
.egh-carousel *::before,
.egh-carousel *::after {
	box-sizing: border-box;
}

/* --------------------------------------------------------------------------
   Gradient Background
   -------------------------------------------------------------------------- */
.egh-carousel--bg-gradient {
	background: linear-gradient(135deg, var(--egh-bg-start) 0%, var(--egh-bg-end) 100%);
}

/* --------------------------------------------------------------------------
   Transparent Background
   -------------------------------------------------------------------------- */
.egh-carousel--bg-transparent {
	background: transparent !important;
}

/* --------------------------------------------------------------------------
   Container Background Opacity Layer
   -------------------------------------------------------------------------- */
.egh-carousel__container-bg {
	position: absolute;
	inset: 0;
	z-index: -1;
	opacity: var(--egh-container-bg-opacity, 1);
	background: inherit;
	border-radius: inherit;
	pointer-events: none;
}

/* --------------------------------------------------------------------------
   Pin Container
   -------------------------------------------------------------------------- */
.egh-carousel__pin {
	width: 100%;
	min-height: 80vh;
	height: 80vh;
	overflow: hidden;
	position: relative;
	display: flex;
	align-items: center;
}

/* --------------------------------------------------------------------------
   Track
   -------------------------------------------------------------------------- */
.egh-carousel__track {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: 32px;
	will-change: transform;
	padding: 0 4vw;
}

/* --------------------------------------------------------------------------
   Elementor Editor Fallback
   -------------------------------------------------------------------------- */
.elementor-editor-active .egh-carousel__pin {
	overflow-x: auto;
	overflow-y: hidden;
}

.elementor-editor-active .egh-carousel__track {
	transform: none !important;
}

/* --------------------------------------------------------------------------
   Item / Slide
   -------------------------------------------------------------------------- */
.egh-carousel__item {
	position: relative;
	flex-shrink: 0;
	width: 75vw;
	min-width: 75vw;
	min-height: 80vh;
	border-radius: 24px;
	overflow: hidden;
	isolation: isolate;
	will-change: transform, opacity;
	transition: box-shadow 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
	            transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3);
}

/* Active item */
.egh-carousel__item.is-active {
	box-shadow: 0 12px 60px rgba(0, 0, 0, 0.4),
	            0 0 60px var(--egh-accent-glow);
}

/* In-view item */
.egh-carousel__item.is-in-view {
	z-index: 1;
}

/* --------------------------------------------------------------------------
   Item Background Layer (for opacity control)
   -------------------------------------------------------------------------- */
.egh-carousel__item-bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	background: inherit;
	opacity: var(--egh-item-bg-opacity, 1);
	border-radius: inherit;
	pointer-events: none;
}

/* --------------------------------------------------------------------------
   Gradient Overlay (per-item)
   -------------------------------------------------------------------------- */
.egh-carousel__overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(
		var(--egh-overlay-direction, to top),
		var(--egh-overlay-color, rgba(0, 0, 0, 0.4)),
		var(--egh-overlay-color-end, rgba(0, 0, 0, 0))
	);
	opacity: var(--egh-overlay-opacity, 1);
	pointer-events: none;
	border-radius: inherit;
}

/* ======================================================================
   LAYOUT PRESETS
   ====================================================================== */

/* --- Cinematic Showcase: Large images, bottom-left overlaid text --- */
.egh-carousel--cinematic .egh-carousel__item {
	border: 1px solid rgba(255, 255, 255, 0.06);
}

.egh-carousel--cinematic .egh-carousel__text-box--heading {
	font-size: clamp(2rem, 4.5vw, 4.5rem);
	font-weight: 800;
	line-height: 1.04;
	letter-spacing: -0.03em;
	text-shadow: 0 2px 16px rgba(0,0,0,0.7), 0 6px 44px rgba(0,0,0,0.5), 0 0 80px rgba(0,0,0,0.3);
}

.egh-carousel--cinematic .egh-carousel__text-box--tag {
	font-size: clamp(0.68rem, 0.9vw, 0.82rem);
	font-weight: 700;
	letter-spacing: 0.2em;
	text-transform: uppercase;
}

.egh-carousel--cinematic .egh-carousel__text-box--desc {
	font-size: clamp(0.92rem, 1.1vw, 1.08rem);
	line-height: 1.75;
	font-weight: 400;
	text-shadow: 0 2px 20px rgba(0,0,0,0.5), 0 4px 40px rgba(0,0,0,0.3);
}

/* --- Editorial Split: Left image / Right text card --- */
.egh-carousel--editorial .egh-carousel__item {
	display: flex;
	flex-direction: row;
	align-items: stretch;
	background: transparent !important;
	border-radius: 24px;
}

.egh-carousel--editorial .egh-carousel__item-bg {
	background: transparent !important;
}

.egh-carousel--editorial .egh-carousel__image-wrap {
	width: 55%;
	flex-shrink: 0;
	position: relative;
	border-radius: 24px 0 0 24px;
	overflow: hidden;
}

.egh-carousel--editorial .egh-carousel__image--absolute {
	position: absolute;
	inset: 0;
}

.egh-carousel--editorial .egh-carousel__content {
	position: relative;
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 48px;
}

.egh-carousel--editorial .egh-carousel__content-card {
	display: flex;
	flex-direction: column;
	gap: 16px;
	max-width: 100%;
}

.egh-carousel--editorial .egh-carousel__text-box--heading {
	font-size: clamp(1.5rem, 2.5vw, 2.5rem);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.02em;
	color: #ffffff;
	position: relative;
}

.egh-carousel--editorial .egh-carousel__text-box--tag {
	position: relative;
}

.egh-carousel--editorial .egh-carousel__text-box--desc {
	position: relative;
	color: rgba(255,255,255,0.7);
}

.egh-carousel--editorial .egh-carousel__cta {
	position: relative;
	margin-top: 8px;
}

.egh-carousel--editorial .egh-carousel__svg {
	width: 55%;
	left: 0;
}

/* --- Immersive Fullscreen: Image fills, centered glassmorphism text --- */
.egh-carousel--immersive .egh-carousel__item {
	border-radius: 0;
}

.egh-carousel--immersive .egh-carousel__content {
	position: absolute;
	inset: 0;
	z-index: 5;
	display: flex;
	align-items: center;
	justify-content: center;
}

.egh-carousel--immersive .egh-carousel__content-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 18px;
	text-align: center;
}

.egh-carousel--immersive .egh-carousel__text-box--heading {
	font-size: clamp(2rem, 5vw, 5rem);
	font-weight: 800;
	text-align: center;
	max-width: 600px;
	text-shadow: 0 4px 20px rgba(0,0,0,0.6);
	position: relative;
}

.egh-carousel--immersive .egh-carousel__text-box--tag {
	position: relative;
	text-align: center;
	background: rgba(255,255,255,0.1) !important;
	backdrop-filter: blur(12px) !important;
	-webkit-backdrop-filter: blur(12px) !important;
	border: 1px solid rgba(255,255,255,0.12) !important;
}

.egh-carousel--immersive .egh-carousel__text-box--desc {
	position: relative;
	text-align: center;
	max-width: 500px;
	color: rgba(255,255,255,0.85);
}

.egh-carousel--immersive .egh-carousel__cta {
	position: relative;
	margin-top: 8px;
}

/* --- Minimalist Flow: Smaller floating cards, heavy whitespace --- */
.egh-carousel--minimalist .egh-carousel__item {
	width: 45vw;
	min-width: 45vw;
	min-height: 55vh;
	background: rgba(255,255,255,0.03);
	border: 1px solid rgba(255,255,255,0.06);
	box-shadow: 0 4px 30px rgba(0,0,0,0.15);
}

.egh-carousel--minimalist .egh-carousel__text-box--heading {
	font-size: clamp(1.3rem, 2vw, 2rem);
	font-weight: 600;
	letter-spacing: -0.01em;
	text-shadow: none;
}

.egh-carousel--minimalist .egh-carousel__text-box--tag {
	font-size: 0.7rem;
	letter-spacing: 0.15em;
}

.egh-carousel--minimalist .egh-carousel__text-box--desc {
	font-size: clamp(0.85rem, 0.95vw, 0.95rem);
	color: rgba(255,255,255,0.6);
	text-shadow: none;
}

/* ======================================================================
   CONTENT LAYOUT VARIANTS
   Applied on top of layout presets via modifier class.
   ====================================================================== */

/* --- Centered: All text boxes centered vertically and horizontally --- */
.egh-carousel--content-centered .egh-carousel__content {
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
}

.egh-carousel--content-centered .egh-carousel__text-box {
	position: relative !important;
	left: auto !important;
	top: auto !important;
	right: auto !important;
	bottom: auto !important;
}

.egh-carousel--content-centered .egh-carousel__cta--absolute {
	position: relative !important;
	left: auto !important;
	bottom: auto !important;
	margin-top: 16px;
}

.egh-carousel--content-centered .egh-carousel__text-box--heading {
	max-width: 80%;
	margin-left: auto;
	margin-right: auto;
}

.egh-carousel--content-centered .egh-carousel__text-box--desc {
	max-width: 60%;
	margin-left: auto;
	margin-right: auto;
}

/* --- Horizontal: Text flows horizontally (tag | heading | desc side by side) --- */
.egh-carousel--content-horizontal .egh-carousel__content {
	display: flex;
	align-items: center;
	gap: 32px;
	padding: 48px;
}

.egh-carousel--content-horizontal .egh-carousel__text-box {
	position: relative !important;
	left: auto !important;
	top: auto !important;
}

.egh-carousel--content-horizontal .egh-carousel__cta--absolute {
	position: relative !important;
	left: auto !important;
	bottom: auto !important;
	flex-shrink: 0;
}

.egh-carousel--content-horizontal .egh-carousel__text-box--desc {
	max-width: 400px;
}

/* --- Overlapping: Content box overlaps the bottom of the item --- */
.egh-carousel--content-overlapping .egh-carousel__content {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 48px;
}

.egh-carousel--content-overlapping .egh-carousel__text-box {
	position: relative !important;
	left: auto !important;
	top: auto !important;
}

.egh-carousel--content-overlapping .egh-carousel__cta--absolute {
	position: relative !important;
	left: auto !important;
	bottom: auto !important;
	margin-top: 16px;
}

.egh-carousel--content-overlapping .egh-carousel__text-box--heading {
	text-shadow: 0 2px 20px rgba(0,0,0,0.8);
}

/* ======================================================================
   FULLSCREEN MODE
   ====================================================================== */
.egh-carousel--fullscreen {
	height: 100vh;
	height: 100dvh;
	width: 100vw;
	overflow: hidden;
	background: #000 !important;
}

.egh-carousel--fullscreen .egh-carousel__pin {
	min-height: 100vh;
	min-height: 100dvh;
	height: 100vh;
	height: 100dvh;
	align-items: stretch !important;
	padding: 0 !important;
}

.egh-carousel--fullscreen .egh-carousel__track {
	gap: 0 !important;
	padding: 0 !important;
	margin: 0 !important;
	align-items: stretch !important;
}

.egh-carousel--fullscreen .egh-carousel__item {
	width: 100vw !important;
	min-width: 100vw !important;
	min-height: 100vh !important;
	min-height: 100dvh !important;
	border-radius: 0 !important;
	border: none !important;
	margin: 0 !important;
	box-shadow: none !important;
}

.egh-carousel--fullscreen .egh-carousel__item:hover,
.egh-carousel--fullscreen .egh-carousel__item.is-active {
	box-shadow: none !important;
}

/* ======================================================================
   OVERFLOW PEEK
   ====================================================================== */
.egh-carousel--peek .egh-carousel__item:last-child {
	margin-right: 5vw;
}

/* ======================================================================
   IMAGE
   ====================================================================== */
.egh-carousel__image-wrap {
	position: absolute;
	inset: -8%;
	overflow: hidden;
	z-index: 0;
}

.egh-carousel__image {
	display: block;
	will-change: transform;
}

.egh-carousel__image--absolute {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transform: scale(1.1);
	transition: transform 6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.egh-carousel__image--relative {
	position: relative;
	width: 100%;
	height: auto;
	object-fit: cover;
}

/* Hover zoom on image */
.egh-carousel__item:hover .egh-carousel__image--absolute {
	transform: scale(1.2) !important;
}

/* ======================================================================
   SVG PATTERN
   ====================================================================== */
.egh-carousel__svg {
	position: absolute;
	inset: -5%;
	z-index: 1;
	overflow: hidden;
	pointer-events: none;
	will-change: transform;
}

.egh-carousel__svg svg,
.egh-carousel__svg img {
	width: 110%;
	height: 110%;
	display: block;
}

/* SVG Rotation Animation */
.egh-carousel__svg--rotate svg,
.egh-carousel__svg--rotate img {
	animation: egh-svg-rotate 30s linear infinite;
}

@keyframes egh-svg-rotate {
	from { transform: rotate(0deg); }
	to   { transform: rotate(360deg); }
}

/* ======================================================================
   CONTENT WRAPPER
   ====================================================================== */
.egh-carousel__content {
	position: absolute;
	inset: 0;
	z-index: 5;
	pointer-events: none;
}

.egh-carousel__content > * {
	pointer-events: auto;
}

/* ======================================================================
   CONTENT CARD (Editorial / Immersive)
   ====================================================================== */
.egh-carousel__content-card {
	position: relative;
	z-index: 2;
}

/* ======================================================================
   TEXT BOXES — Shared
   ====================================================================== */
.egh-carousel__text-box {
	position: absolute;
	z-index: 5;
	pointer-events: auto;
	will-change: transform, opacity;
}

/* Text boxes inside content-card are relative (editorial/immersive) */
.egh-carousel__content-card .egh-carousel__text-box {
	position: relative;
	left: auto !important;
	top: auto !important;
}

/* ======================================================================
   TEXT BOX 1 — Tag / Label
   ====================================================================== */
.egh-carousel__text-box--tag {
	margin: 0;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	line-height: 1.3;
	display: inline-block;
	color: var(--egh-accent-light);
	text-shadow: 0 1px 8px var(--egh-accent-glow);
	text-decoration: none;
}

.egh-carousel__text-box--tag:hover {
	color: #ffffff;
}

/* ======================================================================
   TEXT BOX 2 — Main Heading
   ====================================================================== */
.egh-carousel__text-box--heading {
	margin: 0;
	color: #ffffff;
	font-size: clamp(2rem, 4.5vw, 4.5rem);
	font-weight: 800;
	line-height: 1.04;
	letter-spacing: -0.03em;
	max-width: 700px;
	text-shadow: 0 2px 16px rgba(0,0,0,0.7), 0 6px 44px rgba(0,0,0,0.5), 0 0 80px rgba(0,0,0,0.3);
	will-change: transform, opacity;
	text-decoration: none;
}

.egh-carousel__text-box--heading:hover {
	color: #ffffff;
}

/* ======================================================================
   TEXT BOX 3 — Description
   ====================================================================== */
.egh-carousel__text-box--desc {
	margin: 0;
	color: rgba(255, 255, 255, 0.82);
	font-size: clamp(0.92rem, 1.1vw, 1.08rem);
	line-height: 1.75;
	max-width: 520px;
	font-weight: 400;
	text-shadow: 0 2px 20px rgba(0,0,0,0.5), 0 4px 40px rgba(0,0,0,0.3);
}

/* ======================================================================
   CTA BUTTON
   ====================================================================== */
.egh-carousel__cta {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-top: 10px;
	padding: 16px 40px;
	border-radius: 100px;
	font-weight: 600;
	font-size: 0.88rem;
	letter-spacing: 0.04em;
	text-decoration: none;
	cursor: pointer;
	white-space: nowrap;
	border: none;
	background: #ffffff;
	color: #0a0a0f;
	box-shadow: 0 4px 24px rgba(0,0,0,0.15), 0 0 0 0 var(--egh-accent-glow);
	transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
	overflow: hidden;
}

/* CTA in absolute positioning mode (cinematic/minimalist) */
.egh-carousel__cta--absolute {
	position: absolute;
	z-index: 5;
}

.egh-carousel__cta::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, var(--egh-accent), var(--egh-accent-light));
	opacity: 0;
	transition: opacity 0.4s ease;
	border-radius: inherit;
}

.egh-carousel__cta span {
	position: relative;
	z-index: 1;
}

.egh-carousel__cta svg {
	position: relative;
	z-index: 1;
	transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.egh-carousel__cta:hover {
	transform: translateY(-3px) scale(1.04);
	box-shadow: 0 14px 44px rgba(0, 0, 0, 0.3), 0 0 24px var(--egh-accent-glow);
	color: #ffffff;
}

.egh-carousel__cta:hover::before {
	opacity: 1;
}

.egh-carousel__cta:hover svg {
	transform: translateX(6px);
}

.egh-carousel__cta:active {
	transform: translateY(-1px) scale(1.01);
}

/* ======================================================================
   PROGRESS BAR
   ====================================================================== */
.egh-carousel__progress {
	position: absolute;
	bottom: 28px;
	left: 50%;
	transform: translateX(-50%);
	width: min(400px, 60vw);
	z-index: 30;
}

.egh-carousel__progress-track {
	width: 100%;
	height: 3px;
	background: rgba(255, 255, 255, 0.1);
	border-radius: 100px;
	overflow: hidden;
}

.egh-carousel__progress-fill {
	height: 100%;
	width: 0%;
	background: var(--egh-accent);
	border-radius: 100px;
	transition: width 0.06s linear;
	box-shadow: 0 0 12px var(--egh-accent-glow);
}

/* ======================================================================
   HOVER EFFECTS
   ====================================================================== */

/* Magnetic Pull */
.egh-carousel--hover-magnetic .egh-carousel__image {
	transition: transform 0.3s ease-out;
}

/* Zoom Out */
.egh-carousel--hover-zoom_out .egh-carousel__image--absolute {
	transform: scale(1.15);
	transition: transform 0.6s ease-out;
}

.egh-carousel--hover-zoom_out .egh-carousel__item:hover .egh-carousel__image--absolute {
	transform: scale(1) !important;
}

/* Border Glow */
.egh-carousel--hover-border_glow .egh-carousel__item.is-glowing {
	box-shadow: 0 0 0 2px var(--egh-accent),
	            0 0 40px var(--egh-accent-glow),
	            0 0 80px rgba(108, 92, 231, 0.15);
}

/* Lift & Shadow */
.egh-carousel--hover-lift_shadow .egh-carousel__item.is-lifted {
	transform: translateY(-8px);
	box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5),
	            0 0 50px var(--egh-accent-glow);
}

/* ======================================================================
   GLASSMORPHISM UTILITY
   Applied via PHP render. Elementor controls override these.
   ====================================================================== */
.egh-glass {
	backdrop-filter: blur(18px);
	-webkit-backdrop-filter: blur(18px);
	border: 1px solid rgba(255,255,255,0.1);
	background: rgba(255,255,255,0.06);
}

/* ======================================================================
   MOBILE VERTICAL FALLBACK
   ====================================================================== */
.egh-carousel--mobile-vertical .egh-carousel__pin {
	min-height: auto;
	height: auto;
	overflow: visible;
}

.egh-carousel--mobile-vertical .egh-carousel__track {
	flex-direction: column;
	gap: 24px;
	padding: 24px 4vw;
	transform: none !important;
}

.egh-carousel--mobile-vertical .egh-carousel__item {
	width: 100% !important;
	min-width: 100% !important;
	min-height: 60vh;
}

.egh-carousel--mobile-vertical .egh-carousel__progress {
	display: none;
}

/* ======================================================================
   RESPONSIVE
   ====================================================================== */
@media (max-width: 1024px) {
	.egh-carousel__text-box--heading {
		font-size: clamp(1.6rem, 5vw, 3rem);
	}

	/* Content layout responsive: stack on tablet */
	.egh-carousel--content-horizontal .egh-carousel__content {
		flex-direction: column;
		gap: 20px;
		padding: 32px;
	}
}

@media (max-width: 768px) {
	.egh-carousel__item {
		min-height: 60vh;
	}

	.egh-carousel__text-box--heading {
		font-size: clamp(1.4rem, 5vw, 2.2rem);
	}

	.egh-carousel__cta {
		padding: 13px 28px;
		font-size: 0.84rem;
	}

	.egh-carousel__cta--absolute {
		bottom: 8%;
	}

	.egh-carousel__progress {
		width: 70vw;
		bottom: 16px;
	}

	/* Editorial: stack on mobile */
	.egh-carousel--editorial .egh-carousel__item {
		flex-direction: column;
	}

	.egh-carousel--editorial .egh-carousel__image-wrap {
		width: 100%;
		height: 50%;
		border-radius: 24px 24px 0 0;
	}

	.egh-carousel--editorial .egh-carousel__content {
		padding: 24px;
	}

	.egh-carousel--editorial .egh-carousel__content-card {
		padding: 28px 32px;
	}

	/* Immersive: smaller card on mobile */
	.egh-carousel--immersive .egh-carousel__content-card {
		padding: 32px 28px;
		max-width: 90%;
	}

	/* Content layouts: simplified on mobile */
	.egh-carousel--content-horizontal .egh-carousel__content {
		flex-direction: column;
		gap: 16px;
		padding: 24px;
	}

	.egh-carousel--content-overlapping .egh-carousel__content {
		padding: 24px;
	}

	.egh-carousel--content-centered .egh-carousel__text-box--heading,
	.egh-carousel--content-centered .egh-carousel__text-box--desc {
		max-width: 95%;
	}
}

@media (max-width: 480px) {
	.egh-carousel__item {
		min-height: 55vh;
	}

	.egh-carousel__text-box--heading {
		font-size: clamp(1.2rem, 6vw, 1.8rem);
	}

	.egh-carousel--minimalist .egh-carousel__item {
		width: 85vw;
		min-width: 85vw;
	}

	.egh-carousel--editorial .egh-carousel__content-card {
		padding: 20px 24px;
	}

	/* All content layouts: simple vertical stack on small screens */
	.egh-carousel--content-horizontal .egh-carousel__content,
	.egh-carousel--content-centered .egh-carousel__content,
	.egh-carousel--content-overlapping .egh-carousel__content {
		padding: 20px;
	}
}

/* ======================================================================
   ELEMENTOR CONTAINER COMPATIBILITY
   ====================================================================== */
.elementor-widget-egh_elite_gsap_scroll {
	width: 100%;
}

.elementor-widget-egh_elite_gsap_scroll > .elementor-widget-container {
	width: 100%;
	overflow: visible;
}

/* ======================================================================
   ELEMENTOR EDITOR OVERRIDES
   ====================================================================== */
.elementor-editor-active .egh-carousel {
	pointer-events: auto;
}

.elementor-editor-active .egh-carousel__pin {
	overflow-x: auto;
	overflow-y: hidden;
	scrollbar-width: thin;
	scrollbar-color: rgba(108, 92, 231, 0.5) transparent;
}

.elementor-editor-active .egh-carousel__pin::-webkit-scrollbar {
	height: 6px;
}

.elementor-editor-active .egh-carousel__pin::-webkit-scrollbar-thumb {
	background: rgba(108, 92, 231, 0.5);
	border-radius: 3px;
}

.elementor-editor-active .egh-carousel__pin::-webkit-scrollbar-track {
	background: transparent;
}

.elementor-editor-active .egh-carousel__track {
	transform: none !important;
}

/* Highlight active item in editor on hover */
.elementor-editor-active .egh-carousel__item:hover {
	outline: 2px solid var(--egh-accent, #6c5ce7);
	outline-offset: -2px;
}

/* ======================================================================
   EDITOR NOTICE (injected by editor JS)
   ====================================================================== */
.egh-editor-notice {
	position: fixed;
	bottom: 48px;
	right: 24px;
	z-index: 999999;
	background: rgba(10, 10, 15, 0.95);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border: 1px solid rgba(108, 92, 231, 0.3);
	border-radius: 12px;
	padding: 14px 24px;
	color: #ffffff;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
	font-size: 13px;
	line-height: 1.5;
	box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(108, 92, 231, 0.15);
	opacity: 0;
	transform: translateY(16px);
	transition: opacity 0.35s ease, transform 0.35s ease;
	pointer-events: none;
	max-width: 380px;
}

.egh-editor-notice--visible {
	opacity: 1;
	transform: translateY(0);
	pointer-events: auto;
}

.egh-editor-notice__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: var(--egh-accent, #6c5ce7);
	color: #ffffff;
	font-size: 11px;
	font-weight: 700;
	margin-right: 8px;
	vertical-align: middle;
}

/* ======================================================================
   TEXT REveal — Split Character & Word Spans
   Generated by JS for char_split and word_wave animations.
   ====================================================================== */
.egh-carousel__text-box .egh-char,
.egh-carousel__text-box .egh-word {
	display: inline-block;
	will-change: transform, opacity;
}

/* Preserve whitespace between words */
.egh-carousel__text-box .egh-word {
	margin-right: 0.25em;
}

/* ======================================================================
   CONTENT BOX REVEAL — Initial States
   These are set by JS via gsap.set() but having CSS fallbacks
   prevents FOUC before GSAP initializes.
   ====================================================================== */

/* Clip center initial state (hidden via clip-path) */
.egh-carousel__content-card[data-reveal="clip_center"],
.egh-carousel__item[data-card-reveal="clip_center"] .egh-carousel__content-card {
	clip-path: inset(50% 50% 50% 50%);
	opacity: 0;
}

/* ======================================================================
   CONTENT WRAPPER — Flex Positioning Support
   The content wrapper supports flex alignment via Elementor controls.
   ====================================================================== */
.egh-carousel__content {
	display: flex;
	flex-direction: column;
}

/* Content card inside flex content wrapper */
.egh-carousel__content > .egh-carousel__content-card {
	width: 100%;
}
