.ac-b4ab2714-wrapper {
	--ac-speed: 600ms;
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 30px;
}

.ac-b4ab2714-track {
	display: flex;
	width: 100%;
	overflow-x: auto;
	scroll-behavior: smooth;
	scroll-snap-type: x mandatory;
	-ms-overflow-style: none;
	scrollbar-width: none;
	/* Gap and height controlled by Elementor */
}

.ac-b4ab2714-track::-webkit-scrollbar {
	display: none;
}

.ac-b4ab2714-item {
	position: relative;
	flex: 1 0 auto;
	/* flex-basis controlled by Elementor */
	min-width: 250px;
	overflow: hidden;
	text-decoration: none;
	scroll-snap-align: start;
	transition: flex-grow var(--ac-speed) cubic-bezier(0.25, 1, 0.5, 1), min-width var(--ac-speed) cubic-bezier(0.25, 1, 0.5, 1);
	transform: translateZ(0); /* Hardware accel */
}

/* Hover Accordion Effect */
@media (hover: hover) and (pointer: fine) {
	.ac-b4ab2714-item:hover {
		/* flex-grow controlled by Elementor expand_ratio */
	}
}

.ac-b4ab2714-bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	transition: transform var(--ac-speed) cubic-bezier(0.25, 1, 0.5, 1);
	will-change: transform;
}

.ac-b4ab2714-item:hover .ac-b4ab2714-bg {
	transform: scale(1.05);
}

.ac-b4ab2714-gradient {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 70%;
	background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 100%);
	transition: opacity var(--ac-speed) ease;
	pointer-events: none;
}

.ac-b4ab2714-content {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	box-sizing: border-box;
	padding: 30px;
	z-index: 2;
}

.ac-b4ab2714-content-inner {
	width: 100%;
	max-width: 400px;
}

.ac-b4ab2714-title {
	margin: 0;
	font-size: 24px;
	font-weight: 600;
	transition: transform var(--ac-speed) cubic-bezier(0.25, 1, 0.5, 1);
}

.ac-b4ab2714-desc {
	margin: 15px 0 0 0;
	opacity: 0;
	transform: translateY(20px);
	transition: all var(--ac-speed) cubic-bezier(0.25, 1, 0.5, 1);
	max-height: 0;
	overflow: hidden;
	font-size: 15px;
	line-height: 1.5;
}

.ac-b4ab2714-btn {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 20px;
	opacity: 0;
	transform: translateY(20px);
	transition: all var(--ac-speed) cubic-bezier(0.25, 1, 0.5, 1);
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-size: 14px;
	color: #fff;
}

.ac-b4ab2714-btn svg {
	transition: transform 0.3s ease;
}

/* Hover Content Animations */
.ac-b4ab2714-item:hover .ac-b4ab2714-title {
	transform: translateY(0);
}

.ac-b4ab2714-item:hover .ac-b4ab2714-desc {
	opacity: 1;
	transform: translateY(0);
	max-height: 150px;
}

.ac-b4ab2714-item:hover .ac-b4ab2714-btn {
	opacity: 1;
	transform: translateY(0);
}

.ac-b4ab2714-item:hover .ac-b4ab2714-btn:hover svg {
	transform: translateX(5px);
}

/* Bottom Bar */
.ac-b4ab2714-bottom-bar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
}

.ac-b4ab2714-footer-text {
	font-size: 14px;
}

.ac-b4ab2714-nav {
	display: flex;
	gap: 15px;
}

.ac-b4ab2714-nav-btn {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	border: none;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.3s ease;
}

@media (max-width: 768px) {
	.ac-b4ab2714-item {
		min-width: 85%;
		flex-grow: 1 !important;
	}
	.ac-b4ab2714-desc,
	.ac-b4ab2714-btn {
		opacity: 1;
		transform: translateY(0);
		max-height: 150px;
	}
	.ac-b4ab2714-bottom-bar {
		flex-direction: column;
		gap: 20px;
		align-items: flex-start;
	}
	.ac-b4ab2714-nav {
		align-self: flex-end;
	}
}
