/* Blog shares the homepage palette, navigation, and footer. */
.blog-page { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif; }
.blog-heading { margin-bottom: 56px; padding-bottom: 38px; border-bottom: 1px solid var(--line); }
.blog-heading h1 { font-size: clamp(44px, 6vw, 72px); letter-spacing: -1.5px; }
.blog-heading > p:last-child { color: var(--muted); margin: 20px 0 0; font-size: 15px; }
.blog-page nav a[aria-current] { color: var(--accent); text-decoration: underline; }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.post-card { min-width: 0; }
.post-image { display: block; overflow: hidden; background: #e6ebe4; }
.post-image img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 250ms ease; }
.post-image:hover img { transform: scale(1.025); }
.post-copy { padding-top: 22px; }
.post-copy time, .article-date { color: var(--muted); font-size: 12px; letter-spacing: 1px; }
.post-copy h2 { font-family: inherit; font-size: 23px; letter-spacing: -.4px; line-height: 1.5; margin-top: 12px; }
.post-copy h2 a { text-decoration: none; }
.post-copy h2 a:hover { text-decoration: underline; }
.post-copy > p { font-size: 14px; color: var(--muted); margin: 16px 0 20px; line-height: 1.9; }
.post-read, .back-link { font-size: 13px; }
.article-page { max-width: 850px; }
.article-heading { margin: 32px 0 22px; }
.article-heading h1 { font-family: inherit; font-size: clamp(30px, 4vw, 44px); line-height: 1.4; letter-spacing: -.7px; }
.article-heading > p { color: var(--muted); font-size: 14px; margin: 18px 0 0; }
.article-date { margin-bottom: 40px; }
.article-body { line-height: 2; overflow-wrap: anywhere; }
.article-body > h2 { font-family: inherit; font-size: 25px; letter-spacing: -.3px; line-height: 1.5; margin: 48px 0 20px; }
.article-body > p { margin-bottom: 26px; }
.article-figures { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 20px; margin: 32px 0 12px; }
.figure-cell { min-width: 0; }
.figure-cell img { width: 100%; height: auto; }
.figure-caption { color: var(--muted); font-size: 12px; line-height: 1.8; margin: 12px 0 32px; }
.figure-block { margin-block: 36px; }
.youtube { width: 100%; height: auto; aspect-ratio: 16 / 9; border: 0; display: block; margin-block: 32px; }
.article-back { display: inline-block; margin-top: 48px; }
@media (max-width: 900px) { .post-grid { gap: 24px; } .post-copy h2 { font-size: 20px; } }
@media (max-width: 600px) {
  .blog-heading { margin-bottom: 36px; padding-bottom: 30px; }
  .post-grid { grid-template-columns: 1fr; gap: 40px; }
  .post-card { padding-bottom: 30px; border-bottom: 1px solid var(--line); }
  .article-body > h2 { font-size: 23px; }
}
@media (prefers-reduced-motion: reduce) { .post-image img { transition: none; } }
