.section-c3-testimonials {
  background-color: var(--color-background);
}

.c3-testimonials__header {
  text-align: center;
  margin-bottom: 40px;
}

.c3-testimonials__heading {
  margin: 0 0 12px;
  color: var(--color-text);
}

.c3-testimonials__subheading {
  margin: 0 auto;
  max-width: 600px;
  color: var(--color-text);
  font-size: 16px;
  line-height: 1.5;
}

/* 让箭头有空间显示在卡片外侧 */
.c3-testimonials__slider {
  padding: 0 8px;
}

/* 评价卡片 */
.tm-card {
  position: relative;
  height: 100%;
  box-sizing: border-box;
  padding: 20px 20px 12px;
  background: rgb(var(--color-base-background-2, 243, 243, 243));
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.tm-card__quote {
  position: absolute;
  top: 20px;
  right: 22px;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: var(--tm-quote-color, #6d388b);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tm-card__quote svg {
  width: 17px;
  height: 17px;
}

/* 星级 */
.tm-card__stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
  line-height: 0;
}

.tm-star {
  width: 20px;
  height: 20px;
  fill: rgba(0, 0, 0, 0.15);
}

.tm-star.is-on {
  fill: var(--tm-star-color, #ffb800);
}

.tm-card__title {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.3;
  color: var(--color-text);
}

.tm-card__text {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-text);
  opacity: 0.8;
}

/* 作者 */
.tm-card__author {
  margin-top: auto;
  display: block;
  width: 100%;
  border-top: solid 1px rgba(18, 18, 18, 0.06);
  padding-top: 10px;
}

.tm-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: rgba(0, 0, 0, 0.06);
}

.tm-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tm-card__author-name {
  font-weight: 600;
  font-size: 15px;
  color: var(--color-text);
}
