/* ═══════════════════════════════════════════════════════════════
   Testimonials Teaser
   Embedded inside HomeView and CourseOverviewView.
   Eyebrow + heading + pull-quote card + attribution + CTA to /alum.
   Mirrors the lecturer-teaser visual rhythm.
   ═══════════════════════════════════════════════════════════════ */

.testimonials-teaser {
  position: relative;
  padding: var(--space-3xl) var(--space-lg);
}

.testimonials-teaser__inner {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-lg);
}

.testimonials-teaser .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-teaser__eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #5a5b6a;
}

.testimonials-teaser__heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 36px;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #191a23;
  margin: 0;
}

.testimonials-teaser__figure {
  position: relative;
  width: 100%;
  margin: var(--space-md) 0 var(--space-sm) 0;
  padding: 36px 40px 32px 40px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(900px 280px at 85% -20%, rgba(8, 148, 255, 0.06), transparent 60%),
    radial-gradient(600px 240px at 10% 120%, rgba(189, 50, 214, 0.05), transparent 60%),
    #ffffff;
  border: 1px solid rgba(0, 60, 130, 0.08);
  box-shadow: var(--shadow-md);
  text-align: start;
  isolation: isolate;
}

.testimonials-teaser__mark {
  position: absolute;
  top: 8px;
  inset-inline-start: 18px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 72px;
  line-height: 1;
  color: rgba(8, 148, 255, 0.12);
  z-index: 0;
  pointer-events: none;
}

.testimonials-teaser__quote {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.55;
  letter-spacing: -0.01em;
  color: #191a23;
  margin: 0 0 var(--space-lg) 0;
}

.testimonials-teaser__attribution {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
}

.testimonials-teaser__avatar {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  overflow: hidden;
  background: linear-gradient(135deg, #eaf3ff 0%, #f5eaff 100%);
  border: 1px solid rgba(0, 60, 130, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.testimonials-teaser__avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.testimonials-teaser__attribution-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.4;
}

.testimonials-teaser__attribution-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: #191a23;
}

.testimonials-teaser__attribution-role {
  font-family: var(--font-body);
  font-size: 13.5px;
  color: #5a5b6a;
}

.testimonials-teaser__cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: var(--space-sm);
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: #0071E3;
  background: #ffffff;
  border: 1px solid rgba(0, 113, 227, 0.25);
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.testimonials-teaser__cta:hover {
  color: #0077ED;
  border-color: rgba(0, 113, 227, 0.55);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.testimonials-teaser__cta svg {
  flex: 0 0 auto;
}

/* ── Tablet ─────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .testimonials-teaser {
    padding: var(--space-2xl) var(--space-lg);
  }
  .testimonials-teaser__heading {
    font-size: 30px;
  }
  .testimonials-teaser__figure {
    padding: 32px 32px 28px 32px;
  }
  .testimonials-teaser__quote {
    font-size: 20px;
  }
}

/* ── Mobile ─────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .testimonials-teaser {
    padding: var(--space-2xl) var(--space-md);
  }
  .testimonials-teaser__heading {
    font-size: 24px;
    letter-spacing: -0.02em;
  }
  .testimonials-teaser__figure {
    padding: 28px 22px 24px 22px;
    border-radius: var(--radius-md);
  }
  .testimonials-teaser__mark {
    font-size: 56px;
    inset-inline-start: 12px;
    top: 4px;
  }
  .testimonials-teaser__quote {
    font-size: 18px;
    line-height: 1.5;
  }
  .testimonials-teaser__avatar {
    width: 44px;
    height: 44px;
  }
  .testimonials-teaser__attribution-name {
    font-size: 14.5px;
  }
  .testimonials-teaser__attribution-role {
    font-size: 13px;
  }
}
