/* ============================================================
   VoyaBud Blog — shared styles
   Brand tokens mirror the landing page (index.html :root).
   ============================================================ */
:root{
  --terra:   #C86A4A;
  --terra-d: #A8502E;
  --plum:    #2C1B2E;
  --sage:    #7FAF8A;
  --gold:    #F5C842;
  --cream:   #FDF8F2;
  --peach:   #F0D1C0;
  --sand:    #F5E6C0;
  --line:    rgba(44,27,46,.10);
  --muted:   rgba(44,27,46,.62);
  --maxw:    1180px;
}
*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%;}
body{
  font-family:'DM Sans',-apple-system,BlinkMacSystemFont,sans-serif;
  background:var(--cream);color:var(--plum);
  -webkit-font-smoothing:antialiased;line-height:1.6;
}
::selection{background:var(--terra);color:#fff;}
a{color:inherit;}
img{max-width:100%;display:block;}

/* ---------- Header ---------- */
.blog-nav{
  position:sticky;top:0;z-index:50;
  background:rgba(253,248,242,.86);backdrop-filter:saturate(180%) blur(14px);
  -webkit-backdrop-filter:saturate(180%) blur(14px);
  border-bottom:1px solid var(--line);
}
.blog-nav-inner{
  max-width:var(--maxw);margin:0 auto;padding:14px 28px;
  display:flex;align-items:center;justify-content:space-between;gap:18px;
}
.blog-logo{display:flex;align-items:center;gap:10px;text-decoration:none;}
.blog-logo svg{width:30px;height:30px;flex-shrink:0;}
.blog-logo span{
  font-family:'Nunito',sans-serif;font-weight:900;font-size:21px;
  letter-spacing:-.02em;color:var(--plum);
}
.blog-logo span b{color:var(--terra);font-weight:900;}
.blog-nav-links{display:flex;align-items:center;gap:8px;}
.blog-nav-links a{
  text-decoration:none;font-weight:600;font-size:15px;color:var(--plum);
  padding:8px 14px;border-radius:10px;transition:background .2s;
}
.blog-nav-links a:hover{background:rgba(44,27,46,.06);}
.blog-nav-links a.cta{
  background:var(--plum);color:#fff;
}
.blog-nav-links a.cta:hover{background:var(--terra);}

/* ---------- Listing hero ---------- */
.blog-hero{
  max-width:var(--maxw);margin:0 auto;padding:72px 28px 36px;text-align:center;
}
.blog-eyebrow{
  font-family:'Nunito',sans-serif;font-weight:800;font-size:13px;
  letter-spacing:.18em;text-transform:uppercase;color:var(--terra);margin-bottom:16px;
}
.blog-hero h1{
  font-family:'Nunito',sans-serif;font-weight:900;
  font-size:clamp(34px,6vw,58px);line-height:1.02;letter-spacing:-.03em;
  color:var(--plum);margin-bottom:16px;
}
.blog-hero h1 em{font-style:normal;color:var(--terra);}
.blog-hero p{
  font-size:clamp(16px,2.4vw,19px);color:var(--muted);
  max-width:620px;margin:0 auto;
}

/* ---------- Article grid ---------- */
.blog-grid{
  max-width:var(--maxw);margin:0 auto;padding:24px 28px 96px;
  display:grid;grid-template-columns:repeat(auto-fill,minmax(330px,1fr));gap:30px;
}
.post-card{
  display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);
  border-radius:22px;overflow:hidden;text-decoration:none;color:inherit;
  transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease;
}
.post-card:hover{
  transform:translateY(-4px);
  box-shadow:0 18px 44px -22px rgba(44,27,46,.35);
  border-color:rgba(200,106,74,.35);
}
.post-card-media{
  aspect-ratio:16/9;background:linear-gradient(135deg,var(--peach),var(--sand));
  position:relative;overflow:hidden;
}
.post-card-media img{width:100%;height:100%;object-fit:cover;}
.post-card-tag{
  position:absolute;top:14px;left:14px;
  background:rgba(44,27,46,.86);color:#fff;font-weight:700;font-size:12px;
  letter-spacing:.04em;text-transform:uppercase;padding:6px 11px;border-radius:999px;
  backdrop-filter:blur(4px);
}
.post-card-body{padding:22px 22px 24px;display:flex;flex-direction:column;flex:1;}
.post-card-meta{
  font-size:13px;color:var(--muted);font-weight:600;
  display:flex;gap:8px;align-items:center;margin-bottom:10px;
}
.post-card-meta .dot{width:3px;height:3px;border-radius:50%;background:var(--terra);}
.post-card h2{
  font-family:'Nunito',sans-serif;font-weight:800;font-size:21px;
  line-height:1.18;letter-spacing:-.02em;color:var(--plum);margin-bottom:9px;
}
.post-card p{font-size:15px;color:var(--muted);flex:1;}
.post-card-more{
  margin-top:16px;font-weight:700;font-size:14px;color:var(--terra);
  display:inline-flex;align-items:center;gap:6px;
}
.post-card:hover .post-card-more{gap:10px;}

/* ---------- Article page ---------- */
.article-wrap{max-width:760px;margin:0 auto;padding:0 28px;}
.breadcrumb{
  max-width:760px;margin:0 auto;padding:28px 28px 0;
  font-size:13.5px;color:var(--muted);font-weight:600;
}
.breadcrumb a{color:var(--terra);text-decoration:none;}
.breadcrumb a:hover{text-decoration:underline;}
.article-header{padding:26px 0 22px;}
.article-header .tag{
  display:inline-block;font-family:'Nunito',sans-serif;font-weight:800;font-size:12px;
  letter-spacing:.14em;text-transform:uppercase;color:var(--terra);margin-bottom:14px;
}
.article-header h1{
  font-family:'Nunito',sans-serif;font-weight:900;
  font-size:clamp(30px,5vw,46px);line-height:1.06;letter-spacing:-.03em;
  color:var(--plum);margin-bottom:18px;
}
.article-meta{
  display:flex;align-items:center;gap:10px;font-size:14px;color:var(--muted);font-weight:600;
}
.article-meta .dot{width:3px;height:3px;border-radius:50%;background:var(--terra);}
.article-cover{
  max-width:1000px;margin:14px auto 0;padding:0 28px;
}
.article-cover img,.article-cover .ph{
  width:100%;aspect-ratio:16/8;object-fit:cover;border-radius:24px;
  background:linear-gradient(135deg,var(--peach),var(--sand));
}
.article-body{
  padding:38px 0 20px;font-size:18px;line-height:1.74;color:#3a2c3c;
}
.article-body > *{margin-bottom:24px;}
.article-body h2{
  font-family:'Nunito',sans-serif;font-weight:800;font-size:27px;letter-spacing:-.02em;
  color:var(--plum);margin-top:18px;margin-bottom:14px;line-height:1.2;
}
.article-body h3{
  font-family:'Nunito',sans-serif;font-weight:800;font-size:21px;
  color:var(--plum);margin-top:8px;margin-bottom:10px;
}
.article-body a{color:var(--terra-d);text-decoration:underline;text-underline-offset:2px;}
.article-body ul,.article-body ol{padding-left:24px;}
.article-body li{margin-bottom:10px;}
.article-body strong{color:var(--plum);font-weight:700;}
.article-body blockquote{
  border-left:4px solid var(--terra);background:rgba(200,106,74,.06);
  padding:18px 22px;border-radius:0 14px 14px 0;font-size:19px;color:var(--plum);
}
.article-body img{border-radius:18px;margin:8px 0;}
.callout{
  background:#fff;border:1px solid var(--line);border-radius:20px;padding:26px 28px;
}
.callout h3{margin-top:0;}

/* End-of-article CTA */
.article-cta{
  margin:40px 0 0;background:var(--plum);border-radius:26px;padding:42px 34px;text-align:center;
}
.article-cta h3{
  font-family:'Nunito',sans-serif;font-weight:900;font-size:26px;letter-spacing:-.02em;
  color:var(--cream);margin-bottom:10px;
}
.article-cta p{color:rgba(253,248,242,.72);font-size:16px;max-width:460px;margin:0 auto 22px;}
.article-cta a{
  display:inline-block;background:var(--terra);color:#fff;text-decoration:none;
  font-weight:800;font-size:16px;padding:15px 30px;border-radius:14px;transition:transform .2s,background .2s;
}
.article-cta a:hover{transform:scale(1.04);background:#fff;color:var(--plum);}

/* Related / back link */
.article-foot{max-width:760px;margin:0 auto;padding:40px 28px 20px;}
.article-foot a.back{color:var(--terra-d);font-weight:700;text-decoration:none;}
.article-foot a.back:hover{text-decoration:underline;}

/* ---------- Footer ---------- */
.blog-footer{
  background:var(--plum);color:rgba(253,248,242,.7);margin-top:40px;
}
.blog-footer-inner{
  max-width:var(--maxw);margin:0 auto;padding:48px 28px;
  display:flex;flex-wrap:wrap;gap:24px;align-items:center;justify-content:space-between;
}
.blog-footer-inner .brand{
  font-family:'Nunito',sans-serif;font-weight:900;font-size:22px;color:var(--cream);text-decoration:none;
}
.blog-footer-inner .brand b{color:var(--terra);}
.blog-footer-links{display:flex;gap:22px;flex-wrap:wrap;}
.blog-footer-links a{color:rgba(253,248,242,.7);text-decoration:none;font-weight:600;font-size:15px;}
.blog-footer-links a:hover{color:var(--terra);}
.blog-footer-copy{
  border-top:1px solid rgba(253,248,242,.12);text-align:center;
  padding:18px;font-size:13px;color:rgba(253,248,242,.45);
}

@media(max-width:680px){
  .blog-nav-links a:not(.cta){display:none;}
  .blog-hero{padding:48px 22px 24px;}
  .blog-grid{padding:16px 18px 72px;gap:22px;}
  .article-body{font-size:17px;}
}

/* ── Site footer (mirrors the landing page footer; scoped so .article-foot is untouched) ── */
.site-footer{background:var(--plum);padding:48px 64px 36px;display:flex;flex-direction:column;align-items:center;gap:0;}
.site-footer .footer-top{width:100%;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:24px;margin-bottom:32px;}
.site-footer .footer-logo svg{height:32px;width:auto;}
.site-footer .footer-nav{display:flex;gap:24px;align-items:center;flex-wrap:wrap;}
.site-footer .footer-nav a{color:rgba(253,248,242,.4);text-decoration:none;font-size:13px;font-weight:500;transition:color .2s;}
.site-footer .footer-nav a:hover{color:var(--terra);}
.site-footer .footer-social{display:flex;gap:14px;align-items:center;}
.site-footer .footer-social a{width:38px;height:38px;border-radius:50%;background:rgba(253,248,242,.07);border:1px solid rgba(253,248,242,.10);display:flex;align-items:center;justify-content:center;text-decoration:none;transition:all .25s cubic-bezier(.34,1.56,.64,1);color:rgba(253,248,242,.5);}
.site-footer .footer-social a:hover{background:var(--terra);border-color:var(--terra);color:#fff;transform:translateY(-2px);}
.site-footer .footer-social svg{width:16px;height:16px;}
.site-footer .footer-divider{width:100%;height:1px;background:rgba(253,248,242,.07);margin-bottom:20px;}
.site-footer .footer-copy{font-size:12px;color:rgba(253,248,242,.25);text-align:center;line-height:1.6;}
.site-footer .footer-copy a{color:rgba(253,248,242,.45);text-decoration:none;}
.site-footer .footer-copy a:hover{color:var(--terra)!important;transition:color .2s;}
@media(max-width:720px){
  .site-footer{padding:40px 24px 28px;}
  .site-footer .footer-top{flex-direction:column;align-items:center;text-align:center;}
}
