/* --------------------
   Section Video
-------------------- */
.section-video {
  position: relative;
  overflow-x: clip;
}

.section-video__bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  pointer-events: none;
  background-image: var(--section-video-bg);
  background-repeat: no-repeat;
  background-position: top;
  background-size: cover;
}

.section-video__bg--section {
  max-width: 1440px;
  margin: 0 auto;
  background-position: center top;
}

.section-video__bg--media {
  display: none;
}

.section-video__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(to bottom, var(--white) 0%, rgba(255, 255, 255, 0) 100%)
      top / 100% clamp(80px, 18vh, 180px) no-repeat,
    linear-gradient(to top, var(--white) 0%, rgba(255, 255, 255, 0) 100%)
      bottom / 100% clamp(80px, 18vh, 180px) no-repeat,
    linear-gradient(to right, var(--white) 0%, rgba(255, 255, 255, 0) 100%)
      left / clamp(60px, 12vw, 160px) 100% no-repeat,
    linear-gradient(to left, var(--white) 0%, rgba(255, 255, 255, 0) 100%)
      right / clamp(60px, 12vw, 160px) 100% no-repeat;
}

.section-video__bg--media::before {
  background:
    linear-gradient(to bottom, var(--white) 0%, rgba(255, 255, 255, 0) 100%)
      top / 100% clamp(40px, 12vw, 80px) no-repeat,
    linear-gradient(to top, var(--white) 0%, rgba(255, 255, 255, 0) 100%)
      bottom / 100% clamp(40px, 12vw, 80px) no-repeat;
}

.section-video > .container,
.section-video > .video-media {
  position: relative;
}
.section-video > .container {
  z-index: 2;
}
.section-video .section-title .title-heading {
  color: var(--text);
  margin-bottom: 0.75rem;
}

.section-video .editor-content.main-content {
  color: var(--gray);
  font-size: 14px;
  line-height: 1.9;
}
.section-video .readmore-tab-desc span {
  color: var(--text);
  background: unset;
  padding: 0;
}
/* .section-video .editor-content.main-content > *:last-child {
  margin-bottom: 0;
} */

/* Play area over section background */
.section-video .video-media {
  position: relative;
  display: flex;
  align-items: end;
  justify-content: center;
  min-height: 440px;
  /* padding-bottom: 28px; */
}

.section-video .video-play-btn {
  position: relative;
  z-index: 2;
  width: 78px;
  height: 78px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 8px 28px rgba(48, 43, 49, 0.12);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.section-video .video-play-btn:hover,
.section-video .video-play-btn:focus-visible {
  transform: scale(1.06);
  outline: none;
}

.section-video .video-play-btn__inner {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #d4d7e7, #bcbeca, #5d5e64);
  color: var(--white);
}

.section-video .video-play-btn__inner .icon-play {
  font-size: 22px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-inline-start: 2px;
  color: var(--white);
}

/* Features swiper */
.video-features {
  margin-top: 2.5rem;
  padding-bottom: 0.25rem;
}
.video-features::before {
  content: "";
  aspect-ratio: 1;
  pointer-events: none;
  background: radial-gradient(circle, #c6a88a29, #0000 40%);
  height: 300%;
  position: absolute;
  transform: translate(-50%, -50%);
  left: 50%;
  top: 50%;
  z-index: -1;
}
.swiper-video-features .swiper-slide {
  width: 168px;
  margin-left: 10px;
  height: auto;
}

.swiper-video-features .swiper-slide:last-child {
  margin-left: 0;
}
.video-feature-card {
  height: 100%;
  padding: 1rem;
  background: var(--white);
  border-radius: 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.video-feature-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.875rem;
  flex-shrink: 0;
}

.video-feature-card__icon-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.video-feature-card__title {
  display: block;
  color: var(--text);
  font-size: 15px;
  font-variation-settings: "wght" 500;
  line-height: 1.4;
  margin-bottom: 0.375rem;
}

.video-feature-card__desc {
  margin: 0;
  color: var(--color2);
  font-size: 12px;
  line-height: 1.7;
}
.section-video .sw-navigation {
  position: relative;
}
.section-video .sw-navigation::before {
  content: "";
  aspect-ratio: 1;
  pointer-events: none;
  background: radial-gradient(circle, #c6a88a1a, #0000 40%);
  width: 34rem;
  position: absolute;
  transform: translate(-50%, -50%);
  left: 50%;
  top: 50%;
  z-index: -1;
}
@media (width<768px) {
  /* Mobile: use bg inside video-media */
  .section-video:has(.video-media) .section-video__bg--section {
    display: none;
  }

  .section-video__bg--media {
    display: block;
  }

  .section-video .video-media {
    overflow-x: clip;
    margin-top: -6rem;
  }

  .section-video .swiper-video-features {
    overflow: visible;
  }
}
@media (width>=768px) {
  .section-video .editor-content.main-content,
  .section-video .editor-content.main-content p {
    font-size: 16px;
  }

  .section-video .video-media {
    min-height: clamp(320px, 36vw, 480px);
  }

  .section-video .video-play-btn {
    width: 144px;
    height: 144px;
    background: var(--white);
  }

  .section-video .video-play-btn__inner {
    width: 100px;
    height: 100px;
  }

  .section-video .video-play-btn__inner .icon-play {
    font-size: 28px;
  }

  .swiper-video-features .swiper-slide {
    width: 260px;
    margin-left: 20px;
  }

  .video-feature-card__icon {
    width: 62px;
    height: 62px;
    margin-bottom: 1.25rem;
  }

  .video-feature-card__title {
    font-size: 20px;
    margin-bottom: 0.5rem;
  }

  .video-feature-card__desc {
    font-size: 13px;
    line-height: 1.8;
  }

  .video-features .sw-navigation .swiper-nav-next,
  .video-features .sw-navigation .swiper-nav-prev {
    margin-top: 1.75rem;
  }
}

@media screen and (width>= 1200px) {
  .section-video .video-media {
    min-height: 468px;
  }

  .swiper-video-features .swiper-slide {
    width: 229px;
    margin-left: 20px;
  }
}
