/* ✨ MicroManuals Editorial Standard – 2024 Theme Precision Rebuild (v1.3 “Goodskies Edition”) */

/* --- Base Font --- */
body, p, li, h1, h2, h3, h4 {
  font-family: "Playfair Display", Georgia, serif !important;
  color: #111 !important;
  font-weight: 400 !important;
  font-style: normal !important;
}

/* --- Headings (theme-matched) --- */
h1, h2, h3, h4 {
  line-height: 1.2 !important;
  letter-spacing: -0.02em !important;
  margin-top: 1.5em !important;
  margin-bottom: 0.8em !important;
  font-weight: 400 !important;
}

/* Page title (H1) */
h1, h1.wp-block-post-title {
  font-size: 1.9rem !important; /* ≈ 30.4 px */
  line-height: 1.2 !important;
  margin-top: 1.2em !important; /* tighter top gap */
  letter-spacing: -0.01em !important; /* crisp visual */
}

/* Section titles (How to / Step-by-Step) */
h2 {
  font-size: 1.9rem !important; /* match h1 visual */
}

/* Subsections */
h3, h4 {
  font-size: 1.4rem !important;
}

/* --- Emoji alignment --- */
h1 img.emoji, h2 img.emoji, h3 img.emoji, h4 img.emoji {
  vertical-align: middle !important;
  height: 1.1em !important;
  width: auto !important;
  margin-right: 0.3em !important;
}

/* --- Paragraphs &amp; Lists --- */
p, li {
  font-size: 1rem !important;
  line-height: 1.8 !important;
  margin-bottom: 1.5em !important;
}

/* Tighten list spacing under subheadings */
h3 + ul, h4 + ul {
  margin-top: 0.5em !important;
}

/* --- Links --- */
a {
  color: #111 !important;
  font-style: normal !important;
  text-decoration: none !important;
  border-bottom: 1px solid transparent !important;
  transition: all 0.2s ease-in-out;
}

a:hover {
  color: #000 !important;
  border-bottom: 1px solid #000 !important;
}

/* --- Inline editorial links (in-article only) --- */
.entry-content p a,
.wp-block-post-content a {
  font-style: italic !important;
}

/* --- Divider --- */
.micromanual-divider hr {
  border: none !important;
  border-top: 1px solid #E0E0E0 !important;
  margin: 1.5em 0 !important;
}

/* --- Footer --- */
footer, .site-footer, .wp-block-template-part {
  font-size: 1rem !important;
  color: #333 !important;
  font-family: "Playfair Display", Georgia, serif !important;
}

footer a, .site-footer a {
  color: #111 !important;
  font-style: normal !important;
  text-decoration: none !important;
  border-bottom: none !important;
}
