/* Testimonial Card
   Figma(Anima) 내보내기 값을 그대로 살려 실제로 동작하는 컴포넌트로 정리한 버전 */

.testimonials-card {
  --tc-bg: #F3F3F3;
  --tc-ink: #2D2D2D;

  /* Auto layout */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  padding: 42px;
  gap: 68px;

  min-width: 0;
  min-height: 330px;
  background: var(--tc-bg);
  color: var(--tc-ink);
  font-family: 'Epilogue', 'Pretendard', sans-serif;
}

/* Subtitle — 후기 문구 */
.testimonials-card__quote {
  align-self: stretch;
  font-weight: 600;
  font-size: 20px;
  line-height: 30px;
}

/* Client Image & Info */
.testimonials-card__client {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 16px;
  align-self: stretch;
}

/* Client Image */
.testimonials-card__avatar {
  flex: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  object-fit: cover;
  display: grid;
  place-items: center;
  background: var(--tc-ink);
  color: var(--tc-bg);
  font-weight: 600;
  font-size: 20px;
}

/* 디자인 이미지(Testimonial Card.png) 안의 프로필 사진(50x50, 42,200 위치)을 잘라서 사용 */
.testimonials-card__avatar--sample {
  background: url("Testimonial%20Card.png") -42px -200px / 395px 330px no-repeat;
}

/* Client Info & Stars */
.testimonials-card__info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
  flex-grow: 1;
  min-width: 0;
}

/* Stars */
.testimonials-card__stars {
  display: flex;
  flex-direction: row;
  gap: 6px;
}

.testimonials-card__stars svg {
  width: 20px;
  height: 20px;
  fill: var(--tc-ink);
}

.testimonials-card__stars svg.is-empty {
  fill: none;
  stroke: var(--tc-ink);
  stroke-width: 1.5;
}

/* Name & Company */
.testimonials-card__name {
  font-weight: 600;
  font-size: 20px;
  line-height: 30px;
}

.testimonials-card__company {
  font-weight: 400;
  font-size: 17px;
  line-height: 27px;
}

/* 다크 모드: 페이지 테마에 맞춰 색만 반전 */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .testimonials-card { --tc-bg: #1f2024; --tc-ink: #ECECEC; }
}
:root[data-theme="dark"] .testimonials-card { --tc-bg: #1f2024; --tc-ink: #ECECEC; }

@media (max-width: 720px) {
  .testimonials-card { padding: 32px; gap: 40px; min-height: 0; }
}
