.angie-marquee-d07766ab-wrapper {
    --visible-items: 4;
    --item-gap: 20px;
    display: flex;
    overflow: hidden;
    width: 100%;
    position: relative;
    gap: var(--item-gap);
}

.angie-marquee-d07766ab-track {
    display: flex;
    flex-shrink: 0;
    gap: var(--item-gap);
    min-width: 100%;
    align-items: stretch; /* Make items stretch to full height */
    animation: angieMarqueeScrollLeft_d07766ab 20s linear infinite;
}

.angie-marquee-d07766ab-wrapper[data-direction="right"] .angie-marquee-d07766ab-track {
    animation-name: angieMarqueeScrollRight_d07766ab;
}

.angie-marquee-d07766ab-item {
    flex-shrink: 0;
    /* Fix width calculation to properly divide the container by visible items minus gaps */
    width: calc((100% / var(--visible-items)) - (var(--item-gap) * (var(--visible-items) - 1) / var(--visible-items)));
    display: flex; /* Allow inner items to stretch */
}

.angie-marquee-d07766ab-item-inner {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
}

.angie-marquee-d07766ab-item-inner a {
    display: flex;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.angie-marquee-d07766ab-item-inner img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

@keyframes angieMarqueeScrollLeft_d07766ab {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-100% - var(--item-gap))); }
}

@keyframes angieMarqueeScrollRight_d07766ab {
    0% { transform: translateX(calc(-100% - var(--item-gap))); }
    100% { transform: translateX(0); }
}
