:root {
  --app: #0B1410;
  --green-d: #0E2A1E;
  --green: #1F5E3E;
  --accent: #FFC107;
  --accent-d: #E0A800;
  --surface: #13201A;
  --surface-2: #1B2A22;
  --border: #22332B;
  --text: #FFFFFF;
  --muted: #9FB4AB;
  --dim: #6B8076;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Cairo', 'Segoe UI', sans-serif;
  background: var(--app);
  color: var(--text);
  line-height: 1.9;
}
a { color: inherit; text-decoration: none; }
.container { max-width: 860px; margin: 0 auto; padding: 0 20px; }

header.site-header {
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  background: rgba(11,20,16,.9);
  position: sticky; top: 0; z-index: 20;
}
header.site-header .container { display: flex; align-items: center; justify-content: space-between; }
.brand { font-weight: 800; font-size: 20px; display: flex; align-items: center; gap: 8px; }
.brand .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.back-link { color: var(--accent); font-size: 14px; font-weight: 700; }

main { padding: 40px 0 80px; }

/* Blog index */
.blog-hero { text-align: center; padding: 20px 0 40px; }
.blog-hero h1 { font-size: 32px; margin-bottom: 10px; }
.blog-hero p { color: var(--muted); font-size: 16px; }

.post-list { display: flex; flex-direction: column; gap: 18px; }
.post-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
  transition: border-color .15s, transform .15s;
  display: block;
}
.post-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.post-card .tag {
  display: inline-block; background: rgba(255,193,7,.12); color: var(--accent);
  font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 20px; margin-bottom: 10px;
}
.post-card h2 { font-size: 20px; margin-bottom: 8px; }
.post-card p { color: var(--muted); font-size: 14px; }
.post-card .meta { color: var(--dim); font-size: 12px; margin-top: 10px; }

/* Article page */
article.post h1 { font-size: 28px; margin-bottom: 12px; line-height: 1.5; }
article.post .meta { color: var(--dim); font-size: 13px; margin-bottom: 30px; }
article.post h2 { font-size: 20px; margin: 32px 0 12px; color: var(--accent); }
article.post p { color: #DCE6E1; font-size: 16px; margin-bottom: 16px; }
article.post ul, article.post ol { color: #DCE6E1; font-size: 16px; margin: 0 0 16px 0; padding-right: 22px; }
article.post li { margin-bottom: 8px; }
article.post .callout {
  background: var(--surface); border: 1px solid var(--border); border-right: 4px solid var(--accent);
  border-radius: 12px; padding: 16px 18px; margin: 24px 0; color: var(--muted); font-size: 14px;
}

.cta-box {
  margin-top: 50px; padding: 30px; text-align: center;
  background: linear-gradient(135deg, var(--green-d), var(--green));
  border-radius: 20px; border: 1px solid var(--border);
}
.cta-box h3 { font-size: 20px; margin-bottom: 8px; }
.cta-box p { color: var(--muted); margin-bottom: 18px; font-size: 14px; }
.btn-gold {
  display: inline-block; background: var(--accent); color: #0B1410; font-weight: 800;
  padding: 12px 28px; border-radius: 12px;
}

.related { margin-top: 50px; }
.related h3 { font-size: 18px; margin-bottom: 16px; }
.related-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.related-grid a {
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  padding: 14px; font-size: 14px; font-weight: 700;
}
.related-grid a:hover { border-color: var(--accent); }

footer.site-footer {
  border-top: 1px solid var(--border); padding: 24px 0; text-align: center;
  color: var(--dim); font-size: 13px;
}

@media (max-width: 640px) {
  .related-grid { grid-template-columns: 1fr; }
  article.post h1 { font-size: 22px; }
  .blog-hero h1 { font-size: 24px; }
}
