
:root {
  --bg: #fafaf7;
  --text: #222;
  --muted: #666;
  --accent: #0e7490;
  --border: #e5e5e0;
}
* { box-sizing: border-box; }
body { font-family: 'Lora', Georgia, serif; line-height: 1.65; color: var(--text); background: var(--bg); margin: 0; }
header { background: #fff; border-bottom: 1px solid var(--border); padding: 1.5rem 0; }
.container { max-width: 720px; margin: 0 auto; padding: 0 1.5rem; }
.site-title { font-family: 'Helvetica Neue', sans-serif; font-weight: 700; font-size: 1.8rem; margin: 0; color: var(--text); }
.site-title a { color: inherit; text-decoration: none; }
.site-subtitle { color: var(--muted); font-size: 0.95rem; margin-top: 0.2rem; }
nav.top { margin-top: 0.8rem; font-size: 0.95rem; }
nav.top a { color: var(--accent); text-decoration: none; margin-right: 1rem; font-family: 'Helvetica Neue', sans-serif; }
nav.top a:hover { text-decoration: underline; }
nav.top input[type=search] { padding: 0.3rem 0.6rem; border: 1px solid var(--border); border-radius: 4px; font-family: inherit; font-size: 0.9rem; }

main { padding: 2rem 0 4rem 0; }
.post { margin-bottom: 3rem; padding-bottom: 2rem; border-bottom: 1px dashed var(--border); }
.post:last-child { border-bottom: none; }
.post-title { font-family: 'Helvetica Neue', sans-serif; font-size: 1.6rem; font-weight: 700; margin: 0 0 0.3rem 0; }
.post-title a { color: var(--text); text-decoration: none; }
.post-title a:hover { color: var(--accent); }
.post-meta { color: var(--muted); font-size: 0.85rem; font-style: italic; margin-bottom: 1rem; font-family: 'Lora', Georgia, serif; }
.post-meta .cats { color: var(--accent); font-style: normal; font-family: 'Helvetica Neue', sans-serif; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; }
.post-body { font-size: 1.05rem; }
.post-body p { margin: 1em 0; }
.post-body img { max-width: 100%; height: auto; margin: 1rem 0; border-radius: 4px; cursor: zoom-in; }
.post-body a { color: var(--accent); }
.post-body video { max-width: 100%; height: auto; margin: 1rem 0; border-radius: 4px; background: #000; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 8px; margin: 1.5rem 0; }
.gallery img { width: 100%; height: 160px; object-fit: cover; cursor: zoom-in; border-radius: 4px; margin: 0; }

h1 { font-family: 'Helvetica Neue', sans-serif; font-weight: 700; }
.year-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 1rem; margin: 2rem 0; }
.year-card { background: #fff; border: 1px solid var(--border); padding: 1.5rem 1rem; border-radius: 8px; text-align: center; text-decoration: none; color: var(--text); transition: transform 0.15s; }
.year-card:hover { transform: translateY(-2px); border-color: var(--accent); }
.year-card .y { font-family: 'Helvetica Neue', sans-serif; font-size: 2rem; font-weight: 700; display: block; }
.year-card .c { color: var(--muted); font-size: 0.85rem; margin-top: 0.3rem; display: block; }

.month-section { margin-bottom: 2.5rem; }
.month-heading { font-family: 'Helvetica Neue', sans-serif; font-size: 1.3rem; color: var(--muted); border-bottom: 1px solid var(--border); padding-bottom: 0.4rem; margin-bottom: 0.8rem; }
.post-list { list-style: none; padding: 0; }
.post-list li { padding: 0.4rem 0; border-bottom: 1px dotted var(--border); }
.post-list a { color: var(--text); text-decoration: none; }
.post-list a:hover { color: var(--accent); }
.post-list .date { color: var(--muted); font-size: 0.85rem; margin-right: 0.6rem; }

.post-nav { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--border); display: flex; justify-content: space-between; gap: 1rem; }
.post-nav a { color: var(--accent); text-decoration: none; font-family: 'Helvetica Neue', sans-serif; font-size: 0.9rem; max-width: 45%; }
.post-nav .label { display: block; color: var(--muted); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; }

footer { background: #fff; border-top: 1px solid var(--border); padding: 2rem 0; margin-top: 4rem; color: var(--muted); font-size: 0.85rem; text-align: center; }

/* Search results */
.search-results { margin-top: 1rem; }
.search-result { padding: 0.5rem; border-bottom: 1px solid var(--border); }
.search-result a { color: var(--text); text-decoration: none; }
.search-result .snippet { color: var(--muted); font-size: 0.85rem; margin-top: 0.2rem; }

/* Timeline */
.timeline { position: relative; padding-left: 2rem; border-left: 2px solid var(--border); }
.timeline-month { position: relative; margin-bottom: 2rem; }
.timeline-month::before { content: ''; position: absolute; left: -2.4rem; top: 0.5rem; width: 12px; height: 12px; background: var(--accent); border-radius: 50%; }
.timeline-date { font-family: 'Helvetica Neue', sans-serif; font-weight: 700; color: var(--accent); margin: 0; }
