/* Video Swiper Custom Styles */
.videoSwiper {
  padding: 0;
}

.videoSwiper .swiper-wrapper {
  cursor: grab;
}

.videoSwiper .swiper-wrapper:active {
  cursor: grabbing;
}

.video-thumb.active::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid var(--color-secondary);
  pointer-events: none;
}

/* News Swiper Custom Styles */
/* ==== CẤU HÌNH CHUNG ==== */
.newsSwiper .swiper-wrapper {
  cursor: grab;
}

.newsSwiper .swiper-wrapper:active {
  cursor: grabbing;
}

.slide-anim {
  transition: all 0.45s ease-in-out;
  transform-origin: center;
}

/* === HIỆU ỨNG XOAY & TRƯỢT TRÁI – PHẢI === */
.slide-in-right-rotate {
  transform: translateX(100%) rotate(15deg) scale(0.9);
  opacity: 0;
  transition: all 0.7s ease-in-out;
}

.slide-out-left-rotate {
  transform: translateX(-100%) rotate(-15deg) scale(1.1);
  opacity: 0;
  transition: all 0.7s ease-in-out;
}

.slide-in-left-rotate {
  transform: translateX(-100%) rotate(-15deg) scale(0.9);
  opacity: 0;
  transition: all 0.7s ease-in-out;
}

.slide-out-right-rotate {
  transform: translateX(100%) rotate(15deg) scale(1.1);
  opacity: 0;
  transition: all 0.7s ease-in-out;
}

/* === HIỆU ỨNG ZOOM & LÊN/XUỐNG === */
.zoom-in-up {
  transform: translateY(80%) scale(0.8);
  opacity: 0;
  transition: all 0.7s ease-in-out;
}

.zoom-out-down {
  transform: translateY(-80%) scale(1.2);
  opacity: 0;
  transition: all 0.7s ease-in-out;
}

.zoom-in-down {
  transform: translateY(-80%) scale(0.8);
  opacity: 0;
  transition: all 0.7s ease-in-out;
}

.zoom-out-up {
  transform: translateY(80%) scale(1.2);
  opacity: 0;
  transition: all 0.7s ease-in-out;
}

/* === HIỆU ỨNG XOAY & LÊN/XUỐNG === */
.rotate-in-up {
  transform: translateY(80%) rotate(-10deg) scale(0.9);
  opacity: 0;
  transition: all 0.7s ease-in-out;
}

.rotate-out-down {
  transform: translateY(-80%) rotate(10deg) scale(1.1);
  opacity: 0;
  transition: all 0.7s ease-in-out;
}

.rotate-in-down {
  transform: translateY(-80%) rotate(10deg) scale(0.9);
  opacity: 0;
  transition: all 0.7s ease-in-out;
}

.rotate-out-up {
  transform: translateY(80%) rotate(-10deg) scale(1.1);
  opacity: 0;
  transition: all 0.7s ease-in-out;
}

/* === SLIDE ĐANG HIỂN THỊ === */
.active-slide {
  transform: translate(0, 0) rotate(0) scale(1);
  opacity: 1;
  transition: all 0.7s ease-in-out;
}

.animate__animated {
  animation-duration: 1s;
  animation-fill-mode: both;
}

.animate__zoomIn {
  animation-name: zoomIn;
}

/* why */
.why {
  background: url("https://vuakiengbentre.com/plugins/images/bg_tc.png") 0% 0% / cover no-repeat;
}

.why__flex--col {
  padding: 20px;
}

.choose_icon {
  flex: 0 0 150px;
  -ms-flex: 0 0 150px;
  max-width: 150px;
  height: 150px;
  background-color: var(--color-primary);
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 5px;
  outline: 1px solid #fff;
  outline-offset: -5px;
  transition: 0.3s ease-in-out;
}

.choose {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
}

.why_free {
  display: none;
}

.whyDesc {
  padding: 50px 0;
  background: var(--color-primary);
  color: #fff;
  position: relative;
}

/* featured */
.featured-title {
  position: relative;
  display: inline-block;
  padding-bottom: 8px;
}

.featured-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 70px;
  height: 2px;
  background-color: #333;
}

@media (min-width: 1300px) {
  .why__cirle {
    position: absolute;
    bottom: 0px;
    left: 50%;
    width: 100%;
    max-width: 836px;
    transform: translateX(-50%);
  }

  .why__cirle::before {
    display: block;
    content: "";
    width: 100%;
    padding-top: 50%;
    position: absolute;
    left: 0px;
    right: 0px;
    bottom: 0px;
    outline-offset: 7px;
    border-width: 5px 5px 0px;
    border-style: solid solid solid;
    border-color: rgb(0, 0, 0) rgb(0, 0, 0) rgb(0, 0, 0);
    border-image: initial;
    border-bottom: 0px;
    outline: rgba(0, 0, 0, 0.6) dashed 2px;
    border-radius: 50% / 100% 100% 0% 0%;
  }

  .choose {
    max-width: 330px;
    display: flex;
    align-items: center;
  }

  .why__flex {
    margin: 0 -20px;
  }

  .why__flex--col {
    padding: 0 20px;
  }

  .choose.choose-0 .choose_icon,
  .choose.choose-2 .choose_icon,
  .choose.choose-4 .choose_icon {
    order: 2;
  }

  .choose.choose-0 .choose_info,
  .choose.choose-2 .choose_info,
  .choose.choose-4 .choose_info {
    order: 1;
    padding-right: 10px;
    padding-left: 0;
  }

  .choose.choose-1 .choose_info,
  .choose.choose-3 .choose_info,
  .choose.choose-5 .choose_info {
    padding-left: 10px;
    padding-right: 0;
  }

  .choose_info {
    flex: 0 0 calc(100% - 150px);
    -ms-flex: 0 0 calc(100% - 150px);
    max-width: calc(100% - 150px);
  }

  .choose.choose-0 {
    margin-left: calc(100% - 340px);
  }

  .choose.choose-5 {
    margin-left: calc(100% - 290px);
  }

  .choose.choose-2 {
    margin-left: 100px;
    margin-top: -30px;
    margin-bottom: 30px;
  }

  .choose.choose-3 {
    margin-left: 190px;
    margin-top: -30px;
    margin-bottom: 30px;
  }

  .why_free {
    display: block;
  }
}