/* ── Shared blog styles ── */
*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}
:root{
  --ink:#0d0602;--dark:#1a0d05;--terra:#c8792a;--terra-l:#e8912e;
  --gold:#d4af37;--sand:#f5e6d3;--parch:#fbf5eb;
  --txt:#3a2010;--txt-m:#7a5535;
  --head:'Playfair Display',Georgia,serif;
  --body:'Inter',system-ui,sans-serif;
}
html{scroll-behavior:smooth}
body{font-family:var(--body);background:var(--parch);color:var(--txt);overflow-x:hidden}
::-webkit-scrollbar{width:5px}
::-webkit-scrollbar-track{background:var(--ink)}
::-webkit-scrollbar-thumb{background:var(--gold);border-radius:3px}
a{color:var(--terra);text-decoration:none}
a:hover{text-decoration:underline}

/* NAV */
.b-nav{
  position:sticky;top:0;z-index:99;
  background:rgba(13,6,2,.97);backdrop-filter:blur(20px);
  padding:0 2.5rem;height:68px;
  display:flex;align-items:center;justify-content:space-between;
  border-bottom:1px solid rgba(212,175,55,.1);
}
.b-logo{display:flex;align-items:center;gap:.7rem;text-decoration:none}
.b-logo img{height:38px;width:38px;border-radius:50%;border:1.5px solid rgba(212,175,55,.4);object-fit:cover}
.b-logo span{font-family:var(--head);font-size:1.05rem;color:var(--gold)}
.b-nav-links{display:flex;gap:1.8rem;list-style:none}
.b-nav-links a{color:rgba(255,255,255,.6);text-decoration:none;font-size:.85rem;font-weight:500;transition:color .2s}
.b-nav-links a:hover,.b-nav-links a.active{color:var(--gold);text-decoration:none}
.b-cta{
  background:linear-gradient(135deg,var(--terra),var(--terra-l));
  color:#fff;border:none;padding:.48rem 1.2rem;border-radius:50px;
  font:.82rem/1 var(--body);font-weight:700;cursor:pointer;
  text-decoration:none;white-space:nowrap;
}
.b-cta:hover{text-decoration:none;opacity:.9}

/* HERO BANNER */
.blog-hero{
  background:linear-gradient(145deg,#0d0602,#2c1a0a,#5a2d10);
  padding:5rem 2rem 4rem;text-align:center;position:relative;overflow:hidden;
}
.blog-hero::before{
  content:'';position:absolute;inset:0;
  background-image:repeating-linear-gradient(60deg,rgba(212,175,55,.03) 0,rgba(212,175,55,.03) 1px,transparent 0,transparent 50%),
    repeating-linear-gradient(120deg,rgba(212,175,55,.03) 0,rgba(212,175,55,.03) 1px,transparent 0,transparent 50%);
  background-size:50px 50px;
}
.blog-hero-inner{position:relative}
.blog-hero-tag{
  display:inline-block;background:rgba(212,175,55,.1);border:1px solid rgba(212,175,55,.3);
  color:var(--gold);padding:.35rem 1.2rem;border-radius:50px;
  font-size:.72rem;font-weight:700;letter-spacing:3px;text-transform:uppercase;margin-bottom:1.2rem;
}
.blog-hero h1{
  font-family:var(--head);font-size:clamp(2rem,5vw,3.8rem);
  color:#fff;line-height:1.15;margin-bottom:1rem;
}
.blog-hero h1 em{color:var(--gold);font-style:italic}
.blog-hero p{color:rgba(255,255,255,.5);font-size:1rem;max-width:560px;margin:0 auto;line-height:1.8;font-weight:300}

/* ARTICLE CARDS */
.blog-grid{
  display:grid;grid-template-columns:repeat(auto-fill,minmax(340px,1fr));
  gap:2rem;max-width:1200px;margin:0 auto;padding:5rem 2rem;
}
.blog-card{
  background:#fff;border-radius:16px;overflow:hidden;
  border:1px solid rgba(200,121,42,.1);
  transition:transform .35s cubic-bezier(.16,1,.3,1),box-shadow .35s;
}
.blog-card:hover{transform:translateY(-8px);box-shadow:0 20px 50px rgba(44,24,10,.12)}
.blog-card-img{
  height:210px;overflow:hidden;position:relative;
}
.blog-card-img img{width:100%;height:100%;object-fit:cover;transition:transform .5s}
.blog-card:hover .blog-card-img img{transform:scale(1.06)}
.blog-card-img-placeholder{
  width:100%;height:100%;display:flex;align-items:center;justify-content:center;font-size:4rem;
}
.blog-card-cat{
  position:absolute;top:.8rem;left:.8rem;
  background:rgba(13,6,2,.65);backdrop-filter:blur(8px);
  color:var(--gold);padding:.22rem .75rem;border-radius:50px;
  font-size:.68rem;font-weight:700;letter-spacing:1.5px;text-transform:uppercase;
  border:1px solid rgba(212,175,55,.3);
}
.blog-card-body{padding:1.6rem}
.blog-card-meta{display:flex;gap:.8rem;align-items:center;margin-bottom:.7rem;flex-wrap:wrap}
.blog-card-date{color:var(--txt-m);font-size:.75rem}
.blog-card-read{
  background:var(--sand);color:var(--txt-m);
  padding:.18rem .6rem;border-radius:50px;font-size:.72rem;font-weight:600;
}
.blog-card h2{
  font-family:var(--head);font-size:1.2rem;color:var(--ink);
  line-height:1.3;margin-bottom:.6rem;
}
.blog-card p{color:var(--txt-m);font-size:.87rem;line-height:1.7;margin-bottom:1.3rem;font-weight:300}
.blog-read-btn{
  display:inline-flex;align-items:center;gap:.4rem;
  color:var(--terra);font-weight:700;font-size:.85rem;text-decoration:none;
  transition:gap .2s;
}
.blog-read-btn:hover{gap:.7rem;text-decoration:none}

/* ARTICLE PAGE */
.article-wrap{max-width:780px;margin:0 auto;padding:4rem 2rem 6rem}
.article-hero{
  background:linear-gradient(145deg,#0d0602,#2c1a0a);
  padding:5rem 2rem 4rem;position:relative;overflow:hidden;
}
.article-hero::before{
  content:'';position:absolute;inset:0;
  background-image:repeating-linear-gradient(45deg,rgba(212,175,55,.025) 0,rgba(212,175,55,.025) 1px,transparent 0,transparent 30px);
}
.article-hero-inner{position:relative;max-width:780px;margin:0 auto}
.article-hero-cat{
  display:inline-block;color:var(--gold);
  font-size:.72rem;font-weight:700;letter-spacing:3px;text-transform:uppercase;margin-bottom:1rem;
}
.article-hero h1{
  font-family:var(--head);font-size:clamp(1.8rem,4vw,3rem);
  color:#fff;line-height:1.2;margin-bottom:1rem;
}
.article-hero h1 em{color:var(--gold);font-style:italic}
.article-hero-meta{display:flex;gap:1rem;flex-wrap:wrap;align-items:center}
.article-hero-meta span{color:rgba(255,255,255,.4);font-size:.78rem}
.article-hero-meta .dot{color:rgba(255,255,255,.2)}

/* Article content */
.article-img{
  width:100%;height:380px;object-fit:cover;
  border-radius:16px;margin:2.5rem 0;
  box-shadow:0 8px 40px rgba(44,24,10,.15);
}
.article-img-placeholder{
  width:100%;height:380px;border-radius:16px;margin:2.5rem 0;
  display:flex;align-items:center;justify-content:center;font-size:6rem;
}
.article-intro{
  font-size:1.12rem;line-height:1.9;color:var(--txt);
  font-weight:400;margin-bottom:2rem;
  border-left:3px solid var(--gold);padding-left:1.4rem;
  font-family:var(--head);font-style:italic;
}
.article-body h2{
  font-family:var(--head);font-size:1.55rem;color:var(--ink);
  margin:2.5rem 0 .8rem;line-height:1.25;
}
.article-body h3{
  font-family:var(--head);font-size:1.15rem;color:var(--terra);
  margin:1.8rem 0 .6rem;
}
.article-body p{
  color:var(--txt);font-size:.97rem;line-height:1.85;margin-bottom:1.2rem;font-weight:400;
}
.article-body ul,.article-body ol{
  padding-left:1.4rem;margin-bottom:1.2rem;
}
.article-body li{
  color:var(--txt);font-size:.97rem;line-height:1.85;margin-bottom:.4rem;
}
.article-body strong{color:var(--ink);font-weight:700}
.tip-box{
  background:linear-gradient(135deg,rgba(212,175,55,.08),rgba(200,121,42,.08));
  border:1px solid rgba(212,175,55,.25);border-radius:14px;
  padding:1.4rem 1.6rem;margin:2rem 0;
}
.tip-box-label{color:var(--gold);font-size:.75rem;font-weight:700;letter-spacing:2px;text-transform:uppercase;margin-bottom:.5rem}
.tip-box p{margin:0;font-size:.9rem;color:var(--txt-m)}

/* CTA BOX */
.article-cta{
  background:linear-gradient(135deg,#1a0d05,#3a1a08);
  border-radius:16px;padding:2.5rem;margin:3rem 0;text-align:center;
  border:1px solid rgba(212,175,55,.2);
}
.article-cta h3{font-family:var(--head);color:#fff;font-size:1.4rem;margin-bottom:.7rem}
.article-cta p{color:rgba(255,255,255,.5);font-size:.9rem;margin-bottom:1.5rem}
.article-cta a{
  display:inline-block;
  background:linear-gradient(135deg,var(--terra),var(--terra-l));
  color:#fff;padding:.85rem 2.2rem;border-radius:50px;
  font-weight:700;font-size:.95rem;text-decoration:none;
  box-shadow:0 6px 24px rgba(200,121,42,.4);
  transition:transform .2s,box-shadow .2s;
}
.article-cta a:hover{transform:translateY(-2px);box-shadow:0 8px 30px rgba(200,121,42,.5);text-decoration:none}

/* RELATED */
.related{max-width:780px;margin:0 auto;padding:0 2rem 5rem}
.related h3{font-family:var(--head);font-size:1.3rem;color:var(--ink);margin-bottom:1.5rem}
.related-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:1.2rem}
.related-card{
  background:#fff;border-radius:12px;overflow:hidden;
  border:1px solid rgba(200,121,42,.1);transition:transform .3s;
}
.related-card:hover{transform:translateY(-4px)}
.related-card-img{height:130px;overflow:hidden}
.related-card-img img{width:100%;height:100%;object-fit:cover;transition:transform .4s}
.related-card:hover .related-card-img img{transform:scale(1.08)}
.related-card-img-ph{width:100%;height:100%;display:flex;align-items:center;justify-content:center;font-size:2.5rem}
.related-card-body{padding:1rem}
.related-card-body h4{font-size:.9rem;font-weight:700;color:var(--ink);margin-bottom:.3rem;line-height:1.3}
.related-card-body a{color:var(--terra);font-size:.8rem;font-weight:600}

/* FOOTER */
.b-footer{
  background:var(--ink);padding:3rem 2rem;text-align:center;
  border-top:1px solid rgba(212,175,55,.08);
}
.b-footer p{color:rgba(255,255,255,.25);font-size:.8rem}
.b-footer a{color:var(--gold);text-decoration:none}

@media(max-width:768px){
  .b-nav{padding:0 1.2rem}
  .b-nav-links{display:none}
  .article-img,.article-img-placeholder{height:240px}
}
