/* The blog (src/blog-pages.js): the article list and a readable article in the site's look. */
.blog h1, .blog-post h1 { margin: 24px 0 8px; }
.blog-list { list-style: none; padding: 0; margin: 24px 0 48px; display: grid; gap: 28px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.blog-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; }
.blog-card-img img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.blog-card-text { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.blog-card h2 { font-size: 1.15rem; line-height: 1.3; margin: 0; text-transform: none; }
.blog-card h2 a { color: inherit; text-decoration: none; }
.blog-card h2 a:hover { text-decoration: underline; }
.blog-card p { margin: 0; line-height: 1.5; }
.blog-more { margin-top: auto; padding-top: 8px; font-weight: 600; }
.blog-post { padding-bottom: 48px; }
.blog-post .crumbs { margin-top: 20px; }
.blog-hero { margin: 20px 0 24px; }
.blog-hero img { display: block; width: 100%; height: auto; border-radius: 12px; }
.blog-hero figcaption { font-size: .8rem; color: var(--ink-2); margin-top: 6px; }
.blog-body { line-height: 1.7; overflow-wrap: anywhere; }
.blog-body h2 { font-size: 1.35rem; margin: 32px 0 10px; text-transform: none; }
.blog-body h3 { font-size: 1.1rem; margin: 24px 0 8px; }
.blog-body img { max-width: 100%; height: auto; border-radius: 8px; }
.blog-body ul, .blog-body ol { padding-left: 22px; }
.blog-body table { width: 100%; border-collapse: collapse; margin: 16px 0; display: block; overflow-x: auto; }
.blog-body th, .blog-body td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.blog-body blockquote { margin: 20px 0; padding: 14px 18px; background: var(--info-bg, #f3f6f4); border-radius: 8px; color: var(--ink-2); font-style: italic; }
.blog-back { margin-top: 36px; }
