/* reading.css — AISPIRE reading styles
   Loaded by docs/_layouts/default.html for all GitHub Pages reading content.
   Applies globally — no per-module changes needed.
*/

/* ─── Section divider spacing ─────────────────────────────────────────────── */
/* After a --- divider (rendered as <hr>), give the next heading room to breathe.
   Default minima margins leave headings visually merged with the preceding
   content after a rule. 2.5rem creates a clear section boundary. */

hr {
  margin-bottom: 0;
}

hr + h2,
hr + h3 {
  margin-top: 2.5rem;
}

/* ─── Major section heading treatment ─────────────────────────────────────── */
/* h2 marks the top of each major section. A muted navy color and a fine
   bottom border give the eye a clear anchor without competing with body text.
   Follows technical documentation conventions (MDN, GitHub docs, Stripe docs). */

h2 {
  color: #1a5f6e;
  border-bottom: 2px solid #b8d8de;
  padding-bottom: 0.35rem;
}

/* ─── Custom footer ─────────────────────────────────────────────────────────── */
.site-footer {
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid #e0e0e0;
}

.site-footer .copyright {
  font-size: 0.75rem;
  color: #888;
  text-align: center;
  margin: 0;
}
