/* ==============================
   BLOOPIN FEATURE SLIDER SIMPLE
============================== */

.bp-feature-slider{
  padding: clamp(20px, 6vw, 20px) 0;
  overflow: hidden;
}

.bp-feature-slider__wrap{
  width: min(2040px, calc(100% - 32px));
  margin: 0 auto;
}

.bp-feature-slider__title{
  margin: 0 0 28px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #111;
}

/* ==========================================================
   TITLE SCALE — AFTER HERO
   ========================================================== */

.bp-feature-slider .bp-title-global{
  font-size: clamp(2.2rem, 3.2vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.bp-feature-swiper{
  overflow: visible;
  margin-top:25px;
}

.bp-feature-swiper .swiper-slide{
  height: auto;
}

.bp-feature-card{
  border-radius: 28px;
  background: #F7F2E9;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all .3s ease;

  border: 1px solid rgba(255,255,255,.45);

  box-shadow:
    0 10px 24px rgba(30, 34, 38, .04);
}

.bp-feature-swiper .swiper-slide-active .bp-feature-card{
  transform: translateY(-3px);

  background:#F3EEE5 ;

  box-shadow:
    0 16px 30px rgba(30,34,38,.06);
}

.bp-feature-card__content{
  padding: 26px 24px 0;
  text-align: center;
}

.bp-feature-card__content h3{
  margin: 0 0 10px;
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  line-height: 1.15;
  color: #111;
}

.bp-feature-card__content p{
  margin: 0 auto;
  max-width: 480px;
  font-size: 0.98rem;
  line-height: 1.5;
  color: #2f2f33;
}

.bp-feature-card__media{
  margin-top: 12px;
  padding: 0 16px 16px;
}

.bp-feature-card__media img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
}

.bp-feature-slider__controls{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
}

/* =========================
   PAGINATION
========================= */

.bp-feature-slider__pagination{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: auto !important;

  padding: 10px 16px;

  border-radius: 999px;

  background: rgba(0,0,0,.06);
}

.bp-feature-slider__pagination .swiper-pagination-bullet{
  width: 8px;
  height: 8px;

  border-radius: 999px;

  background: #000000;

  opacity: .4;

  transition: all .25s ease;

  margin: 0 !important;
}

.bp-feature-slider__pagination .swiper-pagination-bullet-active{
  width: 20px;
  opacity: 1;
}

/* =========================
   TOGGLE BUTTON
========================= */

.bp-feature-slider__toggle{
  width: 48px;
  height: 48px;

  border: 0;
  border-radius: 999px;

  background: rgba(0,0,0,.06);

  color: #555;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0;

  cursor: pointer;

  appearance: none;
  -webkit-appearance: none;

  transition:
    background .25s ease,
    transform .25s ease;
}

.bp-feature-slider__toggle:hover{
  background: rgba(0,0,0,.09);
  transform: translateY(-1px);
}

.bp-feature-slider__toggle:disabled{
  opacity: .45;
  cursor: default;
}

/* =========================
   ICONS
========================= */

.bp-feature-slider__icon{
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 22px;
  height: 22px;

  color: #6b7280;

  line-height: 0;
}

.bp-icon-svg{
  width: 20px !important;
  height: 20px !important;

  display: block !important;
  flex: 0 0 20px;

  color: #6b7280;

  overflow: visible !important;
}

/* Play */
.bp-icon-svg--play{
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 2.2 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

/* Reload */
.bp-icon-svg--reload{
  width: 20px;
  height: 20px;

  display: block;

  transform: scale(1.2);
  transform-origin: center;

  filter:
    drop-shadow(0 0 0 currentColor)
    drop-shadow(0 0 0 currentColor);
}

.bp-icon-svg--reload:hover{
  transform: scale(1.25) rotate(-90deg);
  transition: transform .25s ease;
}

/* Pause */
.bp-feature-slider__icon--pause{
  width: 16px;
  height: 16px;
  position: relative;
}

.bp-feature-slider__icon--pause::before,
.bp-feature-slider__icon--pause::after{
  content: "";

  position: absolute;
  top: 0;

  width: 4px;
  height: 16px;

  background: currentColor;

  border-radius: 3px;
}

.bp-feature-slider__icon--pause::before{
  left: 2px;
}

.bp-feature-slider__icon--pause::after{
  right: 2px;
}

.bp-feature-slider__toggle{
  -webkit-tap-highlight-color: transparent;
}

.bp-feature-slider__toggle:focus,
.bp-feature-slider__toggle:focus-visible,
.bp-feature-slider__toggle:active{
  outline: none !important;
  background: #ffffff;
  box-shadow:
    0 0 0 3px rgba(107,114,128,.14),
    0 0 0 6px rgba(107,114,128,.08) !important;
}

@media (max-width: 767px){
  .bp-feature-slider{
    padding: 4px 0 5px;
  }

  .bp-feature-slider__wrap{
    width: calc(100% - 16px);
  }

  .bp-feature-slider__title{
    margin-bottom: 18px;
    font-size: clamp(2rem, 8vw, 2.6rem);
  }

  .bp-feature-card__content{
    padding: 20px 16px 0;
  }

  .bp-feature-card__content h3{
    font-size: 1.3rem;
  }

  .bp-feature-card__content p{
    font-size: 0.92rem;
    max-width: 260px;
  }

  .bp-feature-card__media{
    margin-top: 6px;
    padding: 0 10px 12px;
  }

  .bp-feature-card__media img{
    border-radius: 14px;
  }

  .bp-feature-slider__controls{
    margin-top: 18px;
  }
}

.bp-feature-card__media--lottie{
  margin-top: 12px;
  padding: 0 16px 16px;
}

.bp-feature-card__lottie-frame{
  position: relative;
  width: 100%;
  aspect-ratio: 900 / 520;
  overflow: hidden;
  border-radius: 18px;
  background: transparent;
}

.bp-feature-card__lottie-frame::before{
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: var(--bp-card-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.bp-feature-card__lottie-frame lottie-player{
  position: absolute;
  z-index: 1;
  width: 120%;
  height: 120%;
  top: -5%;
  left: -5%;
  display: block;
  pointer-events: none;
}