/* LEAP Education — Learner Stories */

.ls-page {
  max-width: 1140px;
  margin: 0 auto;
  padding: 5rem 1.25rem 4rem;
}

.ls-page--detail {
  max-width: 820px;
}

.ls-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 1.75rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.45);
}

.ls-breadcrumb a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color 0.15s;
}

.ls-breadcrumb a:hover {
  color: #F59E0B;
}

.ls-breadcrumb span[aria-hidden="true"] {
  opacity: 0.35;
}

.ls-hero {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ls-hero__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}

.ls-hero__subtitle {
  font-size: 1.15rem;
  font-weight: 600;
  color: #F59E0B;
  margin: 0 0 1rem;
}

.ls-hero__intro {
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.62);
  max-width: 680px;
  margin: 0;
}

.ls-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.ls-grid--related {
  grid-template-columns: repeat(2, 1fr);
}

.ls-card {
  display: flex;
  flex-direction: column;
  background: rgba(10, 22, 40, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  height: 100%;
}

.ls-card:hover {
  border-color: rgba(245, 158, 11, 0.35);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.ls-card__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.ls-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.12);
}

.ls-card__country {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
  text-align: right;
  line-height: 1.4;
}

.ls-card__quote {
  font-style: italic;
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
  margin: 0 0 1.25rem;
  flex: 1;
  text-align: center;
}

.ls-card__name {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.35rem;
}

.ls-card__course {
  font-size: 0.8125rem;
  margin-bottom: 0.75rem;
}

.ls-card__course a {
  color: #a78bfa;
  text-decoration: none;
  transition: color 0.15s;
}

.ls-card__course a:hover {
  color: #F59E0B;
}

.ls-card__badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: #F59E0B;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 999px;
  padding: 0.3rem 0.75rem;
  margin-bottom: 1rem;
  width: fit-content;
}

.ls-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #F59E0B;
  text-decoration: none;
  margin-top: auto;
  transition: color 0.15s;
}

.ls-card__link:hover {
  color: #fff;
}

.ls-trust-bar {
  text-align: center;
  margin: 3rem 0 2rem;
  padding: 1.25rem 1.5rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.875rem;
  line-height: 1.7;
}

.ls-cta {
  text-align: center;
  margin-top: 1rem;
}

.ls-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 1rem;
  font-weight: 700;
  color: #0A1628;
  background: #F59E0B;
  border-radius: 10px;
  padding: 0.85rem 1.75rem;
  text-decoration: none;
  transition: filter 0.2s, transform 0.2s;
}

.ls-cta__btn:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
  color: #0A1628;
}

/* Detail page */
.ls-detail-hero {
  text-align: center;
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ls-detail-hero__avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  margin: 0 auto 1.25rem;
  border: 3px solid rgba(255, 255, 255, 0.12);
}

.ls-detail-hero__title {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 800;
  color: #fff;
  margin: 0 0 0.5rem;
}

.ls-detail-hero__country {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0.75rem;
}

.ls-detail-hero__course {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 0.75rem;
}

.ls-detail-hero__course a {
  color: #a78bfa;
  text-decoration: none;
  font-weight: 600;
}

.ls-detail-hero__course a:hover {
  color: #F59E0B;
}

.ls-detail-hero__badge {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #F59E0B;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 999px;
  padding: 0.4rem 1rem;
}

.ls-prose {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1rem;
  line-height: 1.75;
}

.ls-prose h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin: 2rem 0 0.75rem;
  letter-spacing: -0.01em;
}

.ls-prose h2:first-child {
  margin-top: 0;
}

.ls-prose p {
  margin: 0 0 1rem;
}

.ls-pullquote {
  margin: 2.5rem 0;
  padding: 1.5rem 1.5rem 1.5rem 1.25rem;
  border-left: 4px solid #F59E0B;
  background: rgba(245, 158, 11, 0.06);
  border-radius: 0 12px 12px 0;
}

.ls-pullquote__text {
  font-size: clamp(1.25rem, 2.8vw, 1.5rem);
  font-style: italic;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
  margin: 0 0 0.75rem;
}

.ls-pullquote__cite {
  font-size: 0.875rem;
  font-style: normal;
  color: rgba(255, 255, 255, 0.5);
}

.ls-course-box {
  margin: 2.5rem 0;
  padding: 1.5rem;
  background: rgba(10, 22, 40, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
}

.ls-course-box__label {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.75);
  margin: 0 0 0.5rem;
}

.ls-course-box__label strong {
  color: #fff;
}

.ls-course-box__desc {
  font-size: 0.875rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.55);
  margin: 0 0 1rem;
}

.ls-course-box__btn {
  display: inline-flex;
  align-items: center;
  font-size: 0.875rem;
  font-weight: 700;
  color: #0A1628;
  background: #F59E0B;
  border-radius: 8px;
  padding: 0.65rem 1.25rem;
  text-decoration: none;
  transition: filter 0.2s;
}

.ls-course-box__btn:hover {
  filter: brightness(1.08);
  color: #0A1628;
}

.ls-detail-cta {
  margin-top: 2.5rem;
  padding: 2rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
}

.ls-detail-cta h2 {
  font-size: 1.375rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 0.5rem;
}

.ls-detail-cta p {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0 0 1.25rem;
}

.ls-detail-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.ls-detail-cta__primary {
  display: inline-flex;
  align-items: center;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #0A1628;
  background: #F59E0B;
  border-radius: 8px;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  transition: filter 0.2s;
}

.ls-detail-cta__primary:hover {
  filter: brightness(1.08);
  color: #0A1628;
}

.ls-detail-cta__secondary {
  display: inline-flex;
  align-items: center;
  font-size: 0.9375rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}

.ls-detail-cta__secondary:hover {
  border-color: #F59E0B;
  color: #fff;
}

.ls-related {
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ls-related__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 1.5rem;
}

@media (max-width: 900px) {
  .ls-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .ls-page {
    padding-top: 4rem;
  }

  .ls-grid,
  .ls-grid--related {
    grid-template-columns: 1fr;
  }

  .ls-trust-bar {
    font-size: 0.8125rem;
  }
}
