.nlm-logo-marquee {
  overflow: hidden;
  width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.nlm-logo-track {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  animation: nlmLogoMarquee 28s linear infinite;
}
.nlm-logo-marquee:hover .nlm-logo-track {
  animation-play-state: paused;
}
.nlm-logo-item {
  flex: 0 0 228px;
  width: 228px;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 88px;
  padding: 0 28px;
  background: var(--color-text-light);
  border: 1px solid #e2e9f1;
  border-radius: 14px;
  box-shadow: 0 12px 34px -18px rgba(16, 42, 68, 0.28);
}
.nlm-logo-item img {
  height: 56px;
  width: auto;
  max-width: 170px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.6;
  transition:
    filter 0.35s ease,
    opacity 0.35s ease,
    transform 0.35s ease;
}
.nlm-logo-item:hover img {
  filter: grayscale(0);
  opacity: 1;
  transform: translateY(-2px);
}
@keyframes nlmLogoMarquee {
  0% {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-50% - 14px));
  }
}
@media (prefers-reduced-motion: reduce) {
  .nlm-logo-track {
    animation: none;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
  }
}
