/* Blog - Cyber theme (matches profile site) */
:root {
  --bg-dark: #0a0e17;
  --bg-card: #0f1420;
  --bg-elevated: #141b2b;
  --border: rgba(0, 255, 136, 0.2);
  --accent: #00ff88;
  --accent-dim: #00cc6a;
  --accent-cyan: #00d4ff;
  --text: #e2e8f0;
  --text-muted: #94a3b8;
  --font-mono: 'JetBrains Mono', monospace;
  --font-heebo: 'Heebo', sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-heebo);
  background: var(--bg-dark);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
}

.cyber-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 255, 136, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 136, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  z-index: 0;
}

.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 2;
}

/* Nav */
.blog-nav {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
}

.blog-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: var(--transition);
}

.blog-nav a:hover {
  color: var(--accent);
}

.blog-nav .home-link::before {
  content: '← ';
  font-family: var(--font-mono);
}

/* Header */
.blog-header {
  padding: 4rem 0 3rem;
  text-align: center;
}

.blog-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.blog-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* Post list */
.post-list {
  padding-bottom: 4rem;
}

.post-card {
  display: block;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

.post-card:hover {
  padding-left: 0.5rem;
  border-color: rgba(0, 255, 136, 0.3);
}

.post-card:last-child {
  border-bottom: none;
}

.post-meta {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.post-card h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  transition: var(--transition);
}

.post-card:hover h2 {
  color: var(--accent);
}

.post-card .excerpt {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
}

.post-card .read-time {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

/* Post single */
.post-article {
  padding: 2rem 0 4rem;
}

.post-article .post-meta {
  margin-bottom: 1.5rem;
}

.post-article h1 {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 2rem;
}

.post-article .content {
  font-size: 1.1rem;
  line-height: 1.8;
}

.post-article .content p {
  margin-bottom: 1.25rem;
}

.post-article .content h2 {
  font-size: 1.35rem;
  margin: 2rem 0 1rem;
  color: var(--accent);
}

.post-article .content ul, .post-article .content ol {
  margin: 1rem 0 1.5rem 1.5rem;
}

.post-article .content li {
  margin-bottom: 0.5rem;
}

.post-article .content blockquote {
  border-left: 3px solid var(--accent);
  padding-left: 1.25rem;
  margin: 1.5rem 0;
  color: var(--text-muted);
  font-style: italic;
}

.post-article .content a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}

.post-article .content a:hover {
  border-bottom-color: var(--accent);
}

/* Footer */
.blog-footer {
  padding: 2rem 0;
  text-align: center;
  border-top: 1px solid var(--border);
}

.blog-footer p {
  font-size: 0.9rem;
  color: var(--text-muted);
}
