/* ============================================================================
   出海会 · 二级页统一页眉页脚（隔离组件）
   设计基准：首页 frontend/site/index.html + assets/site.css 的 .site-header / .site-footer
   作用域：仅 #eqChromeHeader / #eqChromeFooter 内部，绝不污染各二级页正文
   高特异性 + !important 抵御各页几十万字节内联全局样式
   ============================================================================ */

/* ============================================================================
   隐藏各二级页原有的页眉 / 页脚（不删 DOM，便于回退）
   - #eqMemberBar / #crMemberBar：深蓝「会员中心」窄条（旧页眉）
   - footer：各页自带深蓝品牌页脚（benefits/projects/... 用 <footer>）
   - .site-foot：国别报告页自带 skyline 页脚
   - .eq-beian / .cr-beian：旧简版备案条（新页脚已含备案）
   注意：统一页脚用的是 <div id="eqChromeFooter">，不会被 footer 规则误伤
   ============================================================================ */
#eqMemberBar, #crMemberBar{ display:none !important; }
footer{ display:none !important; }
.site-foot{ display:none !important; }
.eq-beian, .cr-beian{ display:none !important; }

/* ---------- 页眉 ---------- */
#eqChromeHeader{
  position:sticky; top:0; left:0; right:0; z-index:50;
  height:76px;
  background:rgba(255,255,255,.96);
  -webkit-backdrop-filter:blur(14px); backdrop-filter:blur(14px);
  border-bottom:1px solid #E3EAF4;
  transition:box-shadow .3s ease;
  font-family:"PingFang SC","Hiragino Sans GB","Microsoft YaHei","Noto Sans SC","Segoe UI",Tahoma,Arial,sans-serif;
  line-height:1.5;
}
#eqChromeHeader *{ box-sizing:border-box; }
#eqChromeHeader.is-scrolled{ box-shadow:0 8px 28px rgba(12,38,84,.10); }
#eqChromeHeader .eqch-inner{
  width:min(1200px, calc(100% - 48px)); height:76px; margin:0 auto;
  display:flex; align-items:center; justify-content:space-between; gap:24px;
}
#eqChromeHeader .eqch-brand{
  display:flex; align-items:center; gap:12px; flex:none;
  text-decoration:none !important; color:inherit !important;
}
#eqChromeHeader .eqch-logo{
  width:78px; height:44px; background:#fff; border:1px solid #E3EAF4; border-radius:8px;
  display:flex; align-items:center; justify-content:center; padding:3px;
  box-shadow:0 6px 22px rgba(16,45,96,.07); flex:none;
}
#eqChromeHeader .eqch-logo img{ width:100% !important; height:100% !important; object-fit:contain; display:block; }
#eqChromeHeader .eqch-name{
  font-size:18px !important; font-weight:800 !important; letter-spacing:.06em;
  color:#0B2E6B !important; white-space:nowrap; line-height:1.2;
}
#eqChromeHeader .eqch-nav{
  display:flex; align-items:center; gap:20px; flex:1; justify-content:flex-end;
  min-width:0;
}
#eqChromeHeader .eqch-nav a{
  position:relative; display:inline-block;
  font-size:13.5px !important; font-weight:600 !important; color:#3B4C68 !important;
  text-decoration:none !important; white-space:nowrap; padding:8px 0;
  background:none !important; border:0 !important; transition:color .2s;
}
#eqChromeHeader .eqch-nav a:not(.eqch-cta)::after{
  content:""; position:absolute; left:0; bottom:0; width:0; height:2px;
  background:#17469B; transition:width .25s ease;
}
#eqChromeHeader .eqch-nav a:hover,
#eqChromeHeader .eqch-nav a.eqch-active{ color:#17469B !important; }
#eqChromeHeader .eqch-nav a:not(.eqch-cta):hover::after,
#eqChromeHeader .eqch-nav a.eqch-active:not(.eqch-cta)::after{ width:100%; }
#eqChromeHeader .eqch-nav a.eqch-cta{
  background:#17469B !important; color:#fff !important;
  padding:10px 20px !important; border-radius:999px !important;
  box-shadow:0 8px 18px rgba(23,70,155,.22);
}
#eqChromeHeader .eqch-nav a.eqch-cta:hover{ background:#0B2E6B !important; }
#eqChromeHeader .eqch-tools{
  display:flex; align-items:center; gap:12px; flex:none;
}
#eqChromeHeader .eqch-login{
  display:inline-flex; align-items:center; gap:6px;
  font-size:12px !important; font-weight:700 !important; color:#0B2E6B !important;
  text-decoration:none !important; white-space:nowrap;
  background:#EAF1FC !important; border:1px solid #D6E3F7 !important;
  border-radius:999px !important; padding:7px 14px !important;
  transition:background .2s, border-color .2s;
}
#eqChromeHeader .eqch-login:hover{ background:#fff !important; border-color:#17469B !important; }
#eqChromeHeader .eqch-logout{
  font-size:12px !important; font-weight:700 !important; color:#6C7B94 !important;
  white-space:nowrap; background:none !important; border:0 !important; cursor:pointer;
  padding:6px 0 !important; border-bottom:1px solid #C9D5E7 !important; line-height:1.2;
}
#eqChromeHeader .eqch-logout:hover{ color:#17469B !important; }
#eqChromeHeader .eqch-burger{
  display:none; width:42px; height:42px; border-radius:10px;
  border:1px solid #E3EAF4 !important; background:#fff !important;
  position:relative; cursor:pointer; padding:0;
}
#eqChromeHeader .eqch-burger span{
  position:absolute; left:11px; right:11px; height:2px; background:#0B2E6B;
  border-radius:2px; transition:.25s;
}
#eqChromeHeader .eqch-burger span:nth-child(1){ top:13px; }
#eqChromeHeader .eqch-burger span:nth-child(2){ top:20px; }
#eqChromeHeader .eqch-burger span:nth-child(3){ top:27px; }
#eqChromeHeader .eqch-burger.open span:nth-child(1){ top:20px; transform:rotate(45deg); }
#eqChromeHeader .eqch-burger.open span:nth-child(2){ opacity:0; }
#eqChromeHeader .eqch-burger.open span:nth-child(3){ top:20px; transform:rotate(-45deg); }

/* ---------- 页脚 ---------- */
#eqChromeFooter{
  background:#081E42; color:rgba(226,236,252,.72);
  padding:56px 0 0; margin-top:0;
  font-family:"PingFang SC","Hiragino Sans GB","Microsoft YaHei","Noto Sans SC","Segoe UI",Tahoma,Arial,sans-serif;
  line-height:1.75;
}
#eqChromeFooter *{ box-sizing:border-box; }
#eqChromeFooter .eqcf-inner{
  width:min(1200px, calc(100% - 48px)); margin:0 auto;
}
#eqChromeFooter .eqcf-grid{
  display:grid; grid-template-columns:1.5fr 1fr 1fr; gap:48px; padding-bottom:40px;
}
#eqChromeFooter .eqcf-brand{
  display:flex; align-items:center; gap:14px; margin-bottom:18px;
}
#eqChromeFooter .eqcf-logo{
  width:78px; height:44px; background:#fff; border-radius:8px;
  display:flex; align-items:center; justify-content:center; padding:3px; flex:none;
}
#eqChromeFooter .eqcf-logo img{ width:100% !important; height:100% !important; object-fit:contain; display:block; }
#eqChromeFooter .eqcf-brand strong{
  display:block; color:#fff !important; font-size:19px !important; letter-spacing:.06em; font-weight:800;
}
#eqChromeFooter .eqcf-desc{
  font-size:13px !important; line-height:1.9 !important; margin:0 !important;
  max-width:400px; color:rgba(226,236,252,.62) !important;
}
#eqChromeFooter .eqcf-col h4{
  color:#fff !important; font-size:14px !important; margin:0 0 16px !important;
  font-weight:800; letter-spacing:.02em;
}
#eqChromeFooter .eqcf-col a,
#eqChromeFooter .eqcf-col p{
  display:block !important; font-size:13px !important; margin:0 0 10px !important;
  color:rgba(226,236,252,.68) !important; text-decoration:none !important;
  transition:color .2s; line-height:1.6;
}
#eqChromeFooter .eqcf-col a:hover{ color:#E7CD94 !important; }
#eqChromeFooter .eqcf-beian{
  display:flex; justify-content:center; align-items:center; flex-wrap:wrap;
  gap:4px 18px; padding-top:14px; margin-top:16px;
  border-top:1px solid rgba(255,255,255,.12);
  font-size:12px !important; color:rgba(255,255,255,.62) !important;
}
#eqChromeFooter .eqcf-beian a{
  display:inline-flex; align-items:center; gap:5px;
  color:rgba(255,255,255,.62) !important; text-decoration:none !important; white-space:nowrap;
}
#eqChromeFooter .eqcf-beian a:hover{ color:#fff !important; }
#eqChromeFooter .eqcf-beian a img{ width:14px !important; height:14px !important; display:block; }
#eqChromeFooter .eqcf-bottom{
  border-top:1px solid rgba(255,255,255,.10); padding:20px 0 26px;
  display:flex; flex-wrap:wrap; justify-content:space-between; gap:10px;
  font-size:12px !important; color:rgba(226,236,252,.48) !important;
}
#eqChromeFooter .eqcf-bottom span{ font-size:12px !important; }

/* ---------- 响应式 ---------- */
@media (max-width:1240px){
  #eqChromeHeader .eqch-nav{ gap:14px; }
  #eqChromeHeader .eqch-nav a{ font-size:12.5px !important; }
}
@media (max-width:1080px){
  #eqChromeHeader .eqch-nav{
    display:none; position:absolute; top:76px; left:0; right:0;
    flex-direction:column; align-items:stretch; gap:0;
    background:#fff; border-bottom:1px solid #E3EAF4;
    box-shadow:0 18px 40px rgba(16,45,96,.12); padding:8px 24px 16px;
  }
  #eqChromeHeader .eqch-nav.open{ display:flex; }
  #eqChromeHeader .eqch-nav a{
    padding:13px 4px !important; font-size:15px !important;
    border-bottom:1px solid #F0F4FA; text-align:left;
  }
  #eqChromeHeader .eqch-nav a:not(.eqch-cta)::after{ display:none; }
  #eqChromeHeader .eqch-nav a.eqch-cta{
    text-align:center; margin-top:12px; padding:13px 20px !important;
  }
  #eqChromeHeader .eqch-burger{ display:block; }
}
@media (max-width:760px){
  #eqChromeFooter .eqcf-grid{ grid-template-columns:1fr; gap:28px; }
}
@media (max-width:560px){
  #eqChromeHeader .eqch-inner{ width:calc(100% - 32px); gap:12px; }
  #eqChromeHeader .eqch-logo{ width:64px; height:38px; }
  #eqChromeHeader .eqch-name{ font-size:16px !important; }
  #eqChromeFooter .eqcf-inner{ width:calc(100% - 32px); }
}

/* ===== [AI-HIDE] 统一页眉 AI 助手临时隐藏（功能完善后删除本行即可恢复） ===== */
#eqChromeHeader .eqch-nav a.eq-ai-hide{ display:none !important; }
/* ===== [/AI-HIDE] ===== */
