/* ── BLOG STYLES ── */
/* Inherits variables and fonts from main site */

.blog-header {
  padding: 48px 0 32px;
  border-bottom: 2px solid var(--border);
}
.blog-header h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 8px;
}
.blog-header .blog-subtitle {
  color: var(--text-soft);
  font-size: 1.05rem;
  font-weight: 500;
}

/* ── BLOG INDEX GRID ── */
.blog-grid {
  padding: 48px 0;
}
.blog-card {
  display: block;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease;
}
.blog-card:first-child { padding-top: 0; }
.blog-card:last-child { border-bottom: none; }
.blog-card:hover { transform: translateX(4px); }
.blog-card h2 {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
  color: var(--text);
}
.blog-card:hover h2 { color: var(--accent); }
.blog-card .blog-excerpt {
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 55ch;
}
.blog-card .blog-meta {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 6px;
}

/* ── SINGLE POST ── */
.post-meta {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}
.post-header {
  padding: 48px 0 0;
}
.post-header h1 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.post-body {
  padding: 40px 0 64px;
}
.post-body h2 {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 3.5vw, 1.6rem);
  font-weight: 800;
  line-height: 1.25;
  margin-top: 40px;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.post-body h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-top: 32px;
  margin-bottom: 12px;
}
.post-body p {
  color: var(--text-soft);
  line-height: 1.8;
  margin-bottom: 20px;
  max-width: 60ch;
}
.post-body p strong { color: var(--text); font-weight: 700; }
.post-body .post-cta {
  margin-top: 48px;
  padding: 32px;
  background: var(--bg-warm);
  border: 2px solid var(--border);
  border-radius: 12px;
  max-width: 100%;
}
.post-body .post-cta p {
  color: var(--text);
  font-weight: 500;
  margin-bottom: 12px;
  max-width: none;
}
.post-body .post-cta a {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}
.post-body .post-cta a:hover { text-decoration: underline; }

.post-back {
  display: inline-block;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  margin-bottom: 24px;
  padding: 8px 0;
  min-height: 48px;
  line-height: 32px;
}
.post-back:hover { text-decoration: underline; }

/* ── NAV BLOG LINK ── */
.nav-blog {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-soft);
  text-decoration: none;
  padding: 8px 12px;
  min-height: 48px;
  display: flex;
  align-items: center;
}
.nav-blog:hover { color: var(--accent); }

/* ── RESPONSIVE ── */
@media (max-width: 600px) {
  .blog-header { padding: 28px 0 24px; }
  .blog-grid { padding: 32px 0; }
  .blog-card { padding: 24px 0; }
  .post-header { padding: 28px 0 0; }
  .post-body { padding: 28px 0 48px; }
  .post-body .post-cta { padding: 24px 20px; }
}
