.marquee-container-c19a8f5c {
    display: flex;
    overflow: hidden;
    width: 100%;
    position: relative;
    pointer-events: none; /* Prevents interaction from disrupting */
}

.marquee-container-c19a8f5c.direction-up,
.marquee-container-c19a8f5c.direction-down {
    flex-direction: column;
    height: 500px; /* Default height, adjust as needed or set via widget wrapper */
}

.marquee-track-c19a8f5c {
    display: flex;
    width: fit-content;
    animation: marquee-scroll-x-c19a8f5c linear infinite;
}

.marquee-container-c19a8f5c.direction-right .marquee-track-c19a8f5c {
    animation-direction: reverse;
}

.marquee-container-c19a8f5c.direction-up .marquee-track-c19a8f5c,
.marquee-container-c19a8f5c.direction-down .marquee-track-c19a8f5c {
    flex-direction: column;
    width: 100%;
    height: fit-content;
    animation-name: marquee-scroll-y-c19a8f5c;
}

.marquee-container-c19a8f5c.direction-down .marquee-track-c19a8f5c {
    animation-direction: reverse;
}

.marquee-content-c19a8f5c {
    display: flex;
    flex-shrink: 0;
    gap: 20px;
}

.marquee-container-c19a8f5c.direction-up .marquee-content-c19a8f5c,
.marquee-container-c19a8f5c.direction-down .marquee-content-c19a8f5c {
    flex-direction: column;
}

.marquee-item-c19a8f5c {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 300px;
    height: 200px;
    flex-shrink: 0;
}

.marquee-item-c19a8f5c img,
.marquee-item-c19a8f5c video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes marquee-scroll-x-c19a8f5c {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes marquee-scroll-y-c19a8f5c {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}
