.marquee-container {
  display: flex;
  overflow: hidden;
  width: 100%;
  position: relative;
  margin-bottom: 64px;
}

.edge-fade {
  position: absolute;
  height: 100%;
  width: 128px;
  pointer-events: none;
  z-index: 10;
}

.edge-fade--left {
  left: 0;
  background: linear-gradient(to right, white, transparent);
}

.edge-fade--right {
  right: 0;
  background: linear-gradient(to left, white, transparent);
}

.marquee-track {
  display: flex;
  flex-wrap: nowrap;
  animation: marquee 60s linear infinite;
}

.partner-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 256px;
  flex-shrink: 0;
  padding: 16px;
  padding-inline: 32px;
  transition: transform 0.3s ease;
}
.partner-logo:hover {
  transform: scale(1.1);
}

.logo-frame {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  overflow: hidden;
}

.logo-frame img {
  width: 100%;
  height: 100%;
  max-height: 128px;
  object-fit: contain;
}

@media (max-width: 768px) {
  .marquee-track {
    animation: marquee 24s linear infinite;
  }

  .partner-logo {
    width: 164px;
    padding-inline: 8px;
  }

  .logo-frame img {
    max-height: 72px;
  }
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
