.logo-wave-slideshow {
    --logo-wave-height: 96px;
    --logo-wave-gap: 28px;
    --logo-wave-speed: 600ms;
    width: 100%;
}

.logo-wave-slideshow__viewport {
    overflow: hidden;
    min-height: calc(var(--logo-wave-height) + 38px);
}

.logo-wave-slideshow__track {
    align-items: center;
    display: grid;
    gap: var(--logo-wave-gap);
    grid-template-columns: repeat(var(--logo-wave-visible, 5), minmax(0, 1fr));
    justify-items: center;
    list-style: none;
    margin: 0;
    padding: 18px 0;
}

.logo-wave-slideshow__item {
    align-items: center;
    display: none;
    height: var(--logo-wave-height);
    justify-content: center;
    min-width: 0;
    width: 100%;
}

.logo-wave-slideshow__item.is-visible {
    display: flex;
}

.logo-wave-slideshow__item.is-entering {
    animation-delay: var(--logo-wave-delay, 0ms);
    animation-duration: var(--logo-wave-speed);
    animation-fill-mode: both;
    animation-name: logoWaveSlideBottom;
    animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}

.logo-wave-slideshow__link {
    align-items: center;
    display: flex;
    justify-content: center;
    width: 100%;
}

.logo-wave-slideshow img {
    display: block;
    max-height: var(--logo-wave-height);
    max-width: 100%;
    object-fit: contain;
}

@keyframes logoWaveSlideBottom {
    0% {
        opacity: 0;
        transform: translate3d(0, 28px, 0);
    }

    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .logo-wave-slideshow__item.is-entering {
        animation: none;
    }
}
