
/* ---- wb-h1-normalize ---- */
body.wb-unify h2.wb-dup-title,body.wb-unify .entry-content h2.wb-dup-title{display:none!important}body.wb-unify h2.entry-title,body.wb-unify .single-post>h2.entry-title,body.wb-unify h2.vw-page-title{display:none!important}body.wb-unify h1.page-title,body.wb-unify h1.entry-title.wb-keep-visible{display:block!important;color:#0A1628!important;font-size:36px!important;font-weight:800!important;line-height:1.3!important;margin:0 0 20px!important}body.wb-unify h2.wb-hero__title{color:#F5EFE4!important;font-size:44px!important;font-weight:800!important;line-height:1.25!important;letter-spacing:1px!important;margin:8px 0 16px!important}body.wb-unify h2.bh-section__title:not(.wb-dup-title){color:#0A1628!important;font-size:44px!important;font-weight:800!important;line-height:1.25!important;margin:0 0 16px!important}body.wb-unify h2.page-title:not(.wb-dup-title){color:#0A1628!important;font-size:36px!important;font-weight:800!important;line-height:1.3!important}body.wb-unify h2.wb-h1-demoted{font-size:inherit;font-weight:inherit;line-height:inherit}@media(max-width:1200px){body.wb-unify h2.wb-hero__title,body.wb-unify h2.bh-section__title:not(.wb-dup-title){font-size:32px!important}body.wb-unify h1.page-title,body.wb-unify h1.entry-title.wb-keep-visible{font-size:30px!important}}@media(max-width:768px){body.wb-unify h2.wb-hero__title,body.wb-unify h2.bh-section__title:not(.wb-dup-title){font-size:26px!important}body.wb-unify h1.page-title,body.wb-unify h1.entry-title.wb-keep-visible{font-size:24px!important}}
/* ---- wb-final-consistency-patch ---- */
/* ============================================================
 * WB-Final-Consistency-Patch (2026-08-01)
 * 目标：修复内页与首页在框架、顶栏、Hero、按钮上的视觉不一致，
 *       并确保内容区不被隐藏、文字完整可读。
 * 作用范围：body 含有 wb-unify 且非首页（避免误伤已正确的首页）
 * 加载位置：wp_head 最高优先级，使用 !important 覆盖现有补丁
 * ============================================================ */

/* ---- 设计令牌统一为首页同名变量 ---- */
body.wb-unify:not(.home):not(.home-page){
  --navy:#0A1628;
  --navy-2:#12233D;
  --gold:#C9A96E;
  --gold-2:#B8935A;
  --ivory:#FAF8F5;
  --ink:#2D3436;
  --red:#8B1A1A;
}

/* ---- 1. 消除顶部白色间隙：让 Hero 紧贴固定顶栏 ---- */
body.wb-unify:not(.home):not(.home-page) main,
body.wb-unify:not(.home):not(.home-page) #maincontent,
body.wb-unify:not(.home):not(.home-page) .content-vw,
body.wb-unify:not(.home):not(.home-page) .middle-align.container{
  padding-top:0 !important;
  margin-top:0 !important;
}
/* ---- 1.1 额外修复：entry-content 顶部仍有 24px padding 导致 Hero 下移 ---- */
body.wb-unify:not(.home):not(.home-page) .entry-content{
  padding-top:0 !important;
}
/* Hero 之后第一个内容块保持与首页一致的上间距 */
body.wb-unify:not(.home):not(.home-page) .entry-content > .wb-hero + *{
  padding-top:48px !important;
}


/* ---- 2. Hero 全宽深蓝、紧贴顶栏、与首页首屏对齐 ---- */
body.wb-unify:not(.home):not(.home-page) .wb-hero,
body.wb-unify:not(.home):not(.home-page) section.wb-hero{
  position:relative !important;
  width:100vw !important;
  max-width:none !important;
  margin-left:calc(50% - 50vw) !important;
  margin-right:calc(50% - 50vw) !important;
  margin-top:0 !important;
  margin-bottom:0 !important;
  padding:72px calc(50vw - 600px) 56px !important;
  box-sizing:border-box !important;
  background:linear-gradient(135deg,#0A1628 0%,#12233D 100%) !important;
  color:#FAF8F5 !important;
  border-bottom:1px solid rgba(201,169,110,.22) !important;
}

/* 让 hero 内部容器居中并对齐首页 wrap */
body.wb-unify:not(.home):not(.home-page) .wb-hero__in,
body.wb-unify:not(.home):not(.home-page) .wb-hero .wb-hero__in{
  max-width:1200px !important;
  margin:0 auto !important;
  padding:0 24px !important;
}

body.wb-unify:not(.home):not(.home-page) .wb-hero h1,
body.wb-unify:not(.home):not(.home-page) .wb-hero .wb-hero__title{
  color:#FAF8F5 !important;
  font-size:44px !important;
  font-weight:800 !important;
  line-height:1.2 !important;
  margin:0 0 16px !important;
}

body.wb-unify:not(.home):not(.home-page) .wb-hero__tag,
body.wb-unify:not(.home):not(.home-page) .wb-hero .wb-hero__tag{
  display:inline-block !important;
  font-size:13px !important;
  letter-spacing:2px !important;
  color:var(--gold,#C9A96E) !important;
  background:rgba(201,169,110,.12) !important;
  border:1px solid rgba(201,169,110,.3) !important;
  border-radius:999px !important;
  padding:6px 14px !important;
  margin-bottom:16px !important;
}

/* ---- 3. 按钮统一为首页样式：金色实心 + 幽灵边框 ---- */
body.wb-unify:not(.home):not(.home-page) .wb-hero__cta,
body.wb-unify:not(.home):not(.home-page) .wb-hero .wb-hero__cta{
  display:flex !important;
  flex-wrap:wrap !important;
  gap:16px !important;
  margin-top:24px !important;
}

body.wb-unify:not(.home):not(.home-page) .wb-hero__cta a,
body.wb-unify:not(.home):not(.home-page) .wb-hero .wb-hero__cta a{
  display:inline-flex !important;
  align-items:center !important;
  gap:8px !important;
  font-size:15px !important;
  font-weight:700 !important;
  padding:12px 24px !important;
  border-radius:8px !important;
  text-decoration:none !important;
  transition:all .24s ease-out !important;
}

body.wb-unify:not(.home):not(.home-page) .wb-hero__cta a:first-child,
body.wb-unify:not(.home):not(.home-page) .wb-hero .wb-hero__cta a.wb-btn--gold,
body.wb-unify:not(.home):not(.home-page) .wb-hero .wb-hero__cta a:first-of-type{
  background:linear-gradient(135deg,var(--gold),var(--gold-2)) !important;
  color:#0A1628 !important;
  border:1px solid var(--gold) !important;
}

body.wb-unify:not(.home):not(.home-page) .wb-hero__cta a:last-child,
body.wb-unify:not(.home):not(.home-page) .wb-hero .wb-hero__cta a.wb-btn--ghost{
  background:transparent !important;
  color:var(--gold) !important;
  border:1px solid var(--gold) !important;
}

body.wb-unify:not(.home):not(.home-page) .wb-hero__cta a:hover{
  transform:translateY(-1px) !important;
  box-shadow:0 6px 18px rgba(201,169,110,.35) !important;
}

/* ---- 4. 顶栏品牌修复：避免文字被截断、对齐首页 ---- */
body.wb-unify:not(.home):not(.home-page) header.wb-top .wb-brand,
body.wb-unify:not(.home):not(.home-page) header.wb-top#wbTopHeader .wb-brand{
  display:flex !important;
  align-items:center !important;
  gap:12px !important;
  flex-shrink:0 !important;
  text-decoration:none !important;
}

body.wb-unify:not(.home):not(.home-page) header.wb-top .wb-brand__mark,
body.wb-unify:not(.home):not(.home-page) header.wb-top#wbTopHeader .wb-brand__mark{
  width:40px !important;
  height:40px !important;
  border-radius:8px !important;
  background:linear-gradient(135deg,var(--gold),var(--gold-2)) !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  font-weight:800 !important;
  font-size:19px !important;
  color:#0A1628 !important;
  flex-shrink:0 !important;
}

body.wb-unify:not(.home):not(.home-page) header.wb-top .wb-brand__t,
body.wb-unify:not(.home):not(.home-page) header.wb-top#wbTopHeader .wb-brand__t{
  display:flex !important;
  flex-direction:column !important;
  line-height:1.25 !important;
  color:#F5EFE4 !important;
  font-size:17px !important;
  font-weight:700 !important;
  letter-spacing:1px !important;
  white-space:nowrap !important;
}

body.wb-unify:not(.home):not(.home-page) header.wb-top .wb-brand__s,
body.wb-unify:not(.home):not(.home-page) header.wb-top#wbTopHeader .wb-brand__s{
  display:block !important;
  font-size:11px !important;
  font-weight:400 !important;
  color:var(--gold) !important;
  letter-spacing:2.5px !important;
}

/* ---- 5. 内容区统一为首页象牙白底、限制宽度 ---- */
body.wb-unify:not(.home):not(.home-page) .content-vw,
body.wb-unify:not(.home):not(.home-page) .entry-content,
body.wb-unify:not(.home):not(.home-page) main .middle-align.container{
  background:#FAF8F5 !important;
  color:#2D3436 !important;
}

body.wb-unify:not(.home):not(.home-page) .entry-content > *:not(.wb-hero):not(.wb-footer),
body.wb-unify:not(.home):not(.home-page) .content-vw > *:not(.wb-hero):not(.wb-footer){
  max-width:1200px !important;
  margin-left:auto !important;
  margin-right:auto !important;
  padding-left:24px !important;
  padding-right:24px !important;
  box-sizing:border-box !important;
}

/* ---- 6. 恢复被错误隐藏的关键内容（标题、面包屑按需显示） ---- */
body.wb-unify:not(.home):not(.home-page) .entry-content > h1:not(.wb-hero h1),
body.wb-unify:not(.home):not(.home-page) .entry-content h2,
body.wb-unify:not(.home):not(.home-page) .entry-content h3{
  display:block !important;
  visibility:visible !important;
  position:static !important;
  left:auto !important;
  color:#0A1628 !important;
}

body.wb-unify:not(.home):not(.home-page) .entry-content p,
body.wb-unify:not(.home):not(.home-page) .entry-content li{
  color:#2D3436 !important;
}
/* ---- 5.1 修复新闻/列表类卡片在浅色背景上的文字对比度 ---- */
body.wb-unify:not(.home):not(.home-page) .bh-section,
body.wb-unify:not(.home):not(.home-page) .bh-card,
body.wb-unify:not(.home):not(.home-page) .bh-card__title,
body.wb-unify:not(.home):not(.home-page) .bh-card__text,
body.wb-unify:not(.home):not(.home-page) .bh-section p,
body.wb-unify:not(.home):not(.home-page) .bh-section li,
body.wb-unify:not(.home):not(.home-page) .bh-card p,
body.wb-unify:not(.home):not(.home-page) .bh-card li{
  color:#2D3436 !important;
}
body.wb-unify:not(.home):not(.home-page) .bh-section a,
body.wb-unify:not(.home):not(.home-page) .bh-card a{
  color:#1a5490 !important;
}
body.wb-unify:not(.home):not(.home-page) .bh-section a:hover,
body.wb-unify:not(.home):not(.home-page) .bh-card a:hover{
  color:#C9A96E !important;
}


/* ---- 7. 移动端适配 ---- */
@media (max-width:768px){
  body.wb-unify:not(.home):not(.home-page) .wb-hero,
  body.wb-unify:not(.home):not(.home-page) section.wb-hero{
    padding:56px 16px 40px !important;
  }
  body.wb-unify:not(.home):not(.home-page) .wb-hero h1{
    font-size:32px !important;
  }
  body.wb-unify:not(.home):not(.home-page) header.wb-top .wb-brand__s{
    display:none !important;
  }
}
