/* Black & White minimal theme */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  color: #000;
  background: #fff;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Helvetica Neue, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  line-height: 1.6;
}

.container { max-width: 72ch; margin: 0 auto; padding: 2rem 1rem; }

.site-header { border-bottom: 2px solid #000; background: #fff; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem; }
.nav a { color: #000; text-decoration: none; }
.nav a[aria-current="page"] { text-decoration: underline; }
.logo { font-weight: 700; }
.links a { margin-left: 1rem; }

.site-footer { border-top: 2px solid #000; padding: 1rem; font-size: .9rem; color: #000; background: #fff; }

.hero h1 { margin: 0 0 .5rem; font-size: 2rem; }
.button { display: inline-block; border: 2px solid #000; padding: .5rem .75rem; }

.prose h1, .prose h2, .prose h3 { line-height: 1.2; }
.prose p { margin: 1rem 0; }

.about-grid { display: grid; gap: 2rem; align-items: start; }
.about-figure { margin: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.about-image { width: 100%; height: auto; display: block; border: 2px solid #000; }
.about-text { }

.posts { display: grid; gap: 2rem; }
.post { border: 2px solid #000; padding: 1rem; background: #fff; }
.post header { border-bottom: 2px solid #000; margin-bottom: 1rem; padding-bottom: .5rem; }
.post h2 { margin: 0; font-size: 1.5rem; }
.post time { display: block; font-size: .875rem; opacity: .8; }
.posts, .post, .post-content, .post-preview { max-width: 100%; }
.post .post-content, .post-preview, .references { overflow-wrap: anywhere; word-break: break-word; }
.post .post-content img, .post .post-content video, .post .post-content table { max-width: 100%; height: auto; display: block; }
.post-preview { margin-bottom: .5rem; }
.post-preview .read-more { text-decoration: underline; }
.collapsible { overflow: hidden; transition: max-height .25s ease-in-out; }
.post-content-inner { padding-top: .25rem; }
.post .post-content :is(h1,h2,h3) { margin-top: 1.25rem; }
.post .post-content pre { background: #fff; border: 2px solid #000; padding: .75rem; overflow: auto; }
.post .post-content code { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; }
.post .post-content a { color: #000; text-decoration: underline; }
.references { padding-left: 1.25rem; font-size: .8rem; }
.references-title { font-size: 1rem; margin: 1rem 0 .5rem; }
.post .post-content .text-small { font-size: .85em; }
.footnote-ref { font-size: .8em; vertical-align: super; }
.prose ul li, .post .post-content ul li { margin: .6rem 0; }
.prose ol li, .post .post-content ol li { margin: .6rem 0; }

.subcaption { font-size: .9rem; opacity: .9; margin: -.5rem 0 1.5rem; }

@media (min-width: 768px) {
  .nav { padding: 1rem 2rem; }
  .container { padding: 3rem 2rem; }
  .about-grid { grid-template-columns: 1fr 1fr; }
  .about-figure { align-self: stretch; }
}


