/* ==========================================================================
   中阳國際 CMS — 前台主题样式（v2 / 现代金融机构克制风）
   --------------------------------------------------------------------------
   本文件与 Nunjucks 模板的实际 DOM 一一对应（织梦 zy 模板遗留类名体系）：
     .header > .header-pc > .container.header-wrap + nav > dl > dt / dd > .ovs
     .m_header_box > .header_title(.logo/.column/.menu_btn) + .header_body
     .index-banner > .index-swiper.swiper > .swiper-wrapper > .swiper-slide
     .page-img-box / .index-page1..5 / .page-ban / .news-page / .news-d-*
     .tab-ul（FAQ 手风琴）/ .pager-box（分页）/ .footer-up + .footer-down
   设计原则：大留白、清晰字体层级、卡片化、橙色只做点睛（不铺面）。
   ========================================================================== */

/* ---------- 1. 设计令牌 ---------- */
:root {
  /* 品牌橙（点睛色，控制使用面积） */
  --brand-50: #fff6ee;
  --brand-100: #ffead6;
  --brand-200: #ffd3a8;
  --brand-300: #ffb571;
  --brand-400: #ff943d;
  --brand-500: #ff7a00;
  --brand-600: #ef6500;
  --brand-700: #cc5200;
  --brand-800: #a33f00;

  /* 中性色 */
  --ink-900: #10151d;
  --ink-800: #1f2530;
  --ink-700: #39414f;
  --ink-600: #55606f;
  --ink-500: #727c8b;
  --ink-400: #9aa3b2;
  --ink-300: #c7cdd8;
  --ink-200: #e2e6ee;
  --ink-100: #eef0f5;
  --ink-50: #f7f8fb;
  --white: #ffffff;

  /* 深底色（页脚 / 深色区块） */
  --navy-900: #0b1119;
  --navy-800: #121a26;
  --navy-700: #1b2432;

  /* 语义色 */
  --success: #18a058;
  --warning: #f0a020;
  --danger: #e03c3c;

  /* 排版 */
  --font-sans: "Inter", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    "Helvetica Neue", Arial, sans-serif;
  --font-number: "Bahnschrift", "DIN Alternate", "Inter", var(--font-sans);

  /* 尺寸 */
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-pill: 999px;
  --container: 1240px;
  --header-h: 76px;

  /* 阴影 */
  --shadow-xs: 0 1px 2px rgba(16, 21, 29, 0.05);
  --shadow-sm: 0 2px 10px rgba(16, 21, 29, 0.06);
  --shadow-md: 0 10px 30px rgba(16, 21, 29, 0.09);
  --shadow-lg: 0 22px 54px rgba(16, 21, 29, 0.13);
  --shadow-brand: 0 10px 24px rgba(255, 122, 0, 0.22);

  /* 动效 */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 0.32s;
}

/* ---------- 2. 基础重置 ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.72;
  color: var(--ink-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* 用 clip 而不是 hidden：hidden 会让 body 变成滚动容器，导致 .header 的
     position:sticky 失效（粘性导航变成普通静态定位）。clip 不创建滚动容器。 */
  overflow-x: clip;
}
body.nav-open { overflow: hidden; }

img,
svg,
video { max-width: 100%; height: auto; display: block; }

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--dur) var(--ease);
}

ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd, dt { margin: 0; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 700; line-height: 1.3; color: var(--ink-900); letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
button { font: inherit; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--brand-500);
  outline-offset: 2px;
  border-radius: 4px;
}

::selection { background: var(--brand-100); color: var(--brand-800); }

/* ---------- 3. 字号体系（随视口缩放） ---------- */
.font52 { font-size: clamp(28px, 4.4vw, 52px); line-height: 1.16; }
.font40 { font-size: clamp(25px, 3.4vw, 40px); line-height: 1.24; }
.font38 { font-size: clamp(23px, 3.1vw, 38px); line-height: 1.24; }
.font32 { font-size: clamp(21px, 2.5vw, 32px); line-height: 1.32; }
.font28 { font-size: clamp(19px, 2.1vw, 28px); line-height: 1.38; }
.font24 { font-size: clamp(18px, 1.8vw, 24px); line-height: 1.44; }
.font20 { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.5; }
.font18 { font-size: clamp(15.5px, 1.3vw, 18px); line-height: 1.7; }
.font16 { font-size: 15px; line-height: 1.75; }
.font15 { font-size: 14px; line-height: 1.7; }
.font14 { font-size: 13px; line-height: 1.7; }
.font12 { font-size: 12px; line-height: 1.6; }

/* ---------- 4. 布局与工具类 ---------- */
.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.wrapper { display: block; min-height: 40vh; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -60px; left: 16px;
  z-index: 300;
  background: var(--brand-500);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; }

/* 原站的蓝色语义类统一收敛到品牌色，避免风格不统一 */
.color-blue { color: var(--brand-600); }
.color-white { color: #fff; }

/* PC / 移动双图切换 */
.c-pc { display: block; }
.c-mb { display: none; }

/* 会被 site.js 内联注入的 SVG 图标（原站 img[src$=".svg"]） */
img.js-svg-inject,
img[src$=".svg"] { width: 100%; height: 100%; object-fit: contain; }
.svg-arrow { width: 100%; height: 100%; fill: #fff; opacity: 0.5; }
.jt { width: 100%; height: 100%; object-fit: contain; }

/* 通用按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all var(--dur) var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--brand-500);
  color: #fff;
  box-shadow: var(--shadow-brand);
}
.btn-primary:hover { background: var(--brand-600); transform: translateY(-1px); }
.btn-ghost { border-color: var(--ink-200); color: var(--ink-700); background: var(--white); }
.btn-ghost:hover { border-color: var(--brand-400); color: var(--brand-600); }
.btn-outline-light { border-color: rgba(255, 255, 255, 0.5); color: #fff; }
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.14); border-color: #fff; }

/* ---------- 5. 顶部导航（PC） ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(170%) blur(16px);
  -webkit-backdrop-filter: saturate(170%) blur(16px);
  border-bottom: 1px solid var(--ink-100);
  transition: box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.header.is-scrolled { box-shadow: var(--shadow-sm); }

.header-wrap {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  height: var(--header-h);
}

.logo { display: flex; align-items: center; flex: 0 0 auto; }
.logo img {
  height: auto;
  width: clamp(138px, 14.5vw, 190px);
  object-fit: contain;
  display: block;
}
.logo .logo-fallback { display: none; }
.logo.logo--img-error img { display: none; }
.logo.logo--img-error .logo-fallback { display: inline-flex; }
.logo-fallback {
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 700;
  color: var(--ink-900);
  letter-spacing: 0.01em;
}
.logo-mark {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 9px;
  background: var(--brand-500);
  color: #fff; font-weight: 700; font-size: 16px;
}

/* 主导航：nav > dl > dt（一级）+ dd > .ovs（二级下拉） */
.nav {
  margin-left: auto;
  display: flex;
  align-items: stretch;
  height: var(--header-h);
}
.nav > dl { position: relative; }

.nav > dl > dt { height: 100%; }
.nav > dl > dt > a {
  display: inline-flex;
  align-items: center;
  height: var(--header-h);
  padding: 0 clamp(8px, 1vw, 15px);
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink-800);
  position: relative;
  white-space: nowrap;
}
.nav > dl > dt > a::after {
  content: "";
  position: absolute;
  left: clamp(8px, 1vw, 15px);
  right: 100%;
  bottom: 26px;
  height: 2px;
  background: var(--brand-500);
  border-radius: 2px;
  transition: right var(--dur) var(--ease);
}
.nav > dl > dt > a:hover { color: var(--brand-600); }
.nav > dl > dt > a:hover::after,
.nav > dl > dt > a.is-active::after { right: clamp(8px, 1vw, 15px); }
.nav > dl > dt > a.is-active { color: var(--brand-600); }

/* 二级下拉面板 */
.nav > dl > dd {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, 10px);
  min-width: 196px;
  padding-top: 6px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur);
  z-index: 20;
}
.nav > dl:hover > dd,
.nav > dl:focus-within > dd {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.nav .ovs {
  padding: 8px;
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.nav .ovs a {
  display: block;
  padding: 9px 13px;
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  color: var(--ink-600);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.nav .ovs a:hover { background: var(--brand-50); color: var(--brand-600); }

/* 右侧搜索 */
.header-right { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.searchform {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 42px;
  padding: 0 5px 0 16px;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-pill);
  background: var(--ink-50);
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.searchform:focus-within { border-color: var(--brand-400); background: #fff; }
.searchform .input {
  width: clamp(96px, 11vw, 148px);
  border: 0;
  background: transparent;
  outline: none;
  font-size: 14px;
  color: var(--ink-800);
}
.searchform .input::placeholder { color: var(--ink-400); }
.searchform .iconfont {
  width: 32px; height: 32px;
  flex: 0 0 32px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--brand-500);
  transition: background var(--dur) var(--ease);
}
.searchform .iconfont:hover { background: var(--brand-600); }
.searchform .iconfont img { width: 15px; height: 15px; object-fit: contain; filter: brightness(0) invert(1); }
.searchform .iconfont svg { width: 15px; height: 15px; stroke: #fff; }

/* ---------- 6. 移动端导航 ---------- */
.m_header_box {
  display: none;
  position: relative;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--ink-100);
}
.header_title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 62px;
  padding: 0 16px;
}
.header_title .logo img { width: clamp(128px, 36vw, 168px); }

.column { display: flex; align-items: center; }
.menu_btn {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border: 1px solid var(--ink-200);
  border-radius: 11px;
  background: var(--white);
  padding: 0;
}
.menu_btn i {
  position: relative;
  display: block;
  width: 19px; height: 2px;
  background: var(--ink-900);
  border-radius: 2px;
  transition: background 0.18s linear, transform var(--dur) var(--ease);
}
.menu_btn i::before,
.menu_btn i::after {
  content: "";
  position: absolute;
  left: 0;
  width: 19px; height: 2px;
  background: var(--ink-900);
  border-radius: 2px;
  transition: transform var(--dur) var(--ease), top var(--dur) var(--ease);
}
.menu_btn i::before { top: -6px; }
.menu_btn i::after { top: 6px; }
.menu_btn.active i { background: transparent; }
.menu_btn.active i::before { top: 0; transform: rotate(45deg); }
.menu_btn.active i::after { top: 0; transform: rotate(-45deg); }

.header_body {
  display: none;
  border-top: 1px solid var(--ink-100);
  background: var(--white);
}
.menu_info { padding: 8px 16px 20px; }
.menu_nav > ul > li { border-bottom: 1px solid var(--ink-100); }
.menu_nav > ul > li:last-child { border-bottom: 0; }

.menu_nav .one {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 2px;
  cursor: pointer;
}
.menu_nav .one > a { flex: 1; min-width: 0; }
.menu_nav .one .title { font-size: 16.5px; font-weight: 600; color: var(--ink-900); }
.menu_nav .one .icon {
  width: 22px; height: 22px;
  display: grid;
  place-items: center;
  transition: transform var(--dur) var(--ease);
}
.menu_nav .one .icon img,
.menu_nav .one .icon svg { width: 100%; height: 100%; fill: var(--ink-400); }
.menu_nav .one.active .icon { transform: rotate(90deg); }
.menu_nav .one.active .icon img,
.menu_nav .one.active .icon svg { fill: var(--brand-500); }
.menu_nav .one.active .title { color: var(--brand-600); }

.menu_nav .one > ul,
.menu_nav > ul > li > ul { display: none; }
.menu_nav ul ul {
  padding: 0 0 8px 8px;
}
.menu_nav .two a {
  display: block;
  padding: 10px 12px;
  border-left: 2px solid var(--ink-100);
  font-size: 15px;
  color: var(--ink-600);
}
.menu_nav .two a:hover { border-left-color: var(--brand-500); color: var(--brand-600); }

/* ---------- 7. 首页轮播 ---------- */
.index-banner { position: relative; background: var(--navy-900); }
/* .swiper 是 site.js 识别轮播的标记类，本身只负责定位与裁切 */
.swiper { position: relative; overflow: hidden; }
.index-swiper {
  position: relative;
  overflow: hidden;
  height: clamp(440px, 64vh, 700px);
}
.swiper-wrapper {
  display: flex;
  height: 100%;
  transition: transform 0.7s var(--ease);
}
.swiper-slide { position: relative; flex: 0 0 100%; height: 100%; }
.index-swiper .swiper-slide > a {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
}
.swiper-slide .bg { position: absolute; inset: 0; overflow: hidden; }
.swiper-slide .bg img { width: 100%; height: 100%; object-fit: cover; }
.swiper-slide .bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(9, 14, 22, 0.86) 0%, rgba(9, 14, 22, 0.56) 46%, rgba(9, 14, 22, 0.2) 100%);
}
.swiper-slide > a > .container {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}
.swiper-slide .ani { max-width: 720px; color: #fff; }
.swiper-slide .title { font-weight: 700; letter-spacing: -0.015em; }
.swiper-slide .title span { display: block; }
.swiper-slide .title span:last-child { color: var(--brand-300); }
.swiper-slide .text-body {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.82);
  max-width: 600px;
}

/* 分页点（site.js 生成 .swiper-pagination-bullet） */
.swiper-pagination {
  position: absolute;
  left: 0; right: 0;
  bottom: 28px;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.swiper-pagination-bullet {
  width: 26px; height: 4px;
  padding: 0; border: 0;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.34);
  cursor: pointer;
  transition: background var(--dur) var(--ease), width var(--dur) var(--ease);
}
.swiper-pagination-bullet > span { display: none; }
.swiper-pagination-bullet:hover { background: rgba(255, 255, 255, 0.6); }
.swiper-pagination-bullet-active { background: var(--brand-500); width: 44px; }

/* 下滑指示器 */
.swiper-down {
  position: absolute;
  left: 0; right: 0;
  bottom: 54px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  pointer-events: none;
}
.index-slide-down {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.78);
}
.index-slide-down .icon {
  width: 34px; height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-pill);
  color: rgba(255, 255, 255, 0.85);
  animation: floatY 2.4s ease-in-out infinite;
}
.index-slide-down .icon svg { width: 17px; height: 17px; stroke: currentColor; fill: none; }
.slide-num { font-family: var(--font-number); letter-spacing: 0.06em; display: inline-flex; align-items: baseline; gap: 5px; }
.slide-num .current { color: #fff; font-weight: 600; }
.slide-num .divider { color: rgba(255, 255, 255, 0.4); }
.slide-num .total { color: rgba(255, 255, 255, 0.6); }

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

/* ---------- 8. 首页通用 section ---------- */
section { position: relative; }
.index-page1, .index-page2, .index-page3, .index-page4, .index-page5, .index-page6 {
  padding: clamp(56px, 7.5vw, 104px) 0;
}
.index-page2 { background: var(--ink-50); }
.index-page3 { background: var(--white); }
.index-page5 { background: var(--ink-50); }

/* 带背景图的区块（page-img-box / layout-bg） */
.page-img-box { position: relative; overflow: hidden; color: #fff; }
.page-img { position: absolute; inset: 0; }
.page-img img { width: 100%; height: 100%; object-fit: cover; }
.page-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(96deg, rgba(11, 17, 25, 0.93) 0%, rgba(11, 17, 25, 0.72) 52%, rgba(11, 17, 25, 0.42) 100%);
}
.layout-bg { position: absolute; inset: 0; overflow: hidden; }
.layout-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.layout-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 17, 25, 0.9) 0%, rgba(11, 17, 25, 0.82) 60%, rgba(11, 17, 25, 0.9) 100%);
}
.page-img-box > .container { position: relative; z-index: 2; }

.page-main { position: relative; }
.wrap-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: clamp(28px, 4.5vw, 72px);
  align-items: start;
}
.wrap-left { min-width: 0; }
.wrap-right { min-width: 0; }

/* 区块标题 */
.page-title { position: relative; }
.page-title .slogan {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--brand-600);
  font-weight: 700;
  letter-spacing: 0.16em;
  font-size: 12.5px;
  text-transform: uppercase;
}
.page-title .slogan::before {
  content: "";
  width: 24px; height: 2px;
  background: var(--brand-500);
  border-radius: 2px;
}
.page-title .title { margin-top: 14px; font-weight: 700; }
.page-title .text-body { margin-top: 16px; color: var(--ink-500); max-width: 62ch; }
.page-main > .page-title { text-align: center; margin-bottom: clamp(32px, 4.5vw, 56px); }
.page-main > .page-title .slogan { justify-content: center; }
.page-main > .page-title .text-body { margin-inline: auto; }

/* 深色区块内的标题 */
.page-img-box .page-title .title,
.page-title.color-white .title { color: #fff; }
.page-img-box .page-title .slogan,
.page-title.color-white .slogan { color: var(--brand-300); }
.page-img-box .page-title .slogan::before { background: var(--brand-500); }
.page-img-box .page-title .text-body,
.page-title.color-white .text-body { color: rgba(255, 255, 255, 0.72); }

/* 了解更多 */
.l-morebox { margin-top: clamp(22px, 3vw, 34px); }
.view-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--brand-600);
  padding-bottom: 5px;
  border-bottom: 1px solid var(--brand-200);
  transition: gap var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.view-more:hover { gap: 16px; border-color: var(--brand-500); color: var(--brand-700); }
.view-more.color-white { color: #fff; border-color: rgba(255, 255, 255, 0.36); }
.view-more.color-white:hover { border-color: #fff; color: #fff; }
/* .public-img 在此处只是图标容器，不能套用图片容器样式 */
.view-more .public-img.icon {
  position: static;
  overflow: visible;
  background: none;
  border-radius: 0;
  width: 18px; height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 18px;
}
.view-more .icon img,
.view-more .icon svg { width: 18px; height: 18px; stroke: currentColor; fill: none; }
.view-more.color-white .icon img,
.view-more.color-white .icon svg { stroke: #fff; }

/* ---------- 9. 卡片列表 ---------- */
.list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(258px, 1fr));
  gap: clamp(16px, 2vw, 26px);
}
.item { min-width: 0; }
.item-box {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.item-animation { will-change: transform; }
.item-box:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-200);
}

.public-img { position: relative; overflow: hidden; background: var(--ink-100); }
.public-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.public-img-plus { aspect-ratio: 16 / 10; }
.item-box:hover .public-img img { transform: scale(1.05); }
.public-img .type {
  position: absolute;
  left: 12px; top: 12px;
  padding: 4px 11px;
  border-radius: var(--radius-pill);
  background: rgba(255, 122, 0, 0.94);
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.02em;
  z-index: 2;
}

.text-box {
  padding: clamp(18px, 2vw, 26px);
  display: flex;
  flex-direction: column;
  gap: 9px;
  flex: 1;
}
.text-box .title {
  font-weight: 700;
  color: var(--ink-900);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.text-box .text-body {
  color: var(--ink-500);
  font-size: 14.5px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.text-box .date {
  color: var(--ink-400);
  font-size: 12.5px;
  font-family: var(--font-number);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
}
.text-box .date .icon { width: 14px; height: 14px; display: inline-flex; }
.text-box .date .icon img,
.text-box .date .icon svg { width: 14px; height: 14px; fill: var(--ink-400); }
.text-box .type { color: var(--brand-600); font-weight: 600; }

.text-more {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand-600);
  font-weight: 600;
  font-size: 14.5px;
}
.text-more::after { content: "→"; transition: transform var(--dur) var(--ease); }
.item-box:hover .text-more::after { transform: translateX(4px); }

/* index-page3：服务卡片（图标底盘 public-bg + tint） */
.index-page3 .item-box { padding: clamp(24px, 2.6vw, 32px); }
.index-page3 .item-box .public-img {
  width: 64px; height: 64px;
  flex: 0 0 64px;
  border-radius: 18px;
  background: var(--brand-50);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  overflow: visible;
}
.index-page3 .item-box .public-img i[class*="tint-"] {
  position: absolute;
  inset: -6px -10px auto auto;
  width: 46px; height: 46px;
  border-radius: 18px;
  opacity: 0.16;
  filter: blur(6px);
}
.index-page3 .tint-1 { background: var(--brand-500); }
.index-page3 .tint-2 { background: #2f7cf6; }
.index-page3 .tint-3 { background: #12b48b; }
.index-page3 .tint-4 { background: #8b5cf6; }
.index-page3 .public-bg {
  position: absolute;
  inset: 0;
  border-radius: 18px;
}
.index-page3 .public-bg-1 { background: linear-gradient(140deg, #fff2e4, #ffdcbb); }
.index-page3 .public-bg-2 { background: linear-gradient(140deg, #e8f1ff, #caddff); }
.index-page3 .public-bg-3 { background: linear-gradient(140deg, #e2f8f1, #bdefdd); }
.index-page3 .public-bg-4 { background: linear-gradient(140deg, #f1eaff, #dccfff); }
.index-page3 .item-box .public-img > img {
  position: relative;
  z-index: 2;
  width: 30px; height: 30px;
  object-fit: contain;
}
.index-page3 .item-box .text-box { padding: 0; }

/* ---------- 10. FAQ 手风琴（index-page4 / tab-ul） ---------- */
.tab-ul { max-width: 900px; margin-inline: auto; }
.tab-ul > ul { border-top: 1px solid rgba(255, 255, 255, 0.14); }
.tab-ul > ul > li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  transition: background var(--dur) var(--ease);
}
.tab-ul > ul > li:hover { background: rgba(255, 255, 255, 0.03); }
.tab-ul .top { cursor: pointer; }
.tab-ul .tab-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(18px, 2.2vw, 26px) 4px;
}
.tab-ul .tab-title {
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.01em;
}
.tab-ul .btn { flex: 0 0 auto; padding: 0; border: 0; background: none; }
.tab-ul .ico {
  width: 34px; height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: var(--radius-pill);
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.tab-ul li:hover .ico { border-color: rgba(255, 255, 255, 0.5); }
.addBox {
  position: relative;
  display: block;
  width: 13px; height: 13px;
}
.addBox i {
  position: absolute;
  background: #fff;
  border-radius: 2px;
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease);
}
.addBox i:nth-child(1) { left: 0; top: 5.5px; width: 13px; height: 2px; }
.addBox i:nth-child(2) { left: 5.5px; top: 0; width: 2px; height: 13px; }
.tab-ul li.active .ico { border-color: var(--brand-500); background: var(--brand-500); transform: rotate(90deg); }
.tab-ul li.active .addBox i { background: #fff; }
.tab-ul li.active .addBox i:nth-child(2) { transform: scaleY(0); }
.tab-ul li.active .tab-title { color: var(--brand-300); }

/* 折叠动画：0fr → 1fr 网格行过渡。
   注意：底部留白必须放在容器 .bom 上，不能放在子项上——
   子项带 padding 时，即使行高为 0，border-box 仍会被 padding 撑到 28px，折叠不干净。 */
.tab-ul .bom {
  display: grid;
  grid-template-rows: 0fr;
  padding-bottom: 0;
  opacity: 0;
  transition: grid-template-rows 0.42s var(--ease),
    opacity 0.3s var(--ease),
    padding-bottom 0.42s var(--ease);
}
.tab-ul li.active .bom {
  grid-template-rows: 1fr;
  opacity: 1;
  padding-bottom: clamp(18px, 2.2vw, 26px);
}
.tab-ul .bom > div { overflow: hidden; min-height: 0; }
.tab-ul .bom .text-body {
  padding: 0 56px 0 4px;
  color: rgba(255, 255, 255, 0.7);
}

/* ---------- 11. 市場資訊（index-page5） ---------- */
.swiper-main { position: relative; }
/* 首页资讯以三列网格呈现（比整屏轮播更符合克制风，也避免小屏挤压） */
.index-swiper5 { overflow: visible; }
.index-swiper5 .swiper-wrapper {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 26px);
  transform: none !important;
}
.index-swiper5 .swiper-slide { height: auto; }
.index-swiper5 .swiper-pagination { display: none; }
.index-swiper5 .item-box { padding: clamp(22px, 2.4vw, 30px); }
.index-swiper5 .item-box .text-box { padding: 0; gap: 10px; }
.index-swiper5 .item-box .icon {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--brand-50);
  display: grid;
  place-items: center;
  margin-bottom: 4px;
}
.index-swiper5 .item-box .icon img { width: 20px; height: 20px; object-fit: contain; }
.index-swiper5 .item-box .public-img {
  order: 2;
  margin-top: 16px;
  border-radius: var(--radius);
}
.index-swiper5 .item-box .date { margin-top: 0; }

/* ---------- 12. 内页 Banner ---------- */
.page-content { position: relative; }
.page-ban {
  position: relative;
  min-height: clamp(200px, 26vw, 340px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(118deg, var(--navy-900), var(--navy-700));
  margin-top: 0;
}
.page-ban .img { position: absolute; inset: 0; }
.page-ban .img img { width: 100%; height: 100%; object-fit: cover; opacity: 0.42; }
.page-ban .img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(11, 17, 25, 0.86) 0%, rgba(11, 17, 25, 0.5) 55%, rgba(11, 17, 25, 0.28) 100%);
}
.page-ban > .container { position: relative; z-index: 2; padding-block: clamp(40px, 5vw, 64px); }
.page-ban .slogan { color: #fff; max-width: 780px; }
.page-ban .title { font-weight: 700; position: relative; padding-left: 16px; color: #fff; }
.page-ban .title::before {
  content: "";
  position: absolute;
  left: 0; top: 0.14em; bottom: 0.14em;
  width: 4px;
  border-radius: 3px;
  background: var(--brand-500);
}
.page-ban .text-body {
  margin-top: 10px;
  color: var(--brand-200);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 13px;
}

/* ---------- 13. 面包屑 ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 18px 0 4px;
  font-size: 13px;
  color: var(--ink-500);
}
.breadcrumb a:hover { color: var(--brand-600); }
.breadcrumb .sep { color: var(--ink-300); }
.breadcrumb .current { color: var(--ink-800); font-weight: 600; }

/* ---------- 14. 栏目列表页 ---------- */
.news-page { padding: clamp(32px, 5vw, 64px) 0 clamp(56px, 7vw, 100px); }
.news-page .page-main { padding-top: 8px; }

/* 栏目切换胶囊 */
.tab-title-box {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: clamp(24px, 3vw, 34px);
}
.tab-title-box .tab-title { display: flex; flex-wrap: wrap; gap: 10px; }
.tab-title-box .tab-title .title { font-weight: 600; }
.tab-title-box a.title {
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 18px;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-pill);
  background: var(--white);
  font-size: 14.5px;
  color: var(--ink-600);
  transition: all var(--dur) var(--ease);
}
.tab-title-box a.title:hover { border-color: var(--brand-400); color: var(--brand-600); }
.tab-title-box a.title.active {
  background: var(--brand-500);
  border-color: var(--brand-500);
  color: #fff;
}

/* 列表卡片 */
.news-page .list { grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }

/* ---------- 15. 单页栏目 ---------- */
.single-page { padding: clamp(28px, 4vw, 56px) 0 clamp(56px, 7vw, 100px); }
.single-page .page-main { padding-top: 8px; }
.single-page .content-box {
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 3.4vw, 52px);
  box-shadow: var(--shadow-xs);
}

/* ---------- 16. 文章详情 ---------- */
.news-d-page-full { padding: clamp(24px, 3.5vw, 48px) 0 clamp(56px, 7vw, 100px); }
.news-d-page-full .wrap-box {
  grid-template-columns: minmax(0, 1fr) 316px;
  align-items: start;
  gap: clamp(24px, 3.5vw, 48px);
}
.news-d-box {
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 44px);
  box-shadow: var(--shadow-xs);
}
.news-d-up { padding-bottom: 22px; border-bottom: 1px solid var(--ink-100); }
.news-title {
  font-weight: 700;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.news-title .type {
  position: static;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: var(--brand-50);
  color: var(--brand-600);
  font-weight: 600;
}
.type-box {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 16px;
  font-size: 13px;
  color: var(--ink-500);
}
.type-box .type { display: inline-flex; align-items: center; gap: 6px; }
.type-box .icon { width: 15px; height: 15px; display: inline-flex; }
.type-box .icon img,
.type-box .icon svg { width: 15px; height: 15px; fill: var(--brand-500); opacity: 0.9; }

.news-d-down { padding-top: 4px; }
.news-detail-content {
  padding: clamp(20px, 3vw, 32px) 0 0;
  font-size: 16.5px;
  line-height: 1.92;
  color: var(--ink-700);
}
.news-detail-content h1, .news-detail-content h2,
.news-detail-content h3, .news-detail-content h4 {
  margin: 1.7em 0 0.75em;
  scroll-margin-top: calc(var(--header-h) + 24px);
}
.news-detail-content h2 {
  font-size: clamp(20px, 2.1vw, 25px);
  padding-left: 14px;
  border-left: 3px solid var(--brand-500);
}
.news-detail-content h3 { font-size: clamp(17px, 1.8vw, 20px); color: var(--ink-800); }
.news-detail-content p { margin: 0 0 1.15em; }
.news-detail-content ul, .news-detail-content ol { margin: 0 0 1.25em; padding-left: 1.4em; }
.news-detail-content ul { list-style: disc; }
.news-detail-content ol { list-style: decimal; }
.news-detail-content li { margin: 0.35em 0; }
.news-detail-content a { color: var(--brand-600); text-decoration: underline; text-underline-offset: 3px; }
.news-detail-content a:hover { color: var(--brand-700); }
.news-detail-content img { border-radius: var(--radius); margin: 1.3em 0; }
.news-detail-content blockquote {
  margin: 1.5em 0;
  padding: 16px 20px;
  background: var(--brand-50);
  border-left: 3px solid var(--brand-400);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--ink-600);
}
.news-detail-content pre {
  background: var(--navy-900);
  color: #e6edf6;
  padding: 18px 20px;
  border-radius: var(--radius);
  overflow-x: auto;
}
.news-detail-content code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.92em;
}
.news-detail-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
  font-size: 15px;
}
.news-detail-content th, .news-detail-content td {
  border: 1px solid var(--ink-200);
  padding: 10px 12px;
  text-align: left;
}
.news-detail-content th { background: var(--ink-50); font-weight: 700; color: var(--ink-800); }
.news-detail-content hr {
  margin: 2em 0;
  border: 0;
  border-top: 1px solid var(--ink-100);
}
/* 织梦正文遗留的对齐类 */
.news-detail-content .aligncenter { display: block; margin-inline: auto; text-align: center; }
.news-detail-content .alignleft { float: left; margin: 0.4em 1.4em 0.8em 0; }
.news-detail-content .alignright { float: right; margin: 0.4em 0 0.8em 1.4em; }
.news-detail-content .aligncenter img { margin-inline: auto; }

/* 上下篇 */
.editor-pn {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--ink-100);
  font-size: 14.5px;
}
.editor-pn a {
  display: block;
  padding: 14px 16px;
  border: 1px solid var(--ink-100);
  border-radius: var(--radius);
  background: var(--ink-50);
  color: var(--ink-600);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: all var(--dur) var(--ease);
}
.editor-pn a:hover { border-color: var(--brand-300); color: var(--brand-600); background: var(--brand-50); }

/* 侧栏推荐 */
.recommended-news { position: sticky; top: calc(var(--header-h) + 20px); }
.wrap-right-ri {
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-lg);
  padding: clamp(18px, 2vw, 24px);
  box-shadow: var(--shadow-xs);
}
.wrap-right-ri .name {
  font-weight: 700;
  color: var(--ink-900);
  padding-left: 12px;
  border-left: 3px solid var(--brand-500);
  margin-bottom: 16px;
}
.wrap-right-ri .list { display: grid; gap: 14px; }
.wrap-right-ri .item-box {
  flex-direction: row;
  align-items: center;
  gap: 12px;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  padding: 0;
  box-shadow: none;
}
.wrap-right-ri .item-box:hover { transform: none; box-shadow: none; }
.wrap-right-ri .item-box .public-img {
  width: 92px;
  flex: 0 0 92px;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
}
.wrap-right-ri .item-box .text-box { padding: 0; gap: 5px; }
.wrap-right-ri .item-box .text-box .title {
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.5;
  -webkit-line-clamp: 2;
}
.wrap-right-ri .item-box .text-box .date { font-size: 12px; margin-top: 0; }
.news-d-more {
  display: block;
  margin-top: 18px;
  padding: 11px 0;
  text-align: center;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-pill);
  color: var(--ink-700);
  font-weight: 600;
  transition: all var(--dur) var(--ease);
}
.news-d-more:hover { border-color: var(--brand-500); color: var(--brand-600); background: var(--brand-50); }

/* 站点地图卡片 */
.side-card {
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-xs);
}
.side-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
  padding-left: 12px;
  border-left: 3px solid var(--brand-500);
}
.side-title a:hover { color: var(--brand-600); }
.side-list li { padding: 9px 0; border-bottom: 1px dashed var(--ink-100); }
.side-list li:last-child { border-bottom: 0; }
.side-list a { display: block; font-size: 14.5px; color: var(--ink-700); }
.side-list a:hover { color: var(--brand-600); }

/* ---------- 17. 分页 ---------- */
.pager-box {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: clamp(32px, 4.5vw, 56px);
}
.pager-box a,
.pager-box span {
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  color: var(--ink-600);
  background: var(--white);
  transition: all var(--dur) var(--ease);
}
.pager-box a:hover { border-color: var(--brand-400); color: var(--brand-600); }
.pager-box a.active {
  background: var(--brand-500);
  border-color: var(--brand-500);
  color: #fff;
  font-weight: 600;
}
.pager-box .prohibition { opacity: 0.4; }

/* 兼容旧模板里可能出现的 .pagination */
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 40px; }
.pagination a, .pagination span {
  min-width: 40px; height: 40px; padding: 0 12px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--ink-200); border-radius: var(--radius-sm);
  font-size: 14.5px; color: var(--ink-600); background: #fff;
}
.pagination .is-current { background: var(--brand-500); border-color: var(--brand-500); color: #fff; }

/* ---------- 18. 页脚 ---------- */
.footer {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.66);
  margin-top: auto;
}
.footer-up { padding: clamp(44px, 5.5vw, 76px) 0 clamp(32px, 4vw, 56px); }
.footer .wrap-box {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.foot-nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: clamp(20px, 3vw, 36px);
}
.foot-nav .dl { min-width: 0; }
.foot-nav .dt {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}
.foot-nav .dt a { color: #fff; font-weight: 600; font-size: 15px; }
.foot-nav .dt a:hover { color: var(--brand-300); }
.foot-nav .dt .icon { width: 13px; height: 13px; opacity: 0.45; }
.foot-nav .dt .icon img,
.foot-nav .dt .icon svg { width: 13px; height: 13px; fill: #fff; }
.foot-nei-nav { display: grid; gap: 2px; }
.foot-nei-nav .dd {
  display: block;
  padding: 4px 0;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.58);
  transition: color var(--dur) var(--ease);
}
.foot-nei-nav .dd:hover { color: var(--brand-300); }

.footer .wrap-right .title { color: #fff; font-weight: 700; margin-bottom: 18px; }
.footer .wrap-right .text-body { display: grid; gap: 18px; }
.footer .wrap-right dl { display: grid; gap: 4px; }
.footer .wrap-right dt {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.04em;
}
.footer .wrap-right dt .icon { width: 15px; height: 15px; }
.footer .wrap-right dt .icon img { width: 15px; height: 15px; object-fit: contain; opacity: 0.8; }
.footer .wrap-right dd { margin: 0; font-family: var(--font-number); color: rgba(255, 255, 255, 0.82); }
.footer .wrap-right dd a { color: var(--brand-300); font-weight: 700; letter-spacing: 0.01em; }
.footer .wrap-right dd a:hover { color: var(--brand-200); }

.footer-down {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 18px 0;
  font-size: 13px;
}
.footer-down .wrap-box { display: block; }
.footer-down a { color: rgba(255, 255, 255, 0.6); }
.footer-down a:hover { color: var(--brand-300); }

/* ---------- 19. 搜索结果页 ---------- */
.search-page { padding: clamp(32px, 5vw, 72px) 0 clamp(56px, 7vw, 100px); min-height: 52vh; }
.search-page > .container > h1 { font-weight: 700; }
.result-search { display: flex; gap: 12px; margin-bottom: 22px; max-width: 620px; }
.result-search input {
  flex: 1;
  height: 48px;
  padding: 0 18px;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-pill);
  background: var(--ink-50);
  outline: none;
  font-size: 15px;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.result-search input:focus { border-color: var(--brand-400); background: #fff; }
.result-search .btn { height: 48px; }
.search-summary { margin-bottom: 24px; color: var(--ink-500); font-size: 15px; }
.search-summary strong { color: var(--brand-600); }
.result-list { display: grid; gap: 16px; }
.result-item {
  padding: 20px 22px;
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius);
  transition: box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.result-item:hover { box-shadow: var(--shadow-sm); border-color: var(--brand-200); }
.result-item h3 { font-size: 18px; margin-bottom: 8px; }
.result-item h3 a:hover { color: var(--brand-600); }
.result-item .excerpt { font-size: 14.5px; color: var(--ink-500); }
.result-item .meta { font-size: 12.5px; color: var(--ink-400); margin-top: 10px; display: flex; gap: 14px; }
mark { background: var(--brand-100); color: var(--brand-700); padding: 0 2px; border-radius: 2px; }

/* ---------- 20. 空状态与错误页 ---------- */
.empty-state { padding: 72px 20px; text-align: center; color: var(--ink-500); }
.empty-state .icon { font-size: 40px; margin-bottom: 12px; }

.error-page {
  min-height: 62vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 60px 20px;
}
.error-page .code {
  font-family: var(--font-number);
  font-size: clamp(64px, 12vw, 140px);
  font-weight: 700;
  color: var(--brand-500);
  line-height: 1;
}
.error-page .msg { margin: 12px 0 24px; color: var(--ink-500); }

/* ---------- 21. 滚动动画 ---------- */
.scroll-animate { opacity: 0; transform: translateY(24px); }
.scroll-animate.is-visible,
.scroll-animate.fadeInUp {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.scroll-from-bottom { transform: none; }
/* 原站遗留的动画钩子：默认可见，不参与隐藏 */
.animated, .scrollToTop, .h-line-mask-anim { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .scroll-animate { opacity: 1; transform: none; }
  .swiper-wrapper { transition: none; }
  .index-slide-down .icon { animation: none; }
  html { scroll-behavior: auto; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

/* ---------- 22. 回到顶部 ---------- */
.to-top {
  position: fixed;
  right: 22px; bottom: 26px;
  z-index: 90;
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--brand-500);
  color: #fff;
  box-shadow: var(--shadow-brand);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--dur) var(--ease);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--brand-600); transform: translateY(-3px); }

/* 第三方客服挂件避让 */
.zyc-launcher { z-index: 95; }

/* ---------- 23. 响应式断点 ---------- */
@media (max-width: 1280px) {
  :root { --container: 1160px; }
  .nav > dl > dt > a { padding: 0 clamp(6px, 0.9vw, 12px); font-size: 15px; }
}

@media (max-width: 1100px) {
  .news-d-page-full .wrap-box { grid-template-columns: minmax(0, 1fr) 280px; }
}

/* ≤992px：切换到移动端导航 */
@media (max-width: 992px) {
  :root { --header-h: 62px; }
  .header-pc { display: none; }
  .m_header_box { display: block; }
  .header { position: sticky; }

  .wrap-box { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .news-d-page-full .wrap-box { grid-template-columns: minmax(0, 1fr); }
  .recommended-news { position: static; order: 2; }
  .index-swiper { height: clamp(400px, 58vh, 540px); }
  .index-swiper5 .swiper-wrapper { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer .wrap-box { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .tab-ul .bom .text-body { padding-right: 4px; }
}

@media (max-width: 768px) {
  body { font-size: 15.5px; }
  .container { width: calc(100% - 32px); }
  .index-page1, .index-page2, .index-page3, .index-page4, .index-page5, .index-page6 {
    padding: 48px 0;
  }
  .index-swiper { height: clamp(380px, 62vh, 480px); }
  .swiper-slide .text-body { font-size: 15px; }
  .swiper-pagination { bottom: 22px; }
  .swiper-down { bottom: 48px; }
  .list { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
  .index-swiper5 .swiper-wrapper { grid-template-columns: minmax(0, 1fr); }
  .page-ban { min-height: 180px; }
  .page-ban .title { padding-left: 13px; }
  .type-box { gap: 14px; }
  .news-page .list { grid-template-columns: minmax(0, 1fr); }
  .foot-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .to-top { right: 14px; bottom: 18px; width: 42px; height: 42px; }
  .editor-pn { grid-template-columns: minmax(0, 1fr); }
  .result-search { flex-direction: column; }
  .result-search .btn { width: 100%; }
}

@media (max-width: 480px) {
  .container { width: calc(100% - 28px); }
  .header_title { padding: 0 14px; height: 58px; }
  .header_title .logo img { width: clamp(118px, 32vw, 148px); }
  .logo-fallback { font-size: 17px; }
  .btn { padding: 11px 20px; font-size: 14.5px; }
  .text-box { padding: 16px; }
  .result-item { padding: 16px; }
  .side-card { padding: 18px; }
  .news-d-box { padding: 18px; }
  .foot-nav { grid-template-columns: minmax(0, 1fr); }
  .swiper-slide .title { font-size: 26px; }
  .pager-box a, .pager-box span { min-width: 36px; height: 36px; padding: 0 9px; }
}

/* ---------- 24. 打印 ---------- */
@media print {
  .header, .footer, .to-top, .m_header_box { display: none !important; }
  body { color: #000; background: #fff; }
  a::after { content: " (" attr(href) ")"; font-size: 11px; color: #666; }
}
