/* ============================================================
   LORD'S GRACE — Blog (loaded only on /blog pages)
   Builds on theme.css tokens; every rule is scoped to .blog
   ============================================================ */

.blog a:focus-visible,.blog button:focus-visible{outline:2px solid var(--gold-2);outline-offset:3px}

/* ---- Hero additions (breadcrumb list + post meta) ---- */
.blog .crumb ol{list-style:none;display:flex;flex-wrap:wrap;justify-content:center;gap:0 8px}
.blog .crumb li+li::before{content:"/";margin-right:8px;opacity:.6}
.blog .crumb [aria-current]{color:var(--text)}
.blog .post-meta{display:flex;flex-wrap:wrap;justify-content:center;gap:6px 22px;margin-top:18px;font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--muted)}
.blog .post-meta i{color:var(--gold);margin-right:6px}
.blog .page-hero h1{max-width:960px;margin-left:auto;margin-right:auto}
.blog .hero-lede{max-width:640px;margin:0 auto;color:var(--text);font-size:16px}

/* ---- Index: featured article ---- */
.blog-featured{display:grid;grid-template-columns:1.25fr 1fr;border:1px solid var(--line);background:var(--bg-2);margin-bottom:56px;transition:border-color .5s var(--ease)}
.blog-featured:hover{border-color:rgba(201,162,76,.55)}
.blog-featured .ph{position:relative;overflow:hidden;min-height:340px}
.blog-featured .ph img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:brightness(.85);transition:transform 1s var(--ease-out),filter .6s}
.blog-featured:hover .ph img{transform:scale(1.05);filter:brightness(1)}
.blog-featured .bd{padding:48px 44px;display:flex;flex-direction:column;justify-content:center}
.blog-featured h2{font-size:clamp(26px,3vw,36px);margin:14px 0 16px}
.blog-featured p{color:var(--muted);margin-bottom:26px}

/* ---- Article cards ---- */
.post-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:26px}
.post-card{display:flex;flex-direction:column;border:1px solid var(--line);background:var(--bg-2);overflow:hidden;transition:transform .5s var(--ease),border-color .5s}
.post-card:hover{transform:translateY(-5px);border-color:var(--gold)}
.post-card .ph{aspect-ratio:16/10;overflow:hidden}
.post-card .ph img{width:100%;height:100%;object-fit:cover;filter:brightness(.82);transition:transform 1s var(--ease-out),filter .6s}
.post-card:hover .ph img{transform:scale(1.06);filter:brightness(1)}
.post-card .bd{padding:28px;display:flex;flex-direction:column;flex:1}
.post-card h3{font-size:21px;margin:10px 0 12px;line-height:1.3}
.post-card p{color:var(--muted);font-size:14.5px;margin-bottom:18px;flex:1}
.post-cat{font-size:11px;letter-spacing:.24em;text-transform:uppercase;color:var(--gold-2)}
.post-more{font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--gold-2);display:inline-flex;gap:8px;align-items:center}
.post-more i{transition:transform .35s var(--ease)}
.post-card:hover .post-more i,.blog-featured:hover .post-more i{transform:translateX(5px)}

/* ---- Article body ---- */
.post-wrap{max-width:780px;margin:0 auto}
.prose{font-size:16.5px;line-height:1.85;color:var(--text)}
.prose .lead{font-family:var(--f-serif);font-size:clamp(21px,2.4vw,25px);line-height:1.55;color:var(--cream);margin-bottom:30px}
.prose p{margin-bottom:20px}
.prose h2{font-size:clamp(25px,3vw,33px);margin:58px 0 18px;line-height:1.2}
.prose h2::before{content:"";display:block;width:34px;height:1px;background:var(--gold);opacity:.7;margin-bottom:20px}
.prose h3{font-size:clamp(19px,2.2vw,22px);margin:34px 0 12px;color:var(--gold-2);line-height:1.3}
.prose strong{color:var(--cream);font-weight:500}
.prose a{color:var(--gold-2);border-bottom:1px solid rgba(232,205,134,.4);transition:border-color .25s,color .25s}
.prose a:hover{color:var(--cream);border-color:var(--gold-2)}
.prose ul,.prose ol{margin:0 0 24px;padding-left:0;list-style:none}
.prose li{position:relative;padding-left:28px;margin-bottom:10px}
.prose ul li::before{content:"\2756";position:absolute;left:2px;top:1px;color:var(--gold);font-size:10px}
.prose ol{counter-reset:li}
.prose ol li{counter-increment:li}
.prose ol li::before{content:counter(li);position:absolute;left:0;top:1px;font-family:var(--f-display);color:var(--gold);font-size:15px}
.prose figure{margin:40px 0}
.prose figure img{width:100%;height:auto;border:1px solid var(--line)}
.prose figcaption{font-size:13px;color:var(--muted);margin-top:10px;letter-spacing:.02em}
.prose .box{background:var(--panel);border:1px solid var(--line);border-radius:6px;padding:28px 30px;margin:30px 0}
.prose .box h3{margin-top:0}
.prose .box ul,.prose .box ol{margin-bottom:0}
.prose .note{border-left:2px solid var(--gold);padding:4px 0 4px 22px;margin:30px 0;font-family:var(--f-serif);font-size:20px;line-height:1.55;color:var(--cream)}
.prose .table-scroll{overflow-x:auto;margin:30px 0}
.prose table{width:100%;border-collapse:collapse;font-size:14.5px;min-width:520px}
.prose th,.prose td{text-align:left;padding:12px 14px;border-bottom:1px solid var(--line);vertical-align:top}
.prose th{color:var(--cream);font-weight:500;background:var(--bg-2)}

/* ---- FAQ (reuses .faq-item / .faq-q / .faq-a from theme.css) ---- */
.post-faq{margin-top:64px}
.post-faq h2{font-size:clamp(25px,3vw,33px);margin-bottom:24px}
.post-faq .faq-h{font:inherit;margin:0}
.post-faq .faq-a p{margin:0}

/* ---- Service link panel at end of article ---- */
.post-service{display:flex;gap:20px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin-top:56px;padding:26px 30px;border:1px solid var(--line);background:var(--bg-2)}
.post-service b{display:block;font-family:var(--f-display);color:var(--cream);font-size:19px;font-weight:600}
.post-service span{font-size:14px;color:var(--muted)}

/* ---- Related ---- */
.post-all{text-align:center;margin-top:44px}
.blog .hero-lede+.crumb{margin-top:18px}
.post-related .post-grid{grid-template-columns:repeat(auto-fill,minmax(280px,1fr))}

@media(max-width:1000px){
  .blog-featured{grid-template-columns:1fr}
  .blog-featured .ph{min-height:0;aspect-ratio:16/9}
}
@media(max-width:760px){
  .blog-featured .bd{padding:30px 24px}
  .post-card .bd{padding:24px}
  .prose{font-size:16px}
  .prose .box{padding:22px 20px}
  .post-service{padding:22px 20px}
}
