/* ============================================================
   blog.css — blog list + article pages. Reuses :root vars and
   .btn classes from style.css.
   ============================================================ */

/* ---------- header ---------- */
.blog-header{position:sticky;top:0;z-index:100;background:rgba(247,241,234,.85);
  backdrop-filter:blur(12px);border-bottom:1px solid var(--line);}
.blog-header .inner{max-width:var(--maxw);margin:0 auto;padding:14px var(--pad);
  display:flex;align-items:center;gap:16px;}
.blog-brand{display:flex;align-items:center;gap:10px;font-weight:800;font-size:19px;letter-spacing:-.02em;}
.blog-brand .mark{width:30px;height:30px;border-radius:9px;background:var(--accent);position:relative;flex:none;}
.blog-brand .mark::before{content:"";position:absolute;inset:9px 7px;border-radius:3px;background:var(--bg);}
.blog-header .spacer{flex:1;}
.blog-header nav{display:flex;align-items:center;gap:22px;}
.blog-header nav a{font-size:15px;color:var(--ink-soft);font-weight:500;}
.blog-header nav a:hover{color:var(--ink);}
.blog-header .btn-primary{padding:10px 20px;font-size:15px;}
@media (max-width:620px){
  .blog-header nav a.hide-sm{display:none;}
  .blog-header .inner{gap:10px;}
}

/* ---------- shared container ---------- */
.blog-wrap{max-width:760px;margin:0 auto;padding:0 var(--pad);}

/* ---------- breadcrumb ---------- */
.crumbs{max-width:760px;margin:28px auto 0;padding:0 var(--pad);
  font-size:13px;color:var(--ink-faint);}
.crumbs a{color:var(--ink-soft);}
.crumbs a:hover{color:var(--accent);}

/* ---------- blog list ---------- */
.blog-hero{text-align:center;padding:54px var(--pad) 10px;max-width:720px;margin:0 auto;}
.blog-hero h1{font-size:clamp(30px,5vw,46px);margin-bottom:14px;}
.blog-hero p{color:var(--ink-soft);font-size:17px;}
.post-list{max-width:820px;margin:36px auto 0;padding:0 var(--pad);
  display:grid;gap:20px;}
.post-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);
  padding:26px 28px;box-shadow:var(--shadow-soft);transition:transform .15s ease,box-shadow .15s ease;
  display:block;}
.post-card:hover{transform:translateY(-3px);box-shadow:var(--shadow-card);}
.post-card .tag{font-size:12px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--accent);}
.post-card h2{font-size:22px;margin:10px 0 8px;}
.post-card p{color:var(--ink-soft);font-size:15px;}
.post-card .more{display:inline-block;margin-top:14px;color:var(--accent);font-weight:600;font-size:15px;}

/* ---------- article ---------- */
.article{max-width:760px;margin:0 auto;padding:10px var(--pad) 0;}
.article .eyebrow{margin-bottom:14px;}
.article h1{font-size:clamp(28px,4.6vw,42px);line-height:1.12;margin-bottom:16px;}
.article .meta{display:flex;align-items:center;gap:10px;color:var(--ink-faint);
  font-size:14px;margin-bottom:28px;}
.article .lead{font-size:19px;color:var(--ink-soft);line-height:1.6;margin-bottom:28px;}
.article-body{font-size:17px;line-height:1.72;color:var(--ink);}
.article-body h2{font-size:26px;margin:38px 0 14px;}
.article-body h3{font-size:20px;margin:28px 0 10px;}
.article-body p{margin-bottom:18px;}
.article-body ul,.article-body ol{margin:0 0 18px 0;padding-left:24px;}
.article-body li{margin-bottom:9px;}
.article-body a{color:var(--accent);font-weight:600;text-decoration:underline;text-underline-offset:2px;}
.article-body strong{font-weight:700;}
.article-body blockquote{margin:24px 0;padding:16px 22px;background:var(--surface-2);
  border-left:3px solid var(--accent);border-radius:0 12px 12px 0;color:var(--ink-soft);font-style:italic;}

/* ---------- CTA box ---------- */
.cta-box{max-width:760px;margin:44px auto;padding:34px var(--pad);text-align:center;
  background:linear-gradient(165deg,#2b211c,#3c2c22);color:#fff;border-radius:var(--radius-l);
  margin-left:auto;margin-right:auto;}
.cta-box h3{font-size:24px;margin-bottom:10px;color:#fff;}
.cta-box p{color:rgba(255,255,255,.72);margin-bottom:22px;font-size:16px;}

/* ---------- related ---------- */
.related{max-width:760px;margin:40px auto 0;padding:30px var(--pad) 0;border-top:1px solid var(--line);}
.related h3{font-size:18px;margin-bottom:16px;}
.related a{display:block;padding:12px 0;color:var(--ink);font-weight:600;border-bottom:1px solid var(--line);}
.related a:hover{color:var(--accent);}

/* ---------- footer ---------- */
.blog-footer{margin-top:70px;background:#2b211c;color:rgba(255,255,255,.7);}
.blog-footer .inner{max-width:var(--maxw);margin:0 auto;padding:34px var(--pad);
  display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;font-size:14px;}
.blog-footer a{color:rgba(255,255,255,.85);}
.blog-footer a:hover{color:#fff;}
