.elfy-lm-wrap{
  width: 100%;
  padding: 24px 0;
  text-align: center;
}

.elfy-lm-title{
  font-size: 42px;
  font-weight: 500;
  margin-bottom: 16px;
  color: #111;
  font-family: "Instrument Serif", serif !important;
}

.elfy-lm-divider{
  height: 1px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 16px auto;
  background: rgba(0,0,0,.08);
}

.elfy-lm-viewport{
  width: 100%;
  overflow: hidden;
  position: relative;
}

.elfy-lm-track{
  display: flex;
  align-items: center;
  width: max-content;
  gap: 54px;
  animation: elfyMarquee var(--elfyLmDuration, 28s) linear infinite;
  animation-direction: var(--elfyLmDirection, normal);
  will-change: transform;
}

.elfy-lm-item{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  opacity: .95;
  transition: opacity .2s ease;
}

.elfy-lm-item:hover{
  opacity: 1;
}

.elfy-lm-item img{
  height: 34px;
  width: auto;
  display: block;
  object-fit: contain;
  filter: none;
}

/* Pause on hover */
.elfy-lm-wrap.is-pause:hover .elfy-lm-track{
  animation-play-state: paused;
}

/* Continuous seamless movement:
   track contains two sets of logos, so translate by 50% */
@keyframes elfyMarquee{
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Responsive tweaks */
@media (max-width: 767px){
  .elfy-lm-title{ font-size: 22px; }
  .elfy-lm-item{ min-width: 90px; }
}
