/**
 * Marquee Slider Styles
 */

.marquee-slider-wrapper {
    width: 100%;
    overflow: hidden;
    margin: 2rem 0; /* Adds some vertical spacing around the slider */
}

.marquee {
    --gap: 1.5rem; /* Increased the gap between images */
    display: flex;
    overflow: hidden;
    user-select: none;
    gap: var(--gap);
}

.marquee .marquee__content {
    flex-shrink: 0;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    min-width: 100%;
    gap: var(--gap);
    animation: scroll var(--duration) linear infinite;
}

.marquee--reverse .marquee__content {
    animation-direction: reverse;
}

/* Pause on hover */
.marquee-slider-wrapper:hover .marquee__content {
    animation-play-state: paused;
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(-100% - var(--gap)));
    }
}

.marquee .marquee__item {
    flex: 0 0 auto; /* Prevents items from shrinking or growing */
    width: auto;
    height: 220px; /* Adjusted height */
    max-width: 450px;
    padding: 0;
    margin: 0;
}

.marquee .marquee__item img {
    display: block;
    width: auto;
    height: 100%; /* Ensures image fills the item's height */
    border-radius: 16px; /* Increased border radius for a softer look */
    object-fit: cover;
    box-shadow: 0 4px 15px #F4F5FF; /* Added the new shadow color */
}
