/* Styles used only by the blog list and article pages (generated by docs/KB/site-tools/blog.cjs); loaded after site.css. */
.posts { padding-top: 0; }
.posts > * { max-width: 900px; }
.posts-empty { color: var(--muted); font-size: var(--fs-lead); }
.post-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
/* The blog list starts right under the band of the divider: the band is its top edge, so no second rule above the first article. */
.posts .post-list { border-top: 0; }
.post-item { border-bottom: 1px solid var(--line); }
.post-item article { padding-block: 32px; }
.post-meta { margin-top: 10px; color: var(--muted); font-size: var(--fs-small); }
.post-item article p:not(.post-meta) { margin-top: 12px; }
.post-more { display: inline-flex; align-items: center; min-height: 44px; margin-top: 8px; font-weight: 600; }
.post { max-width: 760px; margin-inline: auto; }
.post-mark { display: block; width: 64px; height: 64px; margin-bottom: 20px; }
.post-back { margin-bottom: 20px; font-size: var(--fs-small); }
.post-back a { display: inline-flex; align-items: center; min-height: 44px; }
.post-body { margin-top: 36px; }
.post-body > * + * { margin-top: 20px; }
.post-body h2 { margin-top: 44px; }
.post-body h3 { margin-top: 32px; }
.post-body h4 { margin-top: 28px; font-size: var(--fs-lead); }
.post-body ul, .post-body ol { padding-left: 24px; }
.post-body li + li { margin-top: 8px; }
.post-body blockquote { margin-inline: 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--line); color: var(--muted); }
.post-body blockquote p { margin: 0; }
.post-cta { margin-top: 48px; }
.post-more-section { max-width: 760px; margin-inline: auto; padding-top: 0; }
.post-more-section .post-list { margin-top: 20px; }
.post-more-section .post-item a { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; padding-block: 18px; text-decoration: none; }
.post-title { font-weight: 600; font-size: var(--fs-lead); }
.post-more-section time { color: var(--muted); font-size: var(--fs-small); }
.post-card { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 8px 24px; align-items: start; }
.post-thumb { width: 160px; height: 100px; object-fit: cover; border: 1px solid var(--line); border-radius: 9px; }
.post-thumb-mark { border: 0; object-fit: contain; object-position: left center; }
.post-body img { max-width: 100%; height: auto; }
.post-body figure { margin: 0; }
.post-body figure img { display: block; width: 100%; border: 1px solid var(--line); border-radius: 9px; }
.post-body figcaption { margin-top: 10px; max-width: 64ch; color: var(--muted); font-size: var(--fs-small); }
.post-body .byline { margin-top: 40px; color: var(--muted); font-style: italic; }
/* Call-to-action inside an article ([cta], blog.cjs): a quiet card in the text column, not a second button. The accent stays
   with the button at the end and the dot of the mark; the link is an ordinary underlined link in --ink. No animation. */
.post-body > .post-aside { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px 20px; align-items: start; margin-block: 40px; padding: 24px 28px; border: 1px solid var(--line); border-radius: 9px; background: var(--art-wash); }
.post-aside-mark { display: block; width: 40px; height: 40px; }
.post-aside-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-top: 8px; color: var(--ink); font-weight: 600; text-decoration: none; }
.post-aside-link span { text-decoration-line: underline; }
@media (max-width: 560px) {
  .post-card { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .post-body > .post-aside { grid-template-columns: minmax(0, 1fr); padding: 20px; }
}
