/* Logo Marquee Carousel — frontend styles */

.lm-wrap {
  display: flex;
  gap: 20px;
  max-width: 760px;
  margin: 0 auto;
  height: 640px;
  overflow: hidden;
  padding: 20px 0;
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    black 8%,
    black 92%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    black 8%,
    black 92%,
    transparent 100%
  );
}

.lm-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.lm-col-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.lm-dir-up .lm-col-inner {
  animation-name: lm-scroll-up;
}

.lm-dir-down .lm-col-inner {
  animation-name: lm-scroll-down;
}

.lm-pause-on-hover:hover .lm-col-inner {
  animation-play-state: paused;
}

@keyframes lm-scroll-up {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-50%);
  }
}

@keyframes lm-scroll-down {
  from {
    transform: translateY(-50%);
  }
  to {
    transform: translateY(0);
  }
}

.lm-card {
  background: #fff;
  border: 1px solid #c9d4f7;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(20, 30, 70, 0.05);
  padding: 22px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 170px;
  flex-shrink: 0;
}

.lm-card img {
  max-width: 100%;
  max-height: 70px;
  object-fit: contain;
}

.lm-card .lm-placeholder {
  font-family: sans-serif;
  font-size: 0.85rem;
  color: #8a93ab;
  text-align: center;
}

@media (max-width: 700px) {
  .lm-wrap {
    height: 480px;
  }
  .lm-card {
    min-height: 120px;
    padding: 14px;
  }
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .lm-col-inner {
    animation: none !important;
  }
}
