/* =========================================================
   古纪影 分类归档页（category.php）专用样式
   版式复刻古纪台「原版古籍」频道页（无横幅）：
   导览块 + 图文卡片两列（左卡片/右最近更新）
   容器 / 网格 / 卡片 / 侧栏 / 分页 复用 style.css 的 .gf-tag-page 体系，
   本文件只补：body.category 容器修正 + 分类导览块（gf-catintro*）+ 小补充。
   ========================================================= */

/* 容器：与标签页同基准（白色背景、1180px 居中、通栏） */
body.category { background-color: #fff !important; }
body.category .ast-container { max-width: 1180px !important; margin: 0 auto !important; padding: 0 14px !important; }
body.category #primary { float: none !important; width: 100% !important; max-width: none !important; margin: 0 !important; padding: 0 !important; }
body.category .site-main { padding: 0 !important; margin: 0 !important; }
body.category .ast-archive-description { display: none !important; }

/* 图文区块（复刻频道页 guji-chan-block） */
.gf-cat-page .gf-chan-block { margin-bottom: 0; }
.gf-cat-page .gf-chan-block .gf-block-head { margin-bottom: 16px; }
.gf-cat-page .gf-more { color: #999; font-size: 13.5px; text-decoration: none !important; white-space: nowrap; }
.gf-cat-page .gf-more:hover { color: var(--gf-red) !important; }

/* ===== 分类导览块（结构复刻古纪台 guji-catintro） ===== */
.gf-cat-page .gf-catintro {
  margin: 18px 0 26px;
  padding: 20px 22px;
  background: #f8f8fa;
  border: 1px solid #e8e8ee;
  border-radius: 8px;
}
.gf-cat-page .gf-catintro-txt {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.7;
  color: #3c3c44;
}
.gf-cat-page .gf-catintro-txt strong { color: var(--gf-red); font-weight: 700; }
.gf-cat-page .gf-catintro-tags { display: flex; flex-wrap: wrap; gap: 8px 10px; }

/* 导览块分段：① 国家/地区 ② 类型 ③ 年代（虚线分隔 + 段标签） */
.gf-cat-page .gf-catintro-seg {
  display: flex; flex-wrap: wrap; gap: 8px 10px;
  padding-top: 12px; margin-top: 4px;
  border-top: 1px dashed #e2e2ea;
}
.gf-cat-page .gf-catintro-seg:first-of-type { padding-top: 0; margin-top: 0; border-top: 0; }
.gf-cat-page .gf-catintro-seg-label {
  flex: 0 0 100%;
  font-size: 12.5px; font-weight: 600; color: #8a8a94;
  letter-spacing: .5px; margin-bottom: -2px;
}

.gf-cat-page .gf-catintro-tag {
  display: inline-block; padding: 5px 12px;
  font-size: 13px; line-height: 1.4;
  color: #44444c !important; background: #fff;
  border: 1px solid #e2e2ea; border-radius: 16px;
  text-decoration: none !important; transition: all .15s ease;
}
.gf-cat-page .gf-catintro-tag:hover { color: #fff !important; background: var(--gf-red); border-color: var(--gf-red); }
.gf-cat-page .gf-catintro-count { margin-left: 5px; font-size: 11px; font-weight: 400; color: #a0a0aa; }
.gf-cat-page .gf-catintro-tag:hover .gf-catintro-count { color: rgba(255, 255, 255, .85); }

/* 响应式（导览块间距收窄；网格/卡片折叠规则由 .gf-tag-page 体系自带） */
@media (max-width: 921px) {
  .gf-cat-page .gf-catintro { margin: 12px 0 20px; padding: 14px 16px; }
}

