@font-face {
  font-family: 'ReadingMastery';
  font-weight: bold;
  font-style: normal;
}

@page {
  margin: 0;
}

body {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: 14pt;
  line-height: 1.6;
  color: #1a1a1a;
  margin: 0;
  padding: 0;
}

.pdf-header {
  text-align: center;
  margin-bottom: 24pt;
  padding-bottom: 12pt;
  border-bottom: 1px solid #e0e0e0;
}

.pdf-header h1 {
  font-size: 22pt;
  font-weight: 700;
  color: #2d2319;
  margin: 0 0 4pt 0;
}

.pdf-meta {
  color: #888;
  font-size: 10pt;
  font-style: italic;
}

.pdf-illustration {
  width: 100%;
  max-height: 33%;
  object-fit: contain;
  margin-bottom: 24pt;
  border-radius: 8pt;
}

.pdf-story-text {
  font-size: 18pt;
  line-height: 2.0;
}

.pdf-story-text .distar {
  font-family: 'ReadingMastery', serif;
}

.pdf-story-text .distar-glyph {
  font-family: 'ReadingMastery', serif;
}

.pdf-story-text .silent {
  font-size: 0.75em;
  font-family: 'ReadingMastery', serif;
}

.pdf-footer {
  margin-top: 36pt;
  padding-top: 12pt;
  border-top: 1px solid #e0e0e0;
  text-align: center;
  font-size: 8pt;
  color: #aaa;
}
