* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; line-height: 1.6; color: #333; background: #fff; }
.site-nav { border-bottom: 1px solid #eee; padding: 1rem 0; }
.nav-container { max-width: 800px; margin: 0 auto; padding: 0 1rem; display: flex; justify-content: space-between; align-items: center; }
.nav-logo { font-weight: bold; font-size: 1.2rem; color: #000; text-decoration: none; }
.nav-links a { margin-left: 1.5rem; color: #666; text-decoration: none; font-size: 0.9rem; }
.nav-links a:hover { color: #000; }
.site-main { max-width: 800px; margin: 0 auto; padding: 2rem 1rem; min-height: 60vh; }
.site-footer { border-top: 1px solid #eee; padding: 2rem 1rem; text-align: center; color: #999; font-size: 0.85rem; }
.post-header { margin-bottom: 2rem; }
.post-meta { font-size: 0.85rem; color: #999; margin-bottom: 0.5rem; }
.post-category { color: #0066cc; font-weight: 500; margin-right: 1rem; }
.post-title { font-size: 1.8rem; font-weight: 700; line-height: 1.3; margin: 0.5rem 0; }
.post-description { color: #666; font-size: 1rem; margin-top: 0.5rem; }
.post-content { font-size: 1.05rem; line-height: 1.8; }
.post-content h2 { font-size: 1.4rem; margin: 2rem 0 1rem; }
.post-content h3 { font-size: 1.2rem; margin: 1.5rem 0 0.8rem; }
.post-content p { margin-bottom: 1.2rem; }
.post-content img { max-width: 100%; height: auto; margin: 1.5rem 0; }
.post-content blockquote { border-left: 3px solid #ddd; padding-left: 1rem; color: #666; margin: 1.5rem 0; font-style: italic; }
.post-content ul, .post-content ol { margin: 1rem 0 1rem 1.5rem; }
.post-content li { margin-bottom: 0.5rem; }
.post-content code { background: #f5f5f5; padding: 0.2rem 0.4rem; border-radius: 3px; font-size: 0.9em; }
.post-content pre { background: #f5f5f5; padding: 1rem; border-radius: 5px; overflow-x: auto; margin: 1.5rem 0; }
.post-content pre code { background: none; padding: 0; }
.post-source { margin-top: 3rem; padding-top: 1rem; border-top: 1px solid #eee; font-size: 0.9rem; }
.post-source a { color: #0066cc; }

/* ===== 中英双语文章专用样式（新增） ===== */

.bilingual-block {
  margin-bottom: 2rem;
}

.en-text {
  color: #444;
  margin-bottom: 0.5rem;
  line-height: 1.7;
}

.zh-text {
  color: #666;
  font-size: 0.95em;
  padding-left: 1rem;
  border-left: 3px solid #ddd;
  line-height: 1.7;
}

.image-placeholder {
  background: #f0f0f0;
  border: 2px dashed #ccc;
  border-radius: 8px;
  padding: 3rem 2rem;
  text-align: center;
  margin: 2rem 0;
  color: #999;
}

.image-placeholder .img-label {
  font-size: 0.85rem;
  color: #666;
  margin-top: 0.5rem;
}

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

.post-tag {
  background: #f0f0f0;
  color: #666;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  font-size: 0.8rem;
}

.post-source-info {
  background: #f5f5f5;
  padding: 1rem 1.25rem;
  border-radius: 8px;
  margin: 1.5rem 0;
  font-size: 0.9rem;
  color: #666;
}

.post-source-info strong {
  color: #333;
}

/* ===== 导航栏 active 状态 ===== */

.nav-links a {
  position: relative;
  transition: color 0.2s;
}

.nav-links a.nav-active {
  color: #000;
  font-weight: 600;
}

.nav-links a.nav-active::after {
  content: "";
  position: absolute;
  bottom: -20px;
  left: 0;
  right: 0;
  height: 2px;
  background: #c41e3a;
}

/* ===== 原文速递列表页 ===== */

.articles-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 20px 80px;
}

.articles-page .page-header {
  margin-bottom: 40px;
}

.articles-page .page-header .page-title {
  font-size: 22px;
  font-weight: 700;
  color: #111;
  margin-bottom: 8px;
  letter-spacing: -0.3px;
  line-height: 1.3;
}

.articles-page .page-header .page-subtitle {
  font-size: 14px;
  color: #999;
  font-weight: 400;
  margin: 0;
}

.articles-page .post-list .post-item {
  display: flex;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid #f0f0f0;
  align-items: flex-start;
  transition: all 0.2s ease;
}

.articles-page .post-list .post-item:hover {
  padding-left: 12px;
  padding-right: 12px;
  margin-left: -12px;
  margin-right: -12px;
  background: #fff;
  border-radius: 8px;
  border-bottom-color: transparent;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.articles-page .post-list .post-item .post-left {
  flex-shrink: 0;
  width: 52px;
  text-align: right;
  padding-top: 2px;
}

.articles-page .post-list .post-item .post-left .post-date-day {
  font-size: 28px;
  font-weight: 800;
  color: #e0e0e0;
  line-height: 1;
  transition: color 0.2s;
}

.articles-page .post-list .post-item:hover .post-left .post-date-day {
  color: #c41e3a;
}

.articles-page .post-list .post-item .post-left .post-date-month {
  font-size: 11px;
  color: #bbb;
  margin-top: 4px;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.articles-page .post-list .post-item .post-main {
  flex: 1;
  min-width: 0;
}

.articles-page .post-list .post-item .post-main .post-title {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
  color: #1a1a1a;
  margin: 0 0 8px 0;
}

.articles-page .post-list .post-item .post-main .post-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s;
}

.articles-page .post-list .post-item .post-main .post-title a:hover {
  color: #c41e3a;
}

.articles-page .post-list .post-item .post-main .post-description {
  font-size: 14px;
  color: #888;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0 0 12px 0;
}

.articles-page .post-list .post-item .post-main .post-footer {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
}

.articles-page .post-list .post-item .post-main .post-footer .post-meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #bbb;
}

.articles-page .post-list .post-item .post-main .post-footer .post-meta-item svg {
  width: 13px;
  height: 13px;
  opacity: 0.5;
  flex-shrink: 0;
}

.articles-page .post-list .post-item .post-main .post-footer .post-tags-inline {
  display: flex;
  gap: 8px;
  margin-left: auto;
  flex-wrap: wrap;
}

.articles-page .post-list .post-item .post-main .post-footer .post-tags-inline .post-tag-inline {
  color: #aaa;
  font-size: 11px;
  padding: 2px 8px;
  background: #f5f5f5;
  border-radius: 3px;
  transition: all 0.2s;
  white-space: nowrap;
}

.articles-page .post-list .post-item:hover .post-main .post-footer .post-tags-inline .post-tag-inline {
  background: #f0f0f0;
  color: #888;
}

@media (max-width: 480px) {
  .articles-page {
    padding: 32px 16px 60px;
  }

  .articles-page .post-list .post-item {
    gap: 16px;
  }

  .articles-page .post-list .post-item .post-left {
    width: 44px;
  }

  .articles-page .post-list .post-item .post-left .post-date-day {
    font-size: 22px;
  }

  .articles-page .post-list .post-item .post-main .post-title {
    font-size: 15px;
  }

  .articles-page .post-list .post-item .post-main .post-description {
    font-size: 13px;
  }

  .articles-page .post-list .post-item .post-main .post-footer .post-tags-inline {
    display: none;
  }
}
