/* ===================================
   LIPOZENIX BLOG - SHARED STYLES
   =================================== */
:root {
  --green: #1a6b3a; --green-dark: #0f4023; --green-light: #2d8f52;
  --gold: #d4af37; --gold-light: #f0d060;
  --white: #fff; --off-white: #f8faf7; --text: #1a1a2e; --gray: #6b7280;
  --font-head: 'Montserrat', sans-serif; --font-body: 'Open Sans', sans-serif;
  --radius: 14px; --shadow: 0 4px 24px rgba(26,107,58,0.12);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font-body); color: var(--text); background: var(--off-white); line-height: 1.8; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
.container { max-width: 860px; margin: 0 auto; padding: 0 20px; }

/* NAVBAR */
.navbar {
  background: #fff; border-bottom: 1px solid rgba(26,107,58,0.1);
  padding: 12px 0; position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 12px rgba(26,107,58,0.08);
}
.nav-inner { max-width: 1100px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.nav-logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 800; font-size: 18px; color: var(--green-dark); }
.nav-logo img { width: 38px; height: 38px; object-fit: contain; border-radius: 7px; }
.nav-cta { background: var(--gold); color: #1a1a00; font-family: var(--font-head); font-weight: 700; font-size: 13px; padding: 9px 20px; border-radius: 50px; min-height: 44px; display: flex; align-items: center; transition: transform 0.2s; }
.nav-cta:hover { transform: scale(1.05); }
.nav-back { font-family: var(--font-head); font-weight: 600; font-size: 13px; color: var(--green); }
.nav-back:hover { text-decoration: underline; }

/* ARTICLE */
.blog-article { padding: 60px 0 80px; }
.article-header { margin-bottom: 40px; }
.cat-tag { display: inline-block; background: rgba(26,107,58,0.1); color: var(--green); font-family: var(--font-head); font-weight: 700; font-size: 11px; padding: 4px 12px; border-radius: 50px; margin-bottom: 16px; letter-spacing: 1px; }
.blog-article h1 { font-family: var(--font-head); font-size: clamp(26px, 5vw, 40px); color: var(--text); margin-bottom: 14px; line-height: 1.2; }
.article-meta { font-size: 14px; color: var(--gray); margin-bottom: 20px; }
.article-intro { font-size: 18px; color: #444; line-height: 1.8; padding: 20px; background: rgba(26,107,58,0.06); border-left: 4px solid var(--green); border-radius: 0 var(--radius) var(--radius) 0; }

/* TOC */
.toc { background: #fff; border: 1px solid rgba(26,107,58,0.15); border-radius: var(--radius); padding: 24px 28px; margin-bottom: 40px; }
.toc h3 { font-family: var(--font-head); font-size: 15px; color: var(--green-dark); margin-bottom: 14px; }
.toc ul { list-style: none; padding: 0; }
.toc li { margin-bottom: 8px; }
.toc a { font-size: 15px; color: var(--green); font-weight: 600; }
.toc a:hover { text-decoration: underline; }

/* CONTENT */
.blog-article section { margin-bottom: 40px; }
.blog-article h2 { font-family: var(--font-head); font-size: clamp(20px, 3vw, 28px); color: var(--text); margin-bottom: 16px; margin-top: 8px; border-bottom: 2px solid var(--gold); padding-bottom: 10px; }
.blog-article h3 { font-family: var(--font-head); font-size: clamp(16px, 2.5vw, 20px); color: var(--green-dark); margin-bottom: 10px; margin-top: 24px; }
.blog-article p { font-size: 16px; color: #444; margin-bottom: 16px; line-height: 1.8; }
.blog-article strong { color: var(--text); }

.styled-list { list-style: none; padding: 0; margin-bottom: 16px; }
.styled-list li { font-size: 16px; color: #444; padding: 8px 0; border-bottom: 1px solid rgba(0,0,0,0.05); line-height: 1.7; }

.highlight-box {
  background: linear-gradient(135deg, #fffbea 0%, #f0fdf4 100%);
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  padding: 20px 24px;
  font-family: var(--font-head);
  font-size: 16px;
  color: var(--green-dark);
  margin: 28px 0;
}

/* CTA */
.cta-inline {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 100%);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  color: #fff;
  margin: 48px 0;
}
.cta-inline h3 { font-family: var(--font-head); font-size: clamp(18px, 3vw, 24px); margin-bottom: 10px; color: #fff; }
.cta-inline p { font-size: 15px; color: rgba(255,255,255,0.82); margin-bottom: 20px; }
.btn-blog-cta {
  display: inline-block;
  background: var(--gold);
  color: #1a1a00;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 16px;
  padding: 14px 32px;
  border-radius: 50px;
  box-shadow: 0 6px 24px rgba(212,175,55,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-blog-cta:hover { transform: scale(1.05); box-shadow: 0 10px 36px rgba(212,175,55,0.6); }

/* RELATED */
.related-posts { margin-top: 48px; }
.related-posts h3 { font-family: var(--font-head); font-size: 18px; color: var(--text); margin-bottom: 20px; }
.related-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.related-card {
  background: #fff;
  border: 1px solid rgba(26,107,58,0.15);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14px;
  color: var(--green);
  transition: background 0.2s, transform 0.2s;
  display: block;
}
.related-card:hover { background: rgba(26,107,58,0.06); transform: translateX(3px); }

/* FOOTER */
.footer { background: #0a1f12; color: rgba(255,255,255,0.6); padding: 28px 0; text-align: center; font-size: 13px; }
.footer-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-bottom: 12px; }
.footer-links a { color: rgba(255,255,255,0.6); transition: color 0.2s; }
.footer-links a:hover { color: var(--gold); }

@media (max-width: 600px) {
  .related-grid { grid-template-columns: 1fr; }
  .blog-article { padding: 40px 0 60px; }
  .nav-back { display: none; }
}
