/* Blog-only styles. Uses the tokens defined in site.css */
.blog-main { padding-top: 68px; min-height: 70vh; }

.blog-hero { background: var(--off); border-bottom: 1px solid var(--border); padding: 72px 0 56px; }
.blog-hero .eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }
.blog-hero h1 { font-family: var(--display); font-size: 44px; line-height: 1.15; color: var(--ink); letter-spacing: -1px; }
.blog-hero p { margin-top: 14px; max-width: 560px; color: var(--muted); font-size: 16px; }

.post-list { padding: 56px 0 96px; display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.post-card {
  display: flex; flex-direction: column; gap: 10px;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow); transition: transform .18s, box-shadow .18s, border-color .18s;
}
.post-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); border-color: var(--blue-md); }
.post-meta { font-size: 12px; color: var(--muted); font-weight: 500; }
.post-card h2 { font-family: var(--display); font-size: 22px; line-height: 1.3; color: var(--ink); }
.post-card p { font-size: 14px; color: var(--body); }
.post-card .read { margin-top: auto; padding-top: 8px; font-size: 13px; font-weight: 600; color: var(--blue); }
.empty { padding: 56px 0 96px; color: var(--muted); }

.article { max-width: 720px; margin: 0 auto; padding: 64px 20px 96px; }
.article .back { font-size: 13px; font-weight: 600; color: var(--blue); }
.article h1 { font-family: var(--display); font-size: 40px; line-height: 1.2; color: var(--ink); letter-spacing: -.8px; margin: 18px 0 12px; }
.article .post-meta { margin-bottom: 36px; padding-bottom: 24px; border-bottom: 1px solid var(--border); }
.article h2 { font-family: var(--display); font-size: 28px; color: var(--ink); margin: 40px 0 12px; }
.article h3 { font-size: 18px; color: var(--ink); margin: 28px 0 8px; }
.article p, .article li { font-size: 17px; line-height: 1.75; }
.article p { margin: 0 0 18px; }
.article ul, .article ol { margin: 0 0 18px 24px; }
.article ul { list-style: disc; }
.article li { margin-bottom: 6px; }
.article a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.article blockquote { border-left: 3px solid var(--gold); background: var(--gold-lt); padding: 14px 20px; margin: 0 0 18px; }
.article code { background: var(--light); padding: 2px 6px; border-radius: 3px; font-size: .9em; }
.article pre { background: var(--ink); color: #eee; padding: 18px 20px; border-radius: var(--radius); overflow-x: auto; margin: 0 0 18px; }
.article pre code { background: none; padding: 0; color: inherit; }
.article hr { border: 0; border-top: 1px solid var(--border); margin: 36px 0; }
.post-cta { margin-top: 56px; padding: 32px; background: var(--blue-lt); border-radius: var(--radius); }
.post-cta h3 { margin: 0 0 8px; font-family: var(--display); font-size: 22px; }
.post-cta p { margin-bottom: 16px; }
.article .post-cta a.btn { color: #fff; text-decoration: none; }

@media (max-width: 768px) {
  .blog-hero h1, .article h1 { font-size: 32px; }
  .post-list { grid-template-columns: 1fr; }
}
