/* ==========================================================================
   pages.css —— 内页样式（关于平台 / 平台优势 / 投资百科 / 文章详情）
   与 style.css 共用设计令牌，配色统一为蓝白体系
   ========================================================================== */

/* ==========================================================================
   1. 内页 Banner + 面包屑
   ========================================================================== */
.page-banner {
  position: relative;
  padding: 168px 0 78px;
  background:
    linear-gradient(rgba(6, 20, 45, .65), rgba(6, 20, 45, .65)),
    url('../assets/images/Banner.jpg') center center / cover no-repeat;
  overflow: hidden;
}
.page-banner .pb-inner { position: relative; z-index: 2; }
.page-banner .pb-tag {
  display: inline-flex; align-items: center; gap: 8px;
  height: 32px; padding: 0 15px; border-radius: 16px;
  background: rgba(142, 194, 242, .16);
  border: 1px solid rgba(142, 194, 242, .34);
  color: var(--blue-300); font-size: 13px; letter-spacing: .6px;
}
.page-banner .pb-tag i {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--blue-400); box-shadow: 0 0 0 4px rgba(74, 154, 232, .22);
}
.page-banner h1 {
  margin-top: 22px;
  font-size: 40px; line-height: 1.36; font-weight: 700; color: #fff;
  max-width: 900px;
}
.page-banner h1 em { font-style: normal; color: var(--blue-300); }
.page-banner .pb-sub {
  margin-top: 18px; max-width: 760px;
  font-size: 16.5px; line-height: 1.95; color: rgba(206, 228, 250, .82);
}

/* 面包屑 */
.breadcrumb {
  margin-top: 30px;
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
  font-size: 14px; color: rgba(174, 206, 240, .74);
}
.breadcrumb a { color: rgba(174, 206, 240, .74); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { opacity: .5; }
.breadcrumb .cur { color: #fff; }

/* ==========================================================================
   2. 通用小节头（左对齐版）
   ========================================================================== */
.sec-head-l { max-width: 760px; }
.sec-head-l .eyebrow {
  display: inline-block; font-size: 13px; font-weight: 600;
  letter-spacing: 2.4px; text-transform: uppercase;
  color: var(--blue-500);
}
.sec-head-l h2 {
  margin-top: 12px;
  font-size: 34px; line-height: 1.42; font-weight: 700; color: var(--ink-900);
}
.sec-head-l h2 .accent { color: var(--blue-600); }
.sec-head-l .lede {
  margin-top: 15px; font-size: 16.5px; line-height: 1.95; color: var(--ink-500);
}
.sec-head-l .bar {
  width: 52px; height: 4px; border-radius: 2px; margin-top: 20px;
  background: linear-gradient(90deg, var(--blue-500), var(--blue-300));
}

/* 内页统一间距 */
.sec-pad { padding: 92px 0; }
.sec-pad-sm { padding: 70px 0; }
.sec-alt { background: var(--paper-alt); }

/* ==========================================================================
   3. 关于平台页
   ========================================================================== */

/* ---- 3.1 平台简介：左文右图 ---- */
.intro-grid {
  display: grid; grid-template-columns: 1.08fr .92fr; gap: 62px; align-items: center;
}
.intro-body { margin-top: 26px; font-size: 16px; line-height: 2.05; color: var(--ink-500); }
.intro-body p + p { margin-top: 17px; }
.intro-body strong { color: var(--ink-900); font-weight: 600; }
.intro-stats {
  margin-top: 34px; display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.intro-stat {
  padding: 20px 20px 18px; border-radius: var(--radius);
  background: var(--paper-alt); border: 1px solid var(--line);
}
.intro-stat .n {
  font-size: 27px; font-weight: 700; color: var(--blue-600); line-height: 1.1;
}
.intro-stat .n small { font-size: 14px; font-weight: 600; margin-left: 2px; }
.intro-stat .t { margin-top: 7px; font-size: 13.5px; color: var(--ink-500); }

.intro-visual {
  position: relative; border-radius: 18px; overflow: hidden;
  background: linear-gradient(140deg, var(--blue-900), var(--blue-700) 62%, var(--blue-600));
  min-height: 430px; padding: 40px 38px;
  box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; justify-content: space-between;
}
.intro-visual::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(142, 194, 242, .09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(142, 194, 242, .09) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(78% 78% at 62% 34%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(78% 78% at 62% 34%, #000 30%, transparent 100%);
}
.intro-visual .iv-ring {
  position: absolute; width: 320px; height: 320px; border-radius: 50%;
  right: -80px; bottom: -110px;
  border: 1px solid rgba(142, 194, 242, .3);
  box-shadow: inset 0 0 0 34px rgba(142, 194, 242, .07);
}
.intro-visual .iv-top { position: relative; z-index: 2; }
.intro-visual .iv-badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 16px; border-radius: 20px;
  background: rgba(142, 194, 242, .15);
  border: 1px solid rgba(142, 194, 242, .32);
  font-size: 13.5px; color: var(--blue-300);
}
.intro-visual .iv-badge svg { width: 16px; height: 16px; stroke: var(--blue-300); }
.intro-visual .iv-h {
  margin-top: 22px; font-size: 25px; font-weight: 700; color: #fff; line-height: 1.55;
}
.intro-visual .iv-p {
  margin-top: 13px; font-size: 15px; line-height: 1.9; color: rgba(200, 224, 250, .78);
}
.intro-visual .iv-list {
  position: relative; z-index: 2; margin-top: 30px;
  display: grid; gap: 12px;
}
.intro-visual .iv-list li {
  display: flex; align-items: center; gap: 11px;
  padding: 13px 16px; border-radius: 9px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(142, 194, 242, .18);
  font-size: 14.5px; color: rgba(219, 235, 251, .92);
}
.intro-visual .iv-list svg { width: 17px; height: 17px; flex-shrink: 0; stroke: var(--blue-300); }

/* ---- 3.2 展望 / 信念 / 使命 三卡 ---- */
.culture-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 54px;
}
.culture-card {
  position: relative; padding: 38px 32px 34px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow-sm);
  transition: transform .34s ease, box-shadow .34s ease, border-color .34s ease;
  overflow: hidden;
}
.culture-card::before {
  content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--blue-500), var(--blue-300));
  transform: scaleX(0); transform-origin: left; transition: transform .42s ease;
}
.culture-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--blue-100); }
.culture-card:hover::before { transform: scaleX(1); }
.culture-card .cc-en {
  font-size: 12px; font-weight: 600; letter-spacing: 2.6px;
  text-transform: uppercase; color: var(--blue-400);
}
.culture-card .cc-ico {
  width: 54px; height: 54px; border-radius: 13px; margin-top: 20px;
  background: var(--blue-50); border: 1px solid var(--blue-100);
  display: flex; align-items: center; justify-content: center;
  transition: background .32s ease, border-color .32s ease;
}
.culture-card .cc-ico svg { width: 26px; height: 26px; stroke: var(--blue-600); transition: stroke .32s ease; }
.culture-card:hover .cc-ico {
  background: linear-gradient(135deg, var(--blue-600), var(--blue-400));
  border-color: transparent;
}
.culture-card:hover .cc-ico svg { stroke: #fff; }
.culture-card h3 { margin-top: 24px; font-size: 21px; font-weight: 700; color: var(--ink-900); }
.culture-card .cc-sub { margin-top: 6px; font-size: 13.5px; color: var(--blue-500); font-weight: 500; }
.culture-card p { margin-top: 15px; font-size: 15px; line-height: 1.95; color: var(--ink-500); }

/* ---- 3.3 核心价值观 / 经营理念 ---- */
.creed-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 48px;
}
.creed-card {
  position: relative; padding: 40px 36px; border-radius: 14px;
  background: linear-gradient(140deg, var(--blue-900), var(--blue-700) 70%, var(--blue-600));
  overflow: hidden; color: #fff;
}
.creed-card.light {
  background: var(--paper); border: 1px solid var(--line); color: var(--ink-900);
  box-shadow: var(--shadow-sm);
}
.creed-card::after {
  content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%;
  right: -90px; top: -110px; border: 1px solid rgba(142, 194, 242, .26);
}
.creed-card.light::after { border-color: rgba(26, 95, 180, .12); }
.creed-card .cr-en {
  position: relative; z-index: 2;
  font-size: 12px; font-weight: 600; letter-spacing: 2.6px; text-transform: uppercase;
  color: var(--blue-300);
}
.creed-card.light .cr-en { color: var(--blue-500); }
.creed-card h3 { position: relative; z-index: 2; margin-top: 12px; font-size: 23px; font-weight: 700; }
.creed-card .cr-quote {
  position: relative; z-index: 2; margin-top: 20px;
  font-size: 17px; line-height: 1.95; color: rgba(214, 233, 251, .92);
}
.creed-card.light .cr-quote { color: var(--ink-500); font-size: 16px; }
.creed-tags { position: relative; z-index: 2; margin-top: 24px; display: flex; flex-wrap: wrap; gap: 9px; }
.creed-tags span {
  padding: 7px 14px; border-radius: 16px; font-size: 13.5px;
  background: rgba(142, 194, 242, .16);
  border: 1px solid rgba(142, 194, 242, .3);
  color: rgba(219, 235, 251, .95);
}
.creed-card.light .creed-tags span {
  background: var(--blue-50); border-color: var(--blue-100); color: var(--blue-700);
}

/* ---- 3.4 为什么选择（图标卡） ---- */
.why-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 52px;
}
.why-card {
  padding: 32px 26px 30px; border-radius: 13px;
  background: var(--paper); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .32s ease, box-shadow .32s ease, border-color .32s ease;
}
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--blue-100); }
.why-card .wc-ico {
  width: 50px; height: 50px; border-radius: 12px;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-400));
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 20px rgba(26, 95, 180, .26);
}
.why-card .wc-ico svg { width: 25px; height: 25px; stroke: #fff; }
.why-card h3 { margin-top: 21px; font-size: 18.5px; font-weight: 700; color: var(--ink-900); }
.why-card p { margin-top: 11px; font-size: 14.5px; line-height: 1.9; color: var(--ink-500); }

/* ---- 3.5 合作伙伴 logo 墙 ---- */
.partner-grid {
  margin-top: 46px;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px;
}
.partner-cell {
  height: 92px; border-radius: 11px;
  background: var(--paper); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 600; color: var(--ink-400);
  letter-spacing: .4px;
  transition: all .32s ease;
}
.partner-cell:hover {
  color: var(--blue-600); border-color: var(--blue-100);
  box-shadow: var(--shadow-sm); transform: translateY(-3px);
}

/* ---- 3.6 监管资质 ---- */
.qua-grid {
  margin-top: 46px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.qua-card {
  padding: 34px 30px; border-radius: 13px; text-align: center;
  background: var(--paper); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .32s ease, box-shadow .32s ease;
}
.qua-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.qua-card .qc-badge {
  width: 78px; height: 78px; margin: 0 auto; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-400));
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px rgba(26, 95, 180, .28);
}
.qua-card .qc-badge svg { width: 36px; height: 36px; stroke: #fff; }
.qua-card h3 { margin-top: 22px; font-size: 19px; font-weight: 700; color: var(--ink-900); }
.qua-card .qc-no {
  margin-top: 8px; font-size: 13.5px; color: var(--blue-500); font-weight: 600;
  letter-spacing: .5px;
}
.qua-card p { margin-top: 14px; font-size: 14.5px; line-height: 1.9; color: var(--ink-500); text-align: left; }

/* ==========================================================================
   4. 平台优势页（编号长文）
   ========================================================================== */
.adv-wrap { padding: 84px 0 20px; }

.adv-lead {
  position: relative; padding: 44px 46px; border-radius: 16px;
  background: url('../assets/images/bg.jpg') center center / cover no-repeat;
  color: #fff; overflow: hidden;
}
.adv-lead .al-en {
  position: relative; z-index: 2;
  font-size: 12px; font-weight: 600; letter-spacing: 2.8px; text-transform: uppercase;
  color: var(--blue-300);
}
.adv-lead h2 {
  position: relative; z-index: 2; margin-top: 14px;
  font-size: 29px; line-height: 1.5; font-weight: 700;
}
.adv-lead p {
  position: relative; z-index: 2; margin-top: 16px; max-width: 780px;
  font-size: 16px; line-height: 2; color: rgba(206, 228, 250, .84);
}

/* 编号章节 */
.adv-chapter { padding: 70px 0; border-bottom: 1px solid var(--line); }
.adv-chapter:last-of-type { border-bottom: 0; }
.adv-chapter .ch-head { display: flex; align-items: flex-start; gap: 24px; }
.adv-chapter .ch-no {
  flex-shrink: 0; width: 76px; height: 76px; border-radius: 18px;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-400));
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: #fff; box-shadow: 0 12px 28px rgba(26, 95, 180, .28);
}
.adv-chapter .ch-no b { font-size: 27px; font-weight: 700; line-height: 1; }
.adv-chapter .ch-no span {
  font-size: 9.5px; letter-spacing: 1.6px; text-transform: uppercase;
  opacity: .82; margin-top: 4px;
}
.adv-chapter .ch-title h3 {
  font-size: 26px; line-height: 1.5; font-weight: 700; color: var(--ink-900);
}
.adv-chapter .ch-title .ch-sub {
  margin-top: 10px; font-size: 15px; color: var(--blue-500); font-weight: 500;
}

.adv-chapter .ch-body {
  margin-top: 34px; font-size: 16px; line-height: 2.05; color: var(--ink-500);
}
.adv-chapter .ch-body > p + p { margin-top: 17px; }
.adv-chapter .ch-body strong { color: var(--ink-900); font-weight: 600; }
.adv-chapter .ch-body .hl {
  background: linear-gradient(transparent 62%, rgba(74, 154, 232, .28) 62%);
  font-weight: 600; color: var(--ink-900);
}

/* 图文交替 */
.adv-split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center;
  margin-top: 36px;
}
.adv-split.rev .adv-split-media { order: -1; }
.adv-split-media {
  border-radius: 14px; overflow: hidden; min-height: 300px;
  background: linear-gradient(140deg, var(--blue-800), var(--blue-600));
  display: flex; align-items: center; justify-content: center;
  position: relative;
}

/* 图片填满整个框 */
.adv-split-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;       /* 保持比例裁剪填满 */
  object-position: center; /* 居中裁剪，可改 top / bottom */
  display: block;
  z-index: 0;
}

/* 装饰圆环浮在图片上方 */
.adv-split-media .asm-ring {
  position: absolute;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  border: 1px solid rgba(142, 194, 242, .26);
  box-shadow: inset 0 0 0 30px rgba(142, 194, 242, .06);
  z-index: 1;
  pointer-events: none; /* 不挡点击 */
}

/* 要点清单 */
.adv-checks { margin-top: 26px; display: grid; gap: 14px; }
.adv-checks li {
  display: flex; align-items: flex-start; gap: 13px;
  padding: 17px 20px; border-radius: 10px;
  background: var(--paper-alt); border: 1px solid var(--line);
  font-size: 15.5px; line-height: 1.85; color: var(--ink-700);
}
.adv-checks svg {
  width: 20px; height: 20px; flex-shrink: 0; margin-top: 3px; stroke: var(--blue-600);
}
.adv-checks b { color: var(--ink-900); }

/* 对比表 */
.adv-table { margin-top: 30px; width: 100%; border-collapse: separate; border-spacing: 0; }
.adv-table th, .adv-table td {
  padding: 17px 20px; text-align: left; font-size: 15.2px; line-height: 1.8;
  border-bottom: 1px solid var(--line);
}
.adv-table thead th {
  background: var(--blue-50); color: var(--blue-700); font-weight: 600; font-size: 14.5px;
  border-bottom: 1px solid var(--blue-100);
}
.adv-table thead th:first-child { border-radius: 10px 0 0 0; }
.adv-table thead th:last-child { border-radius: 0 10px 0 0; }
.adv-table tbody tr:last-child td { border-bottom: 0; }
.adv-table tbody td:first-child { color: var(--ink-900); font-weight: 600; width: 26%; }
.adv-table tbody td { color: var(--ink-500); }
.adv-table tbody tr:hover td { background: #fbfdff; }
.adv-table-wrap {
  margin-top: 30px; border: 1px solid var(--line); border-radius: 12px;
  overflow: hidden; background: var(--paper);
}

/* 结尾 CTA */
.adv-tail {
  margin-top: 20px; padding: 56px 48px; border-radius: 16px; text-align: center;
  background: url('../assets/images/references.jpg') center center / cover no-repeat;
  position: relative; overflow: hidden;
}
.adv-tail h2 {
  position: relative; z-index: 2;
  font-size: 30px; line-height: 1.5; font-weight: 700; color: #fff;
}
.adv-tail p {
  position: relative; z-index: 2; margin: 16px auto 0; max-width: 700px;
  font-size: 16px; line-height: 1.95; color: rgba(206, 228, 250, .84);
}
.adv-tail .btn-primary { margin-top: 34px; position: relative; z-index: 2; }

/* ==========================================================================
   5. 投资百科（列表页）—— 左列表 + 右侧栏
   ========================================================================== */
.wiki-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) 336px; gap: 46px;
  padding: 76px 0 92px;
}

/* 列表项 */
.wiki-item {
  display: grid; grid-template-columns: 236px minmax(0, 1fr); gap: 28px;
  padding: 28px 0; border-bottom: 1px solid var(--line);
}
.wiki-item:first-child { padding-top: 0; }
.wiki-item:last-child { border-bottom: 0; }
.wiki-thumb {
  position: relative; border-radius: 12px; overflow: hidden;
  min-height: 152px;
  background: linear-gradient(140deg, var(--blue-800), var(--blue-600));
  display: flex; align-items: center; justify-content: center;
  transition: transform .36s ease;
}
.wiki-item:hover .wiki-thumb { transform: translateY(-3px); }
.wiki-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;      /* 保持比例裁剪填满 */
  object-position: center;/* 居中显示，可改成 top / bottom */
  display: block;
  stroke: none;           /* 原来的 stroke 是给 svg 用的，img 不需要 */
}
.wiki-thumb .wt-ring {
  position: absolute; width: 132px; height: 132px; border-radius: 50%;
  border: 1px solid rgba(142, 194, 242, .26);
}
.wiki-cat {
  display: inline-block; padding: 5px 12px; border-radius: 14px;
  background: var(--blue-50); border: 1px solid var(--blue-100);
  font-size: 12.5px; color: var(--blue-600); font-weight: 500;
}
.wiki-item h2 {
  margin-top: 13px; font-size: 20.5px; line-height: 1.55; font-weight: 700;
  color: var(--ink-900); transition: color .26s ease;
}
.wiki-item:hover h2 { color: var(--blue-600); }
.wiki-item .wi-desc {
  margin-top: 12px; font-size: 14.8px; line-height: 1.9; color: var(--ink-500);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.wiki-meta {
  margin-top: 16px; display: flex; align-items: center; flex-wrap: wrap; gap: 18px;
  font-size: 13.5px; color: var(--ink-400);
}
.wiki-meta span { display: inline-flex; align-items: center; gap: 7px; }
.wiki-meta svg { width: 15px; height: 15px; stroke: var(--ink-400); }

/* 分页 */
.pager {
  margin-top: 46px; display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 9px;
}
.pager a, .pager span {
  min-width: 42px; height: 42px; padding: 0 15px; border-radius: 9px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 14.5px; color: var(--ink-700);
  background: var(--paper); border: 1px solid var(--line);
  transition: all .26s ease;
}
.pager a:hover { color: var(--blue-600); border-color: var(--blue-300); }
.pager .on {
  background: linear-gradient(135deg, var(--blue-600), var(--blue-500));
  border-color: transparent; color: #fff; font-weight: 600;
  box-shadow: 0 8px 20px rgba(26, 95, 180, .28);
}
.pager .dots { border: 0; background: transparent; min-width: auto; padding: 0 4px; }

/* ==========================================================================
   6. 侧边栏（列表页 / 详情页共用）
   ========================================================================== */
.side { display: grid; gap: 26px; align-content: start; }
.widget {
  padding: 26px 24px; border-radius: 13px;
  background: var(--paper); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.widget-title {
  display: flex; align-items: center; gap: 10px;
  font-size: 17px; font-weight: 700; color: var(--ink-900);
  padding-bottom: 15px; border-bottom: 1px solid var(--line);
}
.widget-title i {
  width: 4px; height: 17px; border-radius: 2px;
  background: linear-gradient(180deg, var(--blue-500), var(--blue-300));
}
.widget-title .wt-en {
  margin-left: auto; font-size: 11px; font-weight: 600;
  letter-spacing: 1.8px; text-transform: uppercase; color: var(--blue-300);
}

/* 搜索框 */
.side-search { display: flex; gap: 9px; margin-top: 18px; }
.side-search input {
  flex: 1; min-width: 0; height: 46px; padding: 0 15px;
  border: 1px solid var(--line); border-radius: 9px;
  background: var(--paper-alt); font-size: 14.5px; color: var(--ink-900);
  font-family: inherit; outline: none; transition: all .26s ease;
}
.side-search input::placeholder { color: var(--ink-400); }
.side-search input:focus {
  border-color: var(--blue-300); background: #fff;
  box-shadow: 0 0 0 3px rgba(74, 154, 232, .14);
}
.side-search button {
  flex-shrink: 0; width: 52px; height: 46px; border: 0; cursor: pointer;
  border-radius: 9px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-500));
  transition: all .26s ease;
}
.side-search button:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(26, 95, 180, .34); }
.side-search button svg { width: 20px; height: 20px; stroke: #fff; }

/* 热门排行 */
.rank-list { margin-top: 8px; }
.rank-item {
  display: flex; align-items: flex-start; gap: 13px;
  padding: 15px 0; border-bottom: 1px dashed var(--line);
}
.rank-item:last-child { border-bottom: 0; padding-bottom: 0; }
.rank-no {
  flex-shrink: 0; width: 24px; height: 24px; border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  font-size: 12.5px; font-weight: 700; color: var(--ink-400);
  background: var(--ink-100);
}
.rank-item.top1 .rank-no { background: linear-gradient(135deg, #1a5fb4, #4a9ae8); color: #fff; }
.rank-item.top2 .rank-no { background: linear-gradient(135deg, #2278d4, #6fb0ee); color: #fff; }
.rank-item.top3 .rank-no { background: linear-gradient(135deg, #4a9ae8, #8ec2f2); color: #fff; }
.rank-item h4 {
  font-size: 14.8px; line-height: 1.65; font-weight: 500; color: var(--ink-700);
  transition: color .26s ease;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.rank-item:hover h4 { color: var(--blue-600); }
.rank-item .ri-meta { margin-top: 7px; font-size: 12.5px; color: var(--ink-400); }

/* 最新文章 */
.latest-list { margin-top: 8px; }
.latest-item {
  display: flex; gap: 14px; align-items: center;
  padding: 14px 0; border-bottom: 1px dashed var(--line);
}
.latest-item:last-child { border-bottom: 0; padding-bottom: 0; }
.latest-thumb {
  flex-shrink: 0; width: 74px; height: 58px; border-radius: 9px;
  background: linear-gradient(140deg, var(--blue-800), var(--blue-600));
  display: flex; align-items: center; justify-content: center;
}
.latest-thumb svg { width: 24px; height: 24px; stroke: rgba(214, 233, 251, .9); }
.latest-item h4 {
  font-size: 14.5px; line-height: 1.6; font-weight: 500; color: var(--ink-700);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  transition: color .26s ease;
}
.latest-item:hover h4 { color: var(--blue-600); }
.latest-item .li-date { margin-top: 6px; font-size: 12.5px; color: var(--ink-400); }

/* 标签云 */
.tag-cloud { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 9px; }
.tag-cloud a {
  padding: 7px 14px; border-radius: 16px; font-size: 13.5px;
  background: var(--paper-alt); border: 1px solid var(--line); color: var(--ink-500);
  transition: all .26s ease;
}
.tag-cloud a:hover {
  color: var(--blue-600); border-color: var(--blue-300); background: var(--blue-50);
}

/* 侧栏咨询卡 */
.side-cta {
  padding: 32px 26px; border-radius: 13px; text-align: center;
  background: linear-gradient(140deg, var(--blue-900), var(--blue-700) 70%, var(--blue-600));
  position: relative; overflow: hidden;
}
.side-cta::after {
  content: ""; position: absolute; width: 200px; height: 200px; border-radius: 50%;
  left: -80px; bottom: -110px; border: 1px solid rgba(142, 194, 242, .24);
}
.side-cta .sc-ico {
  position: relative; z-index: 2;
  width: 54px; height: 54px; margin: 0 auto; border-radius: 50%;
  background: rgba(142, 194, 242, .16); border: 1px solid rgba(142, 194, 242, .32);
  display: flex; align-items: center; justify-content: center;
}
.side-cta .sc-ico svg { width: 26px; height: 26px; stroke: var(--blue-300); }
.side-cta h4 { position: relative; z-index: 2; margin-top: 18px; font-size: 18px; font-weight: 700; color: #fff; }
.side-cta p {
  position: relative; z-index: 2; margin-top: 10px;
  font-size: 14px; line-height: 1.85; color: rgba(206, 228, 250, .8);
}
.side-cta .sc-btn {
  position: relative; z-index: 2; display: block; margin-top: 22px;
  height: 46px; line-height: 46px; border-radius: 23px;
  background: #fff; color: var(--blue-700); font-size: 15px; font-weight: 600;
  transition: all .28s ease;
}
.side-cta .sc-btn:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0, 0, 0, .22); }

/* ==========================================================================
   7. 文章详情页
   ========================================================================== */
.article-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) 336px; gap: 46px;
  padding: 60px 0 92px;
}
.article-main {
  padding: 44px 46px 40px; border-radius: 14px;
  background: var(--paper); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.art-head { padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.art-head h1 {
  font-size: 32px; line-height: 1.5; font-weight: 700; color: var(--ink-900);
}
.art-meta {
  margin-top: 20px; display: flex; align-items: center; flex-wrap: wrap; gap: 20px;
  font-size: 13.8px; color: var(--ink-400);
}
.art-meta span { display: inline-flex; align-items: center; gap: 7px; }
.art-meta svg { width: 15px; height: 15px; stroke: var(--ink-400); }
.art-meta .am-cat {
  padding: 5px 13px; border-radius: 14px;
  background: var(--blue-50); border: 1px solid var(--blue-100);
  color: var(--blue-600); font-weight: 500;
}

/* 正文排版 */
.art-body { margin-top: 30px; font-size: 16.4px; line-height: 2.15; color: var(--ink-700); }
.art-body p { margin-top: 20px; }
.art-body h2 {
  margin-top: 46px; padding-left: 16px; position: relative;
  font-size: 24px; line-height: 1.55; font-weight: 700; color: var(--ink-900);
}
.art-body h2::before {
  content: ""; position: absolute; left: 0; top: 7px; bottom: 7px; width: 4px;
  border-radius: 2px; background: linear-gradient(180deg, var(--blue-500), var(--blue-300));
}
.art-body h3 {
  margin-top: 34px; font-size: 19.5px; line-height: 1.6; font-weight: 700; color: var(--ink-900);
}
.art-body strong { color: var(--ink-900); font-weight: 600; }
.art-body ul, .art-body ol { margin-top: 20px; display: grid; gap: 12px; }
.art-body ul li {
  position: relative; padding-left: 24px;
}
.art-body ul li::before {
  content: ""; position: absolute; left: 6px; top: 13px;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--blue-400);
}
.art-body ol { counter-reset: ai; }
.art-body ol li {
  position: relative; padding-left: 34px; counter-increment: ai;
}
.art-body ol li::before {
  content: counter(ai);
  position: absolute; left: 0; top: 7px;
  width: 22px; height: 22px; border-radius: 6px;
  background: var(--blue-50); border: 1px solid var(--blue-100);
  color: var(--blue-600); font-size: 12.5px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.art-body blockquote {
  margin-top: 26px; padding: 22px 26px; border-radius: 10px;
  background: var(--blue-50); border-left: 4px solid var(--blue-400);
  font-size: 16px; line-height: 1.95; color: var(--blue-700);
}
.art-body blockquote p { margin-top: 0; }
.art-body blockquote p + p { margin-top: 12px; }
.art-body .fig {
  margin-top: 30px; padding: 30px; border-radius: 12px;
  background: linear-gradient(140deg, var(--blue-800), var(--blue-600));
  display: flex; align-items: center; justify-content: center; gap: 20px;
  flex-wrap: wrap; text-align: center;
}
.art-body .fig-cell { color: #fff; min-width: 130px; }
.art-body .fig-cell b { display: block; font-size: 29px; font-weight: 700; line-height: 1.2; }
.art-body .fig-cell span { display: block; margin-top: 6px; font-size: 13.5px; color: rgba(206, 228, 250, .82); }
.art-body .fig-sep { width: 1px; height: 46px; background: rgba(142, 194, 242, .3); }
.art-body .note {
  margin-top: 28px; padding: 20px 24px; border-radius: 10px;
  background: var(--paper-alt); border: 1px solid var(--line);
  font-size: 15px; line-height: 1.95; color: var(--ink-500);
}
.art-body .note b { color: var(--ink-900); }

/* 正文表格 */
.art-body table { margin-top: 28px; width: 100%; border-collapse: collapse; font-size: 15.2px; }
.art-body table th, .art-body table td {
  padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--line); line-height: 1.8;
}
.art-body table thead th {
  background: var(--blue-50); color: var(--blue-700); font-weight: 600; font-size: 14.5px;
}
.art-body table tbody td { color: var(--ink-500); }
.art-body table tbody td:first-child { color: var(--ink-900); font-weight: 600; }

/* 标签 + 分享 */
.art-foot {
  margin-top: 46px; padding-top: 28px; border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 20px;
}
.art-tags { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; }
.art-tags .at-lbl { font-size: 14px; color: var(--ink-400); }
.art-tags a {
  padding: 7px 14px; border-radius: 16px; font-size: 13.5px;
  background: var(--paper-alt); border: 1px solid var(--line); color: var(--ink-500);
  transition: all .26s ease;
}
.art-tags a:hover { color: var(--blue-600); border-color: var(--blue-300); background: var(--blue-50); }
.art-share { display: flex; align-items: center; gap: 10px; }
.art-share .as-lbl { font-size: 14px; color: var(--ink-400); }
.art-share button {
  width: 38px; height: 38px; border-radius: 50%; cursor: pointer;
  border: 1px solid var(--line); background: var(--paper-alt);
  display: flex; align-items: center; justify-content: center;
  transition: all .26s ease;
}
.art-share button:hover {
  background: linear-gradient(135deg, var(--blue-600), var(--blue-500));
  border-color: transparent; transform: translateY(-3px);
}
.art-share button svg { width: 18px; height: 18px; stroke: var(--ink-500); transition: stroke .26s ease; }
.art-share button:hover svg { stroke: #fff; }

/* 上下篇 */
.art-turn { margin-top: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.turn-card {
  padding: 22px 24px; border-radius: 12px;
  background: var(--paper); border: 1px solid var(--line);
  transition: all .3s ease;
}
.turn-card:hover { border-color: var(--blue-300); box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.turn-card .tc-lbl {
  display: flex; align-items: center; gap: 7px;
  font-size: 13px; color: var(--ink-400);
}
.turn-card .tc-lbl svg { width: 15px; height: 15px; stroke: var(--ink-400); }
.turn-card h4 {
  margin-top: 10px; font-size: 15.5px; line-height: 1.65; font-weight: 600; color: var(--ink-900);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  transition: color .26s ease;
}
.turn-card:hover h4 { color: var(--blue-600); }
.turn-card.next { text-align: right; }
.turn-card.next .tc-lbl { justify-content: flex-end; }

/* 相关阅读 */
.related-wrap { margin-top: 56px; }
.related-wrap .rel-head {
  display: flex; align-items: center; gap: 12px;
  font-size: 21px; font-weight: 700; color: var(--ink-900);
  padding-bottom: 18px; border-bottom: 1px solid var(--line);
}
.related-wrap .rel-head i {
  width: 4px; height: 20px; border-radius: 2px;
  background: linear-gradient(180deg, var(--blue-500), var(--blue-300));
}
.related-grid {
  margin-top: 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.rel-card {
  border-radius: 12px; overflow: hidden;
  background: var(--paper); border: 1px solid var(--line);
  transition: all .32s ease;
}
.rel-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--blue-100); }
.rel-card .rc-media {
  height: 138px;
  background: linear-gradient(140deg, var(--blue-800), var(--blue-600));
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.rel-card .rc-media svg { width: 42px; height: 42px; stroke: rgba(214, 233, 251, .9); }
.rel-card .rc-media .rcr {
  position: absolute; width: 110px; height: 110px; border-radius: 50%;
  border: 1px solid rgba(142, 194, 242, .24);
}
.rel-card .rc-body { padding: 20px 20px 22px; }
.rel-card .rc-cat { font-size: 12.5px; color: var(--blue-500); font-weight: 500; }
.rel-card h4 {
  margin-top: 9px; font-size: 15.8px; line-height: 1.65; font-weight: 600; color: var(--ink-900);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  transition: color .26s ease;
}
.rel-card:hover h4 { color: var(--blue-600); }
.rel-card .rc-date { margin-top: 12px; font-size: 12.8px; color: var(--ink-400); }

/* ==========================================================================
   8. 内页响应式
   ========================================================================== */

/* ---------- ≤1400px ---------- */
@media (max-width: 1400px) {
  .wiki-layout, .article-layout { grid-template-columns: minmax(0, 1fr) 306px; gap: 36px; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .partner-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- ≤1180px（与主导航折叠点一致） ---------- */
@media (max-width: 1180px) {
  .page-banner { padding: 150px 0 64px; }
  .page-banner h1 { font-size: 34px; }
  .sec-pad { padding: 72px 0; }
  .sec-head-l h2 { font-size: 29px; }
  .intro-grid { grid-template-columns: 1fr; gap: 42px; }
  .intro-visual { min-height: auto; }
  .culture-grid { grid-template-columns: 1fr; gap: 18px; margin-top: 40px; }
  .creed-grid { grid-template-columns: 1fr; gap: 18px; }
  .qua-grid { grid-template-columns: 1fr; gap: 18px; }
  .adv-split { grid-template-columns: 1fr; gap: 30px; }
  .adv-split.rev .adv-split-media { order: 0; }
  .adv-chapter { padding: 56px 0; }
  .adv-lead { padding: 34px 30px; }
  .adv-lead h2 { font-size: 24px; }
  /* 列表页/详情页：侧栏下沉，改为单列 */
  .wiki-layout, .article-layout { grid-template-columns: 1fr; gap: 40px; padding: 56px 0 72px; }
  .article-main { padding: 34px 28px 32px; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- ≤900px ---------- */
@media (max-width: 900px) {
  .page-banner h1 { font-size: 29px; }
  .page-banner .pb-sub { font-size: 15.5px; }
  .wiki-item { grid-template-columns: 190px minmax(0, 1fr); gap: 22px; }
  .wiki-thumb { min-height: 132px; }
  .wiki-item h2 { font-size: 18.5px; }
  .art-head h1 { font-size: 26px; }
  .art-body { font-size: 16px; }
  .art-body h2 { font-size: 21px; margin-top: 38px; }
  .art-body h3 { font-size: 18px; }
  .adv-chapter .ch-title h3 { font-size: 22px; }
  .adv-tail { padding: 42px 28px; }
  .adv-tail h2 { font-size: 24px; }
}

/* ---------- ≤680px ---------- */
@media (max-width: 680px) {
  .page-banner { padding: 128px 0 52px; }
  .page-banner h1 { font-size: 25px; }
  .sec-pad { padding: 56px 0; }
  .sec-head-l h2 { font-size: 24px; }
  .sec-head-l .lede { font-size: 15.5px; }
  /* 列表项改单列 */
  .wiki-item { grid-template-columns: 1fr; gap: 18px; }
  .wiki-thumb { min-height: 168px; }
  /* 章节头堆叠 */
  .adv-chapter .ch-head { gap: 16px; }
  .adv-chapter .ch-no { width: 58px; height: 58px; border-radius: 14px; }
  .adv-chapter .ch-no b { font-size: 21px; }
  .adv-chapter .ch-no span { display: none; }
  .adv-chapter .ch-title h3 { font-size: 19px; }
  .adv-table th, .adv-table td { padding: 13px 14px; font-size: 14px; }
  .adv-table-wrap { overflow-x: auto; }
  .art-body table { display: block; overflow-x: auto; }
  /* 详情页 */
  .article-main { padding: 26px 20px 26px; }
  .art-head h1 { font-size: 22px; }
  .art-meta { gap: 12px; font-size: 13px; }
  .art-body { font-size: 15.6px; line-height: 2.05; }
  .art-body h2 { font-size: 19px; }
  .art-turn { grid-template-columns: 1fr; }
  .turn-card.next { text-align: left; }
  .turn-card.next .tc-lbl { justify-content: flex-start; }
  .related-grid { grid-template-columns: 1fr; }
  .art-foot { flex-direction: column; align-items: flex-start; }
  /* 侧栏 */
  .widget { padding: 22px 18px; }
  .side-cta { padding: 26px 20px; }
  /* 分页 */
  .pager a, .pager span { min-width: 38px; height: 38px; font-size: 13.5px; padding: 0 12px; }
  .intro-stats { grid-template-columns: 1fr; }
  .partner-grid { grid-template-columns: repeat(2, 1fr); }
  .adv-checks li { padding: 14px 16px; font-size: 14.5px; }
  .art-body .fig { padding: 24px 18px; gap: 14px; }
  .art-body .fig-sep { display: none; }
}

/* ---------- ≤420px ---------- */
@media (max-width: 420px) {
  .page-banner { padding: 116px 0 44px; }
  .page-banner h1 { font-size: 22px; }
  .intro-visual { padding: 28px 22px; }
  .intro-visual .iv-h { font-size: 20px; }
  .culture-card { padding: 28px 22px 26px; }
  .why-card { padding: 26px 20px 24px; }
  .creed-card { padding: 30px 24px; }
  .qua-card { padding: 28px 22px; }
  .wiki-item h2 { font-size: 17px; }
  .art-head h1 { font-size: 20px; }
  .widget { padding: 20px 16px; }
  .adv-tail { padding: 34px 20px; }
  .adv-tail h2 { font-size: 21px; }
}

/* ---------- 触屏：禁用 hover 位移 ---------- */
@media (hover: none) {
  .culture-card:hover, .why-card:hover, .qua-card:hover,
  .wiki-item:hover .wiki-thumb, .turn-card:hover, .rel-card:hover,
  .partner-cell:hover { transform: none; }
}

/* ---------- 降低动效偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  .culture-card, .why-card, .qua-card, .wiki-thumb, .turn-card, .rel-card,
  .side-search button, .side-cta .sc-btn { transition: none; }
}
