/* =====================================================================
   领富网 · 全站质感升级层 site-polish.css  v20261118
   ---------------------------------------------------------------------
   叠加在 gov-theme.css / partner-news.css / news-static.css 之后。
   只做视觉与交互增强，不改业务结构、不改链接、不改数据。
   设计基调：象牙白 + 藏蓝 + 香槟金，克制、稳重、留白、可读。
   ===================================================================== */

html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 92px; }

/* ---------- 顶栏：滚动后更轻薄，金色刻度更清晰 ---------- */
.site-header { transition: box-shadow .25s ease, background-color .25s ease; }
.site-header.is-scrolled {
  box-shadow: 0 6px 24px rgba(11,31,56,.08);
  background: rgba(255,255,255,.97) !important;
}
.site-header.is-scrolled .header-inner { min-height: 62px; transition: min-height .24s ease; }
.site-header.is-scrolled .brand-mark { width: 38px; height: 38px; transition: all .24s ease; }
.site-header.is-scrolled .brand-mark svg { width: 23px; height: 23px; }

/* ---------- 首屏：更深的层次感与柔光，文字仍然第一优先 ---------- */
.hero, .page-hero, .pn-hero, .honor-hero, .wl-hero, .guide-hero,
.points-band, .pv-hd, .partner-hero, .cta-band {
  position: relative;
  isolation: isolate;
}
.hero::before, .page-hero::before, .pn-hero::before, .honor-hero::before {
  content: "";
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(900px 420px at 88% -10%, rgba(198,166,100,.14), transparent 62%),
    radial-gradient(520px 360px at 4% 110%, rgba(27,66,102,.38), transparent 68%);
}
.hero-inner, .pn-hero-inner { position: relative; z-index: 1; }
.hero h1, .pn-hero h1, .page-hero h1 { text-wrap: balance; }
.hero-slogans span, .pn-hero p { transition: color .2s ease; }
.hero .btn, .pn-hero .btn, .cta-band .btn { position: relative; overflow: hidden; }
.hero .btn::after, .pn-hero .btn::after, .cta-band .btn::after {
  content: ""; position: absolute; top: 0; left: -120%; width: 80%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.28), transparent);
  transform: skewX(-18deg); transition: left .55s ease;
}
.hero .btn:hover::after, .pn-hero .btn:hover::after, .cta-band .btn:hover::after { left: 130%; }

/* ---------- 内容节奏：更从容的留白与卡片呼吸 ---------- */
.section { padding: 88px 0; }
.section-head { margin-bottom: 52px; }
.section-head p { line-height: 1.85; }
.card, .qe-card, .svc-card, .case-card, .article-card, .query-card,
.contact-info-card, .pn-news-item, .pn-apply-card, .pn-roster-box,
.ns-article, .ns-side-box, .ns-cat-card {
  transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}
.card:hover, .qe-card:hover, .svc-card:hover, .case-card:hover,
.pn-news-item:hover, .ns-cat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(11,31,56,.09);
}
/* 卡片顶部一道金色刻度，强化协会/机构感 */
.qe-card, .ns-cat-card, .pn-apply-card { position: relative; overflow: hidden; }
.qe-card::before, .ns-cat-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent 72%);
  opacity: .85;
}

/* ---------- 「我要办理」场景直达矩阵 ---------- */
.lf-quickway {
  margin: 26px auto 0; padding: 22px 24px 20px;
  background: #fff; border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(11,31,56,.055);
}
.lf-quickway-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 14px;
  margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px dashed var(--line-2);
}
.lf-quickway-head b {
  font-family: var(--serif); font-size: 17px; color: var(--navy-900);
  letter-spacing: 1px; position: relative; padding-left: 13px;
}
.lf-quickway-head b::before {
  content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 3px; background: var(--gold);
}
.lf-quickway-head small { font-size: 12.5px; color: var(--muted); }
.lf-qw-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 10px; }
.lf-qw-item {
  display: flex; flex-direction: column; gap: 5px; text-decoration: none;
  padding: 14px 15px; background: var(--bg-soft); border: 1px solid transparent;
  transition: all .18s ease;
}
.lf-qw-item:hover { background: #fff; border-color: var(--gold); transform: translateY(-2px); }
.lf-qw-item b { font-size: 14.5px; color: var(--navy-900); font-weight: 600; }
.lf-qw-item span { font-size: 12px; color: var(--muted); line-height: 1.55; }
.lf-qw-item i { font-style: normal; color: var(--gold-dark); font-size: 12px; margin-top: 2px; }
@media(max-width:900px){ .lf-qw-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); } .lf-quickway{ padding:18px 16px; } }
@media(max-width:420px){ .lf-qw-grid{ grid-template-columns:1fr; } .lf-quickway-head small{ display:none; } }

/* ---------- 热门搜索标签 ---------- */
.lf-hot-tags { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0 0 20px; }
.lf-hot-tags > span { font-size: 12.5px; color: var(--muted); margin-right: 2px; }
.lf-hot-tags button {
  border: 1px solid var(--line-2); background: #fff; color: var(--ink2);
  padding: 5px 11px; font-size: 12.5px; border-radius: 2px; cursor: pointer; transition: all .16s;
}
.lf-hot-tags button:hover { border-color: var(--gold); color: var(--gold-dark); background: var(--gold-soft); }

/* ---------- 首页「最新资讯」静态模块（由 SEO 生成器注入） ---------- */
.lf-home-news { background: var(--bg-soft); }
.lf-home-news .container { max-width: 1200px; }
.lf-hn-grid { display: grid; grid-template-columns: 1.35fr repeat(2, minmax(0,1fr)); gap: 16px; }
.lf-hn-item {
  display: flex; flex-direction: column; gap: 10px; text-decoration: none;
  background: #fff; border: 1px solid var(--line); padding: 22px 24px; transition: all .2s;
  position: relative; min-height: 158px;
}
.lf-hn-item:hover { border-color: var(--gold); box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.lf-hn-item:first-child { border-top: 3px solid var(--gold); }
.lf-hn-cat { font-size: 11.5px; color: var(--gold-dark); letter-spacing: 1px; }
.lf-hn-item h3 {
  font-family: var(--serif); font-size: 17px; line-height: 1.55; color: var(--navy-900);
  margin: 0; font-weight: 600; text-wrap: balance;
}
.lf-hn-item p { font-size: 13px; color: var(--muted); line-height: 1.7; margin: 0; flex: 1; }
.lf-hn-item time { font-size: 11.5px; color: #9aa4af; }
.lf-hn-more { margin-top: 22px; text-align: center; }
.lf-hn-more a {
  color: var(--navy-900); font-size: 14px; font-weight: 600; text-decoration: none;
  border-bottom: 1px solid var(--gold); padding-bottom: 4px;
}
@media(max-width:900px){ .lf-hn-grid{ grid-template-columns:1fr; } .lf-hn-item{ min-height:0; } }

/* ---------- 文章阅读体验 ---------- */
.ns-article { box-shadow: 0 10px 34px rgba(11,31,56,.045); }
.ns-content { max-width: 820px; }
.ns-content h2 { scroll-margin-top: 96px; }
.ns-toc {
  background: var(--bg-soft); border: 1px solid var(--line); border-left: 3px solid var(--gold);
  padding: 16px 20px; margin: 0 0 26px;
}
.ns-toc b { display: block; font-size: 13px; color: var(--navy-900); margin-bottom: 8px; letter-spacing: 1px; }
.ns-toc ol { margin: 0; padding-left: 20px; }
.ns-toc li { font-size: 13px; line-height: 1.9; margin: 0; }
.ns-toc a { color: var(--ink2); text-decoration: none; }
.ns-toc a:hover { color: var(--gold-dark); text-decoration: underline; }
.ns-tags { display: flex; gap: 8px; flex-wrap: wrap; margin: 26px 0 4px; }
.ns-tags a {
  font-size: 12px; color: var(--gold-dark); background: var(--gold-soft);
  border: 1px solid #e6d8b4; padding: 4px 10px; text-decoration: none; border-radius: 2px;
}
.ns-tags a:hover { background: var(--gold); color: var(--navy-900); }
.ns-prevnext { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.ns-prevnext a { font-size: 13.5px; color: var(--ink2); text-decoration: none; line-height: 1.6; }
.ns-prevnext a:hover { color: var(--gold-dark); }
.ns-prevnext small { display: block; color: var(--muted); font-size: 11.5px; margin-bottom: 4px; }
.ns-prevnext .next { text-align: right; }
.ns-reading { font-size: 12px; color: var(--muted); }
@media(max-width:620px){ .ns-prevnext{ grid-template-columns:1fr; } .ns-prevnext .next{ text-align:left; } }

/* ---------- 阅读进度条 / 返回顶部 ---------- */
.lf-read-progress {
  position: fixed; left: 0; top: 0; height: 3px; width: 0; z-index: 1100;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold)); pointer-events: none;
  transition: width .08s linear; opacity: 0;
}
.lf-read-progress.on { opacity: 1; }
.lf-backtop {
  position: fixed; right: 22px; bottom: 92px; z-index: 850;
  width: 42px; height: 42px; border: 1px solid var(--line-2); background: #fff; color: var(--navy-900);
  box-shadow: var(--shadow-lg); cursor: pointer; display: none; align-items: center; justify-content: center;
  font-size: 19px; line-height: 1; transition: all .2s;
}
.lf-backtop:hover { border-color: var(--gold); background: var(--gold-soft); transform: translateY(-2px); }
.lf-backtop.on { display: flex; }

/* ---------- 移动端底部高频入口 ---------- */
.lf-mobile-bar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 840;
  background: rgba(255,255,255,.98); border-top: 1px solid var(--line-2);
  box-shadow: 0 -4px 18px rgba(11,31,56,.06);
  grid-template-columns: repeat(4,1fr); padding-bottom: env(safe-area-inset-bottom);
}
.lf-mobile-bar a, .lf-mobile-bar button {
  appearance: none; border: 0; background: transparent; text-decoration: none;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  min-height: 54px; color: var(--muted); font-size: 11px; cursor: pointer; font-family: inherit;
}
.lf-mobile-bar a.on { color: var(--navy-900); font-weight: 600; }
.lf-mobile-bar svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.lf-mobile-bar a.on svg { stroke: var(--gold-dark); }
@media(max-width:900px){
  .lf-mobile-bar{ display:grid; }
  body.lf-dialog-open .lf-mobile-bar{ display:none; }
  .lf-backtop{ bottom: 74px; right: 14px; }
  .site-footer{ padding-bottom: 60px; }
}

/* ---------- 滚动出现（仅在 JS 可用时隐藏，避免无脚本空白） ---------- */
@media (prefers-reduced-motion: no-preference){
  .lf-motion .lf-reveal { opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .55s cubic-bezier(.22,.7,.3,1); }
  .lf-motion .lf-reveal.in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce){
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ---------- 关键词专题页 ---------- */
.ns-topic-nav {
  display: flex; flex-wrap: wrap; gap: 8px; padding: 16px 18px; margin-bottom: 34px;
  background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--gold);
}
.ns-topic-nav a {
  font-size: 12.5px; color: var(--ink2); text-decoration: none;
  border: 1px solid var(--line-2); padding: 5px 10px; border-radius: 2px;
}
.ns-topic-nav a:hover { border-color: var(--gold); color: var(--gold-dark); background: var(--gold-soft); }
.ns-topic { margin-bottom: 34px; scroll-margin-top: 96px; }
.ns-topic h2 {
  font-family: var(--serif); font-size: 19px; color: var(--navy-900);
  margin: 0 0 12px; padding-left: 12px; border-left: 3px solid var(--gold);
}
.ns-topic h2 small { font-family: var(--sans); font-size: 12px; color: var(--muted); font-weight: 400; margin-left: 6px; }
.ns-topic ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px 28px; }
.ns-topic li { border-bottom: 1px dashed var(--line); padding-bottom: 7px; }
.ns-topic li a { font-size: 14px; color: var(--ink2); text-decoration: none; }
.ns-topic li a:hover { color: var(--gold-dark); }
.ns-topic li time { font-size: 11.5px; color: #a4aebb; margin-left: 8px; }
.ns-topic-more { margin: 10px 0 0; font-size: 12.5px; }
.ns-topic-more a { color: var(--gold-dark); text-decoration: none; font-weight: 600; }
.ns-toc-l3 { padding-left: 18px; }
@media(max-width:700px){ .ns-topic ul{ grid-template-columns:1fr; } }

/* =====================================================================
   新闻站式资讯布局（列表页 / 分类页 / 专题页）
   ===================================================================== */
.ns-newsnav{
  position: sticky; top: var(--lf-header-h, 62px); z-index: 95;
  background: #fff; border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 10px rgba(11,31,56,.05);
}
.ns-newsnav-in{ display: flex; align-items: stretch; gap: 2px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.ns-newsnav-in::-webkit-scrollbar{ display: none; }
.ns-newsnav a{
  flex: none; display: inline-flex; align-items: center; gap: 5px;
  padding: 12px 15px; font-size: 14px; color: var(--ink2); text-decoration: none;
  border-bottom: 2px solid transparent; white-space: nowrap; transition: all .16s;
}
.ns-newsnav a:hover{ color: var(--navy-900); background: var(--bg-soft); }
.ns-newsnav a.on{ color: var(--navy-900); font-weight: 600; border-bottom-color: var(--gold); }
.ns-newsnav a small{
  font-size: 11px; color: var(--muted); background: var(--bg-soft);
  border: 1px solid var(--line); border-radius: 9px; padding: 0 6px; line-height: 16px;
}
.ns-newsnav a.on small{ color: var(--gold-dark); border-color: var(--gold); background: var(--gold-soft); }

/* 列表标题 */
.ns-block-title{
  font-family: var(--serif); font-size: 19px; color: var(--navy-900);
  margin: 26px 0 14px; padding-left: 12px; border-left: 3px solid var(--gold); font-weight: 600;
}

/* 行式文章列表（新闻站样式） */
.ns-newslist{ display: flex; flex-direction: column; }
.ns-row{
  display: flex; gap: 18px; padding: 18px 4px 18px 0;
  border-bottom: 1px solid var(--line);
  transition: background .18s ease;
}
.ns-row:hover{ background: #fff; }
.ns-row-main{ flex: 1; min-width: 0; }
.ns-row-title{ margin: 0 0 8px; font-family: var(--serif); font-weight: 600; line-height: 1.5; }
.ns-row-title a{ color: var(--navy-900); font-size: 18px; text-decoration: none; }
.ns-row-title a:hover{ color: var(--gold-dark); }
.ns-row-sum{ font-size: 13.5px; color: var(--muted); line-height: 1.75; margin: 0 0 10px; }
.ns-row-meta{ display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 12px; color: #9aa4af; }
.ns-row-cat{
  color: var(--gold-dark); background: var(--gold-soft); border: 1px solid #e6d8b4;
  padding: 2px 8px; border-radius: 2px; font-size: 11.5px;
}
.ns-row-more{ margin-left: auto; color: var(--gold-dark); font-weight: 600; text-decoration: none; }
.ns-row-more:hover{ text-decoration: underline; }

/* 热门推荐 */
.ns-hot{ margin-top: 4px; }
.ns-hot ul{
  list-style: none; margin: 0; padding: 0; display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px 26px;
}
.ns-hot li{ position: relative; padding-left: 16px; line-height: 1.8; }
.ns-hot li:before{
  content: ""; position: absolute; left: 0; top: 11px; width: 5px; height: 5px;
  border-radius: 50%; background: var(--gold);
}
.ns-hot li a{ color: var(--ink2); font-size: 13.5px; text-decoration: none; }
.ns-hot li a:hover{ color: var(--gold-dark); text-decoration: underline; }

/* 分页 */
.ns-pager{
  display: flex; align-items: center; justify-content: center; gap: 10px;
  margin: 28px 0 10px; flex-wrap: wrap;
}
.ns-pager a, .ns-pager span{
  min-width: 34px; height: 34px; padding: 0 10px; display: inline-flex;
  align-items: center; justify-content: center; font-size: 13.5px;
  border: 1px solid var(--line-2); color: var(--ink2); text-decoration: none; background: #fff;
}
.ns-pager a:hover{ border-color: var(--gold); color: var(--gold-dark); }
.ns-pager a.on{ background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.ns-pager .is-off{ color: #c2c8d0; background: #fafafa; }

/* 专题页行式列表 */
.pn-row{
  display: flex; gap: 18px; padding: 20px 4px; border-bottom: 1px solid #eceff2;
  transition: background .18s ease;
}
.pn-row:hover{ background: #fff; }
.pn-row-main{ flex: 1; min-width: 0; }
.pn-row-title{ margin: 0 0 8px; font-family: "Noto Serif SC","Songti SC",serif; font-size: 18px; font-weight: 600; line-height: 1.5; }
.pn-row-title a{ color: #12243c; text-decoration: none; }
.pn-row-title a:hover{ color: #8a6f2e; }
.pn-row-sum{ font-size: 13.5px; color: #6b7581; line-height: 1.75; margin: 0 0 10px; }
.pn-row-meta{ display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 12px; color: #98a2ad; }
.pn-row-cat{ font-size: 11px; color: #8a6f2e; background: #f7f1e2; border: 1px solid #e6d8b4; border-radius: 3px; padding: 2px 9px; }
.pn-row-hot{ font-size: 11px; color: #fff; background: #0B1F38; border-radius: 3px; padding: 2px 8px; }
.pn-row-more{ margin-left: auto; color: #8a6f2e; font-weight: 600; text-decoration: none; }
.pn-row-more:hover{ text-decoration: underline; }
.pn-ni-cover{ width: 132px; height: 88px; object-fit: cover; border: 1px solid #eceff2; border-radius: 2px; flex: none; }
@media(max-width:700px){
  .ns-hot ul{ grid-template-columns: 1fr; }
  .pn-ni-cover{ width: 96px; height: 66px; }
  .ns-row-title a, .pn-row-title a{ font-size: 16px; }
}

/* ---------- 文章分享条 ---------- */
.ns-share{
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin: 22px 0 6px; padding: 14px 16px;
  background: var(--bg-soft); border: 1px solid var(--line); border-left: 3px solid var(--gold);
}
.ns-share-btn{
  border: 1px solid var(--navy-900); background: var(--navy-900); color: #fff;
  font-size: 13px; padding: 7px 16px; cursor: pointer; border-radius: 2px; font-family: inherit;
  transition: all .16s;
}
.ns-share-btn:hover{ background: var(--navy-700); }
.ns-share-btn + .ns-share-btn{ background: #fff; color: var(--navy-900); }
.ns-share-btn + .ns-share-btn:hover{ background: var(--gold-soft); border-color: var(--gold); }
.ns-share-tip{ font-size: 12px; color: var(--muted); }
