/* twentyfour: a calm theme in the spirit of WordPress's Twenty Twenty-Four. System fonts only. */
:root {
  --base: #f9f9f9;
  --contrast: #111;
  --muted: #636363;
  --accent: #cfcabe;
  --rule: #d8d8d8;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --wide: 1200px;
  --content: 650px;
}
* { box-sizing: border-box; }
html { background: var(--base); color: var(--contrast); }
body { margin: 0; font-family: var(--sans); font-size: 1.125rem; line-height: 1.6; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .15em; }

.site-header, .site-main, .site-footer { max-width: var(--wide); margin: 0 auto; padding: 0 16px; }
.site-header { padding-top: 2rem; padding-bottom: 2rem; }
.site-title { font-family: var(--sans); font-weight: 600; text-decoration: none; font-size: 1.1rem; }
.site-footer { border-top: 1px solid var(--rule); margin-top: 6rem; padding-top: 2rem; padding-bottom: 3rem; color: var(--muted); font-size: .9rem; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.2; letter-spacing: -.01em; }
.entry, .post-list { max-width: var(--content); margin: 0 auto; }
.entry-title { font-size: clamp(2.2rem, 5vw, 3.4rem); margin: 3rem 0 .5rem; }
.post-meta { color: var(--muted); font-size: .95rem; margin-top: 0; }
.entry-content { margin-top: 2.5rem; }
.entry-content > * { max-width: 100%; }
.entry-content img { max-width: 100%; height: auto; }
.entry-content blockquote { border-left: 2px solid var(--contrast); margin-left: 0; padding-left: 1.25rem; font-family: var(--serif); font-size: 1.3rem; }
.entry-content pre { overflow-x: auto; background: #fff; padding: 1rem; border: 1px solid var(--rule); }

.post-list { list-style: none; padding: 0; margin-top: 2rem; }
.post-list li { border-bottom: 1px solid var(--rule); padding: 2rem 0; }
.post-title { font-size: 2rem; margin: 0 0 .25rem; }
.post-title a { text-decoration: none; }
.post-title a:hover { text-decoration: underline; }
.post-excerpt { margin: .5rem 0 0; }

.preview-bar { background: #1d2327; color: #fff; text-align: center; padding: .4rem; font-size: .85rem; }

.archive-header { max-width: var(--content); margin: 0 auto; }
.archive-kind { color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; margin: 3rem 0 0; }
.entry-terms { margin-top: 3rem; padding-top: 1.25rem; border-top: 1px solid var(--rule); color: var(--muted); font-size: .95rem; }
.entry-terms p { margin: .25rem 0; }
.entry-terms .tags a { margin-right: .5rem; }
