/* ═══════════════════════════════════════
   TESTIMONIALS PAGE
   Reuses --teal/--gold/--text-body/--border
   from assets/css/style.css:2-10, and the
   shared .hero-section / .hero-eyebrow /
   .filter-tabs / .tab-btn / .btn-teal
   components — this file only adds what's
   genuinely new for this page.
═══════════════════════════════════════ */

.tst-hero-eyebrow {
  position: relative;
}
.tst-hero-eyebrow::before,
.tst-hero-eyebrow::after {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--teal);
  vertical-align: middle;
  margin: 0 10px 3px;
}

.tst-hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
}

.tst-hero-subtitle {
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

.tst-items-section {
  padding-top: 56px;
  padding-bottom: 56px;
}

.tst-filter-tabs {
  margin-bottom: 40px;
}

.tst-count {
  display: inline-block;
  margin-left: 6px;
  opacity: .7;
  font-weight: 700;
}

/* ── Masonry grid ─────────────────────── */
.tst-grid {
  column-count: 4;
  column-gap: 24px;
}
@media (max-width: 991px) { .tst-grid { column-count: 2; } }
@media (max-width: 575px) { .tst-grid { column-count: 1; } }

.tst-card {
  break-inside: avoid;
  margin-bottom: 24px;
  border-radius: 12px;
  overflow: hidden;
}

/* ── Video card ───────────────────────── */
.tst-card-video-link {
  position: relative;
  display: block;
  min-height: 340px;
  background-color: #0b3b42;
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
}

.tst-card-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2,49,56,.35) 0%, rgba(2,49,56,.15) 45%, rgba(2,32,37,.92) 100%);
}

.tst-video-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.18);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 20px;
}
.tst-video-tag i { font-size: .6rem; }

.tst-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  font-size: 1.1rem;
}

.tst-card-video-caption {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  color: #fff;
}
.tst-card-video-caption strong {
  display: block;
  font-size: 1.05rem;
}
.tst-card-video-caption small {
  display: block;
  opacity: .8;
  margin-top: 2px;
}

/* Inline playback — one video at a time (assets/js/testimonials-page.js) */
.tst-card-video-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.tst-card-video.tst-playing .tst-card-video-link {
  background-image: none !important;
}

/* ── Text card ────────────────────────── */
.tst-card-text {
  background: #fff;
  border: 1px solid var(--border);
  padding: 24px;
}

.tst-category {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--teal);
  background: var(--teal-light);
  border-radius: 20px;
  padding: 4px 12px;
  margin-bottom: 12px;
}

.tst-quote-mark {
  display: block;
  font-size: 1.8rem;
  line-height: 1;
  color: var(--teal);
  margin-bottom: 6px;
}

.tst-quote {
  color: var(--text-body);
  font-size: .92rem;
  line-height: 1.65;
  margin-bottom: 18px;
}

.tst-attribution {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--border);
  padding-top: 14px;
}

.tst-avatar {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tst-attribution-text strong {
  display: block;
  font-size: .88rem;
  color: var(--text-dark);
}
.tst-attribution-text small {
  display: block;
  color: var(--text-body);
  font-size: .78rem;
}

/* ── Bottom CTA ───────────────────────── */
.tst-cta {
  background: var(--teal-light);
  padding: 64px 0;
  margin-bottom: 56px;
}
.tst-cta h2 {
  font-family: 'Playfair Display', Georgia, serif;
}
.tst-cta-subtext {
  color: var(--text-body);
  max-width: 520px;
  margin: 10px auto 28px;
}
.tst-cta .btn-teal {
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 700;
  font-size: .78rem;
  padding: .8rem 2.2rem;
}
