/* =========================================================
   全站公共：顶栏 top-bar + 页脚 footer-box（首页与内页共用）
   ========================================================= */
:root{--blue:#3a7ff6;--blue-h:#2468e0}
.b-content-wrap{width:1200px;max-width:calc(100% - 40px);margin-left:auto;margin-right:auto}

/* ---------- top-bar ---------- */
.top-bar{position:sticky;top:0;z-index:50;height:60px;background:#fff;border-bottom:1px solid #eef0f4;transition:box-shadow .2s}
.top-bar.scrolled{box-shadow:0 2px 12px rgba(0,0,0,.06)}
.top-bar a{text-decoration:none}
.top-bar__bd{display:flex;align-items:center;height:100%;width:1200px;max-width:calc(100% - 40px);margin:0 auto}
.top-bar__logo{flex:none}
.top-bar .top-bar__logo img{display:block;height:32px;width:auto}
.top-bar__more{flex:1;margin-left:56px}
.top-bar__nav{display:flex;gap:44px;list-style:none;margin:0;padding:0}
.top-bar__item-title{font-size:15px;color:#333;line-height:60px;display:block;position:relative}
.top-bar__item-title:hover,.top-bar__item-title.on{color:var(--blue)}
.top-bar__item-title::after{content:"";position:absolute;left:0;right:0;bottom:0;height:2px;background:var(--blue);transform:scaleX(0);transition:transform .2s}
.top-bar__item-title:hover::after,.top-bar__item-title.on::after{transform:scaleX(1)}
.top-bar__btns{display:flex;align-items:center;gap:12px}
.top-bar__toggle{display:none;width:36px;height:36px;border:0;background:none;padding:8px 6px;flex-direction:column;justify-content:space-between;cursor:pointer}
.top-bar__toggle span{display:block;height:2px;background:#333;border-radius:1px;transition:.2s}
.top-bar__mask{display:none}

/* ---------- footer-box ---------- */
.footer-box{background:#1b2130;color:#8d96a8;font-size:14px;line-height:1.6;padding:72px 0 80px}
.footer-box a{color:inherit;text-decoration:none}
.footer-bd{display:flex;justify-content:space-between;align-items:flex-start;gap:40px}
.footer-item{margin:0}
.footer-item dd{margin:0}
.footer-box .footer-item-01 .footer-logo{display:block;height:32px;width:auto}
.footer-share{display:flex;gap:14px;margin:24px 0 0!important}
.footer-share__link img{display:block;width:32px;height:32px;border-radius:50%;opacity:.8}
.footer-share__link:hover img{opacity:1}
.footer-content{display:flex;gap:72px}
.footer-tit{color:#fff;font-size:15px;margin-bottom:16px}
.footer-content dd{margin:0 0 10px}
.footer-content a:hover{color:#fff}

@media (max-width:900px){
  .top-bar__toggle{display:flex}
  .top-bar__more{position:fixed;top:60px;left:0;right:0;margin:0;background:#fff;transform:translateY(-8px);opacity:0;visibility:hidden;transition:.2s;border-bottom:1px solid #eef0f4;z-index:49}
  .top-bar__nav{flex-direction:column;gap:0;padding:6px 20px 12px}
  .top-bar__item-title{line-height:48px;border-bottom:1px solid #f1f3f6}
  .top-bar__item-title::after{display:none}
  .top-bar__btns{margin-left:auto}
  .nav-open .top-bar__more{opacity:1;visibility:visible;transform:none}
  .nav-open .top-bar__mask{display:block;position:fixed;inset:60px 0 0;background:rgba(0,0,0,.35);z-index:40}
  .nav-open .top-bar__toggle span:nth-child(1){transform:translateY(9px) rotate(45deg)}
  .nav-open .top-bar__toggle span:nth-child(2){opacity:0}
  .nav-open .top-bar__toggle span:nth-child(3){transform:translateY(-9px) rotate(-45deg)}
  .footer-box{padding:48px 0 56px}
  .footer-bd{flex-direction:column}
  .footer-content{flex-wrap:wrap;gap:24px 40px}
}
