/* ------------------------------------------------------------------ */
/* 1. CONTAINERS – keep the left side flush, let the right overflow   */
/* ------------------------------------------------------------------ */
.feature-swiper-wrapper {
  position: relative;
  width: 100%;
  margin: 100px 0;
}
.feature-swiper-wrapper img {
  width: 100%;
  height: auto;
}
/* .feature-swiper-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100vw; 
  pointer-events: none;
  background: transparent;
} */

.feature-swiper-wrapper .feature-slider-container {
  position: relative;
  width: 100vw;
  margin-left: calc(-1 * (100vw - 100%) / 2);
  padding-left: calc((100vw - 1260px) / 2 + 20px);
  padding-right: 0;
}
@media (max-width: 1260px) {
  .feature-slider-container {
    margin-left: -20px;
    padding-left: 20px;
  }
}

/* ------------------------------------------------------------------ */
/* 2. SWIPER – visible overflow only on the right                    */
/* ------------------------------------------------------------------ */
.feature-swiper-wrapper .feature-swiper {
  max-width: 1260px;
  width: 100%;
  margin: 0 auto;
  padding-left: 20px;
  /* overflow: visible !important; */
}

/* ------------------------------------------------------------------ */
/* 3. PROGRESS BAR – stays inside the 1260 px content area           */
/* ------------------------------------------------------------------ */
.feature-swiper-wrapper .swiper-custom-progress {
  max-width: 1260px;
  margin: 30px auto 0;
  padding: 0 20px;
}
.progress-bar-container {
  height: 6px;
  background: #e0e0e0;
  border-radius: 3px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
}
.progress-bar-fill {
  position: absolute;
  height: 100%;
  background: #004676;
  border-radius: 3px;
  transition: width 0.3s ease, left 0.3s ease;
}

/* ------------------------------------------------------------------ */
/* 4. SLIDE STYLING (unchanged)                                      */
/* ------------------------------------------------------------------ */
.feature-swiper-wrapper .s-feature {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.feature-swiper-wrapper .s-feature .button {
  width: 300px;
  text-align: center;
  background-color: #004676;
  border-radius: 10px;
  margin-top: auto;
}

.feature-swiper-wrapper .s-feature .media-container,
.feature-swiper-wrapper .s-feature .media-container {
  height: 270px;
  border-radius: 20px;
}
.feature-swiper-wrapper .s-feature .media-container img,
.feature-swiper-wrapper .s-feature .media-container video {
  width: 100%;
  height: 100%;
  border-radius: 20px;
}
@media screen and (max-width: 1000px) {
  .feature-swiper-wrapper .s-feature .media-container,
  .feature-swiper-wrapper .s-feature .media-container {
    height: 400px;
  }
  .feature-swiper-wrapper .s-feature {
    min-height: 800px;
  }
  .feature-swiper-wrapper .s-feature h3 {
    min-height: 80px;
  }
}
