/* Wellingham Notes - personal weblog */
:root {
  --bg: #fdfcf8;
  --fg: #2a2620;
  --muted: #756b5e;
  --accent: #8b3a1c;
  --line: #e8e3d8;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Charter', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif; font-size: 18px; line-height: 1.65; color: var(--fg); background: var(--bg); -webkit-font-smoothing: antialiased; }
.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

header { padding: 40px 0 24px; border-bottom: 2px solid var(--fg); margin-bottom: 40px; }
header .container { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 20px; }
.masthead .site-title { font-size: 34px; text-decoration: none; color: var(--fg); letter-spacing: -0.02em; font-weight: 700; line-height: 1; display: block; margin-bottom: 6px; }
.masthead .tagline { font-size: 15px; color: var(--muted); font-style: italic; }
header nav { display: flex; gap: 22px; }
header nav a { text-decoration: none; color: var(--muted); font-size: 15px; }
header nav a:hover, header nav a.active { color: var(--accent); }

.layout { display: grid; grid-template-columns: 1fr 280px; gap: 60px; }
.posts { min-width: 0; }

.post-preview { padding: 20px 0 36px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.post-preview h2 { font-size: 28px; line-height: 1.25; letter-spacing: -0.01em; margin-bottom: 8px; }
.post-preview h2 a { color: var(--fg); text-decoration: none; }
.post-preview h2 a:hover { color: var(--accent); }
.meta { color: var(--muted); font-size: 14px; margin-bottom: 16px; }
.meta a { color: var(--muted); text-decoration: underline; text-decoration-style: dotted; }
.post-preview p { margin-bottom: 14px; }
.more { color: var(--accent); text-decoration: none; font-style: italic; }
.more:hover { text-decoration: underline; }

.archive-link { padding: 30px 0; text-align: center; }
.archive-link a { color: var(--accent); text-decoration: none; font-style: italic; font-size: 17px; }

.sidebar { font-size: 15px; }
.widget { padding-bottom: 28px; margin-bottom: 28px; border-bottom: 1px solid var(--line); }
.widget:last-child { border: none; }
.widget h3 { font-size: 14px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 12px; font-weight: 600; }
.widget p { margin-bottom: 10px; line-height: 1.55; }
.widget a { color: var(--accent); text-decoration: none; }
.widget a:hover { text-decoration: underline; }
.tag-list { list-style: none; }
.tag-list li { display: flex; justify-content: space-between; padding: 4px 0; }
.tag-list span { color: var(--muted); font-size: 13px; }

.single { max-width: 720px; padding: 20px 0 80px; }
.single h1 { font-size: 38px; letter-spacing: -0.02em; margin-bottom: 22px; }
.single h2 { font-size: 22px; margin-top: 36px; margin-bottom: 14px; }
.single p { margin-bottom: 16px; }
.single ul, .single ol { margin-bottom: 16px; padding-left: 26px; }
.single li { margin-bottom: 6px; }
.single em { color: var(--fg); }
.single a { color: var(--accent); }

.post-list { list-style: none; padding-left: 0 !important; }
.post-list li { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px dotted var(--line); }
.post-list li a { color: var(--fg); text-decoration: none; }
.post-list li a:hover { color: var(--accent); }
.post-list li span { color: var(--muted); font-size: 14px; flex-shrink: 0; margin-left: 16px; }

.footer-note { margin-top: 30px; font-style: italic; color: var(--muted); }

footer { padding: 40px 0; border-top: 1px solid var(--line); margin-top: 60px; color: var(--muted); font-size: 14px; text-align: center; }
footer p { margin-bottom: 6px; }
footer .small { font-size: 13px; opacity: 0.75; }

@media (max-width: 820px) {
  .layout { grid-template-columns: 1fr; gap: 30px; }
  .sidebar { padding-top: 30px; border-top: 1px solid var(--line); }
}
