/* While We're Both Running - Minimal Theme */

:root {
  --bg: #1a1a1a;
  --fg: #e0e0e0;
  --fg-muted: #888;
  --accent: #6ba3d6;
  --border: #333;
  --max-width: 680px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  font-size: 18px;
  line-height: 1.7;
  color: var(--fg);
  background: var(--bg);
  padding: 2rem;
}

header, main, footer {
  max-width: var(--max-width);
  margin: 0 auto;
}

/* Navigation */
.site-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2rem;
}

.site-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--fg);
  text-decoration: none;
}

.site-title:hover {
  color: var(--accent);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

.nav-links a {
  color: var(--fg-muted);
  text-decoration: none;
  font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
}

/* Content */
h1, h2, h3 {
  margin: 1.5rem 0 1rem;
  line-height: 1.3;
}

h1 { font-size: 1.8rem; }
h2 { font-size: 1.4rem; }
h3 { font-size: 1.2rem; }

p {
  margin-bottom: 1.2rem;
}

a {
  color: var(--accent);
}

blockquote {
  border-left: 3px solid var(--accent);
  padding-left: 1rem;
  margin: 1.5rem 0;
  color: var(--fg-muted);
  font-style: italic;
}

code {
  background: #2a2a2a;
  padding: 0.2em 0.4em;
  border-radius: 3px;
  font-size: 0.9em;
}

pre {
  background: #2a2a2a;
  padding: 1rem;
  border-radius: 5px;
  overflow-x: auto;
  margin: 1.5rem 0;
}

pre code {
  background: none;
  padding: 0;
}

hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2rem 0;
}

/* Posts list */
.post-list {
  list-style: none;
}

.post-list li {
  margin-bottom: 1.5rem;
}

.post-list a {
  text-decoration: none;
}

.post-list .title {
  font-size: 1.1rem;
  color: var(--fg);
}

.post-list .title:hover {
  color: var(--accent);
}

.post-list .date {
  color: var(--fg-muted);
  font-size: 0.9rem;
}

/* Single post */
.post-header {
  margin-bottom: 2rem;
}

.post-header h1 {
  margin-bottom: 0.5rem;
}

.post-meta {
  color: var(--fg-muted);
  font-size: 0.9rem;
}

.post-content {
  margin-bottom: 3rem;
}

/* Footer */
footer {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  color: var(--fg-muted);
  font-size: 0.9rem;
}

footer a {
  color: var(--fg-muted);
}

footer a:hover {
  color: var(--accent);
}
