/* SCSS file content */
.client-testimonial_swiper {
  /* --swiper-scrollbar-bottom: 40px; */
  --swiper-scrollbar-drag-bg-color: #000;
}

@media screen and (max-width: 991px) {
  .client-testimonial_swiper {
    /* padding-bottom: 35px; */
  }
}

.client-testimonial_swiper .swiper-slide {
  height: auto;
  padding-bottom: 1px;
}

@media screen and (max-width: 991px) {
  .client-testimonial_swiper .client-testimonial-card_meta {
    border-top: 0;
  }
}

.client-testimonial-card_meta{
  min-height: 161px;
}

@media screen and (max-width: 991px) {
  .client-testimonial_swiper .client-testimonial-card_quote {
    margin-bottom: 0;
  }
}

.client-testimonial_swiper .swiper-scrollbar-drag {
  position: relative;
}

.client-testimonial_swiper .swiper-scrollbar-drag:before {
  content: "";
  background-color: transparent;
  width: 100%;
  height: 60px;
  position: absolute;
  top: 0;
  left: 0;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  cursor: -webkit-grab;
  cursor: grab;
}

.black-light {
  color: rgba(0, 0, 0, 0.65);
}

.client-testimonial-card .client-testimonial-card_img {
  width: 24px;
  height: 26px;
}

.client-testimonial-card_meta {
  padding-bottom: 40px;
}

.client-testimonial-card_meta-name {
  font-family: "Manrope", "sans-serif";
  font-weight: 600;
  font-size: 15px;
  color: #8c705f;
}

/* .client-testimonial-card_meta-title {
  padding-top: 32px;
} */

.client-testimonial-card_meta-name{
  padding-bottom: clamp(16px, 3vw, 32px);
}

.client-testimonial-card.video-testimonial .client-testimonial-card_img {
  max-width: 100%;
  width: 100%;
  height: 100%;
  position: relative;
  max-height: 253px;
}

.client-testimonial-card.video-testimonial .client-testimonial-card_img figure {
  --bs-aspect-ratio: calc((253 / 442) * 100%);
  height: 100%;
}

.client-testimonial-card.video-testimonial
  .client-testimonial-card_img
  figure
  img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: 100%;
}

.client-testimonial-card.video-testimonial
  .client-testimonial-card_img
  .testimonial-more-btn {
  position: absolute;
  left: 16px;
  bottom: 16px;
  width: 50px;
  height: 50px;
  --bs-btn-padding-x: 0;
  --bs-btn-padding-y: 0;
  transition: transform 0.3s ease-in-out;
  will-change: transform;
}

@media(max-width: 575px) {
.client-testimonial-card.video-testimonial
  .client-testimonial-card_img
  .testimonial-more-btn {
  width: 32px;
  height: 32px;
  
}

}

.client-testimonial-card.video-testimonial
  .client-testimonial-card_img
  .testimonial-more-btn
  img {
  width: 100%;
  height: 100%;
}

.client-testimonial-card_img:hover .testimonial-more-btn {
  transform: scale(1.1);
}

.autoplay-progress-ring {
  stroke: #000;
  stroke-width: 1;
  fill: none;

  /* 2 * π * 26 = 163.36 approx */
  stroke-dasharray: 180;
  stroke-dashoffset: 180;

  /* Rotate to start at the top (12 o'clock) */
  transform: rotate(0deg);
  transform-origin: 50% 50%;

  transition: stroke-dashoffset 0.1s linear;
}

.testimonial-modal .testimonial-modal_body figure video {
  margin: 0 auto;
  display: block;
}

.testimonial-modal .modal-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.custom-video-modal {
  --bs-modal-bg: transparent;
  --bs-modal-width: max-content;
  padding: 0!important;
}

.custom-video-modal .btn-close {
  right: 45px;
  top: 12px;
  filter: invert(1);
  margin-bottom: 9px;
}

.custom-text-modal figure {
  margin-bottom: 16px !important;
}

.testimonial-modal .btn-close {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13.732' height='13.733' viewBox='0 0 13.732 13.733'%3E%3Cpath id='Path_138186' data-name='Path 138186' d='M185.813,298.532c-.059.666-.224,2.462-.352,3.14a3.525,3.525,0,0,1-3.336,3.335c-.676.128-2.472.293-3.138.352a.021.021,0,0,0,0,.042c.666.059,2.462.223,3.138.351a4.17,4.17,0,0,1,2.308,1.029,2.933,2.933,0,0,1,.631.942,6.286,6.286,0,0,1,.4,1.365c.129.677.294,2.473.352,3.139a.021.021,0,0,0,.043,0c.058-.666.223-2.462.352-3.139a3.524,3.524,0,0,1,3.334-3.334c.677-.129,2.472-.294,3.138-.352a.021.021,0,0,0,0-.042c-.667-.059-2.461-.223-3.138-.352a4.153,4.153,0,0,1-2.307-1.028,2.95,2.95,0,0,1-.632-.942,6.289,6.289,0,0,1-.4-1.364c-.128-.677-.293-2.474-.351-3.14a.021.021,0,0,0-.042,0' transform='translate(-178.967 -298.513)' fill='%23000'/%3E%3C/svg%3E");
  background-size: 24px;
  background-position: 0;
  align-self: flex-end;
}

.testimonial-modal_header {
  margin-left: auto;
}

.testimonial-modal .modal-content {
  padding: 20px;
}

@media (min-width: 1200px) {
  .client-testimonial-card {
    border-bottom: 1px solid #707070;
  }
}

@media screen and (max-width: 575px) {
  .testimonial-modal .modal-dialog {
    --bs-modal-margin: 20px;
    height: auto;
    max-height: auto;
    min-height: auto;
  }
}

.testimonial-modal .modal-text-content {
  max-height: 50vh;
  overflow-y: auto;
  margin-bottom: 40px;
}

.testimonial-modal .modal-text-content p {
  margin-bottom: 0;
}

@media screen and (max-width: 575px) {
  .custom-video-modal .modal-body {
    padding: 0;
  }

  .custom-video-modal .modal-content {
    padding: 0;
  }
}

.testimonial-modal.show {
  display: grid !important;
  place-items: center;
}

.client-testimonial .title-block {
  display: flex;
  justify-content: space-between;
  column-gap: 16px;
  position: relative;
}

.client-testimonial .title-block .swiper-button-next,
.client-testimonial .title-block .swiper-button-prev {
  border-color: rgba(0, 0, 0, 0.24);
  --swiper-theme-color: #000;
  bottom: 0;
}

.client-testimonial .title-block .swiper-button-next::after,
.client-testimonial .title-block .swiper-button-prev::after {
  content: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="19" height="14" viewBox="0 0 19 14" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M12.3816 14L12.7582 10.9975C12.8291 10.5892 12.9455 10.1901 13.1053 9.80777C13.2208 9.53545 13.387 9.28761 13.595 9.07746C14.1336 8.6011 14.8065 8.30285 15.5215 8.22375L15.5409 8.22159L15.5602 8.21792C16.1766 8.10033 17.8577 7.94517 18.5158 7.88753C18.641 7.87878 18.7588 7.82508 18.8475 7.73634C18.9448 7.63906 19 7.50681 19 7.36829C19 7.22977 18.9448 7.09752 18.8475 7.00024C18.7588 6.9115 18.641 6.8578 18.5158 6.84905C17.8577 6.79141 16.1766 6.63625 15.5602 6.51866L15.5269 6.5123L15.493 6.5105C14.7819 6.47279 14.11 6.17334 13.6065 5.66983C13.1029 5.16632 12.8035 4.49436 12.7658 3.7833L12.764 3.74942L12.7576 3.71609C12.6396 3.09739 12.4837 1.40512 12.4266 0.752197L11.4304 0.839365C11.4844 1.4565 11.6403 3.16682 11.7691 3.87029C11.8276 4.8153 12.2293 5.70688 12.8993 6.37693C13.0821 6.55969 13.2813 6.72249 13.4937 6.8638L0.585468 6.8638L0.585468 7.8638L13.5605 7.8638C13.3339 8.00264 13.119 8.162 12.9187 8.34059L12.9082 8.34997L12.8982 8.35994C12.5941 8.66356 12.3516 9.02316 12.1841 9.41886L12.1832 9.42086C11.9926 9.87657 11.8542 10.3524 11.7707 10.8393L11.7688 10.8504L11.7674 10.8616L11.3894 13.8756L12.3816 14Z" fill="black"/></svg>');
  position: absolute;
}

.client-testimonial .title-block .swiper-button-prev::after {
  transform: rotate(180deg);
}

@media (max-width: 992px) {
  .client-testimonial .title-block .swiper-button-next,
  .client-testimonial .title-block .swiper-button-prev {
    display: none;
  }
}


.client-testimonial .client-testimonial_swiper {
  margin-top: 60px;
  overscroll-behavior: none;
}

@media (max-width: 767.98px) {
  .client-testimonial .client-testimonial_swiper {
    margin-top: 26px;
    margin-right: -20px;
  }
}

@media (max-width: 575.98px) {
  .client-testimonial_swiper {
    margin-right: -20px;
  }
}

