/* Levenslicht Typography
   Based on design guide section 3: major third scale (1.25) */

/* ── Headings ── */

h1, .h1 {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--heading);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-6);
}

h2, .h2 {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 500;
  color: var(--heading);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-6);
}

h3, .h3 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 400;
  color: var(--heading);
  line-height: 1.25;
  margin-bottom: var(--space-4);
}

h4, .h4 {
  font-family: var(--font-body);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--heading);
  line-height: 1.3;
  margin-bottom: var(--space-4);
}

/* ── Heading spacing within articles ── */

.article-content h2,
.article-content h3,
.article-content h4 {
  margin-top: var(--space-10);
}

/* ── Body Text ── */

p {
  margin-bottom: var(--space-4);
  line-height: 1.5;
  letter-spacing: 0.01em;
}

/* ── Meta Text ── */

.meta {
  font-size: var(--text-sm);
  color: var(--meta);
  line-height: 1.5;
  letter-spacing: 0.02em;
}

.caption {
  font-size: var(--text-xs);
  color: var(--meta);
  line-height: 1.4;
}

/* ── Links ── */

.article-content a,
.content-body a {
  color: var(--category-color, var(--text));
  text-decoration: underline;
  text-decoration-color: var(--category-color, var(--hairline));
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: text-decoration-color var(--duration-fast) var(--ease-default),
              color var(--duration-fast) var(--ease-default);
}

.article-content a:hover,
.content-body a:hover {
  color: var(--link-hover);
  text-decoration-color: var(--link-hover);
}

/* ── Blockquote ── */

blockquote {
  border-left: 1px solid var(--hairline);
  padding-left: var(--space-6);
  margin: var(--space-6) 0;
  font-style: italic;
}

blockquote p:last-child {
  margin-bottom: 0;
}

/* ── Bible Text ── */

.bible-text {
  font-family: var(--font-body);
  font-style: italic;
  line-height: 1.5;
}

/* ── Lists (within article content) ── */

.article-content ul,
.article-content ol {
  margin: 0 0 var(--space-4) var(--space-6);
}

.article-content ul {
  list-style: disc;
}

.article-content ol {
  list-style: decimal;
}

.article-content li {
  margin-bottom: var(--space-2);
  line-height: 1.5;
}

/* ── Strong & Emphasis ── */

strong, b {
  font-weight: 600;
}

em, i {
  font-style: italic;
}

/* ── Horizontal Rule (in article content) ── */

.article-content hr {
  height: 1px;
  background: var(--hairline);
  border: none;
  margin: var(--space-8) 0;
}

/* ── Drop Cap ── */

.content-section--voorwoord + .content-section--hoofdinhoud > p:first-of-type::first-letter {
  font-family: var(--font-display);
  font-size: 3.4em;
  font-weight: 700;
  line-height: 0.82;
  float: left;
  margin-right: 0.08em;
  margin-bottom: -0.05em;
  color: var(--heading);
}

/* ── Selection ── */

::selection {
  background: var(--cat-geloofszekerheid-light);
  color: var(--heading);
}
