/* ==========================================
   Minimal Blog Theme
   ========================================== */

:root {
  --bg: #faf9f7;
  --text: #2d2d2d;
  --accent: #e85d04;
  --muted: #6b6b6b;
  --border: #e0dcd4;
  --code-bg: #f4f1ed;
}

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

html {
  font-size: 18px;
}

body {
  font-family: 'Crimson Pro', Georgia, serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
}

/* Layout */
.container {
  max-width: 680px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

/* Header */
header {
  margin-bottom: 4rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.site-title {
  font-family: 'Space Mono', monospace;
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: -0.5px;
}

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

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

/* Navigation */
nav {
  margin-top: 1rem;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  margin-right: 1.5rem;
  font-size: 0.9rem;
  font-family: 'Space Mono', monospace;
}

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

/* Typography */
h1 {
  font-size: 2.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  line-height: 1.2;
  letter-spacing: -1px;
}

h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 2.5rem 0 1rem;
  color: var(--text);
}

h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 2rem 0 0.75rem;
}

p {
  margin-bottom: 1.5rem;
}

/* Links */
a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

a:hover {
  text-decoration-thickness: 2px;
}

/* Lists */
ul, ol {
  margin: 1.5rem 0;
  padding-left: 1.5rem;
}

li {
  margin-bottom: 0.5rem;
}

/* Post list */
.post-list {
  list-style: none;
  padding: 0;
}

.post-list li {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.post-list li:last-child {
  border-bottom: none;
}

.post-list a {
  color: var(--text);
  text-decoration: none;
  font-size: 1.3rem;
  font-weight: 600;
}

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

.post-date {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
  font-family: 'Space Mono', monospace;
  margin-top: 0.3rem;
}

/* Article */
article {
  margin-top: 2rem;
}

.post-meta {
  color: var(--muted);
  font-size: 0.9rem;
  font-family: 'Space Mono', monospace;
  margin-bottom: 2.5rem;
}

/* Code */
code {
  font-family: 'Space Mono', monospace;
  background: var(--code-bg);
  padding: 0.2rem 0.4rem;
  border-radius: 3px;
  font-size: 0.85rem;
}

pre {
  background: var(--code-bg);
  padding: 1.5rem;
  border-radius: 6px;
  overflow-x: auto;
  margin: 1.5rem 0;
}

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

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

/* Strong & Emphasis */
strong {
  font-weight: 700;
}

em {
  font-style: italic;
}

/* Footer */
footer {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.85rem;
  font-family: 'Space Mono', monospace;
}

/* Responsive */
@media (max-width: 600px) {
  html {
    font-size: 16px;
  }
  
  .container {
    padding: 2rem 1rem;
  }
  
  h1 {
    font-size: 1.8rem;
  }
}

