/* Elementor Adev — Vertical Text Slider */

.ead-vts {
	--ead-vts-item-h: 40px;
	--ead-vts-visible: 9;
	--ead-vts-line: rgba(255, 255, 255, 0.85);
	--ead-vts-align: start;
	--ead-vts-fade-mask: linear-gradient(
		to bottom,
		transparent 0%,
		#000 18%,
		#000 82%,
		transparent 100%
	);

	position: relative;
	overflow: hidden;
	background-color: #1e4fd6;
	color: #fff;
	isolation: isolate;
}

.ead-vts--empty {
	padding: 2rem;
	text-align: center;
	opacity: 0.85;
}

.ead-vts__inner {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	width: 100%;
	min-height: inherit;
}

.ead-vts__content {
	position: relative;
	z-index: 2;
	flex: 1 1 auto;
	min-width: 0;
}

.ead-vts--has-image .ead-vts__content {
	padding-right: min(240px, 28%);
}

.ead-vts__title {
	margin: 0 0 1.75rem;
	font-weight: 700;
	font-size: clamp(1.25rem, 2.2vw, 1.75rem);
	line-height: 1.3;
	color: #fff;
}

.ead-vts__row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem 1.25rem;
}

.ead-vts__before,
.ead-vts__after {
	font-size: clamp(1.35rem, 2.8vw, 2.15rem);
	font-weight: 700;
	line-height: 1.2;
	color: #fff;
	white-space: nowrap;
}

.ead-vts__picker {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	position: relative;
	min-width: 160px;
	user-select: none;
	-webkit-user-select: none;
}

.ead-vts__viewport {
	position: relative;
	height: calc(var(--ead-vts-item-h) * var(--ead-vts-visible));
	overflow: hidden;
	flex: 1 1 auto;
	-webkit-mask-image: var(--ead-vts-fade-mask);
	mask-image: var(--ead-vts-fade-mask);
	touch-action: none;
	cursor: grab;
}

.ead-vts__viewport.is-dragging {
	cursor: grabbing;
}

.ead-vts__track {
	display: flex;
	flex-direction: column;
	will-change: transform;
	transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.ead-vts__track.is-instant {
	transition: none;
}

.ead-vts__item {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	height: var(--ead-vts-item-h);
	padding: 0 0.25rem;
	font-size: clamp(1.05rem, 2.2vw, 1.55rem);
	font-weight: 500;
	line-height: 1;
	color: #fff;
	white-space: nowrap;
	opacity: 0.08;
	transform: scale(0.92);
	transition:
		opacity 0.28s ease,
		transform 0.28s ease,
		font-weight 0.2s ease;
	cursor: pointer;
}

.ead-vts__item[data-distance="1"] {
	opacity: 0.55;
	transform: scale(0.96);
}

.ead-vts__item[data-distance="2"] {
	opacity: 0.32;
	transform: scale(0.94);
}

.ead-vts__item[data-distance="3"] {
	opacity: 0.18;
	transform: scale(0.93);
}

.ead-vts__item[data-distance="4"] {
	opacity: 0.1;
}

.ead-vts__item.is-active {
	opacity: 1;
	font-weight: 800;
	transform: scale(1);
	cursor: default;
}

.ead-vts__item-text {
	display: block;
}

.ead-vts__line {
	position: absolute;
	left: 0;
	right: 0;
	height: 1px;
	background: var(--ead-vts-line);
	pointer-events: none;
	z-index: 2;
}

.ead-vts__line--top {
	top: calc(50% - (var(--ead-vts-item-h) / 2));
}

.ead-vts__line--bottom {
	bottom: calc(50% - (var(--ead-vts-item-h) / 2));
}

.ead-vts__nav {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 0.35rem;
	color: #f5c518;
	flex-shrink: 0;
}

.ead-vts__nav-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	padding: 0;
	border: 0;
	background: transparent;
	color: inherit;
	cursor: pointer;
	line-height: 0;
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.ead-vts__nav-btn:hover {
	opacity: 0.85;
	transform: scale(1.08);
}

.ead-vts__nav-btn:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
	border-radius: 4px;
}

.ead-vts__actions {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	margin-inline-start: 0.5rem;
}

.ead-vts__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 32px;
	border-radius: 999px;
	background-color: #f07a1a;
	color: #fff;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	border: none;
	white-space: nowrap;
	transition:
		background-color 0.25s ease,
		color 0.25s ease,
		box-shadow 0.25s ease,
		border-color 0.25s ease,
		transform 0.2s ease;
}

.ead-vts__btn:hover {
	color: #fff;
	text-decoration: none;
	transform: translateY(-1px);
}

.ead-vts__btn:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 3px;
}

.ead-vts__image {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	z-index: 1;
	display: flex;
	align-items: flex-end;
	justify-content: flex-end;
	width: 220px;
	pointer-events: none;
	transform: translateX(40px);
}

.ead-vts__image img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 100%;
	object-fit: contain;
	object-position: bottom right;
}

/* —— Responsive —— */

@media (max-width: 991px) {
	.ead-vts {
		--ead-vts-visible: 7;
	}

	.ead-vts__row {
		gap: 0.65rem 1rem;
	}

	.ead-vts__image {
		width: 160px;
		opacity: 0.9;
	}
}

@media (max-width: 767px) {
	.ead-vts {
		--ead-vts-visible: 5;
		--ead-vts-item-h: 36px;
	}

	.ead-vts--has-image .ead-vts__content {
		padding-right: 0;
	}

	.ead-vts__inner {
		flex-direction: column;
		align-items: stretch;
	}

	.ead-vts__title {
		margin-bottom: 1.25rem;
	}

	.ead-vts__row {
		flex-direction: column;
		align-items: var(--ead-vts-align, center);
		gap: 0.75rem;
	}

	.ead-vts__before,
	.ead-vts__after {
		white-space: normal;
	}

	.ead-vts__picker {
		width: 100%;
		max-width: 280px;
	}

	.ead-vts__actions {
		margin-inline-start: 0;
		margin-top: 0.35rem;
	}

	.ead-vts__image {
		position: relative;
		inset: auto;
		width: min(180px, 55%);
		margin: 1rem auto 0;
		transform: none !important;
		align-self: center;
	}

	.ead-vts__image img {
		object-position: center bottom;
	}
}

@media (max-width: 479px) {
	.ead-vts {
		--ead-vts-visible: 5;
	}

	.ead-vts__btn {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ead-vts__track,
	.ead-vts__item,
	.ead-vts__btn,
	.ead-vts__nav-btn {
		transition: none !important;
	}
}
