/* Blog on top of landing.css + docs.css (.prose). Images 12px per the landing shape rule. */
.post, .post-index { max-width: 1280px; margin: 0 auto; padding: 8px 24px 96px; }
.post-hero { margin: 0 0 40px; }
.post-hero img { display: block; width: 100%; height: auto; aspect-ratio: 1280 / 560; object-fit: cover; border-radius: 12px; background: var(--surface-2); }
.post-body { max-width: 72ch; margin: 0 auto; }
.post-meta { font-size: .9rem; color: var(--muted); margin: 0 0 12px; }
.post-meta a { color: inherit; }
.post-cta { margin: 56px 0 0; padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.post-cta h2 { margin: 0 0 8px; }
.post-cta .btn { margin: 4px 8px 0 0; text-decoration: none; }
.post-cta .btn:not(.btn-ghost) { color: var(--accent-ink); }
.post-more { max-width: 72ch; margin: 72px auto 0; }
.post-more h2 { font-size: 1.4rem; margin: 0 0 20px; }

.post-index h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 800; }
.post-index .lead { margin: 12px 0 40px; font-size: 1.15rem; color: var(--muted); }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; }
.post-card { display: grid; gap: 8px; align-content: start; color: var(--text); text-decoration: none; }
.post-card img { width: 100%; height: auto; aspect-ratio: 768 / 336; object-fit: cover; border-radius: 12px; background: var(--surface-2); transition: transform .2s; }
.post-card:hover img { transform: translateY(-2px); }
.post-card strong { font-family: var(--display); font-size: 1.3rem; line-height: 1.2; letter-spacing: -0.01em; }
.post-card:hover strong { color: var(--accent); }
.post-card > span:last-child { color: var(--muted); line-height: 1.5; }
.post-card .post-meta { margin: 4px 0 0; }

@media (max-width: 900px) {
  .post, .post-index { padding: 8px 16px 72px; }
  .post-hero { margin: 0 -16px 28px; }
  .post-hero img { border-radius: 0; }
  .post-grid { grid-template-columns: 1fr; }
}
/* App screenshots in a post body */
.post-body img { display: block; width: 100%; height: auto; border: 1px solid var(--line); box-shadow: var(--shadow); }
.post-group { margin-top: 56px; }
.post-group h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; }
.post-group > p { margin: 6px 0 24px; color: var(--muted); }
