/* =============================================================================
   HOMEPAGE — BRAND LOGO TICKER
   Continuous auto-scrolling marquee. Track is rendered twice in the markup;
   animating the first half's width (-50%) creates a seamless loop.
   ============================================================================= */

.co-logo-ticker {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 5%, #000 95%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0, #000 5%, #000 95%, transparent 100%);
}

.co-logo-ticker__track {
    display: flex;
    align-items: center;
    width: max-content;
    gap: 3.5rem;
    animation: co-logo-ticker-scroll 60s linear infinite;
}

.co-logo-ticker__item {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 2.5rem;
}

.co-logo-ticker__item img {
    height: 100%;
    width: auto;
    max-width: 9rem;
    object-fit: contain;
}

@keyframes co-logo-ticker-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

@media screen and (max-width: 600px) {
    .co-logo-ticker__track {
        gap: 2.25rem;
        animation-duration: 42s;
    }

    .co-logo-ticker__item {
        height: 2rem;
    }

    .co-logo-ticker__item img {
        max-width: 6.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .co-logo-ticker__track {
        animation: none;
    }
    .co-logo-ticker {
        overflow-x: auto;
        -webkit-mask-image: none;
        mask-image: none;
    }
}
