/* Animation - Now handled by JavaScript for dynamic content */
/*  Styling  */
.ticker-container .ticker-tape {
  height: auto;
  margin: auto;
  overflow: hidden;
  position: relative;
  width: 100%;
  background-color: #fff;
  border-radius: 10px;
  margin-top: 20px;
}

.ticker-container .ticker-tape:before, .ticker-container .ticker-tape:after {
  background: linear-gradient(to right, white 0%, rgba(255, 255, 255, 0) 100%);
  content: "";
  height: 100px;
  position: absolute;
  width: 200px;
  z-index: 2;
}

.ticker-container .ticker-tape:after {
  right: 0;
  top: 0;
  transform: rotateZ(180deg);
}

.ticker-container .ticker-tape:before {
  left: 0;
  top: 0;
}

.ticker-container .slide-track {
  display: flex;
  /* Width and animation now set dynamically by JavaScript */
}

.ticker-container div.slide {
  padding: 10px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-shrink: 0; /* Prevent slides from shrinking */
}

.ticker-container div.slide img {
  max-height: 60px;
  width: auto;
  object-fit: contain;
}