/* ==========================================================================
   Review Card Styles
   ========================================================================== */

.af-review-card {
  display: flex;
  flex-direction: column;
  background-color: var(--surface-color);
  padding: var(--spacing-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--surface-color-alt);
  height: 100%;
  transition: box-shadow var(--transition-normal);
  position: relative;
}

.af-review-card:hover {
  box-shadow: var(--shadow-md);
}

/* Decorative Quote Icon */
.af-review-quote-icon {
  font-family: var(--font-heading);
  font-size: 4rem;
  line-height: 1;
  color: var(--secondary-color);
  opacity: 0.2;
  position: absolute;
  top: var(--spacing-md);
  right: var(--spacing-xl);
}

/* Review Message */
.af-review-message {
  font-size: 1rem;
  color: var(--text-secondary);
  font-style: italic;
  line-height: 1.7;
  margin-bottom: var(--spacing-xl);
  flex-grow: 1; /* Pushes the author section to the bottom */
  position: relative;
  z-index: 1;
}

/* Author Section */
.af-review-author-section {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  margin-top: auto;
  border-top: 1px solid var(--surface-color-alt);
  padding-top: var(--spacing-md);
}

/* Author Avatar */
.af-review-avatar {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 2px solid var(--surface-color-alt);
}

/* Author Info */
.af-review-author-info {
  display: flex;
  flex-direction: column;
}

.af-review-author-name {
  margin: 0;
  font-size: 1rem;
  color: var(--primary-color-dark);
}

.af-review-author-title {
  font-size: 0.875rem;
  color: var(--text-muted);
}