 .ut-testimonial-wrap {
  /* background: url(../../../../uploads/images/testimonial-wrap-bg.webp) no-repeat;
  background-position: bottom;
  background-size: cover; */

  min-width: 100%; /* Show one at a time */
  box-sizing: border-box;
  min-height: 408px; 
    padding: 70px 86px 64px 70px;
    display: grid;
    align-items: end; 
}

    .ut-testimonial-wrap::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
        clip-path: polygon(0 50px, 100% 0, 100% 100%, 0 100%);
        background-color: var(--color-41358b);
        z-index: -1;
    }



 .ut-testimonial-wrap::before {
  position: absolute;
  content: url(../../../../uploads/images/ut-testimonial-logo-bg.svg);
  width: 242.047px;
height: 321.93px;
aspect-ratio: 242.05/321.93;
  right: 16px;
  bottom: 37px; 

}
 
 /* .ut-testimonial-wrap .ut-testimonial-img .ut-img-wrap {
  width: 338px;
  height: 364px;
  overflow: hidden;
  display: flex;
  position: relative;
  z-index: 1;
} */


  /* .ut-testimonial-wrap
  .ut-testimonial-img
  .ut-img-wrap
  img {
  object-fit: cover;
} */

 .ut-testimonial-btn {
  display: flex;
  width: 56px;
  height: 56px;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  border: 1px solid var(--text-white);
  cursor: pointer;
}

 .ut-testimonial-btn:hover {
  background-color: var(--primary-color);
}

 .ut-testimonial-btn::after {
  content: url(../../../../uploads/images/arrow-left.svg);
  width: 24px;
  height: 24px;
}

 .ut-testimonial-btn.next-btn::after {
  transform: scaleX(-1) translateX(1px);
}

 .ut-testimonial-carousel{
  position: relative;
  overflow: hidden;
  width: 100%;
}
 .ut-testimonial-track {
  /* display: flex;
  gap: 4px; */
  display: grid;
  grid-template-columns: repeat(12, 100%);
  align-items: end;
}
.ut-testimonial-track .ut-testimonial-content{
  min-width: 100%;
  margin-right: 4px;
}

 .ut-testimonial-btn-wrap {
  position: absolute;
  /* right: 60px; */
  right: 86px;
  bottom: 64px;
}

/*  .ut-testimonial-wrap .ut-testimonial-feedback-wrap {
  width: calc(100% - 473px);
} */

  .ut-testimonial-wrap
  .ut-testimonial-feedback-wrap
  .ut-testimonial-author-wrap {
    max-width: calc(100% - 130px);
  /* padding-right: 130px; */
}
.ut-testimonial-video-carousel {
    width: 100%;
    overflow: hidden;
    position: relative;
}
.ut-testimonial-video-track {
    display: grid;
    grid-template-columns: repeat(12, 100%);
    align-items: center;
}
.ut-testimonial-video-content {
        min-width: 100%;
    margin-right: 4px;
}
.ut-video-nav {
  position: absolute;
  padding-inline: 16px;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  pointer-events: none;
}
.ut-video-nav .ut-video-prev, .ut-video-nav .ut-video-next {
    display: flex;
    width: 56px;
    height: 56px;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    border: 1px solid var(--text-white);
    cursor: pointer;
}
.ut-video-nav .ut-video-prev::after, .ut-video-nav .ut-video-next::after {
  pointer-events: all;
  content: url(../../../../uploads/images/arrow-left.svg);
  width: 24px;
  height: 24px;
  display: inline-block;
}
 .ut-video-nav .ut-video-next::after {
  transform: scaleX(-1) translateX(1px);
}
.ut-video-nav .ut-video-prev:hover, .ut-video-nav .ut-video-next:hover {
    background-color: var(--primary-color);
}

@media (max-width: 1300px) {
   .ut-testimonial-wrap {
    padding-inline: 60px;
    justify-content: center;
    row-gap: 64px;
  }
}
@media (max-width: 991px) {
   .ut-testimonial-wrap {
    padding-inline: 24px;
    row-gap: 24px;
  }

   .ut-testimonial-wrap .ut-testimonial-img {
    display: flex;
    justify-content: center;
  }
   .ut-testimonial-wrap .ut-testimonial-feedback-wrap {
    width: 100%;
  }

  
    .ut-testimonial-wrap
    .ut-testimonial-img
    .ut-animate-element {
    display: none;
  }
   .ut-testimonial-btn-wrap{
    right: 24px;
  }
}

@media (max-width: 767px) {
  
    .ut-testimonial-wrap
    .ut-testimonial-feedback-wrap
    .ut-testimonial-author-wrap {
    /* padding-right: 97px; */
    max-width: calc(100% - 97px);
  }
   .ut-testimonial-btn-wrap {
    width: 100%;
    top: calc(100% - 70px);
    left: 0;
    padding-inline-end: 16px;
    justify-content: end;
  }
   .ut-testimonial-btn-wrap .ut-testimonial-btn ,
   .ut-video-nav .ut-video-prev, .ut-video-nav .ut-video-next{
    width: 40px;
    height: 40px;
  }
   .ut-testimonial-wrap {
    background: none;
    position: relative;
    padding-bottom: 24px;
    padding-top: 70px;
    min-height: auto;
  }
   .ut-testimonial-wrap::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    clip-path: polygon(0 50px, 100% 0%, 100% 100%, 0% 100%);
    background-color: var(--color-41358b);
    z-index: -1;
  }
  
    .ut-testimonial-wrap
    .ut-testimonial-img
    .ut-img-wrap {
    width: 248px;
    height: 268px;
  }
}
