.client-marquee {
  height: 112px;
  position: relative;
}

.client-marquee::before,
.client-marquee::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  width: clamp(24px, 6vw, 90px);
  pointer-events: none;
}

.client-marquee::before {
  left: 0;
  background: linear-gradient(90deg, #fff, transparent);
}

.client-marquee::after {
  right: 0;
  background: linear-gradient(270deg, #fff, transparent);
}

.client-marquee > div {
  align-items: center;
  animation-duration: 42s;
}

.client-marquee .client-logo {
  width: 190px;
  height: 82px;
  margin: 0 14px;
  padding: 8px 14px;
  flex: 0 0 auto;
  justify-content: center;
  border-radius: 12px;
}

.client-marquee .client-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.client-marquee:hover > div {
  animation-play-state: paused;
}

@media (max-width: 700px) {
  .client-marquee {
    height: 92px;
  }

  .client-marquee .client-logo {
    width: 150px;
    height: 66px;
    margin: 0 8px;
    padding: 6px 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .client-marquee > div {
    animation-play-state: paused;
  }
}
