
/* ---- wb-ui-fix-v5 ---- */
\nFix v5 — 以首页为基准对齐全站 */\n/* 1. 恢复内页统一页脚 */\nbody.wb-unify footer.wb-footer{display:block!important}\nbody.wb-unify:not(.home):not(.home-page) footer.foot,\nbody.wb-unify:not(.home):not(.home-page) footer[role="contentinfo"]:not(.wb-footer){display:none!important}\n/* 2. 卡片容器还原 */\nbody.wb-unify a.bh-card:not(.wbz1):not(.wbz2):not(.wbz3):not(.wbz4):not(.wbz5):not(.wbz6):not(.wbz7):not(.wbz8),\nbody.wb-unify div.bh-card:not(.wbz1):not(.wbz2):not(.wbz3):not(.wbz4):not(.wbz5):not(.wbz6):not(.wbz7):not(.wbz8){\n  display:flex!important;flex-direction:column!important;gap:8px!important;\n  background-color:#FFFFFF!important;border-radius:12px!important;\n  border:1px solid rgba(234,228,216,0.7)!important;padding:24px!important;\n  box-shadow:0 1px 3px rgba(10,22,40,.06),0 4px 12px rgba(10,22,40,.08)!important;\n  color:#2D3436!important;text-decoration:none!important}\n/* 3. CTA 按钮统一 */\nbody.wb-unify a.wb-btn:not(.wbz1):not(.wbz2):not(.wbz3):not(.wbz4):not(.wbz5):not(.wbz6):not(.wbz7):not(.wbz8),\nbody.wb-unify a.bh-btn:not(.wbz1):not(.wbz2):not(.wbz3):not(.wbz4):not(.wbz5):not(.wbz6):not(.wbz7):not(.wbz8){padding:14px 30px!important}\n/* 4. 保护浮动按钮 */\nbody.wb-unify .float button,body.wb-unify .float__tel,body.wb-unify .float__wx{\n  border-radius:50%!important;width:52px!important;height:52px!important;\n  min-width:52px!important;max-width:52px!important;padding:12px!important;\n  display:inline-flex!important;align-items:center!important;justify-content:center!important;\n  box-shadow:0 2px 10px rgba(0,0,0,.25)!important}\n
/* ---- wb-ui-fix-v51 ---- */
\n/* WB UI Fix v5.1 — 高特异性覆盖 */\n/* 1. 页脚恢复：特异性 (0,4,1) > v4的(0,3,1) */\nbody.wb-unify:not(.home):not(.home-page) footer.wb-footer,\nbody.wb-unify:not(.home):not(.home-page) footer.wb-footer[role="contentinfo"]{display:block!important;visibility:visible!important}\n/* 2. 卡片恢复：(0,10,2) >> FIX-02 (0,7,1) */\nbody.wb-unify:not(.home):not(.home-page) a.bh-card:not(.wbz1):not(.wbz2):not(.wbz3):not(.wbz4):not(.wbz5):not(.wbz6):not(.wbz7):not(.wbz8),\nbody.wb-unify:not(.home):not(.home-page) div.bh-card:not(.wbz1):not(.wbz2):not(.wbz3):not(.wbz4):not(.wbz5):not(.wbz6):not(.wbz7):not(.wbz8){\ndisplay:flex!important;flex-direction:column!important;gap:8px!important;\nbackground-color:#FFFFFF!important;border-radius:12px!important;\nborder:1px solid rgba(234,228,216,0.7)!important;padding:24px!important;\nbox-shadow:0 1px 3px rgba(10,22,40,.06),0 4px 12px rgba(10,22,40,.08)!important;\ncolor:#2D3436!important;text-decoration:none!important}\n/* 3. CTA按钮padding统一为首页标准14px30px：(0,10,2) > v4(0,9,2) */\nbody.wb-unify:not(.home):not(.home-page) a.wb-btn:not(.wbz1):not(.wbz2):not(.wbz3):not(.wbz4):not(.wbz5):not(.wbz6):not(.wbz7):not(.wbz8),\nbody.wb-unify:not(.home):not(.home-page) a.bh-btn:not(.wbz1):not(.wbz2):not(.wbz3):not(.wbz4):not(.wbz5):not(.wbz6):not(.wbz7):not(.wbz8){\npadding:14px 30px!important}\n/* 4. 浮动按钮保护 */\nbody.wb-unify .float button,body.wb-unify .float__tel,body.wb-unify .float__wx{\nborder-radius:50%!important;width:52px!important;height:52px!important;\nmin-width:52px!important;max-width:52px!important;padding:12px!important;\ndisplay:inline-flex!important;align-items:center!important;justify-content:center!important}\n
/* ---- wb-ui-final-override-v1 ---- */

/* ============================================================
 * WB-UI-Final-Override v1
 * 目标：以首页为基准，统一全站卡片、按钮、内容区、隐藏旧主题框架
 * 加载位置：Site Wide Header，优先级最高（覆盖历史补丁）
 * ============================================================ */

/* ---------- 设计令牌 ---------- */
body.wb-unify{
  --navy:#0A1628;
  --navy-2:#12233D;
  --gold:#C9A96E;
  --gold-2:#B8935A;
  --ivory:#FAF8F5;
  --ink:#2D3436;
  --red:#8B1A1A;
  --line:rgba(201,169,110,.22);
  --line-dark:rgba(201,169,110,.30);
  --card-bg:#FFFFFF;
  --card-border:rgba(234,228,216,.7);
  --card-shadow:0 2px 12px rgba(10,22,40,.06),0 4px 16px rgba(10,22,40,.08);
  --radius-sm:8px;
  --radius-md:12px;
  --radius-lg:16px;
}

/* ---------- 隐藏旧主题重复 Chrome（统一、彻底） ---------- */
body.wb-unify header[role="banner"]:not(.wb-top),
body.wb-unify #masthead:not(.wb-top),
body.wb-unify .home-page-header,
body.wb-unify .middle-header,
body.wb-unify .menubar,
body.wb-unify .nav.sidenav,
body.wb-unify #site-navigation,
body.wb-unify .main-navigation,
body.wb-unify #preloader,
body.wb-unify #sidebar,
body.wb-unify aside#sidebar,
body.wb-unify .bradcrumbs,
body.wb-unify .bh-breadcrumb,
body.wb-unify .breadcrumb,
body.wb-unify .breadcrumbs,
body.wb-unify .vw-page-title,
body.wb-unify .post-title,
body.wb-unify .page-title,
body.wb-unify .bh-pagehero,
body.wb-unify > footer:not(.wb-footer),
body.wb-unify footer[role="contentinfo"]:not(.wb-footer),
body.wb-unify #colophon,
body.wb-unify .site-footer,
body.wb-unify .site-info,
body.wb-unify .footer-widgets,
body.wb-unify .copyright-wrapper{
  display:none !important;
  visibility:hidden !important;
  height:0 !important;
  max-height:0 !important;
  min-height:0 !important;
  margin:0 !important;
  padding:0 !important;
  overflow:hidden !important;
  position:absolute !important;
  left:-99999px !important;
}

/* ---------- 内页主体恢复象牙白、深色文字（与首页内容区一致） ---------- */
body.wb-unify:not(.home):not(.home-page) .content-vw,
body.wb-unify:not(.home):not(.home-page) #content-vw,
body.wb-unify:not(.home):not(.home-page) .site-content,
body.wb-unify:not(.home):not(.home-page) main,
body.wb-unify:not(.home):not(.home-page) #maincontent{
  background:var(--ivory) !important;
  color:var(--ink) !important;
}

/* ---------- H1 统一：隐藏主题入口 H1，保留 hero H1 ---------- */
body.wb-unify:not(.home):not(.home-page) .entry-title,
body.wb-unify:not(.home):not(.home-page) .entry-content > h1:first-child:not(.wb-keep),
body.wb-unify:not(.home):not(.home-page) .content-vw > h1:first-child:not(.wb-keep){
  display:none !important;
}
body.wb-unify .wb-hero h1,
body.wb-unify h1.wb-page-title{
  color:#F5EFE4 !important;
  font-size:40px !important;
  line-height:1.25 !important;
  font-weight:800 !important;
  letter-spacing:1px !important;
  margin:0 !important;
}

/* ---------- 卡片统一：bh-card / 通用卡片（匹配旧补丁特异性并靠后加载获胜） ---------- */
body.wb-unify:not(.home):not(.home-page) .bh-card,
body.wb-unify:not(.home):not(.home-page) .card,
body.wb-unify:not(.home):not(.home-page) .service-item,
body.wb-unify:not(.home):not(.home-page) .lawyer,
body.wb-unify:not(.home):not(.home-page) .post-item,
body.wb-unify:not(.home):not(.home-page) .hentry,
body.wb-unify:not(.home):not(.home-page) .wp-block-group:not(.is-layout-flex){
  background:var(--card-bg) !important;
  border:1px solid var(--card-border) !important;
  border-radius:var(--radius-md) !important;
  box-shadow:var(--card-shadow) !important;
  padding:24px !important;
  transition:all .25s ease-out !important;
}
body.wb-unify:not(.home):not(.home-page) .bh-card:hover,
body.wb-unify:not(.home):not(.home-page) .card:hover,
body.wb-unify:not(.home):not(.home-page) .service-item:hover,
body.wb-unify:not(.home):not(.home-page) .lawyer:hover,
body.wb-unify:not(.home):not(.home-page) .post-item:hover{
  box-shadow:0 8px 24px rgba(10,22,40,.12),0 12px 32px rgba(10,22,40,.14) !important;
  border-color:rgba(201,169,110,.5) !important;
  transform:translateY(-2px) !important;
}
body.wb-unify:not(.home):not(.home-page) .bh-card__title,
body.wb-unify:not(.home):not(.home-page) .card h3,
body.wb-unify:not(.home):not(.home-page) .post-item h3{
  color:var(--navy) !important;
  font-size:18px !important;
  font-weight:700 !important;
  line-height:1.4 !important;
  margin:0 0 10px !important;
}
body.wb-unify:not(.home):not(.home-page) .bh-card__text,
body.wb-unify:not(.home):not(.home-page) .card p,
body.wb-unify:not(.home):not(.home-page) .post-item p{
  color:var(--ink) !important;
  font-size:15px !important;
  line-height:1.75 !important;
  margin:0 !important;
}

/* ---------- 按钮统一 ---------- */
body.wb-unify:not(.home):not(.home-page) a.wb-btn,
body.wb-unify:not(.home):not(.home-page) .wb-btn{
  display:inline-flex !important;
  align-items:center !important;
  gap:8px !important;
  font-size:16px !important;
  font-weight:700 !important;
  padding:14px 28px !important;
  border-radius:var(--radius-sm) !important;
  text-decoration:none !important;
  transition:all .24s ease-out !important;
  cursor:pointer !important;
}
body.wb-unify:not(.home):not(.home-page) a.wb-btn--gold,
body.wb-unify:not(.home):not(.home-page) .wb-btn--gold{
  background:linear-gradient(135deg,var(--gold),var(--gold-2)) !important;
  color:var(--navy) !important;
  border:none !important;
}
body.wb-unify:not(.home):not(.home-page) a.wb-btn--gold:hover,
body.wb-unify:not(.home):not(.home-page) .wb-btn--gold:hover{
  transform:translateY(-2px) !important;
  box-shadow:0 10px 26px rgba(201,169,110,.4) !important;
}
body.wb-unify:not(.home):not(.home-page) a.wb-btn--ghost,
body.wb-unify:not(.home):not(.home-page) .wb-btn--ghost{
  background:transparent !important;
  color:#F5EFE4 !important;
  border:1px solid var(--line-dark) !important;
}
body.wb-unify:not(.home):not(.home-page) a.wb-btn--ghost:hover,
body.wb-unify:not(.home):not(.home-page) .wb-btn--ghost:hover{
  border-color:var(--gold) !important;
  color:var(--gold) !important;
  background:rgba(201,169,110,.06) !important;
}

/* 正文区普通按钮保持红色主按钮（与首页 CTA 一致） */
body.wb-unify:not(.home):not(.home-page) .entry-content .btn,
body.wb-unify:not(.home):not(.home-page) .entry-content button,
body.wb-unify:not(.home):not(.home-page) .entry-content input[type="submit"],
body.wb-unify:not(.home):not(.home-page) .entry-content .wp-block-button__link{
  background:var(--red) !important;
  color:#fff !important;
  border:none !important;
  border-radius:var(--radius-sm) !important;
  padding:12px 24px !important;
  font-weight:600 !important;
}
body.wb-unify:not(.home):not(.home-page) .entry-content .btn:hover,
body.wb-unify:not(.home):not(.home-page) .entry-content button:hover{
  background:#A32222 !important;
}

/* ---------- 表单控件统一 ---------- */
body.wb-unify:not(.home):not(.home-page) input[type="text"],
body.wb-unify:not(.home):not(.home-page) input[type="email"],
body.wb-unify:not(.home):not(.home-page) input[type="tel"],
body.wb-unify:not(.home):not(.home-page) input[type="search"],
body.wb-unify:not(.home):not(.home-page) textarea,
body.wb-unify:not(.home):not(.home-page) select{
  border:1px solid #CBD5E1 !important;
  border-radius:var(--radius-sm) !important;
  padding:12px 14px !important;
  font-size:16px !important;
  background:#fff !important;
  color:var(--ink) !important;
}
body.wb-unify:not(.home):not(.home-page) input:focus,
body.wb-unify:not(.home):not(.home-page) textarea:focus,
body.wb-unify:not(.home):not(.home-page) select:focus{
  outline:none !important;
  border-color:var(--gold) !important;
  box-shadow:0 0 0 3px rgba(201,169,110,.22) !important;
}

/* ---------- 内容排版统一 ---------- */
body.wb-unify:not(.home):not(.home-page) .entry-content,
body.wb-unify:not(.home):not(.home-page) .bh-page-content{
  max-width:1200px !important;
  margin:0 auto !important;
  padding:32px 24px !important;
  font-size:16px !important;
  line-height:1.85 !important;
  color:var(--ink) !important;
}
body.wb-unify:not(.home):not(.home-page) .entry-content h2,
body.wb-unify:not(.home):not(.home-page) .entry-content h3,
body.wb-unify:not(.home):not(.home-page) .entry-content h4{
  color:var(--navy) !important;
  font-weight:700 !important;
  line-height:1.35 !important;
  margin:1.8em 0 .6em !important;
}
body.wb-unify:not(.home):not(.home-page) .entry-content h2{ font-size:28px !important; }
body.wb-unify:not(.home):not(.home-page) .entry-content h3{ font-size:22px !important; }
body.wb-unify:not(.home):not(.home-page) .entry-content h4{ font-size:18px !important; }
body.wb-unify:not(.home):not(.home-page) .entry-content p{
  margin:0 0 1.1em !important;
  color:var(--ink) !important;
}
body.wb-unify:not(.home):not(.home-page) .entry-content a{
  color:#1a5490 !important;
  text-decoration:none !important;
  border-bottom:1px solid rgba(26,84,144,.28) !important;
}
body.wb-unify:not(.home):not(.home-page) .entry-content a:hover{
  color:var(--gold) !important;
  border-color:var(--gold) !important;
}
body.wb-unify:not(.home):not(.home-page) .entry-content ul,
body.wb-unify:not(.home):not(.home-page) .entry-content ol{
  padding-left:1.4em !important;
  margin:0 0 1.1em !important;
}
body.wb-unify:not(.home):not(.home-page) .entry-content strong{
  color:var(--navy) !important;
  font-weight:700 !important;
}

/* ---------- 网格统一 ---------- */
body.wb-unify:not(.home):not(.home-page) .bh-grid,
body.wb-unify:not(.home):not(.home-page) .card-grid{
  display:grid !important;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr)) !important;
  gap:24px !important;
}
body.wb-unify:not(.home):not(.home-page) .bh-grid-2{
  grid-template-columns:repeat(auto-fit,minmax(320px,1fr)) !important;
}

/* ---------- 页脚统一 ---------- */
body.wb-unify footer.wb-footer{
  display:block !important;
  visibility:visible !important;
  opacity:1 !important;
  background:var(--navy) !important;
  color:rgba(250,248,245,.75) !important;
}

/* ---------- 响应式 ---------- */
@media (max-width:768px){
  body.wb-unify .wb-hero h1,
  body.wb-unify h1.wb-page-title{ font-size:30px !important; }
  body.wb-unify:not(.home):not(.home-page) .bh-grid,
  body.wb-unify:not(.home):not(.home-page) .card-grid{
    grid-template-columns:1fr !important;
  }
  body.wb-unify:not(.home):not(.home-page) .entry-content,
  body.wb-unify:not(.home):not(.home-page) .bh-page-content{
    padding:24px 16px !important;
  }
}

