/* =============================================================
   chapter-content.css
   One shared stylesheet for every chapter's content.

   The original docx export produced a new, meaninglessly-numbered
   class (c0, c2, c7, c8, c9, c14, c22 ...) for every chapter, and
   repeated the whole <style> block inside each chapter's HTML.
   In practice every chapter boils down to the same handful of
   pieces, so this file replaces all of that with a small, fixed
   set of semantic classes that are defined ONCE here and reused
   by every chapter:

     .chapter-title    the "Chapter N ..." heading line
     .chapter-p        a normal body paragraph
     .chapter-italic   italicized text (inline thought/dream text)
     .chapter-spacer   a blank line between blocks
     .chapter-hr       divider between chapters (hidden by default,
                        matches the original page-break marker)
     .about-title      "ABOUT THE AUTHOR" heading
     .about-p          about-the-author body paragraph (no indent)

   Load this once per page (not per chapter). Chapter HTML sent
   from Go only needs to use these class names - it should no
   longer carry its own <style> block.
   ============================================================= */

#ChapterContent {
  font-family: Calibri, "Segoe UI", Arial, sans-serif;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #1a1a1a;
}

/* Chapter heading, e.g. "Chapter I AWKI" */
#ChapterContent .chapter-title {
  font-family: Garamond, Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
  font-weight: bold;
  
  text-align: center;
  margin: 0 0 1.5rem;
}

/* Standard body paragraph */
#ChapterContent .chapter-p {
  margin: 0 0 1rem;
  text-align: justify;
  text-indent: 2em;
}

/* First paragraph after a title/spacer often looks better flush-left;
   add this modifier where needed instead of a new numbered class. */
#ChapterContent .chapter-p.no-indent {
  text-indent: 0;
}

/* Inline italic emphasis (dream sequences, internal thoughts, etc.) */
#ChapterContent .chapter-italic {
  font-style: italic;
}

/* Blank line used as spacing between blocks */
#ChapterContent .chapter-spacer {
  height: 1rem;
}

/* Divider between chapters (kept hidden, same as the original
   page-break marker, in case a chapter's raw HTML still includes it) */
#ChapterContent .chapter-hr,
#ChapterContent hr {
  display: none;
}

/* "About the Author" section */
#ChapterContent .about-title {
  font-family: Garamond, Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
  font-weight: 400;
  text-align: center;
  margin: 2rem 0 1rem;
}

#ChapterContent .about-p {
  margin: 0 0 1rem;
  text-align: left;
  text-indent: 0;
}

/* Computer text: command lines, chat logs, CompuServe menus.
   No margin between lines so a block reads as one screen;
   use .chapter-spacer before and after the block. */
#ChapterContent .chapter-terminal {
  font-family: Consolas, "Courier New", Courier, monospace;
  font-size: 0.95rem;
  line-height: 1.4;
  text-align: left;
  text-indent: 0;
  margin: 0;
  white-space: pre-wrap;
}

/* Inline bold, e.g. timeline years */
#ChapterContent .chapter-bold {
  font-weight: bold;
}

/* Links inside chapter text */
#ChapterContent a {
  color: inherit;
  text-decoration: underline;
}
