/* Blog index */
.blog-hero {
  background: var(--night-900);
  padding: 5rem 0 4rem;
  text-align: center;
}
.blog-hero h1 { color: var(--cream); margin-bottom: 1rem; }
.blog-hero p { color: rgba(155,231,196,.7); font-size: 1.125rem; max-width: 480px; margin: 0 auto; }

.blog-index-section {
  padding: 5rem 0;
  background: var(--paper);
}
.blog-index-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
  margin-top: 3rem;
}
.blog-index-grid .blog-card:first-child {
  grid-column: 1 / -1; /* Featured first post spans full width */
}

/* Blog post article */
.post-wrap {
  background: var(--paper);
  min-height: 100vh;
}
.post-header {
  background: var(--night-900);
  padding: 5rem 0 4rem;
}
.post-header .container { max-width: 760px; }
.post-breadcrumb {
  font-family: Manrope, sans-serif;
  font-size: .8125rem;
  color: rgba(155,231,196,.5);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.post-breadcrumb a {
  color: rgba(155,231,196,.5);
  text-decoration: none;
  transition: color .2s;
}
.post-breadcrumb a:hover { color: var(--glow); }
.post-breadcrumb-sep { opacity: .4; }
.post-meta-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  font-family: Manrope, sans-serif;
  font-size: .875rem;
  color: rgba(155,231,196,.55);
}
.post-category {
  background: rgba(46,229,157,.1);
  border: 1px solid rgba(46,229,157,.2);
  border-radius: 999px;
  padding: .2rem .75rem;
  font-size: .75rem;
  font-weight: 600;
  color: var(--glow);
}
.post-title {
  font-family: Fraunces, serif;
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--cream);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}
.post-lead {
  font-family: Manrope, sans-serif;
  font-size: 1.125rem;
  color: rgba(155,231,196,.75);
  line-height: 1.65;
  max-width: 580px;
}

.post-body-wrap {
  padding: 4rem 0 5rem;
}
.post-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 2rem;
  font-family: Manrope, sans-serif;
  font-size: 1.0625rem;
  color: var(--ink);
  line-height: 1.75;
}
.post-body h2 {
  font-family: Fraunces, serif;
  font-size: clamp(1.4rem, 3vw, 1.875rem);
  font-weight: 700;
  color: var(--ink);
  margin: 2.5rem 0 1rem;
  line-height: 1.2;
}
.post-body h3 {
  font-family: Fraunces, serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink);
  margin: 2rem 0 .75rem;
}
.post-body p { margin-bottom: 1.25rem; }
.post-body ul, .post-body ol {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}
.post-body li { margin-bottom: .5rem; }
.post-body strong { font-weight: 600; color: var(--ink); }

.post-warning {
  background: rgba(16,35,27,.04);
  border-left: 3px solid var(--amber);
  border-radius: 0 12px 12px 0;
  padding: 1.25rem 1.5rem;
  margin: 2.5rem 0 0;
  font-family: Manrope, sans-serif;
  font-size: .9375rem;
  color: var(--muted);
  line-height: 1.6;
}
.post-warning strong {
  display: block;
  margin-bottom: .375rem;
  color: var(--ink);
  font-size: 1rem;
}

.post-nav {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2.5rem 0;
  margin-top: 2.5rem;
  border-top: 1px solid rgba(16,35,27,.08);
}
.post-nav-link {
  font-family: Manrope, sans-serif;
  font-size: .9375rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  opacity: .6;
  transition: opacity .2s;
}
.post-nav-link:hover { opacity: 1; }
.post-nav-link.prev::before { content: "← "; }
.post-nav-link.next::after { content: " →"; }

@media (max-width: 768px) {
  .blog-index-grid { grid-template-columns: 1fr; }
  .blog-index-grid .blog-card:first-child { grid-column: auto; }
  .post-nav { flex-direction: column; }
}
