/* DAQI V1.6.21 · 官网型紧凑页脚与文章品牌统一；保留既有品牌、首页和书架交互 */
.footer-new{background:radial-gradient(ellipse 54% 92% at 95% 105%,rgba(8,112,106,.24),transparent 78%),linear-gradient(116deg,#0b2330 0%,#0b2834 70%,#0a3437 100%);padding:0}
.footer-new .footer-grid{display:grid;grid-template-columns:minmax(0,1.46fr) minmax(0,.74fr) minmax(0,.95fr) minmax(0,1.38fr);gap:25px 30px;padding-top:39px;padding-bottom:35px}
.footer-new .footer-grid>.footer-col:last-child{grid-column:auto}
.footer-new .footer-brand .brand{align-items:center;gap:11px}
.footer-new .footer-brand .brand span{display:block}
.footer-new .footer-brand .brand-title{display:block;color:#fff;font-size:22px;line-height:1.25;font-weight:830}
.footer-new .footer-brand .brand-sub{display:block;color:#b7d5d7;font-size:11px;line-height:1.5}
.footer-new .footer-brand p{font-size:12px;line-height:1.8;color:#bbd2d4;margin:14px 0 0}
.footer-new .footer-brand p+p{margin-top:5px}
.footer-new .footer-col h4{font-size:13px;font-weight:750;margin:2px 0 10px;color:#f5fbfb}
.footer-new .footer-col a:not(.footer-contact){display:block;color:#b7d1d7;font-size:12px;line-height:1.95;text-decoration:none}
.footer-new .footer-col a:hover,.footer-new .legal-link:hover{color:#8ff2e7}
.footer-new .footer-col p{color:#b8d0d4;font-size:12px;line-height:1.85;margin:4px 0 9px}
.footer-new .footer-contact{width:min(100%,265px);max-width:265px;display:flex!important;align-items:center;gap:10px;min-height:39px;padding:9px 13px;border-radius:9px;background:linear-gradient(120deg,#0b9187,#08736e);color:#fff!important;font-size:12px!important;font-weight:700}
.footer-new .footer-contact span:last-child{margin-left:auto}
.footer-new .footer-small-links{display:flex;align-items:center;flex-wrap:wrap;gap:5px 13px;margin-top:10px}
.footer-new .footer-small-links a:not(.footer-contact){display:inline;color:#9fbec4;font-size:11px;line-height:1.6}
/* 法律信息放在跨全屏的独立条带，不挤占四栏网格的第一列 */
.footer-new .legal-band{border-top:1px solid rgba(190,231,230,.15);background:rgba(0,13,21,.23)}
.footer-new .legal-inner{min-height:66px;display:flex;align-items:center;justify-content:space-between;gap:14px 30px;padding-top:17px;padding-bottom:max(17px,env(safe-area-inset-bottom));}
.footer-new .legal-copyright{color:#b8cbd0;font-size:11.5px;line-height:1.6;white-space:nowrap;letter-spacing:.005em}
.footer-new .legal-copy-sep{display:inline-block;margin:0 4px;color:#75969c}
.footer-new .legal-filings{display:flex;align-items:center;justify-content:flex-end;gap:7px 22px;flex-wrap:wrap}
.footer-new .legal-link{display:inline-flex;align-items:center;justify-content:center;min-height:27px;text-align:center;font-size:11.5px;font-weight:500;line-height:1.6;color:#c8d9dc!important;white-space:nowrap;text-decoration:none!important;transition:color .18s ease}
.footer-new .legal-link:hover{color:#89f4e8!important;text-decoration:underline!important;text-underline-offset:3px}
.footer-new .legal-link:focus-visible{outline:2px solid #89f4e8;outline-offset:3px;border-radius:3px}
/* 公安备案图标：使用用户提供的原版图标资源 */
.footer-new .legal-police::before{content:none!important;display:none!important}
.footer-new .legal-police{gap:0}
.footer-new .official-police-icon{display:inline-block;width:18px;height:20px;object-fit:contain;flex:none;vertical-align:middle;margin-right:7px}

@media(max-width:1020px){
  .footer-new .footer-grid{grid-template-columns:minmax(0,1.35fr) minmax(0,.8fr) minmax(0,.95fr);gap:23px}
  .footer-new .footer-col[data-home-section=contact]{grid-column:1/-1;max-width:520px}
  .footer-new .legal-inner{flex-direction:column;justify-content:center;gap:5px;padding-top:16px;padding-bottom:max(16px,env(safe-area-inset-bottom))}
  .footer-new .legal-filings{justify-content:center}
}
@media(max-width:640px){
  .footer-new .footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:23px 18px;padding-top:30px;padding-bottom:26px}
  .footer-new .footer-brand{grid-column:1/-1}
  .footer-new .footer-brand p{margin-top:9px}
  .footer-new .footer-brand p+p{margin-top:3px}
  .footer-new .footer-col[data-home-section=contact]{grid-column:1/-1;max-width:none}
  .footer-new .footer-contact{width:100%;max-width:none}
  .footer-new .legal-inner{gap:7px;text-align:center;padding-top:16px;padding-bottom:max(19px,env(safe-area-inset-bottom))}
  .footer-new .legal-copyright{font-size:10.5px;white-space:normal;overflow-wrap:anywhere}
  .footer-new .legal-filings{width:100%;flex-direction:column;gap:1px}
  .footer-new .legal-link{min-height:27px;font-size:11px;white-space:normal;overflow-wrap:anywhere}
}
@media(max-width:340px){.footer-new .legal-copyright{max-width:260px}.footer-new .footer-grid{gap:21px 12px}}
@media(prefers-reduced-motion:reduce){.footer-new .legal-link{transition:none}}
/* 文章页品牌头部，与首页/书架的品牌上下两行规格对齐 */
.articles-header{background:#fff;border-bottom:1px solid #e4efed}
.articles-header .wrap{min-height:70px;display:flex;align-items:center;justify-content:space-between;gap:18px}
.articles-header .brand{display:inline-flex;align-items:center;flex-shrink:0;gap:10px;text-decoration:none;color:#0c2739}
.articles-header .brand img{width:44px;height:44px;object-fit:contain}
.articles-header .brand-stack{display:flex;flex-direction:column;gap:1px}
.articles-header .brand-title{font-size:20px;font-weight:840;line-height:1.2;letter-spacing:-.03em;color:#0b2635}
.articles-header .brand-sub{font-size:10px;line-height:1.35;color:#68838a;font-weight:500;white-space:nowrap}
.articles-header .nav{display:flex;align-items:center;gap:26px;font-size:13px;font-weight:700}
.articles-header .nav a{color:#214250;white-space:nowrap;position:relative;min-height:70px;display:inline-flex;align-items:center;text-decoration:none}
.articles-header .nav a.active,.articles-header .nav a:hover{color:#087e78}
.articles-header .nav a.active:after{content:"";height:2px;position:absolute;bottom:0;left:0;right:0;background:#0bb8aa;border-radius:3px}
.articles-header .article-menu-toggle{display:none;align-items:center;justify-content:center;flex-direction:column;gap:4px;border:1px solid #dbecea;border-radius:9px;width:40px;height:38px;background:#fff;cursor:pointer}
.articles-header .article-menu-toggle span{display:block;width:17px;height:2px;border-radius:2px;background:#17434b}
@media(max-width:760px){
 .articles-header .wrap{min-height:63px;position:relative}
 .articles-header .brand img{width:37px;height:37px}
 .articles-header .brand-title{font-size:17px}
 .articles-header .brand-sub{font-size:10px}
 .articles-header .article-menu-toggle{display:flex}
 .articles-header .nav{display:none;position:absolute;left:18px;right:18px;top:calc(100% - 1px);z-index:80;padding:10px;background:#fff;border:1px solid #d8e9e6;border-radius:0 0 12px 12px;box-shadow:0 16px 35px rgba(11,45,50,.14);flex-direction:column;align-items:stretch;gap:0}
 .articles-header .nav.is-open{display:flex}
 .articles-header .nav a{min-height:42px;padding:0 12px}
 .articles-header .nav a.active:after{bottom:5px;left:12px;right:auto;width:32px}
}
