/* Shared auto-scrolling logo strip (new_front.components.logo-strip) */
.bt-logos {
    padding: 35px 0 0;
    background: #f9fbfd;
}

.bt-logos--plain {
    padding: 32px 0 8px;
    background: transparent;
}

.bt-logos__shell {
    width: min(1320px, calc(100% - 48px));
    margin-inline: auto;
}

.bt-logos__kicker {
    margin: 0 0 20px;
    color: #8fa4bf;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    line-height: 1.4;
    text-align: center;
    text-transform: uppercase;
}

.bt-logos__band {
    position: relative;
    overflow: hidden;
    padding: 0 0 24px;
    border-bottom: 1px solid #e5edf4;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}

.bt-logos--plain .bt-logos__band {
    border-bottom: 0;
}

.bt-logos__track {
    display: flex;
    width: max-content;
    animation: bt-logos-scroll 42s linear infinite;
}

.bt-logos__band:hover .bt-logos__track {
    animation-play-state: paused;
}

.bt-logos__list {
    display: flex;
    align-items: center;
    gap: clamp(40px, 5vw, 72px);
    margin: 0;
    padding: 0 clamp(20px, 2.5vw, 36px);
    list-style: none;
}

.bt-logos__item {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    height: 66px;
}

.bt-logos__item img {
    display: block;
    width: auto;
    max-width: 160px;
    max-height: 58px;
    object-fit: contain;
}

@keyframes bt-logos-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@media (max-width: 767.98px) {
    .bt-logos {
        padding-top: 27px;
    }

    .bt-logos__shell {
        width: min(100% - 30px, 1320px);
    }

    .bt-logos__band {
        padding-bottom: 18px;
    }

    .bt-logos__item {
        height: 58px;
    }

    .bt-logos__item img {
        max-width: 130px;
        max-height: 48px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bt-logos__track {
        width: auto;
        animation: none;
    }

    .bt-logos__band {
        -webkit-mask-image: none;
        mask-image: none;
    }

    .bt-logos__list {
        flex-wrap: wrap;
        justify-content: center;
        row-gap: 16px;
    }

    .bt-logos__list[aria-hidden="true"] {
        display: none;
    }
}
