/* Blog-only styles. Tokens and base styles come from https://softrivo.com/styles.css */
.blog-hero { padding-bottom: 24px; }
.post-grid { display: grid; gap: 20px; }
@media (min-width: 720px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .post-grid { grid-template-columns: repeat(3, 1fr); } }
.post-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.post-thumb img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.post-card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-card h2 { font-size: 1.25rem; margin: 0; }
.post-card h2 a { color: var(--ink-900); text-decoration: none; }
.post-card h2 a:hover { color: var(--blue-700); }
.post-card .btn { align-self: flex-start; margin-top: auto; }
.post-meta { font-family: var(--mono); font-size: 12px; letter-spacing: .04em; color: var(--ink-500); margin: 0; }
.post-head { padding: 48px 0 24px; background: radial-gradient(720px 360px at 85% 0%, var(--blue-50), transparent 70%); }
.post-head h1 { font-size: clamp(2rem, 3vw + 1rem, 3rem); margin-bottom: 14px; }
.post-hero-img img { width: 100%; height: auto; border-radius: var(--r-lg); border: 1px solid var(--line); }
.post-body { padding: 24px var(--gutter) 48px; font-size: 1.05rem; }
.post-body h2 { margin-top: 2em; } .post-body h3 { margin-top: 1.6em; }
.post-body img, .post-body figure { max-width: 100%; height: auto; border-radius: var(--r-md); }
.post-body figcaption { font-size: 13px; color: var(--ink-500); text-align: center; margin-top: 6px; }
.post-body table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: 15px; display: block; overflow-x: auto; }
.post-body th, .post-body td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.post-body th { background: var(--bg-soft); color: var(--ink-900); }
.post-body blockquote { margin: 1.5em 0; padding: 12px 18px; border-left: 3px solid var(--blue-600); background: var(--blue-50); border-radius: 0 var(--r-md) var(--r-md) 0; }
.post-body code { background: var(--bg-soft); padding: 2px 6px; border-radius: 4px; }
.post-cta { margin: 0 0 var(--section); }
.post-cta h2 { font-size: 1.5rem; }
.post-pagination .nav-links { display: flex; gap: 8px; justify-content: center; margin-top: 32px; }
.post-pagination .page-numbers { padding: 8px 14px; border: 1px solid var(--line); border-radius: var(--r-md); color: var(--ink-700); }
.post-pagination .current { background: var(--ink-900); color: #fff; border-color: var(--ink-900); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
