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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
  line-height: 1.6;
  color: #333;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

header nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid #eee;
  margin-bottom: 40px;
}

.site-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #333;
  text-decoration: none;
}

.nav-links a {
  color: #666;
  text-decoration: none;
  margin-left: 20px;
}

.nav-links a:hover {
  color: #333;
}

main {
  min-height: 60vh;
}

h1 {
  font-size: 2rem;
  margin-bottom: 20px;
}

h2 {
  font-size: 1.4rem;
  margin: 30px 0 10px;
}

p {
  margin-bottom: 16px;
}

a {
  color: #0066cc;
}

a:hover {
  color: #004499;
}

article {
  margin-bottom: 40px;
}

.tags {
  list-style: none;
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.tags li a {
  background: #f0f0f0;
  padding: 2px 10px;
  border-radius: 12px;
  font-size: 0.85rem;
  color: #555;
  text-decoration: none;
}

.tags li a:hover {
  background: #e0e0e0;
}

.article-card {
  padding: 20px 0;
  border-bottom: 1px solid #eee;
}

.article-card h2 {
  margin: 0 0 8px;
}

.article-card p {
  color: #666;
  margin: 0;
}

footer {
  margin-top: 60px;
  padding: 20px 0;
  border-top: 1px solid #eee;
  color: #999;
  font-size: 0.85rem;
}

ol, ul {
  margin-bottom: 16px;
  padding-left: 24px;
}

li {
  margin-bottom: 4px;
}

code {
  background: #f5f5f5;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 0.9em;
}

pre {
  background: #f5f5f5;
  padding: 16px;
  border-radius: 6px;
  overflow-x: auto;
  margin-bottom: 16px;
}

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