/* Article page styles — extends site.css */
.article {
  width: min(100% - 32px, 780px);
  margin: 0 auto;
  padding: 48px 0 60px;
}
.article h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.15;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}
.article h2 {
  font-size: 1.35rem;
  margin: 36px 0 10px;
  color: var(--accent-dark);
}
.article h3 {
  font-size: 1.1rem;
  margin: 24px 0 8px;
}
.article p {
  margin: 0 0 14px;
  color: var(--ink);
  line-height: 1.75;
}
.article ul, .article ol {
  margin: 0 0 16px 20px;
  line-height: 1.75;
}
.article li { margin-bottom: 6px; }
.article strong { color: var(--ink); }
.article .callout {
  background: var(--accent-light);
  border-left: 4px solid var(--accent);
  border-radius: 0 12px 12px 0;
  padding: 18px 22px;
  margin: 20px 0;
}
.article .callout p:last-child { margin-bottom: 0; }
.article .warning {
  background: #fdf0ef;
  border-left-color: #c0392b;
}
.article .example {
  background: #f0f5f4;
  border-left-color: var(--muted);
}
.article table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 0.92rem;
}
.article th, .article td {
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.article th {
  background: var(--accent-light);
  font-weight: 700;
}
.article .formula-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 20px;
  margin: 16px 0;
  font-family: 'Georgia', serif;
  font-size: 1.05rem;
  text-align: center;
  color: var(--accent-dark);
}
.article .nav-links {
  display: flex;
  justify-content: space-between;
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.article .nav-links a {
  font-weight: 600;
  font-size: 0.9rem;
}
.article svg { max-width: 100%; height: auto; margin: 16px 0; }
