/* Approaches directory + detail */

@import url('./specialists.css');

.approaches-page {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 var(--space-xl) var(--space-2xl);
}

.approaches-page__header {
  padding: 44px 0 36px;
  max-width: 640px;
}

.approaches-page__title {
  font-family: var(--font-heading);
  font-weight: var(--fw-bold);
  font-size: 40px;
  line-height: 1.08;
  color: var(--ppch-deep);
  margin: 0 0 14px;
}

.approaches-page__lead {
  font-size: 18px;
  line-height: 1.55;
  color: var(--text-secondary);
  margin: 0;
}

.approaches-page__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.approaches-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 140px;
  padding: 28px 26px;
  background: var(--surface-card);
  border: var(--stroke-hair) solid var(--border-subtle);
  border-radius: 22px;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: inherit;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.2s ease;
}

.approaches-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
  text-decoration: none;
  color: inherit;
}

.approaches-card__label {
  font-family: var(--font-heading);
  font-weight: var(--fw-medium);
  font-size: 22px;
  line-height: 1.25;
  color: var(--ppch-deep);
}

.approaches-card__excerpt {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-secondary);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.approaches-card__link {
  margin-top: auto;
  font-size: 15px;
  font-weight: var(--fw-medium);
  color: var(--accent);
}

.approaches-page__footer {
  margin-top: 36px;
  text-align: center;
}

/* —— Detail page —— */

.approach-page {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 var(--space-xl) var(--space-2xl);
}

.approach-page .breadcrumb {
  padding: 28px 0 22px;
}

.approach-hero {
  padding: 36px 40px;
  background: var(--surface-card);
  border: var(--stroke-hair) solid var(--border-subtle);
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
}

.approach-hero__title {
  font-family: var(--font-heading);
  font-weight: var(--fw-bold);
  font-size: 40px;
  line-height: 1.08;
  color: var(--ppch-deep);
  margin: 0 0 16px;
  text-wrap: balance;
}

.approach-hero__lead {
  font-size: 19px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
  max-width: 820px;
}

.approach-layout {
  margin-top: 22px;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 22px;
  align-items: start;
}

.approach-content,
.approach-helps {
  background: var(--surface-card);
  border: var(--stroke-hair) solid var(--border-subtle);
  border-radius: 22px;
  box-shadow: var(--shadow-sm);
  padding: 32px 34px;
}

.approach-content__overline,
.approach-helps__overline {
  font-size: 12px;
  font-weight: var(--fw-medium);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted, #999);
  margin-bottom: 22px;
}

.approach-content__body.prose > *:first-child {
  margin-top: 0;
}

.approach-content__body.prose > *:last-child {
  margin-bottom: 0;
}

.approach-content__body.prose h2 {
  font-family: var(--font-heading);
  font-weight: var(--fw-medium);
  font-size: 20px;
  line-height: 1.3;
  color: var(--ppch-deep);
  margin: 28px 0 10px;
}

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

.approach-content__body.prose p {
  font-size: 17px;
  line-height: 1.62;
  color: var(--text-secondary);
  margin: 0 0 14px;
}

.approach-content__body.prose ul {
  margin: 0;
  padding-left: 1.2em;
}

.approach-content__body.prose li {
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.approach-content__empty {
  margin: 0;
  color: var(--text-secondary);
}

.approach-helps__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.approach-helps__tag {
  border: var(--stroke-hair) solid var(--border-subtle);
  background: var(--ppch-ivory, #fcfdfa);
  color: var(--text-secondary);
  font-size: 14.5px;
  font-weight: var(--fw-medium);
  padding: 9px 17px;
  border-radius: var(--radius-pill);
}

.approach-helps__link {
  font-size: 15.5px;
  font-weight: var(--fw-medium);
  color: var(--ppch-deep);
  text-decoration: none;
}

.approach-helps__link:hover {
  color: var(--accent);
}

.approach-specialists {
  margin-top: 48px;
}

.approach-specialists__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.approach-specialists__title {
  font-family: var(--font-heading);
  font-weight: var(--fw-bold);
  font-size: 28px;
  letter-spacing: -0.01em;
  color: var(--ppch-deep);
  margin: 0;
}

.approach-specialists__count {
  font-size: 15px;
  color: var(--text-muted, #999);
}

.approach-specialists__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.approach-specialists__empty {
  color: var(--text-secondary);
  margin: 0 0 16px;
}

.approach-notice {
  margin-top: 18px;
  background: var(--ppch-haze-soft, #edf4f4);
  border: 1.5px dashed var(--teal-light, #67bcb5);
  border-radius: 20px;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  flex-wrap: wrap;
  text-align: center;
  font-size: 17px;
  color: var(--text-secondary);
}

.approach-notice__link {
  border: none;
  background: transparent;
  color: var(--ppch-deep);
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: var(--fw-bold);
  cursor: pointer;
  padding: 0;
}

.approach-notice__link:hover {
  color: var(--accent);
}

@media (max-width: 1100px) {
  .approach-specialists__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 960px) {
  .approaches-page,
  .approach-page {
    padding-inline: var(--space-md);
  }

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

  .approach-hero {
    padding: 28px 24px;
  }

  .approach-layout {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .approaches-page__grid,
  .approach-specialists__grid {
    grid-template-columns: 1fr;
  }

  .approaches-page__title,
  .approach-hero__title {
    font-size: 32px;
  }

  .approaches-page__header {
    padding: 28px 0 24px;
  }
}
