/* Area Planz Design - Native Testimonial Slider Styles */
.ap-testimonial-section {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  box-sizing: border-box;
}

.ap-testimonial-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding: 0 10px;
  flex-wrap: wrap;
  gap: 12px;
}

.ap-header-rating {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ap-google-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: #1a202c;
}

.ap-google-badge img {
  width: 24px;
  height: 24px;
}

.ap-stars-row {
  color: #f59e0b;
  font-size: 18px;
  letter-spacing: 2px;
}

.ap-rating-text {
  font-size: 14px;
  color: #4a5568;
}

.ap-slider-viewport {
  overflow: hidden;
  width: 100%;
  position: relative;
  padding: 10px 0;
}

.ap-slider-track {
  display: flex;
  transition: transform 0.35s ease-in-out;
  box-sizing: border-box;
  will-change: transform;
}

.ap-review-card {
  flex: 0 0 calc(33.333% - 20px);
  margin: 0 10px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
  min-height: 250px;
}

.ap-col-4 .ap-review-card {
  flex: 0 0 calc(25% - 20px);
}

@media (max-width: 1024px) {
  .ap-review-card,
  .ap-col-4 .ap-review-card {
    flex: 0 0 calc(50% - 20px);
  }
}

@media (max-width: 640px) {
  .ap-review-card,
  .ap-col-4 .ap-review-card {
    flex: 0 0 calc(100% - 20px);
    margin: 0 10px;
  }
}

.ap-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.ap-card-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid #edf2f7;
}

.ap-card-user {
  flex-grow: 1;
}

.ap-card-name {
  font-size: 16px;
  font-weight: 700;
  color: #1a202c;
  line-height: 1.2;
}

.ap-card-date {
  font-size: 13px;
  color: #718096;
  margin-top: 2px;
}

.ap-card-stars {
  color: #fbbf24;
  font-size: 16px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.ap-verified-tag {
  font-size: 11px;
  background: #ebf8ff;
  color: #2b6cb0;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 600;
  margin-left: 6px;
}

.ap-card-text {
  font-size: 14px;
  line-height: 1.6;
  color: #4a5568;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 14px;
}

.ap-read-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
  color: #2b6cb0;
  text-decoration: none;
  cursor: pointer;
  align-self: flex-start;
}

.ap-read-more:hover {
  text-decoration: underline;
  color: #1a4971;
}

.ap-slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 20px;
}

.ap-nav-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid #cbd5e0;
  background: #ffffff;
  color: #2d3748;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: all 0.2s ease;
  font-size: 18px;
}

.ap-nav-btn:hover {
  background: #edf2f7;
  border-color: #a0aec0;
  transform: scale(1.05);
}

.ap-nav-btn:active {
  transform: scale(0.95);
}

.ap-card-avatar-wrap {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  position: relative;
}

.ap-avatar-initial {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  user-select: none;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
