.testimonial-tabs .tabs-header {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  padding: 20px 0;
  width: 100%;
  flex-wrap: nowrap;
}
.testimonial-tabs .tabs-header a {
  text-decoration: none;
  color: #1a1a1a;
  transition: all 0.3s ease;
  padding: 20px 0;
  position: relative;

}
.elementor-widget .tabs-header a:focus,
.elementor-widget .tabs-header a:active,
.elementor-widget .tabs-header a:visited {
  text-decoration: none !important;
}

.testimonial-tabs .tabs-header a.active {
  color: #1a1a1a;
}
.testimonial-tabs .tabs-header a.active::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 1px;
  bottom: 1px;
  left: 0;
  background-color: #1a1a1a;
}

.testimonial-tabs .tabs-header a:hover {
  color: #555;
}
.shortcode-content {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    /* assume roughly 1.3em line-height; adjust to your site's line-height */
    -webkit-line-clamp: 4;  
    line-clamp: 4;
    
  }
  
  /* Show full content when ref-content has full class */
  .ref-content.full .shortcode-content {
    -webkit-line-clamp: none;
    line-clamp: none;
    display: block;
    overflow: visible;
  }
  
  .toggle-content {
    cursor: pointer;
    color: #1a1a1a;
    margin-top: 0.5em;
    user-select: none;
    border-bottom: 1px solid #1a1a1a;
    width: max-content;
    line-height: 1.15;
    display: none;
}

.toggle-content:hover {
  color: #555;
  border-bottom: 1px solid #555;
}

.toggle-content * {
  color: #1a1a1a;
}
.toggle-content:hover * {
  color: #555;
}
.show-less {
  display: none;
}
.read-more {
  display: inline;
}
  .ref-rating-stars {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}
.rating-star {
  display: flex;
  width: 118px;
}
.rating-star .rating {
  background: url(../images/ic_star_rating.svg) repeat-x 0 center;
  height: 20px;
  flex-shrink: 0;
}
.ref-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}
.ref-thumbnail {
  width: 120px;
  flex-shrink: 0;
}
.ref-thumbnail img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid #f2f2f2;
}
.ref-title {
  flex: 1;
}
.ref-title .ref-owner-title {
  margin: 0 !important;
  line-height: 1.35 !important;
  font-size: 24px;
}
.ref-job-title {
  font-size: 15px;
}
.ref-rating {
  display: flex;
  flex-direction: row;
  gap: 4px;
  margin-bottom: 15px;
}
.ref-rating-star {
  width: 24px;
  height: 24px;
  color: #ffc107;
  flex-shrink: 0;
}
.ref-rating-star svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}
.ref-content {
  margin-top: 15px;
}

.testimonial-loading {
  text-align: center;
  padding: 30px;
}
.loading-spinner {
  color: #666;
  font-size: 16px;
}
.loading-spinner:before {
  content: '';
  display: inline-block;
  width: 36px;
  height: 36px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid #1a1a1a;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-right: 10px;
  vertical-align: middle;
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.testimonial-tabs .tabs-content-wrapper {
  padding: 20px 0;
  /*background-color: #f6f6f6;*/
}
.testimonial-tabs .tabs-content {
  min-height: 200px;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin: 0 auto;
  max-width: 1200px;
  width: 100%;
}
.testimonial-tabs .testimonial-tab-item {
  width: calc(50% - 15px);
  background-color: #F8F8F8;
  padding:40px;
  border-radius: 0;
}

/*body.page .bc-reviews .home-prefix-icon + span,
body.page .bc-reviews .ninetenowtoo-breadcrumb-item {
  display: none;
}*/

@media (max-width: 767px) {
  .testimonial-tabs.tabs-header {
    gap:30px !important;
  }
  .testimonial-tabs .tabs-content {
    flex-direction: column;
  }
  .testimonial-tabs .testimonial-tab-item {
    width: 100% !important;
  }
}