.cp-ts {
  position: relative;
  direction: rtl;
}

/* ===== Slider Core ===== */
.cp-ts-viewport {
  overflow: hidden;
}

.cp-ts-track {
  display: flex;
  gap: 30px;
  transition: transform .6s ease;
}

.cp-ts-slide {
  flex: 0 0 calc((100% - 60px) / 3);
}

/* ===== Card ===== */
.cp-ts-card {
  background: #fafafa;
  border-radius: 20px;
  padding: 46px 32px 30px;
  position: relative;
  /* text-align: center; */
  margin: 20px 0;
    box-shadow: 0px 0 10px rgba(0, 0, 0, .06);

}

/* ===== Quote ===== */
.cp-ts-quote {
  position: absolute;
  top: -20px;
  right: 0;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  background: #fb7d16;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

/* ===== Stars ===== */
.cp-ts-stars {
  color: #fb7d16;
  font-size: 18px;
  margin-bottom: 14px;
}

/* ===== Text ===== */
.cp-ts-text {
  font-size: 15px;
  line-height: 1.9;
  color: #444;
  max-width: 90%;
  /* margin: 0 auto; */
}

/* ===== Divider ===== */
.cp-ts-divider {
  width: 100%;
  height: 1px;
  background: #ddd;
  margin: 22px auto;
}

/* ===== Author ===== */
.cp-ts-author {
  display: flex;
  align-items: center;
  /* justify-content: flex-end; */
  gap: 14px;
}

/* text block */
.cp-ts-author-text {
  text-align: right;
}

.cp-ts-name {
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 4px;
}

.cp-ts-job {
  font-size: 13px;
  color: #777;
}

.cp-ts-company {
  font-size: 13px;
  color: #fb7d16;
}

/* avatar */
.cp-ts-avatar {
  width: 44px;
  height: 44px;
  background: #fff1e6;
  color: #fb7d16;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

/* ===== Arrows ===== */
.cp-ts-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: #eee;
  cursor: pointer;
  font-size: 22px;
}

.cp-ts-prev {
  right: -60px;
}

.cp-ts-next {
  left: -60px;
}

/* ===== Mobile ===== */
@media (max-width: 992px) {
  .cp-ts-slide {
    flex: 0 0 100%;
  }

  .cp-ts-prev {
    right: 10px;
  }

  .cp-ts-next {
    left: 10px;
  }
}
