/* 2026-12-04 页脚底部区域统一单色重设
 * 只作用于 .site-footer-redesign；由 includes/site-footer.php 最后加载。
 * 用户确认：整块页脚只保留一种深蓝底色，底部信息栏与主体完全同色。
 * 内容、链接、二维码、备案文字保持不变；只重做视觉层级。
 */

html body .site-footer-compact.site-footer-redesign{
  --fr-bg:#0A294F;
  --fr-white:#FFFFFF;
  --fr-gold:#D4A65A;
  --fr-text:rgba(255,255,255,.84);
  --fr-soft:rgba(255,255,255,.68);
  --fr-line:rgba(212,166,90,.30);
  position:relative;
  background:var(--fr-bg)!important;
  background-image:none!important;
  border-top:1px solid rgba(212,166,90,.55)!important;
  box-shadow:none!important;
  color:var(--fr-white)!important;
}

html body .site-footer-compact.site-footer-redesign .footer-compact-shell{
  width:min(1480px,calc(100% - 64px));
}

/* 1. 顶部服务优势条：用户确认不需要，整条隐藏，页脚主体直接承接上方内容 */
html body .site-footer-compact.site-footer-redesign .footer-compact-benefits{
  display:none!important;
}

/* 2. 页脚主体：同色背景上做纯排版层级，不再叠加卡片和渐变 */
html body .site-footer-compact.site-footer-redesign .footer-compact-main{
  grid-template-columns:minmax(300px,1fr) minmax(430px,1.12fr) minmax(280px,.84fr)!important;
  gap:0!important;
  align-items:start!important;
  padding:42px 0 30px!important;
}
html body .site-footer-compact.site-footer-redesign .footer-compact-brand{
  grid-template-columns:110px minmax(0,1fr)!important;
  gap:18px!important;
  align-items:center!important;
  padding-right:28px!important;
  min-width:0;
}
html body .site-footer-compact.site-footer-redesign .footer-compact-building{
  height:108px!important;
  display:grid!important;
  place-items:center!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
html body .site-footer-compact.site-footer-redesign .footer-compact-building img{
  max-height:100%!important;
  opacity:.72!important;
  filter:brightness(0) invert(1)!important;
}
html body .site-footer-compact.site-footer-redesign .footer-compact-brand-eyebrow{
  display:block!important;
  margin:0 0 8px!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  color:var(--fr-soft)!important;
  -webkit-text-fill-color:var(--fr-soft)!important;
  font-size:10px!important;
  line-height:1.4!important;
  font-weight:700!important;
  letter-spacing:.18em!important;
  text-transform:uppercase!important;
}
html body .site-footer-compact.site-footer-redesign .footer-compact-brand-copy{
  padding-left:18px!important;
  border-left:1px solid var(--fr-line)!important;
}
html body .site-footer-compact.site-footer-redesign .footer-compact-brand-copy h3{
  margin:0 0 10px!important;
  color:var(--fr-gold)!important;
  -webkit-text-fill-color:var(--fr-gold)!important;
  font-size:19px!important;
  line-height:1.45!important;
  font-weight:700!important;
  letter-spacing:.01em!important;
}
html body .site-footer-compact.site-footer-redesign .footer-compact-brand-copy p{
  margin:0!important;
  color:var(--fr-text)!important;
  -webkit-text-fill-color:var(--fr-text)!important;
  font-size:12.5px!important;
  line-height:1.9!important;
}

/* 3. 页脚导航：三列等重，白字分级，去掉金色标题和多余装饰线 */
html body .site-footer-compact.site-footer-redesign .footer-compact-navs{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:0!important;
  border-left:1px solid var(--fr-line)!important;
  border-right:1px solid var(--fr-line)!important;
  padding:0 4px!important;
  background:transparent!important;
}
html body .site-footer-compact.site-footer-redesign .footer-compact-nav{
  padding:0 20px!important;
  border-right:1px solid var(--fr-line)!important;
  background:transparent!important;
}
html body .site-footer-compact.site-footer-redesign .footer-compact-nav:last-child{
  border-right:0!important;
}
html body .site-footer-compact.site-footer-redesign .footer-compact-nav h3{
  margin:0 0 18px!important;
  color:var(--fr-gold)!important;
  -webkit-text-fill-color:var(--fr-gold)!important;
  font-size:13px!important;
  line-height:1.3!important;
  font-weight:700!important;
  letter-spacing:.08em!important;
}
html body .site-footer-compact.site-footer-redesign .footer-compact-nav h3::after{
  content:none!important;
  display:none!important;
  background:transparent!important;
}
html body .site-footer-compact.site-footer-redesign .footer-compact-nav>div{
  gap:10px!important;
}
html body .site-footer-compact.site-footer-redesign .footer-compact-nav a{
  display:block!important;
  padding:0!important;
  color:var(--fr-text)!important;
  -webkit-text-fill-color:var(--fr-text)!important;
  font-size:12.5px!important;
  line-height:1.6!important;
  text-decoration:none!important;
  transform:none!important;
  transition-property:color,-webkit-text-fill-color,padding-left!important;
  transition-duration:.14s!important;
  transition-timing-function:ease!important;
}
html body .site-footer-compact.site-footer-redesign .footer-compact-nav a:hover,
html body .site-footer-compact.site-footer-redesign .footer-compact-nav a:focus-visible{
  padding-left:2px!important;
  transform:none!important;
  color:var(--fr-white)!important;
  -webkit-text-fill-color:var(--fr-white)!important;
}

/* 4. 联系与二维码：取消玻璃卡，只用细线与主体同色 */
html body .site-footer-compact.site-footer-redesign .footer-compact-contact{
  min-width:0!important;
  padding:0 0 0 24px!important;
  border:0!important;
  border-left:1px solid var(--fr-line)!important;
  border-radius:0!important;
  background:transparent!important;
  background-image:none!important;
  box-shadow:none!important;
}
html body .site-footer-compact.site-footer-redesign .footer-compact-contact-top{
  display:grid!important;
  grid-template-columns:1fr!important;
  grid-template-rows:auto auto!important;
  gap:18px!important;
  align-items:start!important;
}
html body .site-footer-compact.site-footer-redesign .footer-compact-contact-lines{
  grid-column:1!important;
  grid-row:1!important;
  min-width:0!important;
  gap:10px!important;
}
html body .site-footer-compact.site-footer-redesign .footer-compact-phone-row{
  align-items:center!important;
  gap:12px!important;
  margin:0!important;
}
html body .site-footer-compact.site-footer-redesign .footer-compact-phone-icon{
  width:32px!important;
  height:32px!important;
  margin:0!important;
  border:1px solid var(--fr-line)!important;
  border-radius:50%!important;
  display:grid!important;
  place-items:center!important;
  background:transparent!important;
  color:var(--fr-gold)!important;
  -webkit-text-fill-color:var(--fr-gold)!important;
}
html body .site-footer-compact.site-footer-redesign .footer-compact-phone-icon .site-icon{width:18px!important;height:18px!important}
html body .site-footer-compact.site-footer-redesign .footer-compact-phone-numbers a{
  color:var(--fr-white)!important;
  -webkit-text-fill-color:var(--fr-white)!important;
  font-size:21px!important;
  font-weight:700!important;
  line-height:1.25!important;
  letter-spacing:.02em!important;
}
html body .site-footer-compact.site-footer-redesign .footer-compact-phone-numbers a:hover{
  color:var(--fr-white)!important;
  -webkit-text-fill-color:var(--fr-white)!important;
  opacity:.8;
}
html body .site-footer-compact.site-footer-redesign .footer-compact-contact-lines p{
  gap:10px!important;
  color:var(--fr-text)!important;
  -webkit-text-fill-color:var(--fr-text)!important;
  font-size:12px!important;
  line-height:1.6!important;
}
html body .site-footer-compact.site-footer-redesign .footer-compact-contact-lines p span{
  color:var(--fr-gold)!important;
  -webkit-text-fill-color:var(--fr-gold)!important;
}
html body .site-footer-compact.site-footer-redesign .footer-compact-contact-lines em{
  color:var(--fr-text)!important;
  -webkit-text-fill-color:var(--fr-text)!important;
}
html body .site-footer-compact.site-footer-redesign .footer-compact-qrs{
  grid-column:1!important;
  grid-row:2!important;
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:10px!important;
  width:100%!important;
  max-width:none!important;
  justify-content:stretch!important;
  justify-self:stretch!important;
  background:transparent!important;
}
html body .site-footer-compact.site-footer-redesign .footer-compact-qr,
html body .site-footer-compact.site-footer-redesign .footer-qr-item{
  width:100%!important;
  min-width:0!important;
  height:auto!important;
  min-height:0!important;
  margin:0!important;
  padding:8px 2px!important;
  border:1px solid var(--fr-line)!important;
  border-radius:8px!important;
  background:transparent!important;
  box-shadow:none!important;
  transition:border-color .18s,opacity .18s;
}
html body .site-footer-compact.site-footer-redesign .footer-compact-qr:hover,
html body .site-footer-compact.site-footer-redesign .footer-qr-item:hover{
  border-color:rgba(212,166,90,.55)!important;
  opacity:.9;
}
html body .site-footer-compact.site-footer-redesign .footer-compact-qr img{
  width:50px!important;
  height:50px!important;
  padding:3px!important;
  border:0!important;
  border-radius:6px!important;
  background:#fff!important;
}
html body .site-footer-compact.site-footer-redesign .footer-compact-qr strong{
  max-width:100%!important;
  color:var(--fr-text)!important;
  -webkit-text-fill-color:var(--fr-text)!important;
  font-size:9.5px!important;
  line-height:1.3!important;
  white-space:normal!important;
  overflow:visible!important;
  text-overflow:clip!important;
}
html body .site-footer-compact.site-footer-redesign .footer-compact-qr.is-empty span{
  width:50px!important;
  height:50px!important;
  border-radius:8px!important;
  color:var(--fr-gold)!important;
  -webkit-text-fill-color:var(--fr-gold)!important;
}

/* 5. 友情链接与备案：与主体完全同色，只用细线分区 */
html body .site-footer-compact.site-footer-redesign .bhmz-friend-links{
  gap:22px!important;
  padding:16px 0!important;
  border-top:1px solid var(--fr-line)!important;
  border-bottom:0!important;
  background:transparent!important;
  background-image:none!important;
  box-shadow:none!important;
}
html body .site-footer-compact.site-footer-redesign .bhmz-friend-links__title{
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:var(--fr-gold)!important;
  -webkit-text-fill-color:var(--fr-gold)!important;
  font-size:11px!important;
  font-weight:700!important;
  letter-spacing:.12em!important;
  text-transform:uppercase!important;
}
html body .site-footer-compact.site-footer-redesign .bhmz-friend-links__list a{
  color:var(--fr-text)!important;
  -webkit-text-fill-color:var(--fr-text)!important;
  font-size:12px!important;
}
html body .site-footer-compact.site-footer-redesign .bhmz-friend-links__list a:hover,
html body .site-footer-compact.site-footer-redesign .bhmz-friend-links__list a:focus-visible{
  color:var(--fr-white)!important;
  -webkit-text-fill-color:var(--fr-white)!important;
}
html body .site-footer-compact.site-footer-redesign .footer-compact-bottom.footer-compact-bottom--beian{
  min-height:auto!important;
  padding:14px 0 20px!important;
  border-top:1px solid var(--fr-line)!important;
  background:transparent!important;
  background-image:none!important;
  box-shadow:none!important;
  gap:8px!important;
}
html body .site-footer-compact.site-footer-redesign .footer-compact-copyright-line{
  color:var(--fr-soft)!important;
  -webkit-text-fill-color:var(--fr-soft)!important;
  font-size:11.5px!important;
}
html body .site-footer-compact.site-footer-redesign .footer-compact-beian-line{
  color:var(--fr-soft)!important;
  -webkit-text-fill-color:var(--fr-soft)!important;
  font-size:10.5px!important;
}
html body .site-footer-compact.site-footer-redesign .footer-beian-item{
  color:var(--fr-soft)!important;
  -webkit-text-fill-color:var(--fr-soft)!important;
  text-decoration:none!important;
  cursor:pointer!important;
}
html body .site-footer-compact.site-footer-redesign a.footer-beian-item:hover{
  color:var(--fr-white)!important;
  -webkit-text-fill-color:var(--fr-white)!important;
}
html body .site-footer-compact.site-footer-redesign .footer-beian-icon,
html body .site-footer-compact.site-footer-redesign .footer-beian-icon--mps{
  color:var(--fr-gold)!important;
  -webkit-text-fill-color:var(--fr-gold)!important;
}

/* 6. 响应式：只调整栅格，不再引入任何新的背景色 */
@media(max-width:1240px){
  html body .site-footer-compact.site-footer-redesign .footer-compact-main{
    grid-template-columns:1fr 1.12fr!important;
    gap:0!important;
  }
  html body .site-footer-compact.site-footer-redesign .footer-compact-contact{
    grid-column:1/-1!important;
    border-left:0!important;
    border-top:1px solid var(--fr-line)!important;
    padding:22px 0 0!important;
  }
  html body .site-footer-compact.site-footer-redesign .footer-compact-contact-top{
    grid-template-columns:1fr 1fr!important;
    grid-template-rows:auto!important;
    align-items:center!important;
  }
  html body .site-footer-compact.site-footer-redesign .footer-compact-contact-lines{
    grid-column:1!important;
    grid-row:1!important;
  }
  html body .site-footer-compact.site-footer-redesign .footer-compact-qrs{
    grid-column:2!important;
    grid-row:1!important;
  }
}
@media(max-width:900px){
  html body .site-footer-compact.site-footer-redesign .footer-compact-main{
    grid-template-columns:1fr!important;
    padding:32px 0 24px!important;
  }
  html body .site-footer-compact.site-footer-redesign .footer-compact-brand{
    padding:0 0 22px!important;
    border-bottom:1px solid var(--fr-line)!important;
  }
  html body .site-footer-compact.site-footer-redesign .footer-compact-navs{
    border-left:0!important;
    border-right:0!important;
    border-bottom:1px solid var(--fr-line)!important;
    padding:22px 0!important;
  }
  html body .site-footer-compact.site-footer-redesign .footer-compact-contact{
    grid-column:auto!important;
    border-top:0!important;
    padding:22px 0 0!important;
  }
  html body .site-footer-compact.site-footer-redesign .footer-compact-contact-top{
    grid-template-columns:1fr!important;
    grid-template-rows:auto auto!important;
  }
  html body .site-footer-compact.site-footer-redesign .footer-compact-qrs{
    grid-column:1!important;
    grid-row:2!important;
  }
  html body .site-footer-compact.site-footer-redesign .footer-compact-brand{
    grid-template-columns:96px minmax(0,1fr)!important;
  }
  html body .site-footer-compact.site-footer-redesign .footer-compact-building{height:92px!important}
}
@media(max-width:768px){
  html body .site-footer-compact.site-footer-redesign{display:none!important}
}
@media(prefers-reduced-motion:reduce){
  html body .site-footer-compact.site-footer-redesign *{transition:none!important}
}
