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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #0d1117;
  color: #e6edf3;
  line-height: 1.6;
  min-height: 100vh;
}

.container {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 24px;
}

.site-header {
  padding: 64px 0 40px;
  border-bottom: 1px solid #21262d;
  margin-bottom: 40px;
}

.site-title {
  font-size: 28px;
  font-weight: 700;
  color: #e6edf3;
  letter-spacing: -0.5px;
}

.site-description {
  font-size: 16px;
  color: #8b949e;
  margin-top: 8px;
}

.posts-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.post-card {
  background: #161b22;
  border: 1px solid #30363d;
  border-radius: 8px;
  transition: border-color 0.2s;
}

.post-card:hover {
  border-color: #58a6ff;
}

.post-card a {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
}

.post-preview {
  width: 280px;
  min-width: 280px;
  height: 180px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #30363d;
}

.post-body {
  flex: 1;
}

.post-card time {
  font-size: 13px;
  color: #8b949e;
}

.post-card h2 {
  font-size: 20px;
  font-weight: 600;
  color: #e6edf3;
  margin: 8px 0;
}

.post-card p {
  font-size: 14px;
  color: #8b949e;
  line-height: 1.5;
}

.post-tags {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.tag {
  font-size: 12px;
  padding: 2px 10px;
  background: #21262d;
  color: #58a6ff;
  border-radius: 12px;
}

footer {
  padding: 40px 0;
  text-align: center;
  font-size: 13px;
  color: #484f58;
  border-top: 1px solid #21262d;
  margin-top: 60px;
}

@media (max-width: 600px) {
  .site-header { padding: 40px 0 24px; }
  .container { padding: 0 16px; }
  .post-card a { padding: 16px; }
  .post-card h2 { font-size: 18px; }
}
