.vim-marquee-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #f0f0f0;
    border-radius: 12px;
    --overlay-color-start: rgba(255, 255, 255, 1);
    --overlay-color-end: rgba(255, 255, 255, 0);
}

.vim-marquee-wrapper {
    display: flex;
    justify-content: space-around;
    height: 100%;
    gap: 1rem;
}

.vim-marquee-column {
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.vim-marquee-content {
    display: flex;
    flex-direction: column;
    will-change: transform;
}

.vim-marquee-content img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.scroll-up {
    animation: scroll-up var(--speed, 30s) linear infinite;
}

.scroll-down {
    animation: scroll-down var(--speed, 30s) linear infinite;
}

@keyframes scroll-up {
    0% { transform: translateY(0%); }
    100% { transform: translateY(-50%); }
}

@keyframes scroll-down {
    0% { transform: translateY(-50%); }
    100% { transform: translateY(0%); }
}

.vim-marquee-overlay-top,
.vim-marquee-overlay-bottom {
    position: absolute;
    left: 0;
    width: 100%;
    height: 20%;
    pointer-events: none;
    z-index: 10;
}

.vim-marquee-overlay-top {
    top: 0;
    background: linear-gradient(to bottom, var(--overlay-color-start), var(--overlay-color-end));
}

.vim-marquee-overlay-bottom {
    bottom: 0;
    background: linear-gradient(to top, var(--overlay-color-start), var(--overlay-color-end));
}