/* 依据用户提供的 2026 静态站参考图进行的紧凑型视觉修订 */
body{background:#f5f7fa;color:#1f2733;font-size:14px;line-height:1.65}.container{width:min(1200px,calc(100% - 30px))}.topbar{display:none}.main-header{height:68px;background:#fff;border-bottom:1px solid #edf1f5}.brand{gap:9px}.brand-mark{width:37px;height:37px;border-radius:7px;font-size:20px;box-shadow:none}.brand-text strong{font-size:20px}.brand-text small{font-size:10px}.header-search{width:315px;height:34px;border:1px solid #dce4ee}.header-search button{width:62px;background:#2674ef}.nav{height:42px;background:#fff;color:#2f3b4c;border-bottom:1px solid #dbe3ed;box-shadow:0 2px 7px rgba(23,48,78,.06)}.nav .container{justify-content:flex-start}.nav a{height:42px;padding:0 18px;font-size:13px;position:relative}.nav a:hover,.nav a.active{background:#fff;color:#1767e8}.nav a.active:after{content:"";position:absolute;left:18px;right:18px;bottom:0;height:2px;background:#1767e8}.hero{min-height:270px;background:linear-gradient(90deg,rgba(6,25,47,.96),rgba(8,35,65,.82) 52%,rgba(8,38,69,.18)),url('../images/hero-handwriting.jpg') center/cover no-repeat}.hero:after{display:none}.hero-grid{min-height:270px;grid-template-columns:1fr}.hero .eyebrow{display:none}.hero h1{font-size:30px;margin:0 0 10px}.hero p{font-size:14px;max-width:650px}.hero-panel{display:none}.hero-actions{display:none}.hero-search-inline{display:flex;width:min(610px,100%);height:42px;margin-top:23px;border-radius:5px;overflow:hidden;background:#fff}.hero-search-inline input{flex:1;min-width:0;border:0;padding:0 15px;outline:0}.hero-search-inline button{width:78px;border:0;background:#2674ef;color:#fff}.hero-quick{display:flex;gap:16px;margin-top:13px;color:#d9e8f7;font-size:12px}.hot-search{display:none}.section{padding:36px 0;background:#fff}.section.soft{background:#fff}.section+.section{border-top:10px solid #f5f7fa}.section-head{margin-bottom:18px}.section-title{font-size:20px}.section-title small{display:none}.more{font-size:12px;color:#6e7d91}.category-grid{grid-template-columns:repeat(6,1fr);gap:8px}.category-card{min-height:105px;padding:14px 8px;text-align:center;border:0;border-radius:4px;background:#fff;box-shadow:none}.category-card:before{content:"✎";display:grid;place-items:center;width:32px;height:32px;margin:0 auto 9px;border:1px solid #c7dbfb;border-radius:6px;color:#2674ef;font-size:18px}.category-card:nth-child(2):before{content:"⌁"}.category-card:nth-child(3):before{content:"▣"}.category-card:nth-child(4):before{content:"字"}.category-card:nth-child(5):before{content:"文"}.category-card:nth-child(6):before{content:"案"}.category-card:hover{transform:none;box-shadow:0 5px 15px rgba(32,91,170,.08)}.category-card:after,.category-card .cat-no,.category-card .cat-arrow,.category-card p{display:none}.category-card h3{margin:0;color:#235ba3;font-size:14px}.case-grid{display:grid;grid-template-columns:repeat(4,1fr);grid-template-rows:145px;gap:13px}.case-card,.case-card:first-child{grid-column:auto;grid-row:auto;border-radius:6px}.case-card:nth-child(n+5){display:none}.case-visual{background-position:center;background-size:cover}.case-card:nth-child(1) .case-visual{background-image:url('../images/handwriting-detail.jpg')}.case-card:nth-child(2) .case-visual{background-image:url('../images/signature-design.jpg')}.case-card:nth-child(3) .case-visual{background-image:url('../images/handwritten-documents.jpg')}.case-card:nth-child(4) .case-visual{background-image:url('../images/hero-handwriting.jpg')}.case-visual:before{display:none}.case-info{padding:25px 11px 8px}.case-info strong{font-size:12px}.home-columns{grid-template-columns:1.35fr .65fr;gap:25px}.article-row{grid-template-columns:116px 1fr;gap:14px;padding:13px 0}.thumb{height:76px;border-radius:4px;background-position:center;background-size:cover}.article-row:nth-child(4n+1) .thumb{background-image:url('../images/handwriting-detail.jpg')}.article-row:nth-child(4n+2) .thumb{background-image:url('../images/signature-design.jpg')}.article-row:nth-child(4n+3) .thumb{background-image:url('../images/handwritten-documents.jpg')}.article-row:nth-child(4n) .thumb{background-image:url('../images/hero-handwriting.jpg')}.thumb:after{display:none}.article-row h3{font-size:14px;margin:0 0 4px}.article-row p{font-size:12px;line-height:1.5}.meta{font-size:11px;margin-top:4px}.city-box{padding:18px;background:#fff;color:#1f2733;border:1px solid #e4e9ef;border-radius:5px}.city-box h3{font-size:17px;color:#192c46}.city-box p{color:#8b96a5}.city-list{grid-template-columns:repeat(4,1fr);gap:7px}.city-list a{padding:6px 3px;background:#f8fafc;border:1px solid #e6ebf2;color:#5e6b7b}.city-list a:hover{background:#2674ef;color:#fff}.rank-box{padding:17px;border-radius:5px}.rank-box h3{font-size:16px}.rank-list li{padding:7px 0;font-size:12px}.faq-list{gap:12px}.faq-item{padding:14px 16px;border-radius:4px}.faq-item h3{font-size:13px}.faq-item p{font-size:12px}.keyword-wall{background:#0e2135}.footer{background:#0b1d30}.footer-main{padding:32px 0;gap:35px}.footer .brand-text strong{font-size:18px}.footer-bottom{padding:12px 0}.breadcrumb{padding:10px 0;font-size:12px}.page-banner{padding:25px 0;background:#f7f9fc;color:#182940;border-bottom:1px solid #e4e9ef}.page-banner h1{font-size:23px}.page-banner p{color:#78879a}.content-layout{grid-template-columns:205px 1fr;gap:24px;padding:25px 0 48px}.sidebar-card{margin-bottom:15px}.sidebar-title{padding:11px 13px;background:#2674ef;font-size:14px}.side-menu{padding:5px 13px 12px}.side-menu a{padding:8px 3px;font-size:12px}.list-main .article-row{grid-template-columns:130px 1fr;padding:0 0 15px;margin-bottom:15px}.list-main .thumb{height:86px}.pagination{margin-top:20px}.pagination a{min-width:30px;height:30px;font-size:12px}.article-layout{grid-template-columns:minmax(0,1fr) 210px;gap:24px;padding:25px 0 48px}.article-body{padding:25px 30px}.article-header{text-align:left;padding-bottom:14px}.article-header h1{font-size:23px}.article-content{font-size:14px;line-height:1.8}.article-content h2{font-size:17px;margin:25px 0 9px}.article-content h3{font-size:14px}.article-image{height:auto;margin:18px 0;background:none;overflow:visible}.article-image:after{display:none}.article-photo-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.article-photo-grid img{width:100%;height:175px;object-fit:cover;border-radius:5px}.article-photo-grid figure{margin:0;position:relative}.article-photo-grid figcaption{position:absolute;left:0;right:0;bottom:0;padding:22px 10px 7px;color:#fff;font-size:11px;background:linear-gradient(transparent,rgba(0,0,0,.75));border-radius:0 0 5px 5px}.article-faq{padding:17px}.related ul{gap:6px 20px}.city-hero{padding:36px 0;background:linear-gradient(90deg,rgba(8,38,70,.95),rgba(14,80,145,.72)),url('../images/hero-handwriting.jpg') center/cover}.city-hero h1{font-size:27px}.service-grid{gap:12px}.service-card{padding:18px;box-shadow:0 4px 15px rgba(23,50,85,.07)}.service-card h3{font-size:15px}.service-card p{font-size:12px}
@media(max-width:900px){.category-grid{grid-template-columns:repeat(3,1fr)}.case-grid{grid-template-columns:repeat(2,1fr);grid-template-rows:145px 145px}.article-layout{grid-template-columns:minmax(0,1fr) 190px}.article-photo-grid img{height:145px}}
@media(max-width:680px){body{background:#fff}.main-header{height:62px}.nav{background:#fff}.hero,.hero-grid{min-height:245px}.hero h1{font-size:24px}.hero-search-inline{height:38px}.hero-quick{gap:8px;flex-wrap:wrap}.section{padding:26px 0}.section+.section{border-top-width:7px}.category-grid{grid-template-columns:repeat(3,1fr)}.case-grid{grid-template-columns:repeat(2,1fr);grid-template-rows:125px 125px}.home-columns{display:block}.article-layout{display:block}.article-layout aside{display:none}.article-body{padding:20px 14px;border:0}.article-photo-grid img{height:120px}.footer-main{padding:26px 0}}

/* 阅读字号与完整栏目页面 */
body{font-size:15px}.nav a{font-size:15px}.brand-text small{font-size:11px}.hero p{font-size:15px}.category-card h3{font-size:15px}.case-info strong{font-size:13px}.article-row h3{font-size:16px}.article-row p{font-size:14px;line-height:1.65}.meta{font-size:12px}.side-menu a{font-size:14px}.rank-list li{font-size:13px}.faq-item h3{font-size:15px}.faq-item p{font-size:14px}.article-content{font-size:16px;line-height:1.88}.article-content h2{font-size:19px}.article-content h3{font-size:16px}.footer p,.footer-links{font-size:13px}.breadcrumb{font-size:13px}.service-card p{font-size:14px}
.case-filter{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:22px}.case-filter a{padding:8px 18px;border:1px solid #dfe6ee;border-radius:4px;background:#fff}.case-filter a:hover,.case-filter a.active{background:#2674ef;border-color:#2674ef;color:#fff}.case-list-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.case-list-card{overflow:hidden;border:1px solid #e1e7ee;border-radius:6px;background:#fff;transition:.2s}.case-list-card:hover{transform:translateY(-3px);box-shadow:0 8px 22px rgba(23,50,85,.1)}.case-list-card img{width:100%;height:155px;object-fit:cover}.case-list-card div{padding:14px}.case-list-card span{color:#2674ef;font-size:12px}.case-list-card h2{margin:5px 0 6px;font-size:16px;color:#17385f}.case-list-card p{margin:0;color:#6d7888;font-size:13px}
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.contact-card{padding:26px;border:1px solid #e1e7ee;border-top:3px solid #2674ef;background:#fff}.contact-card h2,.contact-note h2{margin:0 0 18px;color:#17385f;font-size:21px}.contact-card dl{display:grid;grid-template-columns:100px 1fr;gap:12px;margin:0}.contact-card dt{color:#7b8797}.contact-card dd{margin:0;color:#26384f}.contact-card li{margin:10px 0}.contact-note{margin-top:28px}
.search-page{min-height:580px;padding:38px 0 60px}.search-page-head{padding:28px;border:1px solid #e1e7ee;background:#fff}.search-page-head h1{margin:0 0 18px;color:#17385f;font-size:25px}.search-page-form{display:flex;max-width:760px;height:46px;border:2px solid #2674ef;border-radius:5px;overflow:hidden}.search-page-form input{flex:1;min-width:0;border:0;padding:0 15px;outline:0}.search-page-form button{width:90px;border:0;background:#2674ef;color:#fff;cursor:pointer}.search-suggestions{display:flex;gap:10px 18px;flex-wrap:wrap;margin-top:13px;color:#738093;font-size:13px}.search-suggestions a{color:#2674ef}.search-page section>h2{margin:28px 0 14px;font-size:18px;color:#26384f}.search-page-results{display:grid;gap:12px}.search-page-card{display:grid;grid-template-columns:150px 1fr;gap:18px;padding:16px;border:1px solid #e1e7ee;background:#fff}.search-page-card img{width:150px;height:96px;object-fit:cover;border-radius:4px}.search-page-card h3{margin:0 0 6px;color:#17385f;font-size:17px}.search-page-card p{margin:0;color:#6d7888;font-size:14px}.search-page-card .search-meta{margin-top:8px;color:#97a2af;font-size:12px}.search-page-empty{padding:40px;text-align:center;border:1px dashed #ccd5df;background:#fff;color:#7d8897}
@media(max-width:900px){.case-list-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:680px){body{font-size:15px}.nav a{font-size:15px}.article-row h3{font-size:15px}.article-row p{font-size:13px}.article-content{font-size:16px}.case-list-grid,.contact-grid{grid-template-columns:1fr}.case-list-card img{height:185px}.search-page{padding:24px 0 40px}.search-page-head{padding:18px}.search-page-card{grid-template-columns:100px 1fr;gap:12px;padding:12px}.search-page-card img{width:100px;height:78px}.search-page-card p{display:none}}

/* 参考同类信息站后的导航、字号与移动端层级修订 */
.main-header{height:76px}
.brand-mark{width:42px;height:42px;font-size:22px}
.brand-text strong{font-size:23px;line-height:1.15}
.brand-text small{margin-top:3px;font-size:12px}
.header-search{height:38px}
.header-search input,.header-search button{font-size:14px}
.nav{height:46px;position:relative;z-index:30}
.nav a{height:46px;padding:0 20px;font-size:16px;font-weight:500}
.nav a.active{font-weight:700}
.nav a.active:after{left:20px;right:20px;height:3px}
.home-page .main-header .header-search{display:none}
.category-card{min-height:124px;padding:17px 8px}
.category-card:before{width:54px;height:54px;margin-bottom:11px;border-width:2px;border-radius:10px;font-size:30px;line-height:1}
.category-card h3{font-size:16px;font-weight:600}
.case-list-card span{font-size:13px}
.case-list-card h2{font-size:17px;line-height:1.45}
.case-list-card p{font-size:14px;line-height:1.65}
.case-count{margin:24px 0 0;color:#788697;text-align:center;font-size:14px}
.category-faq{margin-top:34px;padding-top:26px;border-top:1px solid #e1e7ee}
.category-faq .section-head{margin-bottom:16px}
.category-faq .section-title{font-size:20px}
.category-faq .faq-list{grid-template-columns:1fr}
.category-faq .faq-item{padding:16px 18px;background:#f8fafc}

@media(max-width:680px){
  .main-header{height:68px}
  .brand-mark{width:40px;height:40px;font-size:21px}
  .brand-text strong{font-size:21px}
  .nav{height:auto;z-index:40}
  .menu-toggle{height:50px;padding:0 16px;background:#123d6a;font-size:16px;font-weight:700;letter-spacing:.2px}
  .menu-toggle span{font-size:21px}
  .nav.open .container{position:absolute;top:50px;left:0;right:0;width:100%;padding:4px 12px 10px;background:#fff;border-bottom:1px solid #dce4ee;box-shadow:0 12px 25px rgba(16,42,76,.2)}
  .nav a{height:50px;padding:0 14px;border-bottom:1px solid #edf1f5;color:#24364b;font-size:16px;font-weight:500;background:#fff}
  .nav a:last-child{border-bottom:0}
  .nav a:hover,.nav a.active{background:#f2f7ff;color:#1767e8}
  .nav a.active:after{left:0;right:auto;top:12px;bottom:12px;width:3px;height:auto}
  .category-grid{gap:12px 8px}
  .category-card{min-height:116px;padding:14px 5px}
  .category-card:before{width:48px;height:48px;font-size:26px}
  .category-card h3{font-size:15px}
}

/* 新增图片素材映射 */
.case-card:nth-child(1) .case-visual{background-image:url('../images/handwriting-note-v2.jpg')}
.case-card:nth-child(2) .case-visual{background-image:url('../images/signature-study-v2.jpg')}
.case-card:nth-child(3) .case-visual{background-image:url('../images/document-comparison-v2.jpg')}
.case-card:nth-child(4) .case-visual{background-image:url('../images/font-workshop-v2.jpg')}
.article-row:nth-child(4n+1) .thumb{background-image:url('../images/handwriting-note-v2.jpg')}
.article-row:nth-child(4n+2) .thumb{background-image:url('../images/signature-study-v2.jpg')}
.article-row:nth-child(4n+3) .thumb{background-image:url('../images/document-comparison-v2.jpg')}
.article-row:nth-child(4n) .thumb{background-image:url('../images/font-workshop-v2.jpg')}
.article-row .thumb{background-image:var(--thumb-image,none)!important}
.article-row .thumb img{width:100%;height:100%;object-fit:cover;object-position:center;transition:transform .25s ease}
.article-row .thumb:hover img{transform:scale(1.035)}

.case-detail-page{padding:30px 0 58px}
.case-detail{max-width:920px;margin:auto;padding:32px 42px;border:1px solid #e0e7ef;background:#fff}
.case-detail header{padding-bottom:20px;border-bottom:1px solid #e4e9ef}
.case-detail header span{color:#2674ef;font-size:14px;font-weight:700}
.case-detail h1{margin:7px 0 8px;color:#17385f;font-size:29px;line-height:1.4}
.case-detail header p{margin:0;color:#8a96a5;font-size:13px}
.case-cover{width:100%;height:390px;margin:24px 0;object-fit:cover;border-radius:6px}
.case-detail section{margin:26px 0}
.case-detail section h2{margin:0 0 11px;padding-left:12px;border-left:4px solid #2674ef;color:#17385f;font-size:20px}
.case-detail section p,.case-detail section li{font-size:16px;line-height:1.9}
.case-detail section ul,.case-detail section ol{padding-left:24px}
.case-back{display:flex;justify-content:space-between;gap:20px;margin-top:32px;padding-top:18px;border-top:1px solid #e4e9ef;color:#2674ef}
@media(max-width:680px){.case-detail-page{padding:0 0 34px}.case-detail{padding:24px 14px;border:0}.case-detail h1{font-size:24px}.case-cover{height:220px}.case-detail section p,.case-detail section li{font-size:16px}.case-back{display:grid;gap:10px}}

/* V6 全站美工统一：页头、栏目、卡片、移动端与可读性 */
body{background:#f4f7fb;color:#243246}
.main-header{border-bottom:1px solid #e5ebf2;box-shadow:0 1px 0 rgba(20,55,92,.02)}
.brand-text strong{letter-spacing:.3px}
.brand-text small{color:#6f7d8f}
.header-tools{display:none;align-items:center;gap:24px;color:#536477;font-size:14px}
.home-page .header-tools{display:flex}
.header-tools a:hover{color:#1767e8}
.header-tools .header-cta{display:flex;align-items:center;height:38px;padding:0 20px;border-radius:5px;background:#2674ef;color:#fff;font-weight:700;box-shadow:0 5px 14px rgba(38,116,239,.2)}
.header-search{border-color:#ccd8e5;background:#fff}
.nav-mobile-search{display:none!important}
.nav-backdrop{display:none;border:0;padding:0}
.nav a{letter-spacing:.15px}
.page-banner{padding:34px 0;background:linear-gradient(90deg,rgba(10,39,70,.97),rgba(18,83,145,.88)),url('../images/hero-handwriting.jpg') center 48%/cover;color:#fff;border-bottom:0}
.page-banner h1{font-size:28px;letter-spacing:.4px}
.page-banner p{margin-top:6px;color:#d5e3f1;font-size:15px}
.breadcrumb{background:#fff;color:#778598}
.content-layout{grid-template-columns:230px minmax(0,1fr);gap:28px}
.sidebar-card,.list-main,.article-body,.search-page-head,.search-page-card,.contact-card{border-color:#dde5ee}
.sidebar-card{border-radius:6px;overflow:hidden;box-shadow:0 3px 12px rgba(28,61,96,.04)}
.sidebar-title{padding:13px 15px;background:#1e65b5;font-size:16px}
.side-menu a{padding:10px 4px;font-size:15px}
.list-main{padding:24px 26px;border:1px solid #e0e7ef;border-radius:6px;background:#fff}
.list-main .article-row{grid-template-columns:150px 1fr;gap:18px;padding-bottom:18px;margin-bottom:18px}
.list-main .thumb{height:98px}
.article-row h3{line-height:1.55}
.meta{color:#718095;font-size:13px}
.more{color:#627187;font-size:14px}
.category-card{border:1px solid #e5ebf2;background:linear-gradient(180deg,#fff,#fbfdff);box-shadow:0 4px 12px rgba(27,64,105,.035)}
.category-card:before{content:"笔迹";border:0;background:#edf4ff;color:#1d67c1;font-size:13px;font-weight:800;letter-spacing:1px}
.category-card:nth-child(2):before{content:"签名"}.category-card:nth-child(3):before{content:"鉴定"}.category-card:nth-child(4):before{content:"字体"}.category-card:nth-child(5):before{content:"案例"}.category-card:nth-child(6):before{content:"费用"}
.category-card:hover{transform:translateY(-3px);border-color:#b8d2f2;box-shadow:0 10px 24px rgba(28,90,164,.1)}
.case-grid{grid-template-rows:165px}
.case-info{padding:38px 14px 11px}
.case-info strong{font-size:14px;line-height:1.5}
.case-filter button{padding:9px 19px;border:1px solid #d8e2ed;border-radius:5px;background:#fff;color:#526176;font:inherit;cursor:pointer}
.case-filter button:hover,.case-filter button.active{border-color:#2674ef;background:#2674ef;color:#fff}
.case-list-card{border-color:#dce5ee;border-radius:8px}
.case-list-card img{height:178px}
.case-list-card div{padding:16px}
.case-list-card[hidden]{display:none}
.faq-item{border-color:#dfe6ee;background:#fff;box-shadow:0 3px 12px rgba(31,65,103,.025)}
.faq-item h3{line-height:1.55}
.faq-item p{color:#647286;line-height:1.75}
.category-faq .faq-list{grid-template-columns:repeat(2,minmax(0,1fr))}
.category-faq .faq-item{background:#f8fbff}
.article-photo-grid figcaption{font-size:13px}
.footer-main>div:first-child p{max-width:290px;margin-top:12px;color:#9db2c8;line-height:1.7}
.footer h3{font-size:15px}
.footer-links li{margin:8px 0}
.footer-contact-card{padding:13px 15px;border:1px solid #294864;border-radius:6px;background:#102942}
.footer-contact-card a{display:inline-flex;margin-top:10px;color:#75b6ff}
.content-status{margin:20px 0 0;padding:12px 15px;border-radius:5px;background:#f4f8fc;color:#708096;text-align:center;font-size:14px}
.city-list span{display:block;padding:6px 3px;border:1px solid #e6ebf2;border-radius:4px;background:#f8fafc;color:#5e6b7b;text-align:center}
.city-list a.active{border-color:#2674ef;background:#2674ef;color:#fff}
.article-layout.single{grid-template-columns:minmax(0,900px);justify-content:center}
.article-lead{padding:16px 18px;border-left:4px solid #2674ef;background:#f3f7fc;color:#42546a}
.article-topic-links{display:flex;gap:10px 18px;flex-wrap:wrap;margin-top:28px;padding-top:20px;border-top:1px solid #e1e7ee;color:#2674ef}

@media(max-width:900px){
  .header-tools{gap:12px}
  .header-tools .header-cta{padding:0 14px}
  .content-layout{grid-template-columns:210px minmax(0,1fr);gap:18px}
  .list-main{padding:20px}
}

@media(max-width:680px){
  body.menu-open{overflow:hidden}
  .home-page .header-tools{display:none}
  .nav-mobile-search{display:flex!important;color:#1767e8!important;font-weight:700!important}
  .nav-backdrop{position:fixed;z-index:35;inset:118px 0 0;background:rgba(5,24,45,.48)}
  .nav.open+.nav-backdrop{display:block}
  .nav.open .container{z-index:41;max-height:calc(100vh - 118px);overflow:auto}
  .page-banner{padding:28px 0}
  .page-banner h1{font-size:24px}
  .page-banner p{font-size:14px;line-height:1.65}
  .category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .category-card{min-height:118px}
  .case-grid{grid-template-columns:1fr;grid-template-rows:repeat(4,175px)}
  .case-list-grid{grid-template-columns:1fr}
  .case-list-card img{height:205px}
  .content-layout{display:block;padding-top:18px}
  .list-main{padding:17px 14px;border-left:0;border-right:0;border-radius:0}
  .list-main .article-row{grid-template-columns:108px 1fr;gap:13px}
  .list-main .thumb{height:82px}
  .category-faq .faq-list{grid-template-columns:1fr}
  .article-photo-grid{grid-template-columns:1fr}
  .article-photo-grid img{height:210px}
  .footer-main{grid-template-columns:1fr}
  .footer-main>div:first-child{grid-column:auto}
}

/* 全国城市服务中心 */
.city-network-hero{padding:54px 0;background:linear-gradient(90deg,rgba(7,35,65,.97),rgba(15,82,145,.86)),url('../images/hero-handwriting.jpg') center 46%/cover}
.city-network-hero h1{max-width:760px;margin:8px 0 12px;font-size:36px;line-height:1.35}
.city-network-hero p{max-width:790px;font-size:16px;line-height:1.8}
.city-hero-actions{display:flex;gap:12px;margin-top:24px}
.city-network-hero .btn-primary{background:#fff;color:#1767e8}
.city-network-hero .btn-outline{border-color:rgba(255,255,255,.55);color:#fff}
.city-service-overview{padding-bottom:42px}
.city-core-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.city-core-grid>a{position:relative;min-height:165px;padding:24px 21px;border:1px solid #dfe7f0;border-radius:8px;background:#fff;transition:.2s}
.city-core-grid>a:hover{transform:translateY(-3px);border-color:#b8d2f2;box-shadow:0 10px 24px rgba(28,90,164,.09)}
.city-core-grid b{position:absolute;right:18px;top:17px;color:#dce9f8;font-size:25px}
.city-core-grid h3{margin:23px 0 8px;color:#153d6b;font-size:18px}
.city-core-grid p{margin:0;color:#66768a;font-size:14px;line-height:1.75}
.city-entry-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}
.city-entry-card{position:relative;display:grid;grid-template-columns:54px 1fr;gap:16px;min-height:175px;padding:23px 24px;border:1px solid #dfe6ee;border-radius:8px;background:#fff;box-shadow:0 4px 14px rgba(31,65,103,.035);transition:.2s}
.city-entry-card:hover{transform:translateY(-3px);border-color:#aecaee;box-shadow:0 11px 26px rgba(28,90,164,.09)}
.city-code{display:grid;place-items:center;width:52px;height:52px;border-radius:8px;background:linear-gradient(145deg,#edf5ff,#e2efff);color:#1767e8;font-size:20px;font-weight:800}
.city-entry-card h3{margin:0 0 7px;color:#173e69;font-size:18px}
.city-entry-card p{margin:0 0 9px;color:#657489;font-size:14px;line-height:1.7}
.city-tags{color:#8391a3;font-size:12px}
.city-entry-card i{position:absolute;right:24px;bottom:18px;color:#2674ef;font-size:13px;font-style:normal;font-weight:700}
.city-guide-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.city-guide-panel{position:relative;padding:31px 34px;border:1px solid #dfe7ef;border-radius:8px;background:#fff}
.city-guide-panel>span{position:absolute;right:26px;top:18px;color:#e1ebf7;font-size:40px;font-weight:800}
.city-guide-panel h2{margin:0 0 13px;color:#173e69;font-size:21px}
.city-guide-panel p{margin:0 0 18px;color:#5f6f82;font-size:15px;line-height:1.85}
.city-guide-panel ul,.city-guide-panel ol{margin:0;padding-left:21px;color:#43566d;line-height:2}
.city-news-list{border-top:1px solid #e1e8f0}
.city-news-list a{display:grid;grid-template-columns:58px 1fr;align-items:center;min-height:54px;border-bottom:1px solid #e1e8f0}
.city-news-list b{color:#2674ef}
.city-news-list span{color:#354960}
.city-news-list a:hover span{color:#1767e8}
.city-contact-box{padding:28px;border-radius:9px;background:linear-gradient(135deg,#123f70,#1769b0);color:#fff}
.city-contact-box h2{margin:0 0 10px;font-size:21px}
.city-contact-box p{margin:0 0 20px;color:#d5e6f7;line-height:1.8}
.city-contact-box .btn{background:#fff;color:#1767e8}

@media(max-width:900px){
  .city-core-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .city-entry-card{min-height:190px}
}

@media(max-width:680px){
  .city-network-hero{padding:38px 0}
  .city-network-hero h1{font-size:27px}
  .city-network-hero p{font-size:14px}
  .city-hero-actions{margin-top:20px}
  .city-core-grid,.city-entry-grid,.city-guide-grid{grid-template-columns:1fr}
  .city-core-grid>a{min-height:145px}
  .city-entry-card{grid-template-columns:44px 1fr;gap:13px;min-height:194px;padding:20px 18px}
  .city-code{width:44px;height:44px;font-size:17px}
  .city-entry-card h3{font-size:17px}
  .city-entry-card i{right:18px;bottom:15px}
  .city-guide-panel{padding:25px 22px}
  .city-service-overview{padding-bottom:32px}
}

/* 资讯文章深度内容与前后篇 */
.article-supplement{margin:28px 0;padding:22px 24px;border:1px solid #dbe5ef;border-radius:7px;background:#f7faff}
.article-supplement h2{margin-top:0!important}
.article-supplement p{color:#52647a}
.article-supplement ul{margin:12px 0 0;padding-left:22px;color:#40536a}
.article-supplement li{margin:8px 0;line-height:1.8}
.article-supplement.service,.article-supplement.city{border-left:4px solid #2674ef}
.article-supplement.guide{background:#f8fbf9;border-color:#dce9e1}
.article-supplement.guide h2{border-left-color:#309166}
.article-supplement.topic{background:#fbf9f5;border-color:#ebe2d3}
.article-supplement.topic h2{border-left-color:#b7833e}
.topic-boundary{margin-top:30px;padding:20px 23px;border-top:1px solid #dfe6ee;border-bottom:1px solid #dfe6ee;background:#fafbfd}
.topic-boundary h2{margin-top:0!important}
.topic-boundary p{margin:12px 0}
.topic-boundary strong{display:block;color:#234a72}
.article-pagination{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:stretch;gap:10px;margin-top:30px;padding-top:22px;border-top:1px solid #dfe6ee}
.article-pagination>a{display:flex;min-height:64px;padding:10px 13px;border:1px solid #e0e7ef;border-radius:5px;flex-direction:column;justify-content:center;color:#40546b}
.article-pagination>a:last-child{text-align:right}
.article-pagination a:hover{border-color:#aecaee;color:#1767e8}
.article-pagination small{color:#8a97a7}
.article-pagination span{margin-top:3px;line-height:1.45}
.article-pagination .back-category{min-width:88px;align-items:center;background:#f5f8fc;color:#2674ef;font-weight:700;text-align:center}

@media(max-width:680px){
  .article-supplement{padding:18px 17px}
  .article-pagination{grid-template-columns:1fr}
  .article-pagination>span{display:none}
  .article-pagination>a:last-child{text-align:left}
  .article-pagination .back-category{min-height:45px;grid-row:3}
}

/* 文章详情页：目录、相关文章与咨询入口 */
.article-detail-layout{grid-template-columns:minmax(0,1fr) 268px;gap:24px;align-items:start}
.article-detail-layout .article-body{min-width:0}
.article-sidebar{position:sticky;top:18px;display:grid;gap:16px}
.article-sidebar>section{overflow:hidden;border:1px solid #dfe6ee;border-radius:7px;background:#fff}
.article-sidebar h2{margin:0;padding:13px 16px;border-bottom:1px solid #e5ebf2;color:#173e69;font-size:16px;line-height:1.45}
.article-toc ol,.article-related ul{margin:0;padding:8px 16px 12px;list-style:none;counter-reset:article-toc}
.article-toc li,.article-related li{border-bottom:1px dashed #e2e8ef}
.article-toc li:last-child,.article-related li:last-child{border-bottom:0}
.article-toc a,.article-related a{display:block;padding:9px 0;color:#4d6075;font-size:13px;line-height:1.55}
.article-toc a{position:relative;padding-left:22px}
.article-toc a:before{position:absolute;left:0;top:9px;counter-increment:article-toc;content:counter(article-toc);width:16px;height:16px;border-radius:3px;background:#eef5ff;color:#2674ef;text-align:center;font-size:10px;line-height:16px}
.article-toc a:hover,.article-related a:hover{color:#1767e8}
.article-sidebar-cta{padding:18px 17px;border:0!important;background:linear-gradient(145deg,#123f70,#1769b0)!important;color:#fff}
.article-sidebar-cta strong{font-size:16px}
.article-sidebar-cta p{margin:8px 0 14px;color:#d9e9f8;font-size:12px;line-height:1.7}
.article-sidebar-cta a{display:inline-flex;padding:7px 15px;border-radius:4px;background:#fff;color:#1767e8;font-size:13px;font-weight:700}
.article-content h2[id]{scroll-margin-top:24px}

@media(max-width:900px){
  .article-detail-layout{grid-template-columns:minmax(0,1fr) 220px;gap:18px}
  .article-sidebar h2{padding:12px 13px}
  .article-toc ol,.article-related ul{padding-left:13px;padding-right:13px}
}

@media(max-width:680px){
  .article-detail-layout{display:block}
  .article-detail-layout .article-sidebar{position:static;display:grid;grid-template-columns:1fr;gap:14px;margin:18px 12px 34px}
  .article-detail-layout .article-toc{display:none}
  .article-detail-layout .article-related,.article-detail-layout .article-sidebar-cta{display:block}
  .article-related a{font-size:14px}
}
