/* STUDY section: horizontal marquee slider */

.study .marquee {
  overflow: hidden;
  position: relative;
}

/* The moving strip */
.study .track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: study-marquee 40s linear infinite;
  animation-play-state: paused;
  transition: none !important;        /* override Swiper CSS transition */
}

/* Start animation only when section is visible */
.study.active .track {
  animation-play-state: running;
}

/* Individual slides */
.study .slide,
.study .swiper-slide {
  flex: 0 0 auto;
  width: auto !important;
  height: auto !important;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
}

/* Scrollbar (hidden) */
.swiper-scrollbar {
  height: 6px;
  background: rgba(0, 0, 0, 0) !important;
  border-radius: 10px;
}

.swiper-scrollbar-drag {
  background: rgb(255, 255, 255) !important;
  border-radius: 10px;
}

/* Text inside slide */
.slide-item-content-text {
  font-weight: 600;
  font-size: 12px;
}

/* Seamless loop: move left by half (content is duplicated by JS) */
@keyframes study-marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
