/* Carousel animation - active on all screens */
.trust-carousel-wrapper {
    /* Symmetry-safe breakout logic */
    width: 100vw !important;
    margin-inline: calc(50% - 50vw) !important;
    position: relative !important;
    left: 0 !important;
    transform: none !important;

    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
}

.trust-names {
    display: inline-flex !important;
    width: max-content;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    align-items: center !important;
    column-gap: 3.5rem;
    /* Increased spacing between names */
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    perspective: 1000px;
    -webkit-perspective: 1000px;
    animation: scroll-carousel 60s linear infinite;
    padding: 0;
}

.trust-names span {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    font-size: 1.3rem;
    /* Original font size */
    color: var(--text-dim);
    transition: color 0.2s ease;
}

/* Removed hover effects */

.trust-names img {
    height: 23px;
    width: auto;
    margin-right: 8px;
    /* Exactly 8px gap */
    /* Specialized filter to force all icons (including black) to a uniform gray */
    filter: invert(0.5) grayscale(1) opacity(0.6);
}

/* Explicitly disable hover effects */
.trust-names span:hover {
    color: var(--text-dim) !important;
    cursor: default;
}

.trust-names span:hover img {
    filter: invert(0.5) grayscale(1) opacity(0.6) !important;
}

/* Pause removal if user meant that? No, user said "hover effects", usually visual. */
/* But some carousels pause on hover. Use this if requested:
.trust-names:hover {
    animation-play-state: paused;
}
*/

@keyframes scroll-carousel {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(calc(-50% - 1.75rem));
        /* Adjust for half the gap */
    }
}