/* MWS Scroller Slider */
.elementor-widget-mws_ew_scroller_slider,
.elementor-widget-mws_ew_scroller_slider > .elementor-widget-container {
	width: 100%;
	overflow: visible;
}

.mws-ew-scrl {
	--mws-ew-scrl-bg: #0c0d10;
	--mws-ew-scrl-height: 100vh;
	--mws-ew-scrl-height: 100dvh;
	--mws-ew-scrl-pin-offset: 0px;
	--mws-ew-scrl-text: #ffffff;
	--mws-ew-scrl-text-max: 640px;
	--mws-ew-scrl-stack-height: 110px;
	--mws-ew-scrl-index: #ffffff;
	--mws-ew-scrl-index-soft: rgba(255, 255, 255, 0.7);
	--mws-ew-scrl-index-gap: 22px;
	--mws-ew-scrl-dot: #ffffff;
	--mws-ew-scrl-dot-inactive: 0.4;
	--mws-ew-scrl-dot-size: 6px;
	--mws-ew-scrl-dot-active-width: 22px;
	--mws-ew-scrl-dot-gap: 8px;
	--mws-ew-scrl-dot-spacing: 30px;
	--mws-ew-scrl-scrim-top: rgba(8, 9, 12, 0.15);
	--mws-ew-scrl-scrim-mid: rgba(8, 9, 12, 0.55);
	--mws-ew-scrl-scrim-bottom: rgba(8, 9, 12, 0.82);
	--mws-ew-scrl-object-fit: cover;
	--mws-ew-scrl-object-position: center center;

	position: relative;
	width: 100%;
	background: var(--mws-ew-scrl-bg);
	color: var(--mws-ew-scrl-text);
	/* Must stay visible — overflow/transform on ancestors breaks position:sticky. */
	overflow: visible;
}

.mws-ew-scrl__pin {
	position: relative;
	height: calc(var(--mws-ew-scrl-height) - var(--mws-ew-scrl-pin-offset));
	min-height: 320px;
	width: 100%;
	overflow: hidden;
	background: var(--mws-ew-scrl-bg);
}

/* Native sticky pin — no GSAP position:fixed (eliminates mobile jump / unpin bounce). */
.mws-ew-scrl.is-sticky-pin .mws-ew-scrl__pin {
	position: sticky;
	top: var(--mws-ew-scrl-pin-offset, 0px);
	z-index: 1;
}

.mws-ew-scrl__media {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
	z-index: 0;
}

.mws-ew-scrl__bg {
	position: absolute;
	inset: 0;
	display: block;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	object-fit: var(--mws-ew-scrl-object-fit);
	object-position: var(--mws-ew-scrl-object-position);
	transform: scale(1);
	transform-origin: center center;
	pointer-events: none;
	user-select: none;
}

.mws-ew-scrl__scrim {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(
		180deg,
		var(--mws-ew-scrl-scrim-top) 0%,
		var(--mws-ew-scrl-scrim-mid) 62%,
		var(--mws-ew-scrl-scrim-bottom) 100%
	);
	pointer-events: none;
}

.mws-ew-scrl__content {
	position: relative;
	z-index: 2;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-end;
	padding: 0 32px 84px;
	color: var(--mws-ew-scrl-text);
	text-align: center;
}

.mws-ew-scrl__index {
	display: flex;
	align-items: baseline;
	gap: 6px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.08em;
	color: var(--mws-ew-scrl-index-soft);
	margin-bottom: var(--mws-ew-scrl-index-gap);
}

.mws-ew-scrl__index-current {
	font-size: 15px;
	font-weight: 800;
	color: var(--mws-ew-scrl-index);
}

.mws-ew-scrl__text-stack {
	position: relative;
	width: 100%;
	max-width: var(--mws-ew-scrl-text-max);
	height: var(--mws-ew-scrl-stack-height);
	display: flex;
	align-items: center;
	justify-content: center;
}

.mws-ew-scrl__line {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	font-size: clamp(22px, 3.4vw, 36px);
	line-height: 1.28;
	font-weight: 600;
	letter-spacing: -0.01em;
	color: var(--mws-ew-scrl-text);
	opacity: 0;
	filter: blur(0px);
	overflow-wrap: break-word;
	word-break: break-word;
	hyphens: auto;
}

.mws-ew-scrl__line.is-active {
	opacity: 1;
}

.mws-ew-scrl__dots {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: var(--mws-ew-scrl-dot-gap);
	margin-top: var(--mws-ew-scrl-dot-spacing);
}

.mws-ew-scrl__dot {
	height: var(--mws-ew-scrl-dot-size);
	width: var(--mws-ew-scrl-dot-size);
	border-radius: 99px;
	background: var(--mws-ew-scrl-dot);
	opacity: var(--mws-ew-scrl-dot-inactive);
	transition: width 0.35s ease, opacity 0.35s ease;
}

.mws-ew-scrl__dot.is-active {
	opacity: 1;
	width: var(--mws-ew-scrl-dot-active-width);
}

@media (max-width: 720px) {
	.mws-ew-scrl__content {
		padding: 0 22px 56px;
	}

	.mws-ew-scrl {
		--mws-ew-scrl-stack-height: 150px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.mws-ew-scrl__bg {
		transform: scale(1.2);
	}

	.mws-ew-scrl__line {
		filter: none !important;
		transform: none !important;
	}

	.mws-ew-scrl__dot {
		transition: none;
	}
}
