/* Infinite logo cloud — vanilla logo-cloud-3 port */

.vr-logo-cloud-section {
  border-top: 1px solid var(--border-quiet);
  background: var(--surface-slate);
}

.vr-logo-cloud-section .container {
  max-width: 48rem;
}

.vr-logo-cloud-section__header {
  text-align: center;
  margin-bottom: 0.5rem;
}

.vr-logo-cloud-section__header .vr-display-lg {
  margin-bottom: 0.75rem;
}

.vr-logo-cloud-section__header .vr-body {
  margin-left: auto;
  margin-right: auto;
  max-width: 36rem;
  color: var(--text-secondary);
}

.vr-logo-cloud__rule {
  height: 1px;
  max-width: 20rem;
  margin: 1.25rem auto;
  background: var(--border-quiet);
  mask-image: linear-gradient(to right, transparent, #000 20%, #000 80%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 20%, #000 80%, transparent);
}

.vr-logo-cloud {
  overflow: hidden;
  padding: 1rem 0 1.25rem;
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.vr-logo-cloud__track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 2.625rem;
  animation: vr-logo-cloud-marquee var(--logo-cloud-duration, 55s) linear infinite;
  will-change: transform;
}

.vr-logo-cloud:hover .vr-logo-cloud__track,
.vr-logo-cloud.is-paused .vr-logo-cloud__track {
  animation-play-state: paused;
}

@keyframes vr-logo-cloud-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.vr-logo-cloud__item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 7rem;
  height: 4.5rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid transparent;
  border-radius: 0.75rem;
  background: transparent;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    opacity 0.2s ease;
}

@media (min-width: 768px) {
  .vr-logo-cloud__item {
    min-width: 9rem;
    height: 5.5rem;
    padding: 0.65rem 1rem;
  }
}

.vr-logo-cloud__item:hover,
.vr-logo-cloud__item:focus-visible {
  border-color: var(--border-quiet);
  background: color-mix(in srgb, var(--canvas) 40%, transparent);
  outline: none;
}

.vr-logo-cloud__item:focus-visible {
  border-color: var(--tv-mint);
}

.vr-logo-cloud__item img {
  display: block;
  max-height: 2.75rem;
  max-width: 8.5rem;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0.88;
  filter: brightness(1.05);
  transition: opacity 0.2s ease;
}

@media (min-width: 768px) {
  .vr-logo-cloud__item img {
    max-height: 3.25rem;
    max-width: 10rem;
  }
}

.vr-logo-cloud__item:hover img,
.vr-logo-cloud__item:focus-visible img {
  opacity: 1;
}

.vr-logo-cloud-section__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 1.75rem;
}

.vr-logo-cloud-section__hint {
  margin-top: 0.75rem;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

@media (prefers-reduced-motion: reduce) {
  .vr-logo-cloud {
    mask-image: none;
    -webkit-mask-image: none;
    overflow: visible;
  }

  .vr-logo-cloud__track {
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    max-width: 40rem;
    margin: 0 auto;
    gap: 1rem 1.5rem;
    animation: none;
    transform: none;
  }

  .vr-logo-cloud__track [data-logo-cloud-clone] {
    display: none;
  }
}
