:root { color-scheme: light dark; --fg:#1c1c1e; --bg:#fdfdfc; --muted:#6c6c70; --link:#0b5cc4; --rule:#e4e4e0; }
@media (prefers-color-scheme: dark) { :root { --fg:#ececee; --bg:#131315; --muted:#9a9aa2; --link:#7db8ff; --rule:#2b2b2f; } }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0 auto; max-width: 40rem; padding: 1.25rem 1.25rem 4rem; background: var(--bg); color: var(--fg);
  font: 19px/1.7 Charter, "Iowan Old Style", Georgia, serif; }
a { color: var(--link); }
header.top { display: flex; justify-content: space-between; align-items: baseline; margin: .5rem 0 3rem; padding-bottom: .75rem;
  border-bottom: 1px solid var(--rule); font: 15px/1.4 system-ui, -apple-system, sans-serif; }
header.top .brand { font-weight: 700; font-size: 1.15rem; color: var(--fg); text-decoration: none; }
.lede { color: var(--muted); font-size: .95em; margin: 0 0 2.5rem; }
h1 { font-size: 2.1rem; line-height: 1.2; margin: 0 0 .4rem; }
h2 { font-size: 1.45rem; line-height: 1.3; margin: 2.2rem 0 .6rem; }
h3 { font-size: 1.2rem; margin: 1.8rem 0 .4rem; }
time, .tags, figcaption, footer { font: 14px/1.5 system-ui, -apple-system, sans-serif; color: var(--muted); }
article > time { display: block; margin-bottom: 1.6rem; }
.posts { list-style: none; padding: 0; margin: 0; }
.posts li { margin-bottom: 2rem; }
.posts .t { display: block; font-size: 1.35rem; font-weight: 600; line-height: 1.3; text-decoration: none; }
.posts .t:hover { text-decoration: underline; }
.posts p { margin: .25rem 0 0; color: var(--muted); font-size: .95em; }
figure { margin: 1.8rem 0; }
figure img, .body img { max-width: 100%; height: auto; display: block; border-radius: 4px; }
figcaption { margin-top: .5rem; }
figure.hero { margin: 0 0 2rem; }
blockquote { margin: 1.6rem 0; padding: .2rem 0 .2rem 1.2rem; border-left: 3px solid var(--rule); font-style: italic; }
blockquote p { margin: .3rem 0; }
hr { border: 0; border-top: 1px solid var(--rule); margin: 2.5rem 0; }
pre { overflow: auto; padding: 1rem; border-radius: 6px; background: color-mix(in srgb, var(--fg) 7%, transparent); font-size: .8em; line-height: 1.5; }
code { font-size: .88em; }
.tags span { margin-right: .6rem; }
.tags span::before { content: "#"; }
footer { margin-top: 5rem; padding-top: 1rem; border-top: 1px solid var(--rule); }
figure.hero img { width: 100%; max-height: 28rem; object-fit: cover; }

.posts li.has-thumb { display: flex; gap: 1.2rem; align-items: flex-start; justify-content: space-between; }
.posts li .txt { min-width: 0; flex: 1; }
.posts .thumb { flex: none; width: 150px; height: 100px; border-radius: 6px; overflow: hidden; background: var(--rule, #ddd); order: 2; }
.posts .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 560px) { .posts .thumb { width: 96px; height: 72px; } }
