.brands-marquee { padding: 3rem 0; background: #f3f4f6; border-block: 1px solid #e5e7eb; }
.brands-marquee__viewport:focus-visible { outline: 3px solid #c2410c; outline-offset: 4px; }
.brands-marquee__viewport { width: 100%; overflow-x: auto; padding-block: .25rem .75rem; }
.brands-marquee.is-ready .brands-marquee__viewport { overflow-x: hidden; mask-image: linear-gradient(to right, transparent, #000 3%, #000 97%, transparent); }
.brands-marquee__track { display: flex; width: max-content; max-width: none; }
.brands-marquee.is-ready .brands-marquee__track { animation: brands-marquee-scroll var(--brand-scroll-duration, 240s) linear infinite; will-change: transform; }
.brands-marquee__group { display: flex; flex: 0 0 auto; align-items: center; gap: 1.25rem; margin: 0; padding: 0 1.25rem 0 0; list-style: none; max-width: none; }
.brands-marquee__group li { display: flex; flex: 0 0 172px; align-items: center; justify-content: center; width: 172px; height: 76px; max-width: none; padding: .75rem; border: 1px solid #e5e7eb; border-radius: .75rem; background: #fff; color: #374151; text-align: center; font-size: 1.125rem; line-height: 1.3; font-weight: 700; white-space: nowrap; }
.brands-marquee__logo { display: block; flex-shrink: 0; width: 128px; height: 48px; object-fit: contain; }
/* Official white marks need their dark monochrome rendering on the white tiles. */
.brands-marquee__logo--monochrome { filter: brightness(0); }
@keyframes brands-marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (max-width: 639px) {
  .brands-marquee { padding-block: 2.5rem; }
  .brands-marquee__group li { flex-basis: 148px; width: 148px; height: 68px; font-size: 1rem; }
  .brands-marquee__logo { width: 112px; height: 44px; }
}
@media (prefers-reduced-motion: reduce), print {
  .brands-marquee.is-ready .brands-marquee__viewport { overflow-x: auto; mask-image: none; }
  .brands-marquee.is-ready .brands-marquee__track { animation: none; transform: none; will-change: auto; }
  .brands-marquee__group[aria-hidden="true"] { display: none; }
}
