/* ========== Single (文章详情页) ========== */

/* 标题 + 发布日期居中 */
body.single .post-header{ text-align:center !important; }
body.single .post-title{ display:block; margin:0 auto 8px !important; text-align:center !important; }
body.single .post-meta{
  display:flex; justify-content:center; align-items:center; gap:10px; flex-wrap:wrap;
  font-size:14px; color:#9aa3b2; text-align:center !important;
}

/* 正文容器：版心 + 左右留白（文本左对齐） */
body.single .post-article, body.single .post-content{
  max-width:820px; margin-left:auto; margin-right:auto;
  padding-left:20px; padding-right:20px; box-sizing:border-box; text-align:left;
}
/* 古腾堡块遵循版心 */
body.single .post-content > *{
  max-width:820px; margin-left:auto; margin-right:auto;
  padding-left:20px; padding-right:20px; box-sizing:border-box;
}

/* 头图（可选） */
body.single .post-hero{ display:flex; justify-content:center; }
body.single .post-hero-img{ max-width:100%; height:auto; border-radius:12px; }

/* 相关文章区域（仅标题列表样式，若你去掉了缩略图） */
.related{ max-width:820px; margin:24px auto 8px; padding:0 20px; box-sizing:border-box; }
.related-title{ margin:0 0 12px; font-weight:800; text-align:left; }
.related .related-link{
  display:block; padding:6px 0; border-bottom:1px dashed rgba(255,255,255,.12);
  color:#cfd6e4; text-decoration:none; transition:.15s ease;
}
.related .related-link:hover{ color:#fff; text-decoration:underline; }
.post-nav{ max-width:820px; margin:8px auto 18px; padding:0 20px 14px; box-sizing:border-box;
  border-bottom:1px solid rgba(255,255,255,.08); }

/* ========== Archive/Category (文章列表页) ========== */
body.archive #main-content.container{
  max-width:820px; margin:0 auto; padding:0 20px; box-sizing:border-box; text-align:left;
}
body.archive .category-title{ text-align:center; margin:18px 0 8px; font-weight:800; }
body.archive .category-description{ text-align:center; margin:0 0 20px; color:#9aa3b2; line-height:1.6; }

/* 列表项样式 */
body.archive .category-posts{ display:block; }
body.archive .category-posts article{ padding:18px 0 22px; border-bottom:1px solid rgba(255,255,255,.08); margin:0; }
body.archive .category-posts article:last-child{ border-bottom:none; padding-bottom:8px; }

body.archive .category-posts .post-title{ margin:0 0 8px; line-height:1.35; font-weight:800; }
body.archive .category-posts .post-title a{ text-decoration:none; }
body.archive .category-posts .post-title a:hover{ text-decoration:underline; }

body.archive .category-posts .post-excerpt{ color:#c9d1d9; line-height:1.8; }
body.archive .category-posts .post-excerpt p{ margin:0; }

/* 分页样式 */
.archive .pagination{ display:flex; justify-content:center; gap:6px; margin:18px 0 28px; }
.archive .pagination .page-numbers{
  display:inline-flex; align-items:center; justify-content:center;
  min-width:36px; height:36px; padding:0 12px;
  border-radius:10px; border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.03); color:#cfd6e4; text-decoration:none; font-size:14px;
  transition:.15s ease;
}
.archive .pagination .page-numbers:hover{
  border-color:rgba(255,255,255,.22); background:rgba(255,255,255,.06); color:#fff;
}
.archive .pagination .page-numbers.current{
  border-color:rgba(109,141,255,.6); background:rgba(109,141,255,.15); color:#fff; font-weight:700;
}

/* ========== 可选：博客/分类宽屏双列（按需启用） ========== */
/*
@media (min-width:1100px){
  body.archive #main-content.container{ max-width:1100px; }
  body.archive .category-posts{
    display:grid; grid-template-columns:1fr 1fr; gap:20px 28px;
  }
  body.archive .category-posts article{ border-bottom:none; padding:0; }
}
*/
