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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fafafa;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1rem;
}

header {
  background: #fff;
  border-bottom: 1px solid #eee;
  padding: 1rem 0;
}

header nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1rem;
}

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

header .nav-links {
  display: flex;
  gap: 1.5rem;
}

header .nav-links a {
  color: #666;
  text-decoration: none;
  transition: color 0.2s;
}

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

main {
  min-height: calc(100vh - 140px);
  padding: 2rem 0;
}

footer {
  background: #fff;
  border-top: 1px solid #eee;
  padding: 1.5rem 0;
  text-align: center;
  color: #666;
  font-size: 0.875rem;
}

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

h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.25rem; }

p {
  margin-bottom: 1rem;
}

a {
  color: #0066cc;
}

a:hover {
  color: #004499;
}

ul, ol {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

pre {
  background: #282c34;
  color: #abb2bf;
  padding: 1rem;
  border-radius: 4px;
  overflow-x: auto;
  margin: 1rem 0;
}

code {
  font-family: 'SF Mono', Monaco, 'Courier New', monospace;
  font-size: 0.9em;
}

img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}

.post-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  transition: box-shadow 0.2s;
}

.post-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.post-card h2 {
  margin-top: 0;
}

.post-card h2 a {
  color: #333;
  text-decoration: none;
}

.post-card h2 a:hover {
  color: #0066cc;
}

.post-meta {
  color: #666;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.post-excerpt {
  color: #555;
}

.tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.75rem;
}

.tag {
  background: #e9ecef;
  color: #495057;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
}

.hero {
  text-align: center;
  padding: 3rem 0;
  margin-bottom: 2rem;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.hero p {
  font-size: 1.125rem;
  color: #666;
}

.view-all {
  text-align: center;
  margin-top: 2rem;
}

.view-all a {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: #0066cc;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.2s;
}

.view-all a:hover {
  background: #004499;
  color: #fff;
}

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

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

.post-cover {
  margin: 1.5rem 0;
}

.post-content {
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid #eee;
}
