/* Blog post typography. Shared by the reader (the app) and the live preview in the admin editor, so what you see
   while writing is what readers get. Only uses the site's own colour variables (base.css), so it follows light/dark. */
.post-body{font-size:1.08rem; line-height:1.8; color:var(--ink); overflow-wrap:anywhere;}
.post-body > :first-child{margin-top:0;}
.post-body p{margin:0 0 1.2em;}
.post-body > p:first-of-type{font-size:1.2rem; line-height:1.7;}                       /* the opening paragraph reads as an intro */
.post-body h2{font-size:1.65rem; line-height:1.25; margin:1.9em 0 .7em;}
.post-body h2::after{content:""; display:block; width:46px; height:3px; border-radius:3px; background:var(--gold); margin-top:.45em;}
.post-body h3{font-size:1.25rem; line-height:1.3; margin:1.6em 0 .5em;}
.post-body ul, .post-body ol{margin:0 0 1.3em; padding-left:1.35em;}
.post-body li{margin:.4em 0; padding-left:.2em;}
.post-body ul li::marker{color:var(--gold-ink);} .post-body ol li::marker{color:var(--gold-ink); font-weight:700;}
.post-body blockquote{margin:1.8em 0; padding:1.1em 1.4em; border-left:4px solid var(--gold); background:var(--card); border-radius:0 16px 16px 0;
  font-family:'Source Serif 4', Georgia, serif; font-size:1.22rem; line-height:1.55; font-style:italic; box-shadow:var(--shadow);}
.post-body a{color:var(--gold-ink); text-decoration:underline; text-decoration-thickness:1.5px; text-underline-offset:3px;}
.post-body a:hover{color:var(--ink);}
.post-body strong{font-weight:700;}
.post-body img{display:block; max-width:100%; height:auto; border-radius:16px;}
.post-body figure{margin:2em 0;}
.post-body figure img{width:100%; box-shadow:var(--shadow);}
.post-body figcaption{margin-top:.7em; text-align:center; font-size:.85rem; color:var(--muted);}
.post-body hr{border:0; margin:2.2em 0; text-align:center; height:auto;}
.post-body hr::before{content:"•  •  •"; letter-spacing:.5em; color:var(--gold-ink);}
@media (max-width:640px){
  .post-body{font-size:1.03rem; line-height:1.75;}
  .post-body > p:first-of-type{font-size:1.12rem;}
  .post-body h2{font-size:1.4rem;} .post-body blockquote{font-size:1.1rem; padding:.9em 1.1em;}
}
