/*
 * 工会顶栏 —— 结构对齐党建 2026，尺寸/颜色对齐设计稿 lncu_union_site
 * 作用域：body.gh-site
 */
body.gh-site{
  --gh-red:#bd0008;
  --gh-red-dark:#aa0007;
  --gh-text:#1f1f1f;
  --gh-muted:#777;
  --gh-wrap:1120px;
}

body.gh-site .site-header{
  color:#222 !important;
  background:#fff !important;
  position:relative !important;
  overflow:visible !important;
  backdrop-filter:none !important;
  -webkit-backdrop-filter:none !important;
  box-shadow:0 1px 0 rgba(0,0,0,.04) !important;
  height:auto !important;
  min-height:0 !important;
  padding:0 !important;
}

body.gh-site .site-header .topbar{
  height:92px;
  background:linear-gradient(180deg,#c90009 0%,#ac0008 100%);
  color:#fff;
}

body.gh-site .site-header .container{
  width:min(var(--gh-wrap),calc(100% - 48px)) !important;
  margin:0 auto !important;
  max-width:none !important;
  padding:0 !important;
}

body.gh-site .site-header .header-inner{
  height:92px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:24px !important;
  position:relative !important;
}

body.gh-site .site-header .brand{
  display:inline-flex !important;
  align-items:center !important;
  flex:0 0 auto !important;
  margin:0 !important;
  padding:0 !important;
}

body.gh-site .site-header .brand img{
  display:block !important;
  width:430px !important;
  max-height:62px !important;
  height:auto !important;
  max-width:460px !important;
  object-fit:contain !important;
  filter:none !important;
}

body.gh-site .site-header .header-tools{
  display:flex !important;
  align-items:center !important;
  gap:16px !important;
  color:#fff !important;
  font-size:16px !important;
  white-space:nowrap !important;
  position:static !important;
  margin:0 !important;
}

body.gh-site .site-header .header-tools > a{
  color:#fff !important;
  text-decoration:none !important;
  font-weight:400 !important;
  opacity:.96 !important;
}

body.gh-site .site-header .header-tools > a:hover{
  color:#fff !important;
  opacity:1 !important;
}

body.gh-site .site-header .search{
  width:238px;
  height:34px;
  border:1px solid rgba(255,255,255,.65);
  border-radius:18px;
  display:flex;
  align-items:center;
  padding:0 14px;
  background:transparent;
  margin:0;
}

body.gh-site .site-header .search input{
  flex:1;
  min-width:0;
  background:transparent;
  border:0;
  outline:0;
  color:#fff;
  height:100%;
  font-size:14px;
  box-shadow:none;
  padding:0;
}

body.gh-site .site-header .search input::placeholder{color:rgba(255,255,255,.7)}
body.gh-site .site-header .search button{
  width:26px;
  border:0;
  background:transparent;
  color:#fff;
  font-size:22px;
  line-height:1;
  cursor:pointer;
  padding:0;
}

body.gh-site .site-header .nav{
  height:93px !important;
  background:#fff !important;
  border-bottom:1px solid #e7e7e7 !important;
  box-shadow:0 4px 14px rgba(0,0,0,.04) !important;
  position:relative !important;
  display:block !important;
  width:100% !important;
  margin:0 !important;
  padding:0 !important;
}

body.gh-site .site-header .nav-inner{
  height:93px !important;
  display:flex !important;
  align-items:stretch !important;
  justify-content:stretch !important;
  gap:0 !important;
  text-align:center !important;
  font-weight:600 !important;
  color:#333 !important;
  font-size:19px !important;
  flex-wrap:nowrap !important;
}

body.gh-site .site-header .nav a{
  flex:1 1 0 !important;
  height:93px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  border:0 !important;
  position:relative !important;
  margin:0 !important;
  padding:0 8px !important;
  color:#333 !important;
  background:transparent !important;
  font-size:19px !important;
  font-weight:600 !important;
  text-decoration:none !important;
  white-space:nowrap !important;
  border-radius:0 !important;
  box-shadow:none !important;
}

body.gh-site .site-header .nav a.active,
body.gh-site .site-header .nav a:hover{
  color:var(--gh-red) !important;
}

body.gh-site .site-header .nav a.active:after{
  content:"" !important;
  position:absolute !important;
  left:0 !important;
  right:0 !important;
  bottom:-1px !important;
  height:5px !important;
  background:var(--gh-red) !important;
  border-radius:0 !important;
}

body.gh-site .site-header .menu-toggle{
  display:none;
  position:absolute;
  right:14px;
  top:7px;
  width:40px;
  height:40px;
  border:0;
  background:transparent;
  padding:8px;
  cursor:pointer;
  z-index:5;
}
body.gh-site .site-header .menu-toggle span{
  display:block;
  height:2px;
  margin:6px 0;
  background:#1f1f1f;
  border-radius:1px;
}

body.gh-site .gh-list-tabs a.active{
  color:var(--gh-red);
  border-color:var(--gh-red);
}

body.gh-site .news-row-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  display:block;
}

body.gh-site.secondary-page .site-header,
body.gh-site.secondary-page header.site-header{
  background:#fff !important;
  box-shadow:0 1px 0 rgba(0,0,0,.04) !important;
}

@media (max-width:1160px){
  body.gh-site .site-header .brand img{
    width:400px !important;
  }
}

@media (max-width:760px){
  body.gh-site .site-header .topbar{height:auto}
  body.gh-site .site-header .header-inner{
    height:auto !important;
    min-height:78px !important;
    align-items:flex-start !important;
    flex-direction:column !important;
    gap:14px !important;
    padding:18px 0 !important;
  }
  body.gh-site .site-header .brand img{
    width:min(92vw,430px) !important;
    max-width:100% !important;
    max-height:none !important;
  }
  body.gh-site .site-header .header-tools{
    width:100% !important;
    justify-content:space-between !important;
  }
  body.gh-site .site-header .search{width:170px}

  body.gh-site .site-header .nav{
    height:auto !important;
    min-height:54px;
  }
  body.gh-site .site-header .menu-toggle{
    display:block;
  }
  body.gh-site .site-header .nav-inner{
    display:none !important;
    height:auto !important;
    flex-direction:column !important;
    align-items:stretch !important;
    background:#fff;
    border:1px solid #eee;
    border-radius:8px;
    margin:8px 0 12px;
    padding:8px;
    box-shadow:0 12px 28px rgba(0,0,0,.08);
  }
  body.gh-site .site-header .nav-inner.show{
    display:flex !important;
  }
  body.gh-site .site-header .nav a{
    height:54px !important;
    flex:none !important;
    justify-content:flex-start !important;
    padding:0 16px !important;
    font-size:16px !important;
  }
  body.gh-site .site-header .nav a.active:after{
    left:16px !important;
    right:auto !important;
    width:28px !important;
    bottom:10px !important;
    height:3px !important;
  }
  body.gh-site .site-header .container{
    width:min(var(--gh-wrap),calc(100% - 30px)) !important;
  }
}
