/* =========================
   ABS Testimonial Carousel
   Reference testimonial card style
   ========================= */

.abs-tstc-swiper{
  overflow: hidden;
}

.abs-tstc-swiper:not(.swiper-initialized) .swiper-wrapper{
  display: block;
}

.abs-tstc-swiper:not(.swiper-initialized) .swiper-slide{
  width: 100%;
}

.abs-tstc{
  position: relative;
}

.abs-tstc .swiper{
  padding: 0 0 22px;
}

.abs-tstc .swiper-slide{
  height: auto;
}

.abs-tstc-card{
  --abs-tstc-photo-size: 105px;
  position: relative;
  display: grid;
  grid-template-columns: var(--abs-tstc-photo-size) minmax(0, 1fr);
  align-items: center;
  column-gap: 30px;
  min-height: 170px;
  height: 100%;
  background: #ffffff;
  border: 1px solid #eeeeee;
  border-radius: 5px;
  padding: 30px 48px 24px 30px;
  box-shadow: none;
  transition: border-color .25s ease, box-shadow .25s ease;
}

.abs-tstc-card:hover{
  border-color: #eeeeee;
  box-shadow: none;
}

/* Photo */
.abs-tstc-photo{
  width: var(--abs-tstc-photo-size);
  height: var(--abs-tstc-photo-size);
  border-radius: 999px;
  object-fit: cover;
  object-position: center center;
  border: 0;
  outline: 0;
  box-shadow: none;
  flex: 0 0 auto;
}

.abs-tstc-photo-fallback{
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  font-weight: 700;
  background: #f1f1f1;
  color: #27833c;
}

/* Body */
.abs-tstc-body{
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding-right: 8px;
}

.abs-tstc-desc{
  margin: 0 0 24px;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 400;
  color: #4a4a4a;
}

.abs-tstc-name{
  margin: 0;
  font-size: 12px;
  line-height: 1.25;
  font-weight: 700;
  color: #27833c;
}

.abs-tstc-desig{
  margin: 4px 0 0;
  font-size: 12px;
  line-height: 1.35;
  color: #777777;
}

/* Rating is optional; default design is clean like the reference image */
.abs-tstc-stars{
  display: inline-flex;
  gap: 4px;
  margin-top: 10px;
  color: #f2b01e;
  line-height: 1;
}

.abs-tstc-stars span{
  font-size: 14px;
}

.abs-tstc-divider{
  margin: 14px 0 12px;
  border-bottom: 1px dashed rgba(0, 0, 0, .14);
}

/* Reference-style green quote mark at bottom right */
.abs-tstc-quote{
  position: absolute;
  right: 18px;
  bottom: 14px;
  top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #27833c;
  line-height: 1;
  pointer-events: none;
}

.abs-tstc-quote-mark{
  display: block;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 54px;
  font-weight: 400;
  letter-spacing: -8px;
}

.abs-tstc-quote i,
.abs-tstc-quote svg{
  display: block;
  font-size: 54px;
  width: 54px;
  height: 54px;
  line-height: 1;
}

.abs-tstc-quote svg,
.abs-tstc-quote svg *{
  fill: currentColor;
  stroke: currentColor;
}

/* Arrows */
.abs-tstc-nav{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, .12);
  background: #ffffff;
  color: #27833c;
  box-shadow: 0 10px 22px rgba(0, 0, 0, .10);
  cursor: pointer;
  z-index: 5;
}

.abs-tstc-prev{ left: -12px; }
.abs-tstc-next{ right: -12px; }

.abs-tstc-nav:hover{
  transform: translateY(-50%) scale(1.02);
}

/* Dots */
.abs-tstc-pagination{
  margin: 14px auto 0;
  text-align: center;
}
.abs-tstc-pagination.swiper-pagination-bullets-dynamic{
  left: auto !important;
  right: auto !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.abs-tstc .abs-tstc-pagination.swiper-pagination-bullets-dynamic{
  position: relative !important;
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%) !important;
  margin: 14px 0 0 0 !important;
  text-align: center !important;
  overflow: hidden;
}

@media (max-width: 767px){
  .abs-tstc .abs-tstc-pagination.swiper-pagination-bullets-dynamic{
    position: relative !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

.abs-tstc-pagination .swiper-pagination-bullet{
  width: 8px;
  height: 8px;
  opacity: .35;
  background: #27833c;
}

.abs-tstc-pagination .swiper-pagination-bullet-active{
  opacity: 1;
}

@media (max-width: 767px){
  .abs-tstc .swiper{
    padding-bottom: 18px;
  }

  .abs-tstc-card{
    grid-template-columns: 1fr;
    justify-items: center;
    row-gap: 18px;
    padding: 26px 26px 44px;
    text-align: center;
  }

  .abs-tstc-photo{
    max-width: 100%;
  }

  .abs-tstc-body{
    padding-right: 0;
  }

  .abs-tstc-desc{
    margin-bottom: 18px;
  }

  .abs-tstc-quote{
    right: 14px;
    bottom: 10px;
  }

  .abs-tstc-quote-mark{
    font-size: 42px;
    letter-spacing: -6px;
  }

  .abs-tstc-quote i,
  .abs-tstc-quote svg{
    font-size: 42px;
    width: 42px;
    height: 42px;
  }

  .abs-tstc-prev{ left: -6px; }
  .abs-tstc-next{ right: -6px; }
}



.abs-tstc-swiper{
  cursor: grab;
}

.abs-tstc-swiper:active{
  cursor: grabbing;
}