/* DietMantra Blog — shares design tokens with the main site (see index.html :root) */
:root {
  --orange:#E8782A; --orange-l:#F5A055; --orange-d:#c4601a;
  --og:rgba(232,120,42,0.12); --og2:rgba(232,120,42,0.20);
  --dark:#0D0D0D; --dark2:#141414; --dark3:#1C1C1C;
  --card:#181818; --card2:#1E1E1E;
  --text:#F0EDE8; --muted:#8A8580; --dim:#5A5550;
  --border:rgba(255,255,255,0.06); --bord-o:rgba(232,120,42,0.18);
  --gold:#C9A84C;
}
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{background:var(--dark);color:var(--text);font-family:'DM Sans',sans-serif;font-weight:300;line-height:1.7}

/* NAV — identical structure/classes to the main site so it feels native */
header{position:fixed;top:0;left:0;right:0;z-index:100;background:rgba(13,13,13,0.9);backdrop-filter:blur(20px);border-bottom:1px solid var(--border)}
nav{max-width:1200px;margin:0 auto;padding:1rem 2rem;display:flex;align-items:center;justify-content:space-between}
.nav-logo{display:flex;align-items:center;gap:.65rem;text-decoration:none}
.nav-logo img{width:34px;height:34px;object-fit:contain;border-radius:8px}
.nav-logo-text{font-family:'Cormorant Garamond',serif;font-size:1.4rem;font-weight:600;color:var(--text)}
.nav-logo-text span{color:var(--orange)}
.nav-links{display:flex;gap:2rem;list-style:none}
.nav-links a{color:var(--muted);text-decoration:none;font-size:.8rem;letter-spacing:.06em;text-transform:uppercase;transition:color .25s}
.nav-links a:hover{color:var(--orange)}
.nav-dl{background:var(--orange);color:#fff;padding:.55rem 1.3rem;border-radius:100px;text-decoration:none;font-size:.82rem;font-weight:500;transition:all .25s}
.nav-dl:hover{background:var(--orange-l);transform:translateY(-1px)}
@media (max-width:820px){.nav-links{display:none}}

main{max-width:780px;margin:0 auto;padding:8rem 2rem 5rem}

/* Blog index */
.blog-hdr{text-align:center;margin-bottom:3.5rem}
.section-label{color:var(--orange-l);font-size:.75rem;letter-spacing:.12em;text-transform:uppercase;margin-bottom:.75rem}
.blog-hdr h1{font-family:'Cormorant Garamond',serif;font-weight:300;font-size:clamp(2.2rem,5vw,3.2rem)}
.blog-hdr h1 em{font-style:italic;color:var(--orange)}
.post-list{display:flex;flex-direction:column;gap:0}
.post-card{display:block;text-decoration:none;color:inherit;padding:2rem 0;border-bottom:1px solid var(--border);transition:opacity .2s}
.post-card:hover{opacity:.85}
.post-card img{width:100%;max-height:320px;object-fit:cover;border-radius:14px;margin-bottom:1.25rem;border:1px solid var(--border)}
.post-card .post-meta{font-size:.75rem;color:var(--dim);text-transform:uppercase;letter-spacing:.06em;margin-bottom:.5rem}
.post-card h2{font-family:'Cormorant Garamond',serif;font-weight:500;font-size:1.6rem;margin-bottom:.5rem;color:var(--text)}
.post-card p{color:var(--muted);font-size:.95rem}
.empty-state{text-align:center;color:var(--muted);padding:4rem 0}

/* Single post */
.post-hero-img{width:100%;max-height:420px;object-fit:cover;border-radius:16px;border:1px solid var(--border);margin-bottom:2rem}
.post-meta-row{display:flex;gap:1rem;flex-wrap:wrap;align-items:center;color:var(--dim);font-size:.8rem;text-transform:uppercase;letter-spacing:.05em;margin-bottom:1rem}
.post-title{font-family:'Cormorant Garamond',serif;font-weight:300;font-size:clamp(2rem,5vw,3rem);line-height:1.15;margin-bottom:1.5rem}
.post-tags{display:flex;gap:.5rem;flex-wrap:wrap;margin-bottom:2rem}
.post-tag{background:var(--og);border:1px solid var(--bord-o);color:var(--orange-l);padding:.3rem .8rem;border-radius:100px;font-size:.72rem;text-transform:uppercase;letter-spacing:.05em}
.post-body{font-size:1.05rem;color:var(--text)}
.post-body h2{font-family:'Cormorant Garamond',serif;font-weight:500;font-size:1.7rem;margin:2.5rem 0 1rem}
.post-body h3{font-family:'Cormorant Garamond',serif;font-weight:500;font-size:1.35rem;margin:2rem 0 .85rem}
.post-body p{margin-bottom:1.3rem;color:var(--muted)}
.post-body a{color:var(--orange-l)}
.post-body img{max-width:100%;border-radius:12px;margin:1.5rem 0}
.post-body ul,.post-body ol{margin:0 0 1.3rem 1.3rem;color:var(--muted)}
.post-body blockquote{border-left:3px solid var(--orange);padding:.5rem 0 .5rem 1.5rem;color:var(--muted);font-style:italic;margin:1.5rem 0}
.post-body table{width:100%;border-collapse:collapse;margin:1.5rem 0;font-size:.92rem}
.post-body th,.post-body td{padding:.65rem .8rem;text-align:left;border-bottom:1px solid var(--border)}
.post-body th{color:var(--orange-l);font-weight:500;text-transform:uppercase;font-size:.75rem;letter-spacing:.04em;border-bottom:1px solid var(--bord-o)}
.post-body td{color:var(--muted)}
@media (max-width:640px){.post-body table{font-size:.8rem}.post-body th,.post-body td{padding:.5rem .5rem}}

.post-cta{margin-top:3.5rem;padding:2.5rem;background:var(--card);border:1px solid var(--border);border-radius:20px;text-align:center}
.post-cta h3{font-family:'Cormorant Garamond',serif;font-weight:400;font-size:1.5rem;margin-bottom:.75rem}
.post-cta p{color:var(--muted);margin-bottom:1.5rem}
.dl-btn-main{display:inline-flex;align-items:center;gap:.75rem;background:var(--orange);color:#fff;padding:1rem 2rem;border-radius:100px;text-decoration:none;font-size:1rem;font-weight:500;transition:all .3s}
.dl-btn-main:hover{background:var(--orange-l);transform:translateY(-2px)}
.back-link{display:inline-block;margin-bottom:2rem;color:var(--muted);text-decoration:none;font-size:.85rem}
.back-link:hover{color:var(--orange-l)}

/* FOOTER — identical to main site */
footer{border-top:1px solid var(--border);padding:3rem 2rem}
.footer-inner{max-width:1200px;margin:0 auto;text-align:center}
.footer-logo{font-family:'Cormorant Garamond',serif;font-size:1.3rem;font-weight:600;margin-bottom:1.25rem}
.footer-logo span{color:var(--orange)}
.footer-links{list-style:none;display:flex;gap:1.75rem;justify-content:center;flex-wrap:wrap;margin-bottom:1.5rem}
.footer-links a{color:var(--muted);text-decoration:none;font-size:.82rem}
.footer-links a:hover{color:var(--orange-l)}
.footer-copy{color:var(--dim);font-size:.78rem}
