.anchico-marquee-container {
  overflow: hidden;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.anchico-marquee {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.anchico-marquee-content {
  display: flex;
  align-items: center;
  animation: marquee-scroll 20s linear infinite;
  white-space: nowrap;
  height: 100%;
  flex-shrink: 0;
  width: auto;
  will-change: transform;
}

.anchico-marquee-section {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  height: 100%;
}

.anchico-marquee-item {
  display: inline-flex;
  align-items: center;
  padding: 0 calc(var(--item-spacing, 30px) / 2);
  height: 100%;
  flex-shrink: 0;
}

.anchico-marquee-text {
  font-size: 16px;
  white-space: nowrap;
  flex-shrink: 0;
}

.anchico-marquee-image {
  height: auto;
  max-height: 100%;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}

@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  } /* Exactly half, since we have 2 identical sections */
}

/* Ensure proper spacing on small screens */
@media (max-width: 768px) {
  .anchico-marquee-item {
    padding: 0 calc(var(--item-spacing, 30px) / 3);
  }
}
