/* Blog-only styles, layered on top of the shared styles.css design tokens
   (var(--text), --muted, --line, --surface, --accent, --radius-*, etc.). */

.blog-shell { width: min(760px, calc(100% - 2.4rem)); margin: 2.2rem auto 3rem; }
.blog-shell.wide { width: min(1040px, calc(100% - 2.4rem)); }

/* Breadcrumb */
.breadcrumb { font-size: 0.85rem; color: var(--muted); margin-bottom: 1.4rem; }
.breadcrumb a { color: var(--accent); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { margin: 0 0.4rem; opacity: 0.6; }

/* Post header */
.post-eyebrow { text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.72rem; font-weight: 700; color: var(--accent); margin: 0 0 0.6rem; }
.blog-shell h1 { font-size: clamp(1.9rem, 4.2vw, 2.7rem); line-height: 1.12; margin: 0 0 0.8rem; }
.post-lede { font-size: 1.12rem; color: var(--muted); line-height: 1.6; margin: 0 0 1.2rem; }
.post-meta { font-size: 0.85rem; color: var(--muted); display: flex; gap: 0.6rem; align-items: center; margin-bottom: 2rem; padding-bottom: 1.4rem; border-bottom: 1px solid var(--line); }
.post-meta .dot { opacity: 0.5; }

/* Post body typography */
.post-body { color: var(--text); }
.post-body h2 { font-size: 1.5rem; margin: 2.2rem 0 0.7rem; line-height: 1.25; }
.post-body h3 { font-size: 1.18rem; margin: 1.6rem 0 0.5rem; }
.post-body p, .post-body li { line-height: 1.75; font-size: 1.02rem; }
.post-body p { margin: 0 0 1.1rem; }
.post-body ul, .post-body ol { padding-inline-start: 1.3rem; margin: 0 0 1.2rem; }
.post-body li { margin-bottom: 0.5rem; }
.post-body a { color: var(--accent); text-decoration: none; }
.post-body a:hover { text-decoration: underline; }
.post-body strong { color: var(--text); }
.post-body blockquote {
  margin: 1.4rem 0; padding: 0.8rem 1.2rem; border-inline-start: 3px solid var(--accent);
  background: var(--surface); border-radius: 0 var(--radius-md) var(--radius-md) 0; color: var(--muted); font-style: italic;
}
.post-body .callout {
  border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius-md);
  padding: 1.1rem 1.3rem; margin: 1.5rem 0;
}
.post-body .callout strong { color: var(--accent); }

/* Key-takeaways / TL;DR box */
.tldr { border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius-md); padding: 1.1rem 1.3rem; margin: 0 0 2rem; }
.tldr h2 { font-size: 1rem; text-transform: uppercase; letter-spacing: 0.06em; margin: 0 0 0.6rem; color: var(--muted); }
.tldr ul { margin: 0; padding-inline-start: 1.2rem; }
.tldr li { margin-bottom: 0.35rem; }

/* In-post CTA */
.post-cta {
  margin: 2.4rem 0; padding: 1.6rem 1.5rem; border-radius: var(--radius-lg);
  border: 1px solid var(--line); background: var(--surface); text-align: center;
}
.post-cta h3 { margin: 0 0 0.4rem; font-size: 1.25rem; }
.post-cta p { color: var(--muted); margin: 0 0 1rem; }

/* Related posts */
.related { margin-top: 2.6rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.related h2 { font-size: 1.1rem; margin: 0 0 1rem; }
.related-list { display: grid; gap: 0.8rem; }
.related-list a { color: var(--accent); text-decoration: none; font-weight: 600; }
.related-list a:hover { text-decoration: underline; }

/* Blog hub cards */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.2rem; margin-top: 2rem; }
.post-card {
  display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--surface); padding: 1.5rem 1.4rem; transition: transform 160ms ease, border-color 160ms ease;
  text-decoration: none; color: inherit;
}
.post-card:hover { transform: translateY(-3px); border-color: var(--accent); }
.post-card .pc-tag { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--accent); font-weight: 700; margin-bottom: 0.6rem; }
.post-card h2 { font-size: 1.25rem; margin: 0 0 0.5rem; line-height: 1.25; }
.post-card p { color: var(--muted); margin: 0 0 1rem; flex: 1; line-height: 1.6; font-size: 0.96rem; }
.post-card .pc-more { color: var(--accent); font-weight: 700; font-size: 0.92rem; }
