/**
 * Azharica Testimonials Styles
 */

.az-testimonials-container {
  width: 100%;
  margin: 24px auto;
  box-sizing: border-box;
}

.az-testimonials-grid {
  display: grid;
  gap: 24px;
}

.az-cols-2 .az-testimonials-grid {
  grid-template-columns: repeat(2, 1fr);
}

.az-cols-3 .az-testimonials-grid {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 992px) {
  .az-cols-3 .az-testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .az-cols-3 .az-testimonials-grid,
  .az-cols-2 .az-testimonials-grid {
    grid-template-columns: 1fr;
  }
}

.az-testimonial-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid #f1f5f9;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.az-testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.09);
}

.az-testimonial-rating {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}

.az-testimonial-quote {
  margin: 0 0 24px;
  font-size: 15px;
  line-height: 1.65;
  color: #4b5563;
  font-style: italic;
  position: relative;
}

.az-testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid #f3f4f6;
  padding-top: 16px;
}

.az-author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  background: #e5e7eb;
  flex-shrink: 0;
}

.az-author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.az-avatar-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0F5132;
  color: #ffffff;
  font-weight: 700;
  font-size: 18px;
}

.az-author-info {
  display: flex;
  flex-direction: column;
}

.az-author-name {
  margin: 0 0 2px;
  font-size: 15px;
  font-weight: 700;
  color: #111827;
}

.az-author-role {
  font-size: 13px;
  color: #6b7280;
  display: flex;
  gap: 4px;
}

.az-author-role span:first-child {
  color: #0F5132;
  font-weight: 600;
}

.az-author-batch {
  color: #9ca3af;
}
