/* ALMA MEEO V5.0 / FIX3J — Pričevanja članov · MD testimonial system */

.am-testimonials-page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 18px 64px;
}

.am-testimonials-hero {
  border-radius: 30px;
  padding: clamp(28px, 5vw, 64px);
  background:
    radial-gradient(circle at 18% 10%, rgba(255, 210, 123, .22), transparent 30%),
    radial-gradient(circle at 82% 0%, rgba(255, 255, 255, .10), transparent 24%),
    linear-gradient(135deg, #120b09 0%, #2a140d 48%, #6f3418 100%);
  color: #fff8eb;
  box-shadow: 0 24px 70px rgba(60, 26, 10, .24);
  overflow: hidden;
}

.am-testimonials-kicker {
  margin: 0 0 14px;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-size: .78rem;
  color: #ffd78a;
  font-weight: 800;
}

.am-testimonials-hero h1 {
  margin: 0;
  font-size: clamp(2.15rem, 6vw, 4.9rem);
  line-height: .96;
  letter-spacing: -.06em;
  max-width: 850px;
}

.am-testimonials-subtitle {
  margin: 18px 0 0;
  color: #ffe7ba;
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  font-weight: 700;
}

.am-testimonials-lead {
  max-width: 820px;
  margin: 18px 0 0;
  color: rgba(255, 248, 235, .88);
  font-size: 1.05rem;
  line-height: 1.75;
}

.am-testimonials-note,
.am-testimonials-submit,
.am-testimonials-empty {
  margin: 20px 0 0;
  border: 1px solid rgba(142, 84, 35, .18);
  border-radius: 24px;
  background: rgba(255, 252, 246, .88);
  box-shadow: 0 14px 40px rgba(91, 46, 18, .08);
  padding: 22px;
}

.am-testimonials-note p,
.am-testimonials-submit p,
.am-testimonials-empty p {
  margin: 0;
  color: #5e463a;
  line-height: 1.7;
}

.am-testimonials-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0;
  align-items: center;
}

.am-testimonials-filter-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 16px;
  border-radius: 999px;
  text-decoration: none;
  color: #5b311e;
  background: #fff8eb;
  border: 1px solid rgba(142, 84, 35, .20);
  font-weight: 800;
  box-shadow: 0 7px 18px rgba(91, 46, 18, .06);
}

.am-testimonials-filter-link.active,
.am-testimonials-filter-link:hover {
  color: #fff8eb;
  background: linear-gradient(135deg, #4d2412, #b76b2c);
  border-color: transparent;
}

.am-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.am-testimonial-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 22px;
  border-radius: 26px;
  background: #fffaf1;
  border: 1px solid rgba(142, 84, 35, .17);
  box-shadow: 0 18px 44px rgba(91, 46, 18, .10);
}

.am-testimonial-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.am-testimonial-platform,
.am-testimonial-featured {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.am-testimonial-platform {
  color: #fff8eb;
  background: #3a1b10;
}

.am-testimonial-featured {
  color: #5b311e;
  background: #ffe4a7;
}

.am-testimonial-card h2 {
  margin: 0;
  color: #23110a;
  font-size: 1.35rem;
  line-height: 1.18;
  letter-spacing: -.03em;
}

.am-testimonial-author {
  margin: 10px 0 0;
  color: #8a4d28;
  font-weight: 900;
}

.am-testimonial-date {
  margin: 4px 0 0;
  color: #776256;
  font-size: .9rem;
}

.am-testimonial-intro {
  margin: 14px 0 0;
  color: #4f3a31;
  line-height: 1.7;
  flex: 1 1 auto;
}

.am-testimonial-intro p {
  margin: 0 0 10px;
}

.am-testimonial-intro p:last-child {
  margin-bottom: 0;
}

.am-testimonial-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 0;
  color: #6a5146;
  font-size: .86rem;
}

.am-testimonial-meta span {
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(115, 64, 32, .08);
}

.am-testimonial-button,
.am-testimonials-template-link {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 17px;
  border-radius: 999px;
  text-decoration: none;
  color: #fff8eb;
  background: linear-gradient(135deg, #3a1b10, #bb6b2e);
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(91, 46, 18, .18);
}

.am-testimonials-submit h2,
.am-testimonials-empty h2 {
  margin: 0 0 10px;
  color: #2d170e;
  letter-spacing: -.03em;
}

@media (max-width: 960px) {
  .am-testimonials-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .am-testimonials-page {
    padding: 16px 12px 44px;
  }

  .am-testimonials-hero,
  .am-testimonials-note,
  .am-testimonials-submit,
  .am-testimonials-empty,
  .am-testimonial-card {
    border-radius: 20px;
  }

  .am-testimonials-grid {
    grid-template-columns: 1fr;
  }

  .am-testimonials-filter {
    gap: 8px;
  }

  .am-testimonials-filter-link {
    min-height: 36px;
    padding: 8px 12px;
    font-size: .9rem;
  }
}
