/* ===== 文章列表页专属样式 ===== */

.page-posts .container,
.page-article .container
{
  text-align: left;
}

.page-posts header
{
  flex: 0 0 auto;
}

.page-posts .page-header
{
  text-align: center;
  margin-bottom: 40px;
}

.page-posts .page-title
{
  font-family: 'NLT', serif;
  font-size: 48px;
  color: #222;
  margin-bottom: 8px;
}

.page-posts .page-subtitle
{
  font-size: 15px;
  color: #999;
}

/* 文章卡片列表 */
.post-list
{
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.post-card
{
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 24px 28px;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.post-list a
{
  color: inherit;
  text-decoration: none;
  display: block;
}

.post-card:hover
{
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.post-meta
{
  margin-bottom: 8px;
}

.post-date
{
  font-size: 13px;
  color: #aaa;
}

.post-title
{
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.4;
}

.post-title a
{
  color: #222;
  text-decoration: none;
  transition: color 0.2s ease;
}

.post-title a:hover
{
  color: #555;
}

.post-excerpt
{
  font-size: 15px;
  color: #666;
  line-height: 1.7;
  margin-bottom: 14px;
}

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

.post-tag
{
  display: inline-block;
  font-size: 12px;
  color: #888;
  background-color: #f5f5f5;
  padding: 3px 10px;
  border-radius: 4px;
}

/* ===== 文章阅读页 ===== */
.post-article
{
  max-width: 1440px;
  margin: 0 auto;
}

.article-header
{
  text-align: center;
  margin-bottom: 48px;
}

.article-title
{
  font-size: 36px;
  font-weight: 700;
  color: #222;
  line-height: 1.3;
  margin-bottom: 12px;
}

.article-meta
{
  font-size: 14px;
  color: #999;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.article-tags
{
  display: flex;
  gap: 6px;
}

.article-content
{
  font-size: 16px;
  color: #444;
  line-height: 1.9;
}

.article-content p
{
  margin-bottom: 1.4em;
  text-indent: 2em;
}

.article-nav
{
  display: flex;
  justify-content: space-between;
  margin-top: 60px;
  padding-top: 24px;
  border-top: 1px solid #eee;
  font-size: 14px;
}

.article-nav a
{
  color: #555;
  text-decoration: none;
  transition: color 0.2s ease;
}

.article-nav a:hover
{
  color: #222;
}

.article-nav-prev,
.article-nav-next
{
  color: #ccc;
}
