/* Focused evidence and answerability styles for the parent mental-health articles.
   Palette and type inherit from each article's existing inline style. */
.article-body .article-summary,
.article-body .article-sources,
.article-body .article-faq,
.article-body .article-editorial-note {
  min-width: 0;
  max-width: 100%;
}

.article-body .article-summary {
  margin: 28px 0 34px;
  padding: 20px 22px;
  background: var(--teal-pale, #e4f3f4);
  border: 1px solid var(--teal-light, #a8d4d6);
  border-left: 4px solid var(--teal, #3d8b8f);
  border-radius: 0 12px 12px 0;
}

.article-body .article-summary h2,
.article-body .article-sources h2,
.article-body .article-faq h2 {
  margin: 0 0 10px;
}

.article-body .article-summary p,
.article-body .article-editorial-note {
  margin-bottom: 0;
}

.article-body .article-comparison,
.article-body .article-script-table {
  width: 100%;
  max-width: 100%;
  margin: 24px 0 30px;
  border-collapse: collapse;
  table-layout: fixed;
  color: var(--charcoal, #2d3534);
  font-size: 15px;
  line-height: 1.55;
}

.article-body .article-comparison caption,
.article-body .article-script-table caption {
  padding: 0 0 10px;
  color: var(--brown-gray, #6b5c50);
  font-family: var(--font-ui, system-ui, sans-serif);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  caption-side: top;
}

.article-body .article-comparison th,
.article-body .article-comparison td,
.article-body .article-script-table th,
.article-body .article-script-table td {
  min-width: 0;
  padding: 10px 11px;
  border: 1px solid var(--border, #e8ddd4);
  overflow-wrap: anywhere;
  vertical-align: top;
  text-align: left;
}

.article-body .article-comparison thead th,
.article-body .article-script-table thead th {
  background: var(--teal-pale, #e4f3f4);
  color: var(--teal-deep, #2a6b6e);
  font-family: var(--font-ui, system-ui, sans-serif);
  font-size: 14px;
  font-weight: 700;
}

.article-body .article-comparison tbody th,
.article-body .article-script-table tbody th {
  background: var(--ivory, #f7f0e6);
  color: var(--ink, #1e2624);
  font-weight: 600;
}

.article-body .article-comparison tbody tr:nth-child(even) td,
.article-body .article-script-table tbody tr:nth-child(even) td {
  background: var(--cream, #fdf8f2);
}

.article-body a {
  color: #205558;
  overflow-wrap: anywhere;
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16em;
}

.article-body [id] {
  scroll-margin-top: 88px;
}

@media (max-width: 600px) {
  .article-body [id] {
    scroll-margin-top: 16px;
  }
}

.article-body .article-sources {
  margin: 36px 0 32px;
  padding: 22px;
  background: var(--ivory, #f7f0e6);
  border: 1px solid var(--border, #e8ddd4);
  border-radius: 14px;
}

.article-body .article-sources ol {
  margin: 0 0 14px 22px;
  gap: 4px;
}

.article-body .article-sources li {
  padding-left: 3px;
  overflow-wrap: anywhere;
}

.article-body .article-sources li a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  max-width: 100%;
  padding: 5px 2px;
  color: var(--teal-deep, #2a6b6e);
  font-weight: 600;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.article-body .article-sources small {
  display: block;
  color: var(--brown-gray, #6b5c50);
  font-size: 14px;
  line-height: 1.65;
}

.article-body .article-faq {
  margin: 36px 0 34px;
}

.article-body .article-faq h3 {
  margin: 24px 0 8px;
  font-size: clamp(1.12rem, 2vw, 1.35rem);
}

.article-body .article-faq h3:first-of-type {
  margin-top: 18px;
}

.article-body .article-faq p {
  margin-bottom: 20px;
}

.article-body .article-editorial-note {
  margin: 28px 0;
  padding: 16px 18px;
  border-left: 3px solid var(--gold, #d4a017);
  background: var(--gold-pale, #fdf6e3);
  border-radius: 0 10px 10px 0;
  color: var(--brown-gray, #6b5c50);
  font-size: 15px;
  line-height: 1.75;
}

.article-body a:focus-visible {
  outline: 3px solid var(--terra-deep, #8b3a1a);
  outline-offset: 3px;
  border-radius: 2px;
}

@media (max-width: 480px) {
  .article-body .article-summary,
  .article-body .article-sources {
    padding: 16px;
  }

  .article-body .article-comparison,
  .article-body .article-script-table {
    font-size: 14px;
  }

  .article-body .article-comparison th,
  .article-body .article-comparison td,
  .article-body .article-script-table th,
  .article-body .article-script-table td {
    padding: 8px 7px;
  }
}
