/* The blog (/blog/), built by tools/build_blog.py. Loads after site.css and only adds to it. */

/* Index and "More in" cards: white on the sky section, the whole card is the link */
.post-cards .card { background: #fff; transition: border-color .15s, transform .15s, box-shadow .15s; }
.post-cards .card:hover { background: #fff; transform: translateY(-2px); box-shadow: 0 6px 18px rgba(23, 24, 28, 0.08); }
.post-cards .card:focus-visible { border-color: var(--amber); border-radius: var(--radius); }
.post-cards .card h2, .post-cards .card h3 { font-size: 1.2rem; margin: 6px 0 8px; }
.post-cards .card[hidden] { display: none; }
.card .post-meta { font-size: 0.88rem; color: var(--ink-soft); margin: 0; }
.post-cards { padding: 16px 0 24px; }
.empty { color: var(--ink-soft); }

/* Category filter: shown by blog.js; without JS every article is listed */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 4px; }
.chip { font: inherit; font-size: 0.92rem; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; color: var(--ink); cursor: pointer; }
.chip span { color: var(--ink-soft); margin-left: 2px; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip[aria-pressed="true"] span { color: #d9dae0; }
.filter-status { font-size: 0.9rem; color: var(--ink-soft); margin: 8px 0 0; min-height: 1.4em; }

/* Article */
.layout.single { display: block; }
.post .section { padding: 28px 0; border-bottom: 0; }
.post .section:first-child { padding-top: 40px; }
.post .section.bg-mint, .post .section.bg-sand, .post .section.bg-sky { padding: 40px 0; margin-top: 16px; }
@media (min-width: 1024px) {
  .post .section { padding: 32px 0; }
  .post .section.bg-mint, .post .section.bg-sand, .post .section.bg-sky { padding: 48px 0; }
}
.post .prose { font-size: 1.05rem; }
.post .prose h2 { margin-top: 0; }
.post .prose h3 { font-size: 1.2rem; }
.post .prose h4 { font-size: 1.02rem; margin: 1.4em 0 0.4em; }
.post .prose ul, .post .prose ol { padding-left: 1.3em; margin: 0 0 1.1em; }
.post .prose li { margin-bottom: 0.45em; }
.post .prose li > ul, .post .prose li > ol { margin: 0.45em 0 0; }
.post .prose a { overflow-wrap: anywhere; }
.post .prose .copybox { margin: 16px 0 24px; }
.post .prose .copybox pre { white-space: pre-wrap; }
.post .prose .table-wrap { background: #fff; }
.post blockquote { margin: 0 0 1.2em; padding: 4px 0 4px 18px; border-left: 3px solid var(--amber); color: var(--ink-soft); }
.post blockquote p { margin: 0; }
.post hr { border: 0; border-top: 1px solid var(--line); margin: 28px 0; }
.bg-sand .prose ol li, .bg-sand .prose ul li { font-size: 0.95rem; }
