.clients.clients-marquee {
  max-width: 1200px;
  padding-block: 26px;
}

.clients-marquee h2 {
  margin: 8px 0 12px;
}

.clients-pause-input {
  vertical-align: middle;
  margin: 0 3px 0 0;
}

.clients-pause {
  color: #4d6075;
  font-size: .75rem;
  cursor: pointer;
}

.clients-rows {
  display: grid;
  gap: 4px;
  margin-top: 10px;
}

.clients-row {
  overflow: hidden;
  min-width: 0;
}

.clients-track {
  display: flex;
  width: max-content;
  animation: stpg-clients-scroll 80s linear infinite;
}

.clients-row:nth-child(odd) .clients-track {
  animation-direction: reverse;
}

.clients-marquee .clients-group {
  display: flex;
  flex: none;
  gap: 0;
  margin: 0;
  padding: 0;
}

.clients-marquee .client-reference {
  box-sizing: border-box;
  flex: none;
  width: clamp(132px, 14vw, 174px);
  min-height: 55px;
  padding: 3px 8px;
}

.clients-marquee .client-reference img {
  width: 128px;
  height: 42px;
}

.clients-marquee .client-reference-symbol img {
  width: 30px;
  height: 28px;
}

.clients-marquee .client-reference-caption {
  margin-top: 1px;
}

.clients-marquee .client-reference-name {
  font-size: 13px;
  line-height: 1.25;
}

.clients-pause-input:checked ~ .clients-rows .clients-track {
  animation-play-state: paused;
}

@media (hover: hover) {
  .clients-rows:hover .clients-track {
    animation-play-state: paused;
  }
}

@keyframes stpg-clients-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (max-width: 600px) {
  .clients.clients-marquee {
    padding-block: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .clients-marquee .clients-pause-input,
  .clients-marquee .clients-pause,
  .clients-marquee .clients-group[aria-hidden="true"] {
    display: none;
  }

  .clients-marquee .clients-track {
    animation: none;
    width: auto;
  }

  .clients-marquee .clients-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(120px, 100%), 1fr));
    width: 100%;
  }

  .clients-marquee .client-reference {
    width: auto;
  }
}
