/* ============================================================
   YOUNGER LONGER – TYPOGRAPHY
   ============================================================ */

body {
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-normal);
  color: var(--color-text);
  background-color: var(--color-background);
  line-height: var(--line-height-base);
}

/* ── Headings ── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  color: var(--color-text);
}

h1 { font-size: var(--font-size-3xl); }
h2 { font-size: var(--font-size-2xl); }
h3 { font-size: var(--font-size-xl);  }
h4 { font-size: var(--font-size-lg);  }
h5 { font-size: var(--font-size-md);  }
h6 { font-size: var(--font-size-base);}

/* ── Article body headings (larger, more editorial) ── */
.article-body h1 { font-size: var(--font-size-4xl); }
.article-body h2 { font-size: var(--font-size-2xl); margin-top: var(--space-12); }
.article-body h3 { font-size: var(--font-size-xl);  margin-top: var(--space-8);  }
.article-body h4 { font-size: var(--font-size-lg);  margin-top: var(--space-6);  }

/* ── Paragraphs ── */
p {
  margin-bottom: var(--space-4);
  line-height: var(--line-height-loose);
}

.article-body p {
  font-size: var(--font-size-md);
  line-height: var(--line-height-loose);
  margin-bottom: var(--space-6);
}

/* ── Links ── */
a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-primary-dark);
}

/* ── Lists ── */
.article-body ul,
.article-body ol {
  margin: var(--space-4) 0 var(--space-6) var(--space-6);
  line-height: var(--line-height-loose);
}

.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }

.article-body li {
  margin-bottom: var(--space-2);
  font-size: var(--font-size-md);
}

/* ── Strong & Em ── */
strong { font-weight: var(--font-weight-semibold); }
em     { font-style: italic; }

/* ── Blockquote ── */
blockquote {
  border-left: 3px solid var(--color-accent);
  padding: var(--space-4) var(--space-6);
  margin: var(--space-8) 0;
  background: var(--color-accent-light);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
  font-size: var(--font-size-md);
  color: var(--color-text-light);
}

/* ── Code ── */
code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  background: var(--color-surface);
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
}

/* ── Small / Caption ── */
small, .text-sm  { font-size: var(--font-size-sm); }
.text-xs         { font-size: var(--font-size-xs); }
.text-muted      { color: var(--color-text-light); }
.text-center     { text-align: center; }
.text-uppercase  { text-transform: uppercase; letter-spacing: 0.08em; }

/* ── Label style (category tags, etc.) ── */
.label {
  font-family: var(--font-heading);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-primary);
}

/* ── Horizontal rule ── */
hr {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: var(--space-8) 0;
}
