/* RentGuarantor CSS: testimonial-card.css (source: src/assets/scss/_testimonial-card.scss) */
/**
 * Testimonial Card Organism
 * Individual testimonial with photo, name, role, and quote
 * Two variants: white background (default) and blue background
 */
.testimonial-card {
  position: relative;
  padding: var(--spacing-1200);
  border-radius: 20px;
  overflow: hidden;
  background-color: var(--tile-secondary);
}
.testimonial-card[data-variant=blue] {
  background-color: var(--tile-primary);
}
.testimonial-card__quote-mark {
  position: absolute;
  top: 0;
  right: 0;
  transform: translateY(-50%);
  width: 178px;
  height: auto;
  overflow: visible;
  pointer-events: none;
  font-family: var(--font-family-heading);
  font-size: 400px;
  font-weight: var(--font-weight-semibold);
  line-height: 1;
  letter-spacing: -8px;
  color: #f3f7fd;
}
[data-variant=blue] .testimonial-card__quote-mark {
  color: var(--color-light-blue-100);
}
.testimonial-card__quote-mark svg {
  position: absolute;
  top: 0;
  right: 0;
}
.testimonial-card__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-1200);
}
.testimonial-card__header {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-800);
}
.testimonial-card__photo {
  flex-shrink: 0;
  width: 125px;
  height: 125px;
}
.testimonial-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}
.testimonial-card__info {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-500);
  justify-content: center;
}
.testimonial-card__name {
  font-family: var(--font-family-heading);
  font-size: var(--font-size-m);
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-m);
  letter-spacing: -0.56px;
  color: var(--color-mid-blue);
  margin-bottom: 0;
}
.testimonial-card__role {
  font-family: var(--font-family-heading);
  font-size: 1.25rem;
  font-weight: var(--font-weight-regular);
  line-height: 1.2;
  letter-spacing: -0.4px;
  color: var(--bs-primary);
  margin-bottom: 0;
}
.testimonial-card__quote p {
  font-family: var(--font-bodycopy);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-xs);
  color: var(--color-black);
  margin-bottom: 0;
}
@media (max-width: 767.98px) {
  .testimonial-card {
    padding: var(--spacing-1000);
  }
  .testimonial-card__content {
    gap: var(--spacing-1000);
  }
  .testimonial-card__header {
    gap: var(--spacing-600);
  }
  .testimonial-card__photo {
    width: 80px;
    height: 80px;
  }
  .testimonial-card__name {
    font-size: var(--font-size-s);
    line-height: 1.2;
  }
  .testimonial-card__role {
    font-size: var(--font-size-xs);
  }
  .testimonial-card__quote p {
    font-size: var(--font-size-xxs);
    line-height: 1.5;
  }
  .testimonial-card__quote-mark {
    width: 120px;
    height: 280px;
  }
}