.testimonials-section-5 .testimonial-content {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: var(--grid-gap-large);
}

.testimonials-section-5 .testimonials-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 30%;
}

.testimonials-section-5 .testimonials-left.center {
  align-items: center;
  text-align: center;
}

.testimonials-section-5 .testimonials-left.left {
  align-items: flex-start;
  text-align: start;
}

.testimonials-section-5 .testimonials-left.right {
  align-items: flex-end;
  text-align: end;
}

.testimonials-section-5 .testimonials-left.left .section-desc {
  text-align: start;
}

.testimonials-section-5 .testimonials-left.center .section-desc {
  text-align: center;
}

.testimonials-section-5 .testimonials-left.right .section-desc {
  text-align: end;
}

.testimonials-section-5 .testimonials-left .section-title+.section-desc {
  margin-top: 8px;
}

.testimonials-section-5 .testimonials-left .button-list {
  margin-top: var(--grid-gap-large);
}

.testimonials-section-5 .testimonials-left.center .button-list {
  justify-content: center;
}

.testimonials-section-5 .testimonials-left.left .button-list {
  justify-content: flex-start;
}

.testimonials-section-5 .testimonials-left.right .button-list {
  justify-content: flex-end;
}

.testimonials-section-5 .testimonial-list {
  flex: 1;
  display: flex;
  gap: var(--grid-gap-large);
}

.testimonials-section-5 .testimonial-column {
  display: flex;
  flex-direction: column;
  gap: var(--grid-gap-large);
  box-sizing: content-box;
  flex: 1;
}

.testimonials-section-5 .testimonial-list.left-up .testimonial-column:last-of-type {
  margin-top: 100px;
}

.testimonials-section-5 .testimonial-list.masonry-layout {
  max-height: 600px;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
  scroll-behavior: smooth; /* 平滑滚动 */
}

/* 隐藏瀑布流滚动条 - Webkit浏览器 */
.testimonials-section-5 .testimonial-list.masonry-layout::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

/* 右侧列高于左侧列 100px */
.testimonials-section-5 .testimonial-list.masonry-layout .testimonial-column:first-of-type {
  margin-top: 100px;
}

.testimonials-section-5 .testimonial-item-content {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 1;
}

.testimonials-section-5 .testimonial-item-content > i {
  position: absolute;
  right: 0;
  top: 0;
  font-size: var(--icon-large);
  color: #F5F5F5;
  opacity: 0.4;
  z-index: -1;
}

[dir="rtl"] .testimonials-section-5 .testimonial-item-content > i {
  left: 0;
  right: auto;
}

.testimonials-section-5 .testimonial-item.left {
  align-items: flex-start;
  text-align: start;
}

.testimonials-section-5 .testimonial-item.center {
  align-items: center;
  text-align: center;
}

.testimonials-section-5 .testimonial-item.right {
  align-items: flex-end;
  text-align: end;
}
.testimonials-section-5 .testimonial-item.right > i {
  right: unset;
  left: 15px;
  transform: scaleX(-1);
}

.testimonials-section-5 .testimonial-item .customer-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.testimonials-section-5 .testimonial-item .customer-info-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
}

.testimonials-section-5 .testimonial-item .testimonial-info {
  display: flex;
  flex-direction: column;
}
.testimonials-section-5 .testimonial-item .testimonial-info .customer-summary {
  margin-bottom: 8px;
}
.testimonials-section-5 .testimonial-item .testimonial-info .customer-rate {
  margin-bottom: 16px;
  line-height: 24px;
  font-size: 24px;
}

.testimonials-section-5 .testimonial-item .customer-rate {
  display: flex;
  gap: 4px;
}

.testimonials-section-5 .testimonial-item .customer-rate i.sicon {
  font-size: 24px;
}

.testimonials-section-5 .testimonial-item .testimonial-info .testimonial {
  word-break: break-word;
}

@media screen and (max-width: 1199px) {
  .testimonials-section-5 .testimonial-list.masonry-layout {
    max-height: none;
    overflow-y: visible;
    overflow-x: visible;
  }

  .testimonials-section-5 .testimonial-content {
    flex-direction: column;
  }
  
  .testimonials-section-5 .testimonials-left {
    width: 100%;
  }

  .testimonials-section-5 .testimonial-column {
    margin-top: 0 !important;
  }
}

@media screen and (max-width: 767px) {
  .testimonials-section-5 .testimonial-list {
    flex-direction: column;
  }
  .testimonials-section-5 .testimonial-column {
    width: 100%;
  }
}
