/* Shared styles for the static blog (/blog/ and /blog/<slug>/).
   Tokens match faq.html and index.html. Blog pages are complete without
   JavaScript; their only scripts are the deferred analytics ones. */
*{box-sizing:border-box;margin:0;padding:0}
:root{
  --cream:#FAF8F4;
  --warm:#F5EFE6;
  --rose:#C4797A;
  --rose-light:#F2DADA;
  --rose-dark:#9B5A5B;
  --ink:#1C1410;
  --ink-muted:#6B5E56;
  --border:#E8DDD5;
  --serif:'Playfair Display',Georgia,serif;
  --sans:'DM Sans',system-ui,sans-serif;
}
body{font-family:var(--sans);background:var(--cream);color:var(--ink);min-height:100vh;overflow-x:hidden;line-height:1.6}
a:focus-visible{outline:2px solid var(--rose);outline-offset:2px;border-radius:2px}

.skip-link{position:absolute;left:-9999px;top:0;background:#fff;color:var(--ink);padding:.5rem 1rem;z-index:10}
.skip-link:focus{left:1rem;top:1rem}

.blog-header{padding:1.5rem 2rem;border-bottom:1px solid var(--border);background:#fff;display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap}
.wordmark{font-family:var(--serif);font-size:13px;letter-spacing:.12em;text-transform:uppercase;color:var(--rose);text-decoration:none}
.blog-nav ul{list-style:none;display:flex;gap:1.25rem}
.blog-nav a{font-size:13px;color:var(--ink-muted);text-decoration:none}
.blog-nav a:hover,.blog-nav a[aria-current="page"]{color:var(--rose)}

.blog-hero{background:var(--warm);border-bottom:1px solid var(--border);padding:3rem 2rem}
.blog-hero-inner{max-width:740px;margin:0 auto}
.blog-title{font-family:var(--serif);font-size:clamp(1.8rem,4vw,2.6rem);line-height:1.2;color:var(--ink);margin-bottom:.75rem}
.blog-lead{font-size:15px;color:var(--ink-muted);line-height:1.75;font-weight:300;max-width:580px}
.article-meta{font-size:13px;color:var(--ink-muted)}

.blog-body{max-width:740px;margin:0 auto;padding:3rem 2rem 5rem}

.breadcrumb ol{list-style:none;display:flex;flex-wrap:wrap;gap:.4rem;font-size:13px;color:var(--ink-muted);margin-bottom:1rem}
.breadcrumb li+li::before{content:'/';margin-right:.4rem;color:var(--border)}
.breadcrumb a{color:var(--ink-muted)}

.post-list{list-style:none}
.post-list li{border:1px solid var(--border);border-radius:4px;background:#fff;padding:1.25rem;margin-bottom:.75rem}
.post-list h2{font-family:var(--serif);font-size:1.2rem;line-height:1.3;margin-bottom:.35rem}
.post-list h2 a{color:var(--ink);text-decoration:none}
.post-list h2 a:hover{color:var(--rose-dark)}
.post-list p{font-size:14px;color:var(--ink-muted)}
.empty-state{font-size:15px;color:var(--ink-muted)}

.article-content{font-size:16px;line-height:1.8}
.article-content h2{font-family:var(--serif);font-size:1.4rem;line-height:1.3;margin:2rem 0 .75rem}
.article-content h3{font-size:1.05rem;margin:1.5rem 0 .5rem}
.article-content p{margin-bottom:1rem}
.article-content ul,.article-content ol{margin:0 0 1rem 1.25rem}
.article-content li{margin-bottom:.4rem}
.article-content a{color:var(--rose-dark);text-decoration:underline;text-underline-offset:2px}
.article-content blockquote{border-left:3px solid var(--rose-light);padding-left:1rem;color:var(--ink-muted);margin:0 0 1rem}

.cta{margin-top:3rem;padding:1.75rem;background:var(--warm);border:1px solid var(--border);border-radius:4px}
.cta h2{font-family:var(--serif);font-size:1.3rem;margin-bottom:.5rem}
.cta p{font-size:15px;color:var(--ink-muted);margin-bottom:1.25rem}
.cta-button{display:inline-block;background:var(--ink);color:#fff;text-decoration:none;font-size:14px;font-weight:500;padding:.8rem 1.5rem;border-radius:2px}
.cta-button:hover{background:var(--rose-dark)}

.blog-footer{margin-top:48px;padding:24px 16px;text-align:center;font-size:13px;color:#6b7280;border-top:1px solid var(--border)}
.blog-footer a{color:inherit;text-decoration:underline}

@media(max-width:600px){
  .blog-header{padding:1rem 1.25rem}
  .blog-hero{padding:2rem 1.25rem}
  .blog-body{padding:2rem 1.25rem 4rem}
  .cta{padding:1.25rem}
}
