/* ═══════════════════════════════════════════════════════════════
   Testimonials View (/reviews)
   Filterable, category-grouped list of alumni & client testimonials.
   ═══════════════════════════════════════════════════════════════ */

.testimonials-view {
  max-width: 820px;
  margin: 0 auto;
  padding: var(--space-3xl) var(--space-lg) var(--space-3xl) var(--space-lg);
}

.testimonials-view__hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  text-align: center;
  margin-bottom: var(--space-2xl);
  position: relative;
  isolation: isolate;
}

.testimonials-view__hero > .brand-hairline,
.testimonials-view__hero > .testimonials-view__eyebrow,
.testimonials-view__hero > .testimonials-view__title,
.testimonials-view__hero > .testimonials-view__lead {
  position: relative;
  z-index: 1;
}

.testimonials-view .brand-hairline {
  width: 56px;
  height: 2px;
  border: 0;
  margin: 0 auto;
  background: linear-gradient(90deg, #0894FF 0%, #BD32D6 50%, #FFA304 100%);
  border-radius: 2px;
}

.testimonials-view__eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #5a5b6a;
}

.testimonials-view__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 44px;
  line-height: 1.15;
  letter-spacing: -0.035em;
  color: #191a23;
  margin: 0;
  max-width: 23ch;
}

.testimonials-view__title-mark {
  height: 1.05em;
  vertical-align: -0.08em;
}

.testimonials-view__lead {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.65;
  color: #5a5b6a;
  margin: 0;
  max-width: 56ch;
}

/* ── Filter toolbar ─────────────────────────────────────────── */
.testimonials-view__filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 720px;
  margin: 0 auto var(--space-2xl);
}

.testimonials-view__chip {
  appearance: none;
  border: 1px solid rgba(0, 60, 130, 0.14);
  background: #fff;
  color: #5a5b6a;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  line-height: 1;
  padding: 11px 20px;
  border-radius: var(--radius-full);
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.18s ease, color 0.18s ease,
    border-color 0.18s ease, box-shadow 0.18s ease;
}

.testimonials-view__chip:hover {
  background: var(--fsp-hover-bg);
  border-color: rgba(0, 113, 227, 0.35);
  color: #191a23;
}

.testimonials-view__chip:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

.testimonials-view__chip--active,
.testimonials-view__chip--active:hover {
  background: #191a23;
  border-color: #191a23;
  color: #fff;
  box-shadow: 0 4px 14px rgba(0, 60, 130, 0.16);
}

/* ── Category groups ────────────────────────────────────────── */
.testimonials-view__groups {
  display: flex;
  flex-direction: column;
  /* Re-keyed on filter change, so this replays as a subtle fade-in. */
  animation: reviews-groups-fade 0.26s ease both;
}

@keyframes reviews-groups-fade {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .testimonials-view__groups {
    animation: none;
  }
}

.testimonials-group + .testimonials-group {
  margin-top: var(--space-2xl);
  padding-top: var(--space-2xl);
  border-top: 1px solid rgba(0, 60, 130, 0.08);
}

.testimonials-group__head {
  margin-bottom: var(--space-xl);
  text-align: center;
}

/* Section-title separator - mirrors /about-lecturer
   .lecturer-page-section__title (gradient bar + bold display title). */
.testimonials-group__title {
  position: relative;
  margin: 0;
  padding-block-start: 22px;
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--text-color);
}

.testimonials-group__title::before {
  left: calc(50% - 100px);
  content: '';
  position: absolute;
  top: 0;
  width: 200px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #0894FF 0%, #BD32D6 50%, #FFA304 100%);
  margin: auto;
}

.testimonials-group__lead {
  font-size: 16.5px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-top: 14px;
  max-width: 720px;
}

.testimonials-group__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}


/* ── Tablet ─────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .testimonials-view {
    padding: var(--space-2xl) var(--space-lg);
  }
  .testimonials-view__title {
    font-size: 36px;
  }
  .testimonials-view__lead {
    font-size: 17px;
  }
  .testimonials-group__title {
    font-size: 28px;
  }
}

/* ── Mobile ─────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .testimonials-view {
    padding: var(--space-2xl) var(--space-md);
  }
  .testimonials-view__hero {
    gap: var(--space-sm);
    margin-bottom: var(--space-xl);
  }
  .testimonials-view__title {
    font-size: 28px;
    letter-spacing: -0.025em;
    max-width: none;
  }
  .testimonials-view__lead {
    font-size: 15.5px;
    line-height: 1.6;
  }
  .testimonials-view__filter {
    margin-bottom: var(--space-xl);
    gap: 8px;
  }
  .testimonials-view__chip {
    font-size: 14px;
    padding: 10px 16px;
  }
  .testimonials-group + .testimonials-group {
    margin-top: var(--space-xl);
    padding-top: var(--space-xl);
  }
  .testimonials-group__head {
    margin-bottom: var(--space-lg);
  }
  .testimonials-group__title {
    font-size: 24px;
    text-align: center;
  }
  .testimonials-group__title::before {
    inset-inline-start: 50%;
    transform: translateX(50%);
  }
  .testimonials-group__lead {
    text-align: center;
    margin-inline: auto;
  }
  .testimonials-group__list {
    gap: var(--space-lg);
  }
}

.show_cats_testi {
  font-size: 22px;
  display: flex;
  align-items: center;
  margin-left: 10px;
}
