/* ============================================================
 * bu-header.css —— 事业部站统一页头布局（20261003）
 * 适用：装修666zszs / 广告0371gs / 设计cmgsgw / 策划322881（防雷站走 fanglei-site.css）
 * 布局：第一行 恒守标语（左）+ 咨询热线（右）；第二行 LOGO（放大1.4倍）+品牌字紧贴其下 + 导航居右
 * 原则：纯站级文件，不改 9 站共享组件；堆叠布局仅桌面端，手机端维持共享移动头部机制
 * ============================================================ */
@media(min-width:861px){
  /* 第一行：恒守左 / 热线右 */
  .topbar .container,.header_top .container,.header_top{
    display:flex !important;justify-content:space-between !important;align-items:center !important;
  }
  .topbar,.topbar .container,.header_top{background:#fff !important;color:inherit !important}
  .topbar .container span,.header_top span{white-space:nowrap}
  .topbar .container .bu-hs,.header_top .bu-hs{font-weight:700;letter-spacing:.5px}
  /* 热线号码统一品牌红（部分站原字色过浅在白底上看不见） */
  .topbar a.hot,.header_top a.hot{color:#c9281e !important;font-weight:700 !important}

  /* 第二行：LOGO 纵向堆叠，图片统一 98px（原 70px × 1.4），品牌字紧贴 LOGO 下方
     选择器说明：各站骨架不一（header.top / header.header / navbar-fixed-top），
     但 .logo-stack 与 .logo-sub 是共享标记，直接命中 */
  .logo-stack,.logo{
    display:flex !important;flex-direction:column !important;align-items:center !important;
    gap:3px !important;text-decoration:none !important;
  }
  .logo-stack img,.logo img{
    height:98px !important;width:auto !important;max-width:none !important;display:block !important;
  }
  .logo-stack .logo-sub,.logo .logo-sub{
    display:block !important;margin:0 !important;border-left:none !important;padding:0 !important;
    text-align:center !important;line-height:1.3 !important;font-size:13px !important;
    white-space:nowrap !important;letter-spacing:.5px;
  }
  /* 导航与 LOGO 垂直居中；工具条（登录/注册）不折行 */
  header.top>.wrap,header.header>.wrap,.navbar .container{align-items:center !important;flex-wrap:nowrap !important}
  .top .nav>ul,.header .nav>ul{align-items:center !important}
  .top .nav,.header .nav{border-bottom:none !important}
  .jz-authbar{margin-left:auto !important;flex:0 0 auto !important}
}
/* 手机端：仅防溢出兜底，不改变共享移动头部机制 */
@media(max-width:860px){
  html,body{overflow-x:hidden !important}
  .topbar .container{flex-wrap:wrap !important}
  .topbar .container span{white-space:normal !important}
  .jzl-mh-slogan{font-weight:700 !important}
}

  /* T44b 20261004 站长反馈：下滑时固定导航仍占半屏 -> 改随页面滚动（与其他站行为一致） */
  .navbar-fixed-top,.navbar.navbar-fixed-top{position:static !important;top:auto !important}
  .topbar{position:static !important}
