/**
 * Factory longread typography — same structure as lab nador-portfolio/article.css,
 * remapped to academy light tokens. Scoped to .news-article (single post).
 */

.news-article {
  max-width: none;
  width: 100%;
  color: var(--text-light, #374151);
  font-size: 1.05rem;
  line-height: 1.75;
}

.news-article > h1:first-child {
  display: none;
}

.news-article h2,
.news-article h3,
.news-article h4 {
  color: var(--text, #111827);
  line-height: 1.3;
  font-weight: 700;
  margin: 1.75em 0 0.7em;
  letter-spacing: -0.01em;
}

.news-article h2 {
  font-size: 1.45rem;
  padding-bottom: 0.35em;
  border-bottom: 1px solid var(--border, #e2e8f0);
}

.news-article h3 {
  font-size: 1.2rem;
}

.news-article p {
  margin: 0 0 1.15em;
}

.news-article a {
  color: var(--accent, #2563eb);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

.news-article a:hover {
  color: var(--navy-light, #1e3a8a);
  text-decoration-color: var(--navy-light, #1e3a8a);
}

.news-article ul,
.news-article ol {
  list-style: revert;
  margin: 0 0 1.25em;
  padding-left: 1.35em;
}

.news-article li {
  margin: 0.35em 0;
}

.news-article li + li {
  margin-top: 0.45em;
}

.news-article nav.toc {
  margin: 1.5em 0 2em;
  padding: 1.1em 1.25em;
  border-radius: 14px;
  background: var(--off-white, #f7f9fc);
  border: 1px solid var(--border, #e2e8f0);
  box-shadow: var(--shadow, 0 4px 20px rgba(13, 27, 62, 0.08));
}

.news-article nav.toc > h2 {
  margin: 0 0 0.75em;
  padding: 0;
  border: 0;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy, #0d1b3e);
}

.news-article nav.toc ol,
.news-article nav.toc ul {
  margin: 0;
  padding-left: 1.2em;
}

.news-article nav.toc a {
  color: var(--accent, #2563eb);
  text-decoration: none;
  font-weight: 500;
}

.news-article nav.toc a:hover {
  color: var(--navy-light, #1e3a8a);
  text-decoration: underline;
}

.news-article figure.seo-factory-figure,
.news-article figure {
  margin: 1.5em 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border, #e2e8f0);
}

.news-article figure img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0;
  border-radius: 0;
}

.news-article section#sources,
.news-article #sources {
  margin-top: 2.5em;
  padding-top: 1.25em;
  border-top: 1px solid var(--border, #e2e8f0);
}

.news-article strong {
  color: var(--text, #111827);
  font-weight: 650;
}

.news-article blockquote {
  margin: 1.4em 0;
  padding: 0.85em 1.1em;
  border-left: 3px solid var(--accent, #2563eb);
  background: rgba(37, 99, 235, 0.06);
  border-radius: 0 12px 12px 0;
  color: var(--text-light, #374151);
}

body.single-post .news-article--longread {
  padding: 44px 48px;
}

@media (max-width: 720px) {
  .news-article {
    font-size: 1rem;
    line-height: 1.7;
  }

  .news-article h2 {
    font-size: 1.28rem;
  }

  body.single-post .news-article--longread {
    padding: 24px 18px;
  }
}
