.block-testimonial_v2  {
   position: relative;

}

.block-testimonial_v2 .owl-carousel {
   overflow: hidden;
}


.block-testimonial_v2 .owl-carousel .owl-stage-outer  {
   border: 2px solid #D1D1D1;

}


.block-testimonial_v2 .owl-carousel .owl-item  {
   display: flex;
   justify-content: center;
   align-items: center;
}

.block-testimonial_v2 .owl-carousel .item  {
   /*padding: 1.5em 1.75em;*/
}

.block-testimonial_v2 .owl-carousel .item .image-block {
   position: relative;
   display: inline-block;
   width: auto;
   height: auto;
   /*max-height: 56px;*/
}

.block-testimonial_v2 .owl-carousel .item .image-block img {
   display: inline-block;
   /*height: 100%;*/
   transition: opacity 0.3s ease;
}

/* Сіра картинка — базова (видима за замовчуванням) */
.block-testimonial_v2 .owl-carousel .item .image-grey {
   opacity: 1;
}

/* Кольорова — поверх неї, але спочатку прихована */
.block-testimonial_v2 .owl-carousel .item .image-color {
   position: absolute;
   top: 0;
   left: 0;
   opacity: 0;
   pointer-events: none;
}

.block-testimonial_v2 .owl-carousel .item.active-slide .image-grey,
.block-testimonial_v2 .owl-carousel .item:hover .image-grey {
   opacity: 0;
}

.block-testimonial_v2 .owl-carousel .item.active-slide .image-color,
.block-testimonial_v2 .owl-carousel .item:hover .image-color {
   opacity: 1;
}


.block-testimonial_v2 .testimonial_content_wrapper {
   border: 2px solid #D1D1D1;
   margin-top: -2px;
}

.block-testimonial_v2 .testimonial_content_wrapper .item {
   display: none;
}

.block-testimonial_v2 .testimonial_content_wrapper .item.current-item {
   display: flex;
   padding: clamp(28px, 54 * (100vw / 1920), 54px);
   gap: clamp(28px, 54 * (100vw / 1920), 54px);
   justify-content: space-between;
}

.block-testimonial_v2 .testimonial_content_wrapper .item.current-item .left-side {
   flex: 0 1 63%;
   display: flex;
   flex-direction: column;
   gap: 28px
}

.block-testimonial_v2 .testimonial_content_wrapper .item.current-item .right-side {
   flex: 0 1 37%;
   display: flex;
   flex-direction: column;
   gap: 28px;
   background: #EDEDED;
   padding: clamp(14px, 28 * (100vw / 1920), 28px);
}

.block-testimonial_v2.grey .testimonial_content_wrapper .item.current-item .right-side {
   background: #fff;
}

.block-testimonial_v2 .testimonial_content_wrapper .item.current-item .rating {
   display: flex;
   gap: 10px;
}

.block-testimonial_v2 .testimonial_content_wrapper .item.current-item .rating .logo {
   max-height: 30px;
}

.block-testimonial_v2 .testimonial_content_wrapper .item.current-item .rating .logo img {
   height: 100%;
}

.block-testimonial_v2 .testimonial_content_wrapper .item.current-item .rating-content {
   display: flex;
   flex-direction: column;
   gap: 2px;
}

.block-testimonial_v2 .testimonial_content_wrapper .item.current-item .rating-value {
   display: flex;
   align-items: center;
   gap: 10px;
   font-size: 12px;
   line-height: 14px;
   font-weight: 500;
}

.block-testimonial_v2 .testimonial_content_wrapper .item.current-item .rating-text {
   font-size: 12px;
   line-height: 14px;
   font-weight: 500;
}



.block-testimonial_v2 .testimonial_content_wrapper .item.current-item .stars {
   position: relative;
   display: inline-block;
   line-height: 0;
   width: auto;
}

.block-testimonial_v2 .testimonial_content_wrapper .item.current-item .stars--gray,
.block-testimonial_v2 .testimonial_content_wrapper .item.current-item .stars--fill {
   display: flex;
   gap: 2px;
}

.block-testimonial_v2 .testimonial_content_wrapper .item.current-item .stars--gray img,
.block-testimonial_v2 .testimonial_content_wrapper .item.current-item .stars--fill img {
   width: 10px;
   height: auto;
   display: block;
}

.block-testimonial_v2 .testimonial_content_wrapper .item.current-item .stars--fill {
   position: absolute;
   top: 0;
   left: 0;
   overflow: hidden;
   white-space: nowrap;
   pointer-events: none;
}


.block-testimonial_v2 .testimonial_content_wrapper .item.current-item .review-content {
   font-size: 1.45em;
   line-height: 1.15em;
   letter-spacing: -0.01em;
   color: #000;
}

.block-testimonial_v2 .testimonial_content_wrapper .item.current-item .review-content * {
   color: inherit;
}


.block-testimonial_v2 .testimonial_content_wrapper .item.current-item .review-info {
   display: flex;
   gap: 16px;
}

.block-testimonial_v2 .testimonial_content_wrapper .item.current-item .review-info .photo {
   max-height: 55px;
   aspect-ratio: 1/1;
}

.block-testimonial_v2 .testimonial_content_wrapper .item.current-item .review-info .photo img {
   height: 100%;
}

.block-testimonial_v2 .testimonial_content_wrapper .item.current-item .review-info-content {
   display: flex;
   flex-direction: column;
   justify-content: space-between;
}

.block-testimonial_v2 .testimonial_content_wrapper .item.current-item .review-info-name {
   font-size: 1em;
   line-height: 1.25em;
   letter-spacing: 0;
   color: #000;
   font-weight: 500;
   text-transform: uppercase;
}

.block-testimonial_v2 .testimonial_content_wrapper .item.current-item .review-info-profession {
   font-size: 0.8em;
   line-height: 1.25em;
   letter-spacing: 0;
   color: #000;
   text-transform: uppercase;
}


.block-testimonial_v2 .testimonial_content_wrapper .item.current-item .feedback-summary {
   color: #000;
   display: flex;
   flex-direction: column;
   gap: 12px;
}

.block-testimonial_v2 .testimonial_content_wrapper .item.current-item .feedback-summary-title {
   font-weight: 500;
   text-transform: uppercase;
   font-size: 0.8em;
   line-height: 1.25em;
   letter-spacing: 0;
}

.block-testimonial_v2 .testimonial_content_wrapper .item.current-item .feedback-summary-text {
   font-size: 1em;
   line-height: 1.25em;
   letter-spacing: -0.01em;
}


.block-testimonial_v2 .testimonial_content_wrapper .item.current-item .main-info {
   display: grid;
   grid-template-columns: 1fr 1fr;
   column-gap: 0;
   row-gap: clamp(14px, 28 * (100vw / 1920), 28px);
}

.block-testimonial_v2 .testimonial_content_wrapper .item.current-item .main-info .info-block {
   display: flex;
   flex-direction: column;
   gap: 12px;
}

.block-testimonial_v2 .testimonial_content_wrapper .item.current-item .main-info .label {
   font-size: 0.8em;
   line-height: 1.25em;
   letter-spacing: 0;
   text-transform: uppercase;
   font-weight: 500;
   color: #000;
}

.block-testimonial_v2 .testimonial_content_wrapper .item.current-item .main-info .value {
   font-size: 1em;
   line-height: 1.25em;
   letter-spacing: 0;
   font-weight: 500;
   text-transform: uppercase;
   color: #000;
}

.block-testimonial_v2 .testimonial_content_wrapper .item.current-item .tech-stack {
   display: flex;
   flex-direction: column;
   gap: 12px;
}

.block-testimonial_v2 .testimonial_content_wrapper .item.current-item .tech-stack-title  {
   font-size: 0.8em;
   line-height: 1.25em;
   letter-spacing: 0;
   text-transform: uppercase;
   font-weight: 500;
   color: #000;
}

.block-testimonial_v2 .testimonial_content_wrapper .item.current-item .tech-stack-items  {
   display: flex;
   gap: 12px;
   flex-wrap: wrap;
}

.block-testimonial_v2 .testimonial_content_wrapper .item.current-item .tech-stack-item  {
   font-size: 1em;
   line-height: 1.25em;
   letter-spacing: -0.01em;
   font-weight: 500;
   text-transform: uppercase;
   color: #818181;
}

.block-testimonial_v2 .testimonial_content_wrapper .item.current-item .links {
   display: flex;
   justify-content: center;
   gap: clamp(14px, 28 * (100vw / 1920), 28px);
}

.block-testimonial_v2 .testimonial_content_wrapper .item.current-item .links a {
   font-size: 1em;
   line-height: 1;
   letter-spacing: -0.01em;
   font-weight: 500;
   text-transform: uppercase;
   text-decoration: underline;
   color: #000;
}

@media screen and (max-width: 1140px) {
   .block-testimonial_v2 .testimonial_content_wrapper .item.current-item {
      flex-direction: column;
   }
}


@media screen and (max-width: 560px) {
   .block-testimonial_v2 .testimonial_content_wrapper .item.current-item .rating .logo {
      max-height: 25px;
   }
   .block-testimonial_v2 .testimonial_content_wrapper .item.current-item .rating-value {
      font-size: 9px;
      line-height: 11px;
   }

   .block-testimonial_v2 .testimonial_content_wrapper .item.current-item .rating-text {
      font-size: 9px;
      line-height: 11px;
   }

   .block-testimonial_v2 .testimonial_content_wrapper .item.current-item .review-info .photo {
      max-height: 35px;
   }
}


