.trusted-partners {
    background: #0d1014;
    border-top: 1px solid #2e343b;
}

.trusted-partners-accessible {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.trusted-partners-marquee {
    width: 100%;
    margin-top: 42px;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.trusted-partners-track {
    display: flex;
    width: max-content;
    animation: trusted-partners-scroll 28s linear infinite;
    will-change: transform;
}

.trusted-partners-group {
    display: flex;
    align-items: stretch;
    gap: 34px;
    padding-right: 34px;
}

.trusted-partners-group article {
    display: flex;
    width: clamp(250px, 21vw, 320px);
    min-height: 210px;
    padding: 28px 20px 22px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: transparent;
    border: 1px solid #343b44;
    border-bottom: 4px solid #ed1031;
}

.trusted-partners-group img {
    width: 100%;
    height: 105px;
    object-fit: contain;
    background: transparent;
}

.trusted-partners-group p {
    margin: 22px 0 3px;
    color: #fff;
    font-weight: 800;
    line-height: 1.3;
}

.trusted-partners-group span {
    color: #aeb5be;
    font-size: .875rem;
}

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

.trusted-partners-empty {
    max-width: 570px;
    margin: 36px 0 0;
    padding: 24px;
    border-left: 3px solid #ed1031;
    background: #15191e;
}

@media (max-width: 520px) {
    .trusted-partners-marquee {
        margin-left: -6vw;
        width: calc(100% + 12vw);
    }

    .trusted-partners-group {
        gap: 10px;
        padding-right: 10px;
    }

    .trusted-partners-group article {
        width: 170px;
        min-height: 175px;
        padding: 20px 12px 16px;
    }

    .trusted-partners-group img {
        height: 78px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .trusted-partners-track {
        animation-play-state: paused;
    }
}
