.custom-gsap-slider-wrapper {
  max-width: 100%;
  overflow: hidden;
  text-align: left;
  position: relative; /* for buttons & pagination absolute positioning */
}

/* Slides container */
.custom-gsap-slider {
  position: relative;
  height: 320px;
 display: flex;
 align-items: center;
}

/* Individual slides */
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  display: flex;
	flex-direction: column;
  align-items: center;
 gap: 20px;
}
.slide.active {
  opacity: 1;
  pointer-events: auto;
}

/* Slide content */
.slide-text {
  font-size: 32px;
  margin-bottom: 10px;
  color: #fff;
  width: 75%;
  text-align: center;
  font-weight: 300;
	font-family: 'Rubik';
}

.slide-author {
  font-size: 16px;
	font-family: 'Rubik';
  color: #666;
  display: flex;
  align-items: center;
  gap: 8px;
}

      .author-line-wrapper {
        display: inline-block;
        width: 20px; /* fixed width container */
        height: 2px;
        position: relative; /* so line stays inside */
        overflow: hidden; /* hide shrinking line ends */
      }

      .author-line {
        display: block;
        width: 100%; /* full width of wrapper */
        height: 2px;
        background: #666;
        transform-origin: left;
      }

/* Navigation buttons */
.nav {
  z-index: 1000; /* above slides */
  display: flex;
  gap: 20px;
  justify-content: right;
  padding-right: 40px;
	margin-bottom: 60px;
}

.nav img.prev,
.nav img.next {
    height: 58px;
    width: 58px;
	cursor: pointer;
}

.nav img.prev:hover,
.nav img.next:hover {
  opacity: 0.8; /* simple hover effect */
}

/* Pagination */
.slider-pagination {
	position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0; /* no gap between lines */
}



      .pagination-line {
        width: 120px;
        height: 1px;
        background: #ffffff33;
		  cursor: pointer;
      }

      .pagination-active {
        position: absolute;
        top: 0;
        left: 0;
        width: 120px;
        height: 1px;
        background: #ffffff;
        transform: translateX(0); /* start position */
      }
.pagination-line:hover {
  background: #ffffff60;

}

@media (max-width: 768px) {
	.custom-gsap-slider {
  height: 400px;

}
	
	/* Slide content */
.slide-text {
  font-size: 18px;
  width: 85%;
}

.slide-author {
  font-size: 14px;
}
	
.nav img.prev,
.nav img.next {
    height: 28px;
    width: 28px;
}

	      .pagination-line {
        width: 60px;
      }

      .pagination-active {
        width: 60px;

      }
}

