/* 
 * Smooth Carousel Widget Styles 
 */

.smooth-carousel-f05c4b50-wrapper {
	position: relative;
	width: 100%;
}

.smooth-carousel-f05c4b50-container {
	position: relative;
	overflow: hidden;
}

.smooth-carousel-f05c4b50-track {
	display: flex;
	align-items: center;
	width: max-content;
	will-change: transform;
	padding-left: var(--carousel-side-margin, 29px);
	padding-right: var(--carousel-side-margin, 29px);
}

.smooth-carousel-f05c4b50-item {
	position: relative;
	flex-shrink: 0;
	will-change: transform;
	transform-origin: center center;
	overflow: hidden;
	height: 100%;
	min-height: 0;
}

.smooth-carousel-f05c4b50-item-inner {
	width: 100%;
	height: 100%;
	overflow: hidden;
	border-radius: inherit;
	min-height: 0;
}

.elementor-widget-smooth_carousel_f05c4b50 .smooth-carousel-f05c4b50-item img.smooth-carousel-f05c4b50-item-image {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	object-position: center !important;
	display: block;
	border-radius: inherit;
}

/* Base Desktop Aspect Ratios & Widths */
@media screen and (min-width: 1025px) {
	.smooth-carousel-f05c4b50-item {
		height: calc(var(--sc-image-height, 100vh) - (var(--sc-margin-y, 0px) * 2));
	}
	
	.smooth-carousel-f05c4b50-item.landscape {
		aspect-ratio: 3 / 2;
	}

	.smooth-carousel-f05c4b50-item.portrait {
		aspect-ratio: 2 / 3;
	}
}

/* Tablet & Mobile (<= 1024px) */
@media screen and (max-width: 1024px) {
	/* Reset the wrapper and container to normal flow */
	.smooth-carousel-f05c4b50-wrapper {
		height: auto !important; /* Overrides any JS forced height */
	}

	.smooth-carousel-f05c4b50-container {
		/* width and marginLeft are set dynamically by JS to guarantee full screen width */
		position: static !important; /* Overrides JS sticky */
		height: auto !important;
	}

	/* Stack items vertically */
	.smooth-carousel-f05c4b50-track {
		display: flex;
		flex-direction: column;
		width: 100%;
		padding-left: var(--carousel-side-margin, 29px);
		padding-right: var(--carousel-side-margin, 29px);
		gap: 22px !important; /* ~22px space between images */
		transform: none !important; /* No horizontal translate */
	}

	.smooth-carousel-f05c4b50-item {
		width: 100%; /* Take full width of column (constrained by column padding) */
		margin: 0;
		transform: none !important; /* No scale effects */
		opacity: 0; /* For fade in */
		transform: translateY(20px) !important;
		transition: opacity 0.6s ease-out, transform 0.6s ease-out;
		height: auto; /* reset height for aspect ratio */
	}

	.smooth-carousel-f05c4b50-item.landscape {
		aspect-ratio: 4 / 3;
	}

	.smooth-carousel-f05c4b50-item.portrait {
		aspect-ratio: 3 / 4;
	}

	/* Visible state for fade-in */
	.smooth-carousel-f05c4b50-item.is-visible {
		opacity: 1;
		transform: translateY(0) !important;
	}
	
	/* Respect prefers-reduced-motion */
	@media (prefers-reduced-motion: reduce) {
		.smooth-carousel-f05c4b50-item {
			opacity: 1;
			transform: none !important;
			transition: none;
		}
	}
}