/* ================================================================
   About Page CSS
   Component: ab-slide + accomSwiper / accomThumbSwiper
   Loaded only on: Page Template = Giới thiệu
================================================================ */


.ab-thumb {
  position: absolute;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  width: 50%;
  left: 60%;
  z-index: 5;
}

@media screen and (max-width: 768px) {
  .ab-thumb {
    width: 60%;
  }
}

@media screen and (max-width: 650px) {
  .ab-thumb {
    width: 100%;
    position: relative;
    -webkit-transform: none;
    transform: none;
    inset: unset;
    margin-top: 2rem;
  }

  .ab-thumb .swiper {
    min-height: 50vh;
  }

  .ab-thumb .swiper-slide {
    height: auto;
  }

  .ab-thumb-btn {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    height: 4rem;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
    -ms-flex-direction: row-reverse;
    flex-direction: row-reverse;
    gap: 1rem;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin-top: 2rem;
  }

  .ab-thumb-btn-next,
  .ab-thumb-btn-prev {
    position: relative;
    -webkit-transform: none;
    transform: none;
    inset: 0 !important;
    margin: 0 !important;
  }
}

.ab-thumb .swiper-slide {
  height: auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: end;
  -ms-flex-align: end;
  align-items: flex-end;
}


.ab-thumb-ctn::before {
  inset: 0;
  position: absolute;
  content: "";
  border: 1rem solid #ef519e;
}

.ab-thumb-ctn::after {
  position: absolute;
  inset: 0;
  background: #fff;
  content: "";
  z-index: -1;
}

.ab-thumb-ctn .title {
  font-size: 3.8rem;
  font-weight: 700;
  color: #ef519e;
}

@media only screen and (max-width: 1200px) {
  .ab-thumb-ctn .title {
    font-size: 3.4rem;
  }
}

@media only screen and (max-width: 800px) {
  .ab-thumb-ctn .title {
    font-size: 2.6rem;
  }
}

@media only screen and (max-width: 500px) {
  .ab-thumb-ctn .title {
    font-size: 2.4rem;
  }
}

.ab-thumb-btn-next,
.ab-thumb-btn-prev {
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-align-items: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-justify-content: center;
  height: 40px;
  width: 40px;
  overflow: hidden;
  border: 0.1rem solid #ef519e;
  color: #ef519e;
  -webkit-transition: 0.4s ease-in-out;
  transition: 0.4s ease-in-out;
  background: rgba(255, 255, 255, 0.5);
}

@media (hover: hover) {

  .ab-thumb-btn-next:hover,
  .ab-thumb-btn-prev:hover {
    background-color: #ef519e;
    color: #fff;
  }
}

.ab-thumb-btn-next:after,
.ab-thumb-btn-prev:after {
  font-size: 1.6rem;
  font-weight: 600;
}

.ab-thumb-btn-next {
  right: -5rem;
}

.ab-thumb-btn-prev {
  left: -5rem;
}
