/* Vertical Slider for JetEngine Listing Grid (Swiper) */

/* Widget stretches to fill parent flex container */
.vertical-slider.elementor-widget {
	align-self: stretch;
}

/* Full height chain down to the Swiper container */
.vertical-slider .elementor-widget-container,
.vertical-slider .jet-listing-grid.jet-listing,
.vertical-slider .jet-listing-grid__slider {
	height: 100%;
}

/* Swiper container: clip vertical overflow, allow horizontal so card
   borders/shadows are not cut off. (Swiper defaults to overflow:hidden.) */
.vertical-slider .jet-listing-grid__slider.swiper {
	overflow-x: visible !important;
	overflow-y: hidden !important;
	position: relative !important;
	/* CSS fallback for the 50px header offset if slidesOffsetBefore is
	   dropped from vertical-slider.js (known Swiper v8 centeredSlides quirk):
	   padding-top: 50px; box-sizing: border-box; */
}

/* Minimal item padding to preserve card borders */
.vertical-slider .jet-listing-grid__item {
	padding: 8px !important;
	margin: 0 !important;
}

/* slidesPerView:'auto' (vertical) needs content-height slides.
   Non-active slides: faded and slightly scaled down.
   IMPORTANT: animate opacity ONLY. The cards use a backdrop-filter glass
   effect, and animating a transform (scale) on a backdrop-filter ancestor
   makes that blur render roughly during the slide — it only "resolves" once
   the card settles. So we snap the scale instead of tweening it. */
.vertical-slider .swiper-slide {
	height: auto;
	opacity: 0.2;
	transform: scale(0.92);
	transition: opacity 0.5s ease;
}

/* Active (centered) slide. No transform on the prominent card so its
   backdrop-filter glass stays crisp — any transformed ancestor degrades
   backdrop-filter quality. */
.vertical-slider .swiper-slide-active {
	opacity: 1;
	transform: none;
}

/* Hide arrows and dots (also disabled in vertical-slider.js config) */
.vertical-slider .jet-listing-grid__slider-icon,
.vertical-slider .jet-engine-swiper-pagination-wrapper,
.vertical-slider .swiper-pagination {
	display: none !important;
}
