.trusted__marquee {
  --trusted-gap: 64px;
  position: relative;
  margin-top: 48px;
  overflow: hidden;
  -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%);
}

.trusted__track {
  display: flex;
  width: max-content;
  animation: trusted-marquee 40s linear infinite;
  will-change: transform;
}

.trusted__marquee:hover .trusted__track {
  animation-play-state: paused;
}

.trusted__set {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: var(--trusted-gap);
  margin: 0;
  padding: 0 var(--trusted-gap) 0 0;
  list-style: none;
}

.trusted__logo {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  height: 96px;
}

.trusted__logo img {
  display: block;
  width: auto;
  max-width: 220px;
  height: auto;
  max-height: 64px;
  -webkit-user-drag: none;
  user-select: none;
  pointer-events: none;
}

.trusted__logo--square img {
  max-height: 84px;
}

@keyframes trusted-marquee {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@media (max-width: 575px) {
  .trusted__marquee {
    --trusted-gap: 40px;
    margin-top: 36px;
  }

  .trusted__track {
    animation-duration: 30s;
  }

  .trusted__logo {
    height: 76px;
  }

  .trusted__logo img {
    max-width: 170px;
    max-height: 52px;
  }

  .trusted__logo--square img {
    max-height: 68px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .trusted__marquee {
    -webkit-mask-image: none;
    mask-image: none;
  }

  .trusted__track {
    width: auto;
    animation: none;
  }

  .trusted__set {
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px var(--trusted-gap);
    width: 100%;
    padding: 0;
  }

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