:root {
  color-scheme: light;
  --text: #222;
  --muted: #666;
  --line: #ddd;
  --paper: #fffdf8;
  --link: #0645ad;
}

html {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
}

body {
  max-width: 760px;
  margin: 0 auto;
  padding: 2rem 1rem 4rem;
}

a { color: var(--link); }
a:hover { text-decoration-thickness: 2px; }

.site-header {
  border-bottom: 1px solid var(--line);
  margin-bottom: 2rem;
  padding-bottom: 1rem;
}

.site-header h1 {
  font-size: 2rem;
  margin: 0;
}

.site-header h1 a {
  color: var(--text);
  text-decoration: none;
}

.site-header p,
.meta,
.site-footer {
  color: var(--muted);
}

nav a {
  margin-right: 1rem;
}

.post-list-item {
  border-bottom: 1px solid var(--line);
  margin-bottom: 1.6rem;
  padding-bottom: 1.2rem;
}

.post-list-item h2,
.post h1 {
  line-height: 1.2;
}

.meta {
  font-size: 0.9rem;
  margin-top: -0.5rem;
}

img {
  max-width: 100%;
  height: auto;
}

.cover {
  display: block;
  margin: 1rem 0 1.5rem;
  border: 1px solid var(--line);
}

.thumb {
  max-height: 260px;
  object-fit: cover;
  border: 1px solid var(--line);
}

pre, code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

pre {
  overflow-x: auto;
  padding: 1rem;
  border: 1px solid var(--line);
  background: #f7f4ec;
}

blockquote {
  border-left: 4px solid var(--line);
  margin-left: 0;
  padding-left: 1rem;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--line);
  margin-top: 3rem;
  padding-top: 1rem;
  font-size: 0.9rem;
}
