#tg-sponsors .slider-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  margin: 30px auto;
}
#tg-sponsors .slider-track {
  display: flex;
  width: max-content;
  animation: sponsorsScrollLeft 30s linear infinite;
}
@keyframes sponsorsScrollLeft {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
#tg-sponsors .category-group {
  padding: 0 20px;
  border-right: 2px solid #ccc;
}
#tg-sponsors .category-name-container {
  width: 100%;
  text-align: left;
}
#tg-sponsors .category-name-container .category-name {
  width: auto !important;
  padding-right: 5%;
  white-space: nowrap;
}
#tg-sponsors .group-slides {
  display: flex;
  flex-direction: row;
}
#tg-sponsors .slide {
  min-width: 150px;
  padding: 10px;
  text-align: center;
}
#tg-sponsors .slide img {
  width: 100%;
  height: 75px;
  object-fit: contain;
}
@media (max-width: 768px) {
  #tg-sponsors .slide { min-width: 120px; }
}
@media (max-width: 480px) {
  #tg-sponsors .category-group {
    flex-direction: column;
    align-items: flex-start;
  }

  #tg-sponsors .group-slides {
    display: flex;
    flex-direction: column; /* Stack logos vertically */
    padding: 0;
    margin: 0;
    width: 100%;
  }

  #tg-sponsors .slide {
    width: 100%;
    padding: 3px 0;
    box-sizing: border-box;
    text-align: left;
    display: flex;
    align-items: center;
  }

  #tg-sponsors .slide img {
    width: 200px;      /* Fixed width */
    height: 120px;      /* Fixed height */
    object-fit: contain;
  }
}

