:root {
  --bg: #ffffff;
  --text: #161616;
  --muted: #6b6b6b;
  --line: #e9e9e9;
  --soft: #f7f7f7;
  --max: 1040px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--text); }
body {
  font-family: "Iowan Old Style", "Palatino Linotype", "Noto Serif SC", Georgia, serif;
  line-height: 1.75;
}

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }

.page {
  max-width: var(--max);
  margin: 0 auto;
  padding: 48px 24px 72px;
}

.site-header {
  padding: 12px 0 36px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 32px;
}
.site-kicker {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  margin-bottom: 10px;
}
.site-header h1 {
  margin: 0;
  font-size: 40px;
  font-weight: 600;
}
.site-subtitle {
  margin: 12px 0 0;
  color: var(--muted);
  max-width: 34em;
}

.layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 48px;
}

.sidebar-block + .sidebar-block { margin-top: 28px; }
.sidebar-title {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin-bottom: 10px;
}
.sidebar p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.entry {
  padding: 0 0 28px;
  margin: 0 0 28px;
  border-bottom: 1px solid var(--line);
}
.entry:last-child {
  border-bottom: 0;
  margin-bottom: 0;
}
.entry-date {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 8px;
}
.entry-title {
  font-size: 28px;
  line-height: 1.3;
  margin: 0 0 14px;
  font-weight: 600;
}
.entry-excerpt {
  color: var(--muted);
  margin: 0 0 14px;
}
.entry-link {
  display: inline-block;
  margin-top: 8px;
  color: var(--muted);
}

.article {
  max-width: 720px;
}
.article-header {
  margin-bottom: 28px;
}
.article-header .entry-title {
  font-size: 36px;
}
.article-body p {
  margin: 0 0 1.05em;
  white-space: pre-line;
}
.article-nav {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

@media (max-width: 860px) {
  .layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .sidebar {
    order: 2;
  }
}
