@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

/* ══════════════════════════════════
   JEYA DECOR — Testimonials
══════════════════════════════════ */
.jdt-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  font-family: 'Poppins', sans-serif;
  padding: 4px 0;
}

@media (max-width: 900px) {
  .jdt-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
@media (max-width: 560px) {
  .jdt-grid { grid-template-columns: 1fr; gap: 14px; }
}

/* ── CARD ── */
.jdt-card {
  background: #f7f7f7;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  transition: transform .22s ease, box-shadow .22s ease;
  text-decoration: none;
  color: inherit;
  border: 2px solid transparent;
}
.jdt-card-link {
  cursor: pointer;
}
.jdt-card-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0,0,0,.10);
  border-color: #F5C518;
}

/* ── TOP ROW: stars + quote icon ── */
.jdt-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.jdt-stars {
  display: flex;
  gap: 2px;
}
.jdt-star {
  color: #F5C518;
  font-size: 17px;
  line-height: 1;
}
.jdt-star-empty {
  color: #e0e0e0;
}

/* decorative quote mark */
.jdt-quote {
  font-size: 44px;
  line-height: 1;
  font-family: Georgia, serif;
  color: #F5C518;
  opacity: .65;
  margin-top: -10px;
  user-select: none;
}

/* ── REVIEW TEXT ── */
.jdt-text {
  font-size: 14px;
  line-height: 1.72;
  color: #444;
  margin: 0 0 20px;
  flex: 1;
}

/* ── AUTHOR ROW ── */
.jdt-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

.jdt-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
  flex-shrink: 0;
  font-family: 'Poppins', sans-serif;
}

.jdt-author-info strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #1a1a1a;
  font-family: 'Poppins', sans-serif;
}
.jdt-author-info span {
  font-size: 12px;
  color: #888;
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
}
