.carousel-wrapper-68387956 {
    overflow: hidden;
    width: 100%;
    padding: 40px 0;
    direction: ltr;
}

.carousel-track-68387956 {
    display: flex;
    align-items: center;
    gap: 20px;
    animation: carousel-scroll-68387956 30s linear infinite;
    width: max-content;
}

.carousel-slide-68387956 {
    flex-shrink: 0;
    width: 260px;
    height: 180px;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                opacity 0.5s ease;
    opacity: 0.7;
}

.carousel-slide-68387956 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 16px;
}

/* Center highlight using scroll-driven approach via CSS animation keyframes */
.carousel-slide-68387956:hover {
    transform: scale(1.15);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    opacity: 1;
    z-index: 2;
}

@keyframes carousel-scroll-68387956 {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-280px * 5));
    }
}

/* Pause animation on hover for better UX */
.carousel-wrapper-68387956:hover .carousel-track-68387956 {
    animation-play-state: paused;
}

/* Center item highlight using JS-free approach: nth-child pattern for visual emphasis */
.carousel-slide-68387956:nth-child(5n+3) {
    width: 320px;
    height: 220px;
    opacity: 1;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.12);
    border-radius: 20px;
}

.carousel-slide-68387956:nth-child(5n+3) img {
    border-radius: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .carousel-slide-68387956 {
        width: 180px;
        height: 130px;
    }

    .carousel-slide-68387956:nth-child(5n+3) {
        width: 230px;
        height: 165px;
    }

    .carousel-track-68387956 {
        gap: 14px;
    }

    @keyframes carousel-scroll-68387956 {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-194px * 5));
        }
    }
}
