.elementor-602 .elementor-element.elementor-element-426bfb8{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-602 .elementor-element.elementor-element-b61997e{--display:flex;}@media(min-width:768px){.elementor-602 .elementor-element.elementor-element-b61997e{--content-width:1200px;}}/* Start custom CSS for html, class: .elementor-element-26b991e *//* Basic layout */
.rv-testimonial-section { width:100%; box-sizing:border-box; padding:40px 20px; font-family:'Lexend Deca',sans-serif; }

/* Main slide layout 50/50 */
.rv-testimonial-inner { display:flex; gap:30px; align-items:flex-start; justify-content:space-between; }
.rv-video, .rv-text { flex: 0 0 48%; box-sizing:border-box; }
.rv-video iframe { width:100%; height:320px; border-radius:12px; display:block; }

/* Text box left aligned (important) */
.rv-text { text-align:left; display:flex; flex-direction:column; justify-content:flex-start; }
.rv-desc {
  font-weight:400;
  font-size:16px;
  line-height:25.6px; /* 16 * 1.6 = 25.6 */
  margin:0 0 16px 0;
  color:#222; /* dark text color as in reference — change to suit page background */
}

/* Name & position styles */
.rv-name {
  font-weight:600;
  font-size:20px;
  line-height:28px;
  margin:0 0 6px 0;
  color:#222;
}
.rv-position { color:#7b7b7b; font-size:14px; margin-bottom:10px; }

/* Stars */
.rv-stars { color:#FFD050; margin-top:6px; font-size:16px; }

/* Thumbs container */
.rv-thumbs-wrap { display:flex; align-items:center; gap:16px; margin-top:36px; justify-content:center; position:relative; }

/* Arrow boxes */
.rv-arrow {
  width:42px; height:42px; border-radius:6px; border:2px solid #E8E6E6; display:flex; align-items:center; justify-content:center; cursor:pointer;
  background:#fff; box-sizing:border-box; padding-bottom: 3px;
}
/* arrow icons */
.rv-prev::after, .rv-next::after { font-size:18px; color:#333; font-weight:700; }
.rv-prev::after { content: "\2190"; } /* left arrow */
.rv-next::after { content: "\2192"; } /* right arrow */

/* Thumb Swiper */
.rv-testimonial-thumbs { width:calc(100% - 120px); /* leave space for arrows */ }
.rv-testimonial-thumbs .swiper-wrapper { align-items:center; }

/* Thumb card */
.rv-thumb-slide { display:flex; align-items:center; justify-content:center; }
.rv-thumb-card {
  width:100%;
  display:flex;
  align-items:center;
  gap:14px;
  padding:14px 18px;
  box-sizing:border-box;
  border-radius:8px;
  background:#fff;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
  min-width: 220px;
}

/* Avatar */
.rv-avatar img { width:54px; height:54px; object-fit:cover; border-radius:50%; display:block; }

/* Info */
.rv-info { text-align:left; flex:1; }
.rv-thumb-name { font-size:14px; font-weight:600; color:#222; margin-bottom:4px; }
.rv-thumb-position { font-size:12px; color:#9b9b9b; margin-bottom:8px; }

/* underline bar below position */
.rv-line { height:4px; width:100%; background:#E8E6E6; border-radius:2px; }

/* Active thumb styles (Swiper will add class swiper-slide-thumb-active) */
.rv-testimonial-thumbs .swiper-slide.swiper-slide-thumb-active .rv-thumb-card {
  border-color:#e63946; /* active border color (red) */
  box-shadow: 0 8px 20px rgba(230,57,70,0.08);
  transform: translateY(-4px);
}
.rv-testimonial-thumbs .swiper-slide.swiper-slide-thumb-active .rv-line {
  background:#e63946; /* red active underline */
}

/* Keep inactive card subtle (no heavy shadow) */
.rv-testimonial-thumbs .swiper-slide:not(.swiper-slide-thumb-active) .rv-thumb-card { transform:none; box-shadow:none; }

/* Ensure thumbnail name and position sits above the underline like reference */
.rv-info { display:flex; flex-direction:column; }

/* Responsive rules */
@media (max-width: 992px) {
  .rv-video iframe { height:260px; }
  .rv-testimonial-inner { gap:20px; }
  .rv-testimonial-thumbs { width: calc(100% - 100px); }
  .rv-thumb-card { min-width:180px; }
}
@media (max-width: 680px) {
  /* stack main content */
  .rv-testimonial-inner { flex-direction:column; }
  .rv-video, .rv-text { flex:1 1 auto; width:100%; }
  .rv-video iframe { height:200px; }
  .rv-thumbs-wrap { flex-direction:row; gap:10px; align-items:center; }
  .rv-testimonial-thumbs { width:calc(100% - 100px); }
  .rv-arrow { width:36px; height:36px; }
  .rv-thumb-card { padding:10px; min-width:150px; }
}/* End custom CSS */