body {
  max-width: 44rem;
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
  color: #222;
  background: #fff;
  font: 1.125rem/1.65 Georgia, "Times New Roman", serif;
}
a { color: #245785; text-underline-offset: 0.16em; }
a:hover { color: #142f49; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
nav, .date, footer { font: 0.9rem/1.6 system-ui, sans-serif; }
nav { margin-bottom: 2.5rem; }
h1 { font-size: clamp(2rem, 6vw, 2.75rem); line-height: 1.15; margin: 0 0 0.75rem; }
h2 { font-size: 1.5rem; line-height: 1.3; margin: 2rem 0 1rem; }
header { margin-bottom: 2rem; }
.date { color: #5c5c5c; margin: 0.5rem 0; }
p { margin: 1.2rem 0; }
code { font: 0.88em ui-monospace, monospace; overflow-wrap: anywhere; }
pre { background: #f3f4f5; padding: 1rem; border-radius: 4px; overflow-x: auto; line-height: 1.5; }
pre code { overflow-wrap: normal; }
.posts { list-style: none; padding: 0; }
.posts li { border-top: 1px solid #ddd; padding: 1.5rem 0; }
.posts h2 { margin: 0; }
.posts p:last-child { margin-bottom: 0; }
footer { margin-top: 3rem; border-top: 1px solid #ddd; padding-top: 1rem; }

body.gallery { max-width: 64rem; }
.gallery main > p { max-width: 44rem; }
.image { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 0.75rem 1rem; margin: 1.5rem 0 2.5rem; }
.image > h2, .image > h3 { flex-basis: 100%; margin: 0; font-size: 1rem; font-weight: normal; }
.image > a { display: block; max-width: 100%; }
.image img { display: block; max-width: min(400px, 100%); max-height: 400px; width: auto; height: auto; }
