/* Page: testimonials (layout + page-specific UI) */

.container { max-width: var(--container); margin: 0 auto; padding: 24px 20px; }

main { padding: 28px 0 80px; }

/* Headings/body tone */
h1 { font-size: 32px; margin: 10px 0 6px; }
p.lede { font-size: 18px; color: #111; margin: 0 0 8px; }
.kicker { color: var(--green); font-weight: 800; letter-spacing: .04em; text-transform: uppercase; font-size: 12px; }

/* Responsive grid for cards */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 20px;
}
@media (max-width: 1000px) { .grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px)  { .grid { grid-template-columns: 1fr; } }

/* Testimonial card */
.tcard {
  background: #fff;
  border: 1px solid #eef2f7;
  border-radius: 16px;
  padding: 16px;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 14px;
  align-items: start;
}
.avatar { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.headerline { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.name { font-weight: 800; }
.meta { color: #64748b; font-size: 12px; }
.badge {
  display: inline-flex; gap: 6px; align-items: center;
  padding: 6px 10px; border: 1px solid #d5f0e2; background: #f5fdfa;
  border-radius: 999px; color: #134e3a; font-size: 12px; font-weight: 700;
}
blockquote { margin: 6px 0 0; line-height: 1.6; color: #111; }
cite { display: block; color: #667085; font-style: normal; font-size: 12px; margin-top: 6px; }
.pet { color: #64748b; }

/* Toolbar */
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin: 18px 0; }
.btn-ghost { background: #fff; color: var(--fg); border: 1px solid var(--line); }

/* Note */
.note {
  background: #f5fdfa;
  border: 1px solid #d5f0e2;
  color: #134e3a;
  border-radius: 10px;
  padding: 10px 12px;
  margin-top: 10px;
  font-size: 13px;
}

/* Stars widget */
.stars { display: inline-flex; gap: 2px; }
.star {
  width: 14px; height: 14px; display: inline-block;
  background: conic-gradient(#f59e0b 0 75%, #fff 0);
  -webkit-mask: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" xmlns=%22http://www.w3.org/2000/svg%22><path d=%22M12 .587l3.668 7.431 8.2 1.192-5.934 5.787 1.402 8.168L12 18.896 4.664 23.165l1.402-8.168L.132 9.21l8.2-1.192z%22/></svg>') center/contain no-repeat;
          mask: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" xmlns=%22http://www.w3.org/2000/svg%22><path d=%22M12 .587l3.668 7.431 8.2 1.192-5.934 5.787 1.402 8.168L12 18.896 4.664 23.165l1.402-8-168L.132 9.21l8.2-1.192z%22/></svg>') center/contain no-repeat;
}