/* Blog: article and index pages */
.post { padding: clamp(110px, 14vw, 150px) 0 clamp(56px, 8vw, 96px); }
.post-inner { max-width: 760px; }
.post-back { display: inline-block; color: var(--muted); font-size: 14px; margin-bottom: 28px; }
.post-back:hover { color: var(--cyan); }
.post h1 { font-size: clamp(30px, 4.6vw, 46px); line-height: 1.12; }
.post-meta { color: var(--dim); font-size: 14px; margin: 16px 0 40px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }

.post-body { color: rgba(244, 244, 244, 0.86); font-size: 17px; line-height: 1.75; overflow-wrap: anywhere; }
.post-body h2 { font-size: clamp(22px, 3vw, 28px); line-height: 1.25; margin: 48px 0 14px; color: var(--paper); }
.post-body h3 { font-size: 20px; line-height: 1.3; margin: 32px 0 10px; color: var(--paper); }
.post-body h4 { font-family: var(--font-head); font-size: 17px; margin: 24px 0 8px; color: var(--paper); }
.post-body p { margin: 0 0 18px; }
.post-body ul, .post-body ol { margin: 0 0 20px; padding-left: 22px; }
.post-body li { margin-bottom: 8px; }
.post-body li::marker { color: var(--cyan); }
.post-body strong { color: var(--paper); font-weight: 600; }
.post-body a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.post-body figure { margin: 28px 0; }
.post-body img { border-radius: var(--radius-sm); width: 100%; height: auto; }
.post-body blockquote { margin: 24px 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--cyan); color: var(--muted); }
.post-body hr { border: 0; border-top: 1px solid var(--line); margin: 36px 0; }
.table-wrap { overflow-x: auto; margin: 24px 0; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); }
.post-body table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.post-body th, .post-body td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.post-body th { background: var(--surface); color: var(--paper); font-weight: 600; }
.post-body tr:last-child td { border-bottom: 0; }

.post-cta { margin-top: 56px; padding: 32px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--surface-2); }
.post-cta h2 { font-size: 24px; margin-bottom: 10px; }
.post-cta p { color: var(--muted); margin: 0 0 20px; }

.blog-index h1 { font-size: clamp(34px, 5vw, 56px); }
.blog-lede { color: var(--muted); font-size: 18px; margin: 14px 0 44px; max-width: 560px; }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.blog-card { display: block; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface-2); transition: border-color .2s var(--ease), transform .2s var(--ease); }
.blog-card:hover { border-color: var(--cyan); transform: translateY(-2px); }
.blog-card h2 { font-size: 19px; line-height: 1.3; margin-bottom: 10px; }
.blog-card p { color: var(--muted); font-size: 14px; margin: 0; }

@media (max-width: 600px) {
  .post-body { font-size: 16px; }
  .post-cta { padding: 24px; }
  .blog-grid { grid-template-columns: 1fr; }
}

.breadcrumbs { font-size: 14px; color: var(--dim); margin-bottom: 24px; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--cyan); }
.breadcrumbs [aria-current] { color: var(--dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.post-related { margin-top: 56px; }
.post-related > h2 { font-size: 24px; margin-bottom: 18px; }
.post-related .blog-card h3 { font-size: 17px; line-height: 1.35; margin: 0; }
.blog-lede a { color: var(--cyan); text-decoration: underline; }
