/* Marquee */

.wpl-marquee {
    overflow: hidden;
    white-space: nowrap;
    box-sizing: border-box;
}

.wpl-marquee-horizontal .marquee-inner {
    display: inline-flex;
    will-change: transform;
    animation: marquee-horizontal var(--marquee-speed) linear infinite;
}

.wpl-marquee-horizontal[data-direction="left"] .marquee-inner {
    animation-direction: normal;
}

.wpl-marquee-horizontal[data-direction="right"] .marquee-inner {
    animation-direction: reverse;
}

@keyframes marquee-horizontal {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

.wpl-marquee-vertical {
    writing-mode: vertical-lr;
}

.wpl-marquee-vertical .marquee-inner {
    display: inline-flex;
    flex-direction: column;
    will-change: transform;
    animation: marquee-vertical var(--marquee-speed) linear infinite;
}

.wpl-marquee-vertical[data-direction="up"] .marquee-inner {
    animation-direction: normal;
}

.wpl-marquee-vertical[data-direction="down"] .marquee-inner {
    animation-direction: reverse;
}

@keyframes marquee-vertical {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-50%);
    }
}

.marquee-item {
    display: flex;
    align-items: center;
    padding: 0 10px; /* Adjust as needed */
}

.marquee-item img {
    max-height: 100%;
    object-fit: contain;
}