.wilc-marquee {
    --wilc-speed: 28s;
    --wilc-logo-height: 64px;
    --wilc-gap: 48px;
    --wilc-mobile-logo-height: min(var(--wilc-logo-height), 48px);
    --wilc-mobile-gap: clamp(18px, calc(var(--wilc-gap) * 0.75), 80px);
    display: grid;
    gap: calc(var(--wilc-gap) * 0.45);
    overflow: hidden;
    width: 100%;
}

.wilc-title {
    color: inherit;
    font-size: var(--wilc-title-size);
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 18px;
    overflow-wrap: anywhere;
    text-align: center;
}

.wilc-row {
    --wilc-start-x: calc(100% + 220px);
    --wilc-end-x: -260px;
    height: calc(var(--wilc-logo-height) + 24px);
    overflow: hidden;
    position: relative;
    width: 100%;
}

.wilc-track {
    height: 100%;
    position: relative;
    width: 100%;
}

.wilc-pause-hover:hover .wilc-logo {
    animation-play-state: paused;
}

.wilc-logo {
    align-items: center;
    animation-duration: var(--wilc-speed);
    animation-iteration-count: infinite;
    animation-name: wilc-float-left;
    animation-timing-function: linear;
    animation-delay: calc((var(--wilc-speed) / var(--wilc-count)) * var(--wilc-index) * -1);
    display: flex;
    height: 100%;
    justify-content: center;
    left: 0;
    box-sizing: border-box;
    min-width: calc(96px + var(--wilc-gap));
    opacity: 1 !important;
    padding-inline: calc(var(--wilc-gap) / 2);
    position: absolute;
    top: 0;
    visibility: visible !important;
    will-change: left, transform;
}

.wilc-direction-right .wilc-logo {
    animation-name: wilc-float-right;
}

.wilc-logo a {
    align-items: center;
    display: flex;
    line-height: 0;
}

.wilc-logo img {
    display: block;
    height: var(--wilc-logo-height);
    max-width: min(220px, 34vw);
    object-fit: contain;
    transition: filter 180ms ease, opacity 180ms ease, transform 180ms ease;
    width: auto;
}

.wilc-grayscale .wilc-logo img {
    filter: grayscale(1);
    opacity: 0.72;
}

.wilc-grayscale.wilc-hover-color .wilc-logo:hover img,
.wilc-grayscale.wilc-hover-color .wilc-logo:focus-within img {
    filter: grayscale(0);
    opacity: 1;
}

.wilc-hover-color .wilc-logo:hover img,
.wilc-hover-color .wilc-logo:focus-within img {
    transform: translateY(-1px);
}

.wilc-empty {
    background: #f6f7f7;
    border: 1px dashed #c3c4c7;
    border-radius: 6px;
    color: #50575e;
    margin: 0;
    padding: 14px;
}

@keyframes wilc-float-left {
    from {
        transform: translate3d(var(--wilc-start-x), 0, 0);
    }

    to {
        transform: translate3d(var(--wilc-end-x), 0, 0);
    }
}

@keyframes wilc-float-right {
    from {
        transform: translate3d(var(--wilc-end-x), 0, 0);
    }

    to {
        transform: translate3d(var(--wilc-start-x), 0, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .wilc-logo {
        animation-duration: calc(var(--wilc-speed) * 2);
    }
}

@media (max-width: 767px) {
    .wilc-marquee {
        gap: 16px;
    }

    .wilc-row {
        height: calc(var(--wilc-mobile-logo-height) + 24px);
    }

    .wilc-logo {
        min-width: calc(90px + var(--wilc-mobile-gap));
        padding-inline: calc(var(--wilc-mobile-gap) / 2);
    }

    .wilc-logo img {
        height: var(--wilc-mobile-logo-height);
        max-height: 48px;
        max-width: 34vw;
    }

    .wilc-title {
        font-size: clamp(22px, var(--wilc-title-size), 36px);
        margin-bottom: 16px;
    }
}

@media (max-width: 480px) {
    .wilc-marquee {
        gap: 14px;
    }

    .wilc-logo {
        min-width: calc(86px + var(--wilc-mobile-gap));
    }

    .wilc-logo img {
        max-height: 44px;
        max-width: 38vw;
    }
}
