.writing-section .section-title { margin-bottom: 2rem; }
.category-filter, .writing-sidebar nav { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
.category-filter { justify-content: center; margin: 0 auto 2rem; max-width: 58rem; }
.category-filter a[aria-current] { font-weight: bold; text-decoration-thickness: .14em; }
.post-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
.post-card { min-width: 0; background: #fafafa; }
.post-card[hidden] { display: none; }
.post-card-link { display: flex; flex-direction: column; color: inherit; text-decoration: none; height: 100%; }
.post-card-link > img { display: block; width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; }
.post-card-copy { padding: 1.75rem; text-align: left; }
.post-card h2, .blog-entry h1, .writing-sidebar h2 { line-height: 1.2; overflow-wrap: break-word; }
.post-card h2 { font-size: 1.55rem; margin: .65rem 0 1rem; }
.post-card a:hover h2, .post-card a:focus h2, .continue { text-decoration: underline; }
.post-meta { font-size: .94rem; }
.post-meta span { margin: 0 .35em; }
.continue { display: inline-block; margin-top: .5rem; }
.blog-layout { display: grid; grid-template-columns: minmax(0, 2.65fr) minmax(12rem, 1fr); gap: 2.5rem; text-align: left; }
.blog-entry { padding-right: 2.5rem; border-right: 1px solid #ddd; }
.blog-entry h1 { margin: 1rem 0 .5rem; font-size: clamp(1.75rem, 3.4vw, 2.6rem); }
.post-body { display: flow-root; margin-top: 2rem; line-height: 1.65; overflow-wrap: break-word; }
.post-body p, .post-body li { margin-top: 0; margin-bottom: 1rem; }
.post-body figure { margin: 1.5rem 0; }
.post-body figure img { display: block; max-width: 100%; height: auto; }
.post-body figure.align-right { width: min(40%, 17rem); float: right; margin: .25rem 0 1rem 1.5rem; }
.post-body figcaption { margin-top: .5rem; font-size: .9rem; }
.article-crop { display: block; overflow: hidden; position: relative; }
.article-crop img { position: absolute; max-width: none !important; }
.writing-sidebar h2 { margin: 0 0 1rem; font-size: 1.35rem; }
.writing-sidebar nav { flex-direction: column; margin: 0 0 2rem; }
.writing-sidebar ul { list-style: none; padding: 0; }
.writing-sidebar li { margin: 0 0 .75rem; }
@media (max-width: 48rem) {
  .blog-layout, .post-grid { grid-template-columns: 1fr; }
  .blog-entry { padding-right: 0; border-right: 0; }
  .writing-sidebar { padding-top: 1.5rem; border-top: 1px solid #ddd; }
  .writing-sidebar nav { flex-direction: row; }
  .post-card-copy { padding: 1.25rem; }
}
@media (max-width: 32rem) {
  .post-body figure.align-right { float: none; width: auto; margin: 1rem auto; max-width: 18rem; }
}
