/* nkhe-mirror.css — base typography + responsive sizing for mirror pages.
   Loaded from every /public/mirror/<page>/index.html via <link> tag. */

html, body {
  font-family: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  word-spacing: normal;
  letter-spacing: normal;
}

body { font-size: 16px; line-height: 1.6; color: #222; }

/* Lock down all headings inside post content so nothing inherited
   (text-align: justify, word-spacing, font-stretch, etc.) can stretch them. */
.entry-content h1, .entry-content h2, .entry-content h3,
.entry-content h4, .entry-content h5, .entry-content h6,
.entry-title {
  font-family: inherit;
  text-align: left !important;
  text-align-last: auto !important;
  word-spacing: normal !important;
  letter-spacing: normal !important;
  font-stretch: normal !important;
  text-transform: none;
  white-space: normal;
  hyphens: manual;
  -webkit-hyphens: manual;
  display: block;
}

.entry-content h1, .entry-title {
  font-weight: 700; line-height: 1.2;
  font-size: 2em; margin: 0.67em 0;
}
.entry-content h2 {
  font-weight: 700; line-height: 1.3;
  font-size: 1.5em; margin: 0.83em 0;
}
.entry-content h3 {
  font-weight: 600; line-height: 1.35;
  font-size: 1.25em; margin: 1.2em 0 0.5em;
}
.entry-content h4 {
  font-weight: 600; line-height: 1.4;
  font-size: 1.1em; margin: 1em 0 0.4em;
}

.entry-content p, .entry-content li {
  font-family: inherit; line-height: 1.65; font-size: 1rem;
  word-spacing: normal; letter-spacing: normal;
}
.entry-content a { color: #147494; }
.entry-content a:hover { text-decoration: underline; }

/* Mobile responsive sizing */
@media (max-width: 768px) {
  body { font-size: 16px; }
  .entry-content h1, .entry-title { font-size: 1.65em; }
  .entry-content h2 { font-size: 1.35em; }
  .entry-content h3 { font-size: 1.2em; }
  .entry-content h4 { font-size: 1.05em; }
  .entry-content p, .entry-content li { font-size: 1rem; line-height: 1.6; }
}
