:root {
  --color-bg: #fffbf5;
  --color-text: #2b2118;
  --color-accent: #c0392b;
  --color-muted: #7f8c8d;
  --font-body: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-heading: Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.site-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--color-accent);
  text-decoration: none;
}

.site-nav a {
  margin-left: 1.5rem;
  color: var(--color-text);
  text-decoration: none;
  font-weight: 500;
}

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

.site-main {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem;
}

.site-footer {
  text-align: center;
  padding: 2rem;
  color: var(--color-muted);
  font-size: 0.9rem;
}

.hero {
  margin-bottom: 3rem;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.latest-posts ul {
  list-style: none;
  padding: 0;
}

.latest-posts li {
  margin-bottom: 0.75rem;
}

.latest-posts time {
  display: block;
  color: var(--color-muted);
  font-size: 0.9rem;
}

.post-preview {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.post-preview h2 {
  font-family: var(--font-heading);
  margin-bottom: 0.25rem;
}

.post-preview h2 a {
  color: var(--color-text);
  text-decoration: none;
}

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

.draft-badge {
  display: inline-block;
  margin-left: 0.5rem;
  padding: 0.15rem 0.5rem;
  background: var(--color-accent);
  color: white;
  border-radius: 4px;
  font-size: 0.75rem;
  text-transform: uppercase;
}

.post-header h1 {
  font-family: var(--font-heading);
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.post-tags {
  margin-top: 0.5rem;
}

.tag {
  display: inline-block;
  margin-right: 0.5rem;
  padding: 0.2rem 0.6rem;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 4px;
  font-size: 0.85rem;
}

.post-featured-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 1.5rem 0;
}

.post-content h2,
.post-content h3 {
  font-family: var(--font-heading);
  margin-top: 2rem;
}

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

.post-source {
  margin-top: 2rem;
  font-size: 0.9rem;
  color: var(--color-muted);
}

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

@media (max-width: 600px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav {
    margin-top: 0.75rem;
  }

  .site-nav a {
    margin-left: 0;
    margin-right: 1rem;
  }
}
