/**
 * Gallery Carousel Styles - Matching existing carousel
 * 
 * @package Atvert_Savu_Gaismu
 */

/* Infinite scroll animation */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.animate-scroll {
    animation: scroll 40s linear infinite;
    display: flex;
    width: max-content;
}

.animate-scroll:hover {
    animation-play-state: paused;
}

/* Carousel item styles */
.animate-scroll > div {
    position: relative;
    flex-shrink: 0;
}

.animate-scroll img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .animate-scroll > div {
        width: 18rem; /* w-72 */
        height: 14rem; /* h-56 */
    }
}

@media (min-width: 769px) {
    .animate-scroll > div {
        width: 24rem; /* w-96 */
        height: 16rem; /* h-64 */
    }
}