/* Custom Elementor Widgets — Custom Testimonials
   A light bordered card with a star rating, a quote, a divider and an
   author row (avatar circle + name + role). Carousel built on Swiper 11. */

.cew-tm {
  position: relative;
  width: 100%;
  box-sizing: border-box;
}

/* ── Slides: equal height so author rows line up across cards ── */
.cew-tm .swiper-slide {
  height: auto;
  display: flex;
}

/* ── Card ── */
.cew-tm__card {
  display: flex;
  flex-direction: column;
  width: 100%;
  box-sizing: border-box;
  background: #F8FAFB;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 32px;
}

/* ── Stars ── */
.cew-tm__stars {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: #1654C0;
  margin-bottom: 20px;
}

.cew-tm__stars svg {
  width: 16px;
  height: 16px;
  display: block;
}

/* ── Quote ── */
.cew-tm__quote {
  margin: 0 0 20px;
  flex: 1 0 auto;
  font-family: "Plus Jakarta Sans";
  font-weight: 400;
  font-style: italic;
  font-size: 16px;
  line-height: 28.8px;
  color: #64748B;
  word-break: break-word;
}

/* ── Divider ── */
.cew-tm__divider {
  height: 1px;
  background-color: #E2E8F0;
  margin-bottom: 20px;
}

/* ── Author row ── */
.cew-tm__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cew-tm__avatar {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 20px;
  overflow: hidden;
  display: block;
  background-color: #CBD5E1;
}

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

.cew-tm__author-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.cew-tm__name {
  font-family: "Plus Jakarta Sans";
  font-weight: 700;
  font-size: 15px;
  font-style: normal;
  color: #0D1B2A;
}

.cew-tm__role {
  font-family: "Plus Jakarta Sans";
  font-weight: 400;
  font-size: 13px;
  font-style: normal;
  color: #64748B;
}

/* ── Pagination dots ── */
.cew-tm .swiper-pagination {
  position: static;
  margin-top: 24px;
}

.cew-tm .swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.7);
  opacity: 1;
}

.cew-tm .swiper-pagination-bullet-active {
  background: #1654C0;
}

/* ── Editor empty-state ── */
.cew-tm__empty {
  padding: 28px 20px;
  border: 1px dashed #c3c4c7;
  border-radius: 8px;
  text-align: center;
  color: #50575e;
  font-size: 14px;
}
