/* ============================================
   Blog Index Page Stylesheet
   ============================================ */

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC",
               "Noto Sans CJK SC", sans-serif;
  background: #fff;
  color: #1a1a1a;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 600px;
  margin: 0 auto;
  padding: 60px 24px 80px;
}

h1 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 8px;
}

.subtitle {
  color: #888;
  font-size: 15px;
  margin-bottom: 48px;
}

.post-list {
  list-style: none;
}

.post-item {
  border-bottom: 1px solid #eee;
  padding: 20px 0;
}
.post-item:first-child {
  border-top: 1px solid #eee;
}

.post-item a {
  text-decoration: none;
  color: inherit;
  display: block;
}
.post-item a:hover .post-title {
  color: #0066cc;
}

.post-date {
  font-size: 13px;
  color: #999;
  margin-bottom: 4px;
}

.post-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 4px;
  transition: color 0.15s;
}

.post-desc {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

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

.post-tag {
  display: inline-block;
  font-size: 11px;
  background: #f0f4ff;
  color: #0066cc;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 500;
}

.empty-state {
  text-align: center;
  color: #ccc;
  padding: 40px 0;
  font-size: 14px;
}

@media (max-width: 480px) {
  .container { padding: 32px 16px 60px; }
  h1 { font-size: 24px; }
  .post-title { font-size: 16px; }
}
