.biy-clients-carousel {
    --biycc-gap: clamp(28px, 5vw, 78px);
    --biycc-logo-height: clamp(36px, 5vw, 76px);
    --biycc-muted: 0.2;
    --biycc-active: 0.42;
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #fff;
    padding: clamp(28px, 4vw, 48px) 0;
}

.biy-clients-carousel__viewport {
    width: 100%;
    overflow: hidden;
    cursor: grab;
    touch-action: pan-y;
    user-select: none;
}

.biy-clients-carousel__viewport:active {
    cursor: grabbing;
}

.biy-clients-carousel__track {
    display: flex;
    align-items: center;
    will-change: transform;
    transform: translate3d(0, 0, 0);
}

.biy-clients-carousel__item {
    flex: 0 0 calc(100% / var(--biycc-per-view, 5));
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: var(--biycc-logo-height);
    padding: 0 calc(var(--biycc-gap) / 2);
    color: inherit;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

.biy-clients-carousel__item img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: var(--biycc-logo-height);
    object-fit: contain;
    filter: grayscale(1);
    opacity: var(--biycc-muted);
    transition: opacity 180ms ease, transform 180ms ease;
    pointer-events: none;
}

.biy-clients-carousel__item:is(:hover, :focus-visible) img {
    opacity: var(--biycc-active);
    transform: translateY(-1px);
}

@media (max-width: 767px) {
    .biy-clients-carousel {
        --biycc-gap: 30px;
        --biycc-logo-height: 54px;
        padding: 24px 0;
    }
}
