/* =============================================================
   内页主视觉区 page-hero.css
   -------------------------------------------------------------
   文章页 .page-head--article：深色渐变 + 栏目配色，与封面深色大图呼应；
   列表页 .page-head--list：在现有浅色网格基础上增强文字层次。
   两者均通过 body:has(.is-current[data-nav=xx]) 跟随当前栏目配色，
   四国色沿用 country-theme.css 变量，其他栏目用 nav-theme.css 金色变量。
   ============================================================= */

/* ============ 一、文章页主视觉区（深色，按栏目配色） ============ */
.page-head--article {
  position: relative; isolation: isolate; overflow: hidden;
  padding: 66px 0 58px; color: #fff;
  background: linear-gradient(125deg, var(--nav-other-1, #5c3f0d), var(--nav-other-2, #8a6a17) 62%, var(--nav-other-3, #b8892f));
  --ph-glow: rgba(184,137,47,.55);
  --ph-tint: #E3CE9B;
}
body:has(.nav-links .nav-item.is-current[data-nav="au"]) .page-head--article {
  background: linear-gradient(125deg, var(--c-au-1, #0a2a6b), var(--c-au-2, #1a63cf)); --ph-glow: rgba(26,99,207,.55); --ph-tint: #cfe0ff;
}
body:has(.nav-links .nav-item.is-current[data-nav="ca"]) .page-head--article {
  background: linear-gradient(125deg, var(--c-ca-1, #45091a), var(--c-ca-2, #cf3a2b)); --ph-glow: rgba(207,58,43,.55); --ph-tint: #ffcfc8;
}
body:has(.nav-links .nav-item.is-current[data-nav="nz"]) .page-head--article {
  background: linear-gradient(125deg, var(--c-nz-1, #04322f), var(--c-nz-2, #1f9483)); --ph-glow: rgba(31,148,131,.55); --ph-tint: #bff0e7;
}
body:has(.nav-links .nav-item.is-current[data-nav="us"]) .page-head--article {
  background: linear-gradient(125deg, var(--c-us-1, #0a1338), var(--c-us-2, #3567cf)); --ph-glow: rgba(53,103,207,.55); --ph-tint: #cad9ff;
}

/* 光晕 + 网格纹理 */
.page-head--article::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(760px 380px at 84% 12%, var(--ph-glow), transparent 70%);
}
.page-head--article::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 45%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 45%, #000 100%);
}
.page-head--article .container { position: relative; z-index: 1; }

/* 面包屑：深底浅字 */
.page-head--article .breadcrumb { margin-bottom: 22px; }
.page-head--article .breadcrumb,
.page-head--article .breadcrumb a { color: rgba(255,255,255,.72); }
.page-head--article .breadcrumb a:hover { color: #fff; }
.page-head--article .breadcrumb .sep { color: rgba(255,255,255,.4); }
.page-head--article .breadcrumb .current { color: #fff; font-weight: 600; }

/* 栏目标签 */
.page-head--article .ph-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; letter-spacing: .18em; font-weight: 600;
  color: var(--ph-tint); text-transform: uppercase; margin-bottom: 12px;
}
.page-head--article .ph-kicker i { width: 24px; height: 2px; background: currentColor; display: inline-block; opacity: .9; }

/* 标题 + 描述 */
.page-head--article h1 {
  font-size: clamp(28px, 3.4vw, 42px); font-weight: 800; line-height: 1.35;
  color: #fff; margin: 0 0 14px; max-width: 900px;
}
.page-head--article .ph-lead {
  font-size: 16px; line-height: 1.85; color: rgba(255,255,255,.86);
  max-width: 720px; margin: 0 0 20px;
}

/* 阅读元信息 */
.page-head--article .ph-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 0; }
.page-head--article .ph-meta span {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; color: rgba(255,255,255,.8); padding-right: 18px; margin-right: 18px;
  border-right: 1px solid rgba(255,255,255,.28);
}
.page-head--article .ph-meta span:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.page-head--article .ph-meta svg { width: 15px; height: 15px; opacity: .85; }

/* ============ 二、列表页主视觉区文字增强（浅色网格，配色沿用 nav-theme.css） ============ */
.page-head--list { padding: 60px 0 48px; }
.page-head--list .pl-kicker {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12px; letter-spacing: .16em; font-weight: 600;
  text-transform: uppercase; margin-bottom: 12px; color: #a67c1f;
}
body:has(.nav-links .nav-item.is-current[data-nav="au"]) .page-head--list .pl-kicker { color: #1a63cf; }
body:has(.nav-links .nav-item.is-current[data-nav="ca"]) .page-head--list .pl-kicker { color: #cf3a2b; }
body:has(.nav-links .nav-item.is-current[data-nav="nz"]) .page-head--list .pl-kicker { color: #1f9483; }
body:has(.nav-links .nav-item.is-current[data-nav="us"]) .page-head--list .pl-kicker { color: #3567cf; }
.page-head--list .pl-kicker i { width: 22px; height: 2px; background: currentColor; display: inline-block; }

.page-head--list h1 { font-size: clamp(30px, 3.4vw, 42px); }
.page-head--list .pl-lead {
  font-size: 16px; line-height: 1.85; color: #444; max-width: 720px; margin: 0 0 18px;
}
.page-head--list .pl-note {
  display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font-size: 13px; color: #6b7280;
  border-top: 1px dashed rgba(0,0,0,.14); padding-top: 14px;
}
.page-head--list .pl-note b { color: #a67c1f; font-weight: 600; }
body:has(.nav-links .nav-item.is-current[data-nav="au"]) .page-head--list .pl-note b { color: #1a63cf; }
body:has(.nav-links .nav-item.is-current[data-nav="ca"]) .page-head--list .pl-note b { color: #cf3a2b; }
body:has(.nav-links .nav-item.is-current[data-nav="nz"]) .page-head--list .pl-note b { color: #1f9483; }
body:has(.nav-links .nav-item.is-current[data-nav="us"]) .page-head--list .pl-note b { color: #3567cf; }
.page-head--list .pl-note .dot { width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .5; }

/* ============ 响应式 ============ */
@media (max-width: 640px) {
  .page-head--article { padding: 46px 0 42px; }
  .page-head--article h1 { font-size: 28px; }
  .page-head--article .ph-lead { font-size: 14.5px; line-height: 1.75; }
  .page-head--article .ph-meta span { font-size: 12px; padding-right: 12px; margin-right: 12px; }
  .page-head--list { padding: 44px 0 38px; }
  .page-head--list h1 { font-size: 30px; }
  .page-head--list .pl-lead { font-size: 14.5px; line-height: 1.75; }
}
