/**
 * 中国档案学会网站 · 前台现代主题层（叠加式覆盖）
 * ---------------------------------------------------------------------------
 * 本文件加载在 legacy CSS（public/legacy/...）之后，对旧站样式做"保持风格的
 * 现代化重绘"：
 *   - 品牌色 token 沉淀自原站（深藏青 #002f54 / 金铜 #c2955b / 绛红 #882625 /
 *     羊皮纸米色系），与移动端 mobile.css 的 --m-* 色板同源。
 *   - 标题使用思源宋体子集（/fonts/noto-serif-sc/index.css），正文保持雅黑。
 *   - 档案学特色以含蓄细节呈现：金色双线框、档案编号式日期〔〕、印章式徽标、
 *     金点时间轴、"蘭臺"水印。
 *   - 覆盖 legacy 的选择器一律加 body 前缀提升特异性，不依赖加载顺序；
 *     全文件不使用 !important，避免压过关怀版（body.a11y-senior）规则。
 *   - 不改动 legacy 资产与 jQuery 依赖的 DOM 结构；显隐类交互仍由旧脚本驱动。
 */

/* ============================== 1. 设计 token ============================== */

:root {
  /* 品牌色（沉淀自原站 legacy CSS 与 og-default.png 品牌图） */
  --dx-navy: #002f54;
  --dx-navy-deep: #012b4c;
  --dx-navy-hover: #005191;
  --dx-gold: #c2955b;
  --dx-gold-2: #c6995e;
  --dx-gold-text: #9a6721; /* 金色作文字色时使用，保证对比度 */
  --dx-crimson: #882625;
  --dx-crimson-deep: #761918;
  /* 羊皮纸 / 米色系 */
  --dx-paper: #f0e7dd;
  --dx-paper-2: #faf6ef;
  --dx-line: #dfc8ae;
  --dx-line-soft: #eee7db;
  /* 中性 */
  --dx-text: #333;
  --dx-text-2: #666;
  --dx-text-3: #999;
  --dx-bg: #f5f5f5;
  --dx-card: #fff;
  /* 字体（标题与正文统一雅黑，通过字重/字距建立层级） */
  --dx-font-body: '微软雅黑', 'Microsoft YaHei', Arial, sans-serif;
  --dx-font-heading: '微软雅黑', 'Microsoft YaHei', Arial, sans-serif;
  /* 动效 */
  --dx-fast: 0.18s;
  --dx-mid: 0.3s;
  --dx-ease: cubic-bezier(0.4, 0, 0.2, 1);
  /* 阴影 / 圆角 */
  --dx-shadow-1: 0 1px 3px rgba(0, 47, 84, 0.08);
  --dx-shadow-2: 0 8px 24px rgba(0, 47, 84, 0.14);
  --dx-radius: 6px;
  --dx-radius-lg: 10px;
}

body {
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: rgba(194, 149, 91, 0.35);
}

/* ============================== 2. 档案特色工具类 ============================== */

/* 金色双线框：源自学会 OG 图"绛红 + 金棕双线"的卷宗式装饰母题 */
.dx-double-frame {
  border: 1px solid rgba(194, 149, 91, 0.75);
  outline: 1px solid rgba(194, 149, 91, 0.35);
  outline-offset: 3px;
}

/* 档案编号式日期：等宽数字 + 方头括号，用于列表日期（CSS 加括号，不改数据） */
.dx-date-tag,
body .index1 .left_bot .txt_item .con_wrap ul li .post-title3,
body .index2 .bg_ff .txt_item ul li .post-title3 {
  color: var(--dx-gold-text);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.5px;
}
body .index1 .left_bot .txt_item .con_wrap ul li .post-title3::before,
body .index2 .bg_ff .txt_item ul li .post-title3::before {
  content: '〔';
  color: var(--dx-line);
}
body .index1 .left_bot .txt_item .con_wrap ul li .post-title3::after,
body .index2 .bg_ff .txt_item ul li .post-title3::after {
  content: '〕';
  color: var(--dx-line);
}

/* 精品论文年期徽标（档案卷宗号样式） */
.dx-issue-tag {
  display: inline-block;
  margin-right: 8px;
  padding: 0 6px;
  background: var(--dx-paper);
  border: 1px solid var(--dx-line);
  border-radius: 3px;
  color: var(--dx-gold-text);
  font-size: 11px;
  line-height: 18px;
  font-weight: 400;
  vertical-align: 2px;
  white-space: nowrap;
}

/* 现代栏目标题：宋体 + 金色双线 + 英文小字（替代旧站 PNG 标题图） */
.dx-sec-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}
.dx-sec-title::before,
.dx-sec-title::after {
  content: '';
  width: 64px;
  height: 5px;
  border-top: 1px solid rgba(194, 149, 91, 0.85);
  border-bottom: 1px solid rgba(194, 149, 91, 0.85);
}
.dx-sec-title__t {
  font-family: var(--dx-font-heading);
  font-weight: 600;
  font-size: 30px;
  color: var(--dx-navy);
  letter-spacing: 6px;
}
.dx-sec-title__en {
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--dx-gold-text);
}
.dx-sec-title--light .dx-sec-title__t {
  color: #fff;
}
.dx-sec-title--light .dx-sec-title__en {
  color: rgba(255, 255, 255, 0.72);
}

/* ============================== 3. 页头 Header ============================== */

/* 顶部品牌饰条：藏青 → 金（与移动端顶栏饰线呼应） */
body .header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--dx-navy) 0%, var(--dx-navy) 62%, var(--dx-gold) 62%, var(--dx-gold-2) 100%);
  z-index: 5;
}
body .header {
  box-shadow: 0 2px 14px rgba(0, 47, 84, 0.08);
}

/* 主导航项：hover 藏青 + 金色下划线展开；当前栏目常驻标记 */
body .header .header_left li h4 {
  transition: color var(--dx-fast) var(--dx-ease);
}
body .header .header_left li h4::after {
  content: '';
  position: absolute;
  left: 15%;
  right: 15%;
  bottom: 4px;
  height: 2px;
  border-radius: 1px;
  background: linear-gradient(90deg, var(--dx-gold), var(--dx-gold-2));
  transform: scaleX(0);
  transform-origin: 50% 50%;
  transition: transform var(--dx-mid) var(--dx-ease);
}
body .header .header_left li:hover h4,
body .header .header_left li.on h4 {
  color: var(--dx-navy);
}
body .header .header_left li:hover h4::after,
body .header .header_left li.on h4::after {
  transform: scaleX(1);
}
body .header .header_left li p {
  transition: color var(--dx-fast) var(--dx-ease);
}
body .header .header_left li:hover p {
  color: var(--dx-gold-text);
}

/* 下拉菜单：保留金色顶线（细化为渐变 2px）、圆角、柔和阴影 */
body .header .header_left li dl {
  border-radius: 0 0 var(--dx-radius) var(--dx-radius);
  box-shadow: 0 14px 34px rgba(0, 47, 84, 0.16);
  overflow: hidden;
  padding-top: 2px;
}
body .header .header_left li dl::before {
  height: 2px;
  background: linear-gradient(90deg, var(--dx-gold), var(--dx-gold-2));
}
body .header .header_left li dl dd {
  border-bottom: 1px solid var(--dx-line-soft);
}
body .header .header_left li dl dd:last-child {
  border-bottom: none;
}
body .header .header_left li dl dd a {
  transition: color var(--dx-fast), background-color var(--dx-fast);
}
body .header .header_left li dl dd:hover a {
  font-size: 14px; /* 抵消旧站 hover 放大造成的行跳动 */
  color: var(--dx-navy);
  background: var(--dx-paper-2);
}

/* 页头站内搜索入口（Header.tsx 渲染，跳转 /search.html 旧地址） */
body .header .dx-header-search {
  position: absolute;
  top: 7px;
  right: 74px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  color: #999;
  border: 1px solid #ddd;
  border-radius: 50%;
  transition: color var(--dx-fast), border-color var(--dx-fast);
}
body .header .dx-header-search:hover {
  color: var(--dx-navy);
  border-color: var(--dx-gold);
}

/* ============================== 4. 页脚 Footer ============================== */

/* 深色底图上叠藏青渐变，提升质感与文字可读性 */
body .footer {
  background: linear-gradient(180deg, rgba(1, 22, 44, 0.86), rgba(1, 32, 60, 0.92)),
    url(/legacy/assets.idangan.cn/daxh/images/footer_bg.jpg) no-repeat center / cover;
}

/* 下拉选择器现代化 */
body .footer_wrap .sel_wrap div.sel {
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: var(--dx-radius);
  transition: border-color var(--dx-fast);
}
body .footer_wrap .sel_wrap div.sel:hover {
  border-color: rgba(194, 149, 91, 0.8);
}
body .footer_wrap .sel_wrap select {
  color: #cdd9e4;
}

/* ============================== 5. 内页快捷入口 link_box ============================== */

/* 旧站位图瓷砖（link_on.png + bor.png）→ 米色卷宗卡 + 图标；
   旧站 nth-child 交錯边距在矩形卡片下显得错乱，改为规整三列网格 */
body .link_box ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
body .link_box ul li:nth-child(n) {
  display: flex;
  align-items: center;
  justify-content: center;
  float: none;
  box-sizing: border-box;
  width: calc((100% - 48px) / 3);
  height: 128px;
  margin: 0;
  background: linear-gradient(165deg, var(--dx-paper-2), var(--dx-paper));
  border: 1px solid var(--dx-line);
  border-radius: var(--dx-radius-lg);
  box-shadow: var(--dx-shadow-1);
  line-height: normal;
  transition: transform var(--dx-mid) var(--dx-ease), box-shadow var(--dx-mid) var(--dx-ease),
    border-color var(--dx-mid) var(--dx-ease);
}
body .link_box ul li:hover {
  transform: translateY(-4px);
  box-shadow: var(--dx-shadow-2);
  border-color: rgba(194, 149, 91, 0.65);
}
body .link_box ul li a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--dx-gold-text);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 2px;
}
body .link_box ul li:hover a {
  font-size: 20px; /* 抵消旧站 hover 放大 */
  color: var(--dx-navy);
}
body .link_box ul li a svg {
  flex: none;
}

/* ============================== 6. 首页 · 整屏滚动配件 ============================== */

/* fullPage 左侧导航点：旧站大圆框 → 现代小圆点（栏目标签文字隐藏，hover 提示保留） */
body #fp-nav ul li::before {
  display: none;
}
body #fp-nav ul li a {
  width: 14px;
  height: 14px;
  margin: 6px 0;
  border: none;
  border-radius: 50%;
  background: none;
}
body #fp-nav ul li a span {
  width: 8px;
  height: 8px;
  line-height: 8px;
  margin: 3px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  overflow: hidden;
  font-size: 0;
  transition: background var(--dx-fast), transform var(--dx-fast) var(--dx-ease);
}
body #fp-nav ul li:hover a span {
  background: rgba(255, 255, 255, 0.85);
}
body #fp-nav ul li a.active span,
body #fp-nav ul li:hover a.active span {
  width: 8px;
  height: 8px;
  background: var(--dx-gold-2);
  transform: scale(1.35);
  box-shadow: 0 0 0 3px rgba(198, 153, 94, 0.28);
}

/* 返回顶部按钮 */
body .go_top {
  box-shadow: 0 6px 16px rgba(136, 38, 37, 0.3);
  transition: transform var(--dx-fast) var(--dx-ease), box-shadow var(--dx-fast);
}
body .go_top:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(136, 38, 37, 0.4);
}

/* ============================== 7. 首页 · 第一屏（全宽英雄式焦点图） ============================== */

/* 第一屏容器顶到 section 顶部，让焦点图通栏满宽（页头以玻璃态悬浮其上） */
body .index1 .index1_wrap {
  top: 0;
  height: 100%;
  padding: 0;
}
/* 焦点图铺满整个首屏，内容卡片全部悬浮其上 */
body .index1 .l_top {
  height: 100%;
}

/* 焦点图：单张通栏（slidesPerView 1），铺满裁切 */
body #certify {
  height: 100%;
  border-radius: 0;
  box-shadow: none;
}
body #certify .swiper-container {
  height: 100%;
}
body #certify .swiper-slide {
  height: 100%;
}
body #certify .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Ken Burns 缓慢推近（激活片生效，翻页后重新开始） */
@keyframes daxh-kenburns {
  from {
    transform: scale(1.02);
  }
  to {
    transform: scale(1.1);
  }
}
body #certify .swiper-slide-active img {
  animation: daxh-kenburns 8s ease-out forwards;
}

/* 字幕卡片：左下角毛玻璃标题卡，紧贴新闻卡上方（与玻璃页头同一质感语言）；
   固定宽高，顶部留出圆点连线指示带 */
body #certify .swiper-slide > a {
  position: absolute;
  inset: 0;
  z-index: 2;
}
body #certify .swiper-slide > a p {
  position: absolute;
  left: 5%;
  right: auto;
  top: auto;
  bottom: 384px;
  width: 560px;
  max-width: 560px;
  height: 178px;
  box-sizing: border-box;
  padding: 48px 30px 20px;
  background: linear-gradient(160deg, rgba(1, 32, 60, 0.72), rgba(1, 22, 46, 0.58));
  -webkit-backdrop-filter: blur(10px) saturate(1.3);
  backdrop-filter: blur(10px) saturate(1.3);
  border-left: 4px solid var(--dx-gold);
  border-radius: var(--dx-radius);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.25);
  color: #fff;
  font-family: var(--dx-font-heading);
  font-weight: 600;
  font-size: 20px;
  line-height: 1.65;
  letter-spacing: 1px;
}
body #certify .dx-hero-t {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
body #certify .dx-hero-more {
  display: inline-block;
  margin-top: 12px;
  padding: 5px 20px;
  border: 1px solid var(--dx-gold-2);
  border-radius: 3px;
  color: var(--dx-gold-2);
  font-family: var(--dx-font-body);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 3px;
  transition: background-color var(--dx-fast), color var(--dx-fast);
}
body #certify .swiper-slide > a:hover .dx-hero-more {
  background: var(--dx-gold-2);
  color: #fff;
}
@media screen and (max-width: 1366px) {
  body #certify .swiper-slide > a p {
    width: 480px;
    max-width: 480px;
    height: 170px;
    padding: 44px 24px 18px;
    font-size: 18px;
  }
}

/* 轮播箭头：显式归位（旧样式表将其 top/left 清零），藏青圆钮 */
body #certify .swiper-button-prev {
  top: 50%;
  left: 28px;
  margin-top: -22px;
}
body #certify .swiper-button-next {
  top: 50%;
  right: 28px;
  left: auto;
  margin-top: -22px;
}
body #certify .swiper-button-prev,
body #certify .swiper-button-next {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: rgba(1, 32, 60, 0.45);
  background-size: 18px auto;
  transition: background-color var(--dx-fast);
}
body #certify .swiper-button-prev:hover,
body #certify .swiper-button-next:hover {
  background-color: rgba(1, 32, 60, 0.72);
}
body #certify .swiper-button-prev {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22z'%20fill%3D'%23ffffff'%2F%3E%3C%2Fsvg%3E");
}
body #certify .swiper-button-next {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22z'%20fill%3D'%23ffffff'%2F%3E%3C%2Fsvg%3E");
}

/* 圆点连线切换指示：嵌在字幕毛玻璃面板顶部的指示带内（与面板同步联动）；
   以视口高度锚定（面板同为 bottom+固定高），避免大图加载期容器瞬态高度造成跳动；
   border 扩大点击热区（background-clip 保持圆点视觉尺寸不变） */
body #certify .swiper-pagination {
  display: flex;
  align-items: center;
  top: calc(100vh - 536px); /* 面板顶缘 = 100vh - 562（384+178），指示带内缩 26px */
  bottom: auto;
  left: calc(5% + 30px);
  right: auto;
  width: auto;
  padding: 0;
}
@media screen and (max-width: 1366px) {
  body #certify .swiper-pagination {
    top: calc(100vh - 528px); /* 面板顶缘 = 100vh - 554（384+170） */
    left: calc(5% + 24px);
  }
}
body #certify .swiper-container-horizontal > .swiper-pagination-bullets .swiper-pagination-bullet {
  position: relative;
  box-sizing: content-box;
  width: 10px;
  height: 10px;
  margin: 0 9px;
  border: 5px solid transparent;
  background-clip: content-box;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.55);
  opacity: 1;
  transition: background-color var(--dx-fast), transform var(--dx-fast) var(--dx-ease),
    box-shadow var(--dx-fast);
}
body #certify
  .swiper-container-horizontal
  > .swiper-pagination-bullets
  .swiper-pagination-bullet:not(:last-child)::after {
  content: '';
  position: absolute;
  left: calc(100% + 3px);
  top: 50%;
  width: 12px;
  height: 1px;
  margin-top: -0.5px;
  background: rgba(255, 255, 255, 0.35);
}
body #certify .swiper-pagination-bullet-active {
  background-color: var(--dx-gold-2);
  transform: scale(1.35);
  box-shadow: 0 0 0 4px rgba(198, 153, 94, 0.25);
}

/* 首屏玻璃态页头（fullPage 的 body 类切换，离开首屏自动还原）；
   !important 用于压过旧脚本翻屏时写入的内联背景/阴影 */
body.fp-viewing-index1 .header {
  background: rgba(255, 255, 255, 0.82) !important;
  box-shadow: none !important;
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
}

/* 新闻/日历带整体悬浮于满屏英雄图底部 */
body .index1 .bot {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 20px;
  height: 340px;
  padding: 0 5%;
  z-index: 5;
  box-sizing: border-box;
}

/* 日历与会议注册列：白卡承载（原板式直接透在底图上，英雄化后不可读） */
body .index1 .index1_right .left_bot {
  background: #fff;
  border-radius: var(--dx-radius);
  box-shadow: var(--dx-shadow-2);
  padding: 8px 6px;
  box-sizing: border-box;
}
/* 新闻页签：去旧站位图药丸 → 现代下划线式 tabs（active 类仍由原逻辑切换） */
body .index1 .left_bot .txt_item ul.toggle_bar li {
  background: none;
  width: auto;
  height: 38px;
  line-height: 38px;
  padding: 0 20px;
  margin-right: 6px;
}
body .index1 .left_bot .txt_item ul.toggle_bar li a {
  position: relative;
  background: none;
  height: 38px;
  line-height: 38px;
  font-size: 15px;
  color: var(--dx-text-2);
  transition: color var(--dx-fast);
}
body .index1 .left_bot .txt_item ul.toggle_bar li a::after {
  content: '';
  position: absolute;
  left: 6px;
  right: 6px;
  bottom: 0;
  height: 2px;
  border-radius: 1px;
  background: linear-gradient(90deg, var(--dx-gold), var(--dx-gold-2));
  transform: scaleX(0);
  transform-origin: 50% 50%;
  transition: transform var(--dx-mid) var(--dx-ease);
}
body .index1 .left_bot .txt_item ul.toggle_bar li:hover a {
  color: var(--dx-navy);
}
body .index1 .left_bot .txt_item ul.toggle_bar li.active {
  background: none;
}
body .index1 .left_bot .txt_item ul.toggle_bar li.active a {
  background: none;
  color: var(--dx-navy);
  font-weight: 600;
}
body .index1 .left_bot .txt_item ul.toggle_bar li.active a::after {
  transform: scaleX(1);
}

/* 新闻列表行：hover 藏青 + 金点浮现（无位移抖动） */
body .index1 .left_bot .txt_item .con_wrap ul li:not(.view_more) {
  padding-left: 14px;
}
body .index1 .left_bot .txt_item .con_wrap ul li:not(.view_more)::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border-radius: 50%;
  background: var(--dx-gold);
  opacity: 0;
  transform: scale(0.4);
  transition: opacity var(--dx-fast), transform var(--dx-fast) var(--dx-ease);
}
body .index1 .left_bot .txt_item .con_wrap ul li:not(.view_more):hover::before {
  opacity: 1;
  transform: scale(1);
}
body .index1 .left_bot .txt_item .con_wrap ul li a {
  transition: color var(--dx-fast);
}
body .index1 .left_bot .txt_item .con_wrap ul li:hover a {
  color: var(--dx-navy);
}

/* 日历卡与左侧新闻卡同高；会议注册入口内嵌卡底（替代独立绛红色块） */
body .index1 .index1_right .left_bot {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 10px 12px 12px;
}
body .index1 .index1_right .left_bot #calendar {
  flex: 1 1 auto;
  min-height: 0;
  overflow: visible; /* 保留旧站悬浮日历右缘的"学会日历"印章（.date_btn） */
}
/* 印章原定位 right:-120px 会被视口裁掉；斜跨卡片右下角悬于图上，避开日期格 */
body .index1 .date_btn {
  right: -76px;
  bottom: -34px;
}
body .index1 .index1_right .type_item {
  flex: none;
  height: 46px;
  margin: 10px 0 0;
}
body .index1 .type_item a {
  display: block;
  height: 100%;
}
body .index1 .type_item #hybm_p {
  line-height: 44px;
  font-size: 17px;
  font-weight: 600;
  color: #fff;
  text-align: center;
}
/* 抵消旧内联样式的 hover 放大（条形入口内文字跳动突兀） */
body .index1 .type_item #hybm_li:hover #hybm_p {
  font-size: 17px;
}

/* 会议注册入口块（JSX 已去掉内联棕色底，改由品牌绛红渐变呈现） */
body .index1 .type_item .dx-hybm {
  background: linear-gradient(135deg, var(--dx-crimson-deep), #8f2a29);
  border-radius: var(--dx-radius);
  transition: box-shadow var(--dx-mid) var(--dx-ease);
}
body .index1 .type_item .dx-hybm:hover {
  box-shadow: 0 8px 20px rgba(136, 38, 37, 0.4);
}

/* ============================== 8. 首页 · 第二屏 ============================== */

/* 会议速览轮播卡片化 */
body .index2 .swiper-container_sec {
  border-radius: var(--dx-radius-lg);
  box-shadow: var(--dx-shadow-2);
}

/* 精品论文模块：宋体金竖条标题 + 列表行动效 */
body .index2 .bg_ff .txt_item h3 {
  font-family: var(--dx-font-heading);
  font-weight: 600;
  font-size: 21px;
  color: var(--dx-navy);
  padding-left: 12px;
  border-left: 4px solid var(--dx-gold);
  line-height: 1.4;
}
body .index2 .bg_ff .txt_item ul li {
  padding-left: 14px;
}
body .index2 .bg_ff .txt_item ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border-radius: 50%;
  background: var(--dx-gold);
  opacity: 0;
  transform: scale(0.4);
  transition: opacity var(--dx-fast), transform var(--dx-fast) var(--dx-ease);
}
body .index2 .bg_ff .txt_item ul li:hover::before {
  opacity: 1;
  transform: scale(1);
}
body .index2 .bg_ff .txt_item ul li a {
  transition: color var(--dx-fast);
}
body .index2 .bg_ff .txt_item ul li:hover a {
  color: var(--dx-navy);
}

/* 前沿著作：金铜色块 → 品牌渐变 + 圆角 */
body .index2 .left_bot .swiper_item {
  background: linear-gradient(150deg, #b28a52, #96702f);
  border-radius: var(--dx-radius-lg);
  overflow: hidden;
}
body .index2 .left_bot .swiper_item > h3 {
  font-family: var(--dx-font-heading);
  font-weight: 600;
  color: #fff;
  letter-spacing: 2px;
}

/* 会员入口三色块 → 品牌渐变卡 + hover 抬升（保留旧站图标与文字放大节奏） */
body .index2_right .type_item ul li {
  transition: transform var(--dx-mid) var(--dx-ease), box-shadow var(--dx-mid) var(--dx-ease);
}
body .index2_right .type_item ul li:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}
body .index2_right .type_item ul li:nth-child(1) {
  background: linear-gradient(145deg, #8f2a29, #6d1d1c);
}
body .index2_right .type_item ul li:nth-child(2) {
  background: linear-gradient(145deg, #b08a4e, #8a6a3a);
}
body .index2_right .type_item ul li:nth-child(3) {
  background: linear-gradient(145deg, #6e5353, #544040);
}

/* 标志期刊面板：藏青渐变 + 宋体标题 + 金双线期刊封面 */
body .index2_right .periodical_item {
  background: linear-gradient(165deg, #03406e, var(--dx-navy-deep));
  border-radius: var(--dx-radius-lg);
}
body .index2_right .periodical_item h3 {
  font-family: var(--dx-font-heading);
  font-weight: 600;
  letter-spacing: 2px;
  padding-left: 14px;
  border-left: 4px solid var(--dx-gold);
  line-height: 1.4;
}
body .index2_right .periodical_item .periodical_list ul li::before {
  background: var(--dx-gold);
}
body .index2_right .periodical_item > img {
  box-sizing: content-box;
  padding: 5px;
  background: #fff;
  border: 1px solid rgba(194, 149, 91, 0.55);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

/* ============================== 9. 首页 · 第三屏 ============================== */

/* 专题卡：圆角 + 顶部微光渐变 + hover 抬升（替代旧站整体 scale 1.1） */
body .index3 .left_item .item {
  border-radius: var(--dx-radius-lg);
  transition: transform var(--dx-mid) var(--dx-ease), box-shadow var(--dx-mid) var(--dx-ease);
}
body .index3 .left_item .item:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
}
body .index3 .left_item .item1 {
  background-image: linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.22)),
    url(/legacy/assets.idangan.cn/daxh/images/icon5_0319.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover, 90%;
}
body .index3 .left_item .item2 {
  background-image: linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.22)),
    url(/legacy/assets.idangan.cn/daxh/images/icon6_0319.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover, 90%;
}
body .index3 .left_item .item3 {
  background-image: linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.22)),
    url(/legacy/assets.idangan.cn/daxh/images/icon4_0319.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover, 90%;
}
body .index3 .left_item .item h3 {
  font-family: var(--dx-font-heading);
  font-weight: 600;
  letter-spacing: 3px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* ============================== 10. 首页 · 第四屏（大事记） ============================== */

/* 标题：PNG 标题图 → 宋体 + 金色双线排版标题（JSX 配合替换） */
body .index4 h3 {
  height: auto;
  line-height: normal;
  top: 14%;
}

/* 年份时间轴：切换过渡 + hover 金色 */
body .index4 .index4_wrap .right_item ul li {
  transition: height var(--dx-mid) var(--dx-ease), line-height var(--dx-mid) var(--dx-ease),
    margin-right var(--dx-mid) var(--dx-ease), color var(--dx-fast);
}
body .index4 .index4_wrap .right_item ul li:hover {
  color: #fbb75b;
}

/* "蘭臺"宋体水印：档案学古称的含蓄意象 */
body .index4::after {
  content: '蘭臺';
  position: absolute;
  right: 3%;
  bottom: 8%;
  z-index: 1;
  font-family: var(--dx-font-heading);
  font-size: 110px;
  letter-spacing: 18px;
  line-height: 1;
  color: rgba(194, 149, 91, 0.14);
  pointer-events: none;
}

/* 第三屏专题卡英文小字去掉下划线 */
body .index3 .left_item .item a {
  text-decoration: none;
}

/* ============================== 11. 动效降级 ============================== */

@media (prefers-reduced-motion: reduce) {
  body .header .header_left li h4::after,
  body .index1 .left_bot .txt_item ul.toggle_bar li a::after {
    transition: none;
  }
  body .link_box ul li,
  body .index2_right .type_item ul li,
  body .index3 .left_item .item,
  body .go_top,
  body .index4 .index4_wrap .right_item ul li,
  body .jplw .table .table_content ul::before,
  body .dx-pagination a {
    transition: none;
  }
  body .link_box ul li:hover,
  body .index2_right .type_item ul li:hover,
  body .index3 .left_item .item:hover,
  body .go_top:hover {
    transform: none;
  }
  body #certify .swiper-slide-active img {
    animation: none;
  }
  body .jplw .table .table_content ul::before {
    display: none;
  }
}

/* ============================== 12. 栏目列表页 ============================== */

/* 栏目标题：旧站 ttgg_til.png 装饰位图 → 金竖条 + 宋体 */
body .ttgg .til_wrap img {
  display: none;
}
body .ttgg .til_wrap h3 {
  font-family: var(--dx-font-heading);
  font-weight: 600;
  color: var(--dx-navy);
  padding-left: 14px;
  border-left: 4px solid var(--dx-gold);
  line-height: 1.35;
}

/* 检索框：去羊皮纸底图 → 白底胶囊输入框，聚焦金色描边 */
body .ttgg .til_wrap .search_inp {
  background: #fff;
  border: 1px solid var(--dx-line);
  border-radius: 19px;
  transition: border-color var(--dx-fast), box-shadow var(--dx-fast);
}
body .ttgg .til_wrap .search_inp:focus-within {
  border-color: var(--dx-gold);
  box-shadow: 0 0 0 3px rgba(198, 153, 94, 0.18);
}

/* 子栏目页签：去位图分隔线与小三角，藏青激活药丸 */
body .ttgg .tab_box ul li:nth-child(1)::after,
body .ttgg .tab_box ul li:nth-child(2)::after {
  display: none;
}
body .ttgg .tab_box ul li a {
  color: var(--dx-text-2);
  transition: color var(--dx-fast), background-color var(--dx-fast);
}
body .ttgg .tab_box ul li a:hover {
  color: var(--dx-navy);
}
body .ttgg .tab_box ul li.on a {
  background: var(--dx-navy);
  color: #fff;
}
body .ttgg .tab_box ul li.on a::after {
  display: none;
}

/* 列表 banner（新闻族）：羊皮纸侧栏 → 藏青渐变侧卡 + 金边 + 描边按钮 */
body .banner_swiper .swiper-container .swiper-slide .txt2 {
  background: linear-gradient(165deg, rgba(1, 38, 74, 0.94), rgba(1, 22, 46, 0.88));
  border-left: 4px solid var(--dx-gold);
  border-radius: var(--dx-radius);
}
body .banner_swiper .swiper-container .swiper-slide .txt2 h3 {
  color: var(--dx-gold-2);
}
body .banner_swiper .swiper-container .swiper-slide .txt2 a {
  border-color: var(--dx-gold-2);
  color: var(--dx-gold-2);
  transition: background-color var(--dx-fast), color var(--dx-fast);
}
body .banner_swiper .swiper-container .swiper-slide .txt2 a:hover {
  background: var(--dx-gold-2);
  color: #fff;
}

/* 列表 banner（通知公告族）：s_txt_bg.png 面板 → 底部渐变字幕条 */
body .banner_swiper .swiper-container .swiper-slide .txt:not(.txt2) {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(1, 20, 40, 0), rgba(1, 20, 40, 0.85));
  padding: 40px 5% 18px;
}
body .banner_swiper .swiper-container .swiper-slide .txt:not(.txt2) a,
body .banner_swiper .swiper-container .swiper-slide .txt:not(.txt2) h3,
body .banner_swiper .swiper-container .swiper-slide .txt:not(.txt2) p {
  color: #fff;
}
body .banner_swiper .swiper-container .swiper-slide .txt:not(.txt2) h3 {
  font-weight: 600;
}

/* 文章表格：羊皮纸表头位图 → 米金渐变表头 + 宋体 */
body .jplw .table .table_til {
  background: linear-gradient(90deg, var(--dx-paper), #f3ead9);
  border-bottom: 2px solid var(--dx-gold);
  border-radius: var(--dx-radius) var(--dx-radius) 0 0;
}
body .jplw .table .table_til ul li {
  color: var(--dx-gold-text);
  font-family: var(--dx-font-heading);
  font-weight: 600;
}
body .jplw .table .table_content ul {
  position: relative;
  border-bottom: 1px solid var(--dx-line-soft);
  transition: background-color var(--dx-fast);
}
body .jplw .table .table_content ul::before {
  content: '';
  position: absolute;
  left: -14px; /* 悬停金条置于行文字左外侧，避免压住首字（论文页/新闻页行文字均贴 ul 左缘） */
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--dx-gold);
  transform: scaleY(0);
  transition: transform var(--dx-fast) var(--dx-ease);
}
body .jplw .table .table_content ul:hover {
  background: var(--dx-paper-2);
}
body .jplw .table .table_content ul:hover::before {
  transform: scaleY(1);
}
body .jplw .table .table_content ul li.c6 {
  color: var(--dx-gold-text);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.5px;
}

/* ============================== 13. 分页（dx-pagination） ============================== */

.dx-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 26px 0 10px;
}
.dx-pagination a {
  min-width: 34px;
  height: 34px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--dx-line);
  border-radius: var(--dx-radius);
  color: var(--dx-text-2);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  transition: border-color var(--dx-fast), color var(--dx-fast), background-color var(--dx-fast);
}
.dx-pagination a:hover {
  border-color: var(--dx-gold);
  color: var(--dx-navy);
}
.dx-pagination a.current {
  background: var(--dx-navy);
  border-color: var(--dx-navy);
  color: #fff;
  font-weight: 600;
}
.dx-pagination a[aria-disabled='true'] {
  opacity: 0.4;
  pointer-events: none;
}
/* 上一页/下一页：旧站 #prePage/#nextPage 的 ID 位图背景 → 与页码同款按钮 */
body .dx-pagination #prePage,
body .dx-pagination #nextPage {
  width: auto;
  min-width: 72px;
  height: 34px;
  background: #fff;
}
body .dx-pagination #prePage:hover,
body .dx-pagination #nextPage:hover {
  background: var(--dx-paper-2);
}
.dx-pagination .dx-page-ellipsis {
  color: var(--dx-text-3);
  line-height: 34px;
}

/* ============================== 14. 文章详情页 ============================== */

/* 面包屑 */
body .content-left .line-right i {
  font-style: normal;
  color: #ccc;
  padding: 0 3px;
}
body .content-left .line-right a {
  color: var(--dx-text-2);
  transition: color var(--dx-fast);
}
body .content-left .line-right a:hover {
  color: var(--dx-navy);
}
body .content-left .line-right a.on {
  color: var(--dx-text-3);
}

/* 标题：宋体 + 加大字号 */
body .text-title {
  font-family: var(--dx-font-heading);
  font-weight: 600;
  font-size: 26px;
  line-height: 1.6;
  color: var(--dx-text);
  letter-spacing: 1px;
}

/* 信息行：SVG 图标与字号切换按钮 */
body .text-describe ul li svg {
  vertical-align: -2px;
  margin-right: 6px;
  color: #a8a8a8;
}
body .text-describe ul li a.up,
body .text-describe ul li a.down {
  display: inline-block;
  margin: 0 3px;
  padding: 0 5px;
  line-height: 17px;
  border: 1px solid var(--dx-line);
  border-radius: 3px;
  color: var(--dx-text-3);
  font-size: 12px;
  transition: color var(--dx-fast), border-color var(--dx-fast);
}
body .text-describe ul li a.up:hover,
body .text-describe ul li a.down:hover {
  color: var(--dx-navy);
  border-color: var(--dx-gold);
}

/* 正文：灰底块 → 白卡细边框，行高放宽 */
body .text-article {
  background: #fff;
  border: 1px solid var(--dx-line-soft);
  border-radius: var(--dx-radius-lg);
  padding: 28px 32px;
}
body .text-article p {
  line-height: 1.9;
  padding-bottom: 12px;
}
body .text-article a {
  color: var(--dx-crimson);
}
body .text-article a:hover {
  text-decoration: underline;
}
body .text-article blockquote {
  margin: 12px 0;
  padding: 10px 16px;
  border-left: 3px solid var(--dx-gold);
  background: var(--dx-paper-2);
  color: var(--dx-text-2);
}

/* 上一篇 / 下一篇：横线底图 → 描边按钮卡 */
body .link_a ul li {
  height: auto;
  line-height: normal;
}
body .link_a ul li a {
  display: block;
  width: 100%;
  box-sizing: border-box;
  height: auto;
  padding: 12px 16px;
  line-height: 1.5;
  background: #fff;
  border: 1px solid var(--dx-line);
  border-radius: var(--dx-radius);
  color: var(--dx-text-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: border-color var(--dx-fast), color var(--dx-fast), box-shadow var(--dx-fast);
}
body .link_a ul li:hover {
  background: none;
}
body .link_a ul li:hover a,
body .link_a ul li.on a {
  background: #fff;
  border-color: var(--dx-gold);
  color: var(--dx-navy);
  box-shadow: var(--dx-shadow-1);
}

/* 右侧栏：栏目标题金竖条 + 宋体，关键词米金 chip，链接 hover 藏青 */
body .content-right .cr-title span {
  color: var(--dx-navy);
  font-family: var(--dx-font-heading);
  font-weight: 600;
  padding-left: 12px;
  border-left: 4px solid var(--dx-gold);
  line-height: 1.3;
}
body .content-right .cr_list ul li a {
  transition: color var(--dx-fast);
}
body .content-right .cr_list ul li a:hover {
  color: var(--dx-navy);
}
body .content-right .cl_box p.cl-kw span {
  background: var(--dx-paper);
  border: 1px solid var(--dx-line);
  color: var(--dx-gold-text);
  height: 24px;
  line-height: 22px;
  border-radius: 3px;
}

/* ============================== 15. 关于学会 / 会员服务族内页 ============================== */

/* 列表/通知等内页：旧站 1920×2779 长卷底图（下半段深色，页面拉长后露出黑带）
   → 米色纸感渐变；html body 提升特异性，压过各页内联的 body 背景简写 */
html body {
  background: linear-gradient(180deg, #f6f1e8 0%, #f5f5f5 520px) #f5f5f5;
}

/* 页头 banner：大图上叠藏青渐变，会徽保持在上层 */
body .banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(1, 22, 44, 0.12), rgba(1, 22, 44, 0.42));
  pointer-events: none;
}
body .banner .banner_logo {
  z-index: 2;
}

/* 关于学会族：旧站羊皮纸位图页签 → 藏青玻璃页签，激活白卡衔接内容区
   （页签宽度 240×5 恰好满宽，不可加外边距，否则第 5 个换行） */
body .content .tab_box ul li:nth-child(n) {
  background: linear-gradient(180deg, rgba(1, 32, 60, 0.88), rgba(1, 22, 46, 0.78));
  box-shadow: inset -1px 0 0 rgba(255, 255, 255, 0.14);
  transition: background-color var(--dx-fast), color var(--dx-fast);
}
body .content .tab_box ul li:hover {
  color: #fff;
  background: linear-gradient(180deg, rgba(1, 42, 76, 0.92), rgba(1, 28, 54, 0.82));
}
body .content .tab_box ul li.on {
  background: #fff;
  color: var(--dx-navy);
  font-weight: 600;
  box-shadow: 0 -4px 16px rgba(0, 47, 84, 0.12);
}

/* 内容区：位图标题条 → 金色下边线标题；正文行高放宽 */
body .tab_wrap .box > h3 {
  background: none;
  height: auto;
  line-height: 1.4;
  padding: 0 0 14px;
  margin-bottom: 24px;
  font-size: 22px;
  font-weight: 600;
  color: var(--dx-navy);
  text-align: left;
  border-bottom: 2px solid var(--dx-gold);
}
body .tab_wrap .box p {
  line-height: 1.9;
  padding-bottom: 8px;
}

/* 会员服务族标题：旧站 ttgg 位图小图标 → 金竖条标题（与列表页一致） */
body .bzqk_wrap .sel h3 img {
  display: none;
}
body .bzqk_wrap .sel h3 {
  padding-left: 14px;
  border-left: 4px solid var(--dx-gold);
  font-weight: 600;
  color: var(--dx-navy);
  line-height: 1.35;
}

/* 通知公告 / 会员服务筛选行：羊皮纸底图 → 现代表单控件 */
body .search_wrap input[type='text'] {
  background: #fff;
  border: 1px solid var(--dx-line);
  border-radius: var(--dx-radius);
  height: 46px;
  padding: 0 16px;
  transition: border-color var(--dx-fast), box-shadow var(--dx-fast);
}
body .search_wrap input[type='text']:focus {
  border-color: var(--dx-gold);
  box-shadow: 0 0 0 3px rgba(198, 153, 94, 0.15);
}
body .search_wrap select {
  background: #fff;
  border: 1px solid var(--dx-line);
  border-radius: var(--dx-radius);
  height: 46px;
  padding: 0 12px;
  color: var(--dx-text-2);
  transition: border-color var(--dx-fast);
}
body .search_wrap select:hover,
body .search_wrap select:focus {
  border-color: var(--dx-gold);
}
body .search_wrap .search_btn {
  height: 46px;
  padding: 0 30px;
  background: var(--dx-navy);
  border-radius: var(--dx-radius);
  color: #fff;
  font-size: 15px;
  letter-spacing: 2px;
  transition: background-color var(--dx-fast);
}
body .search_wrap .search_btn:hover {
  background: var(--dx-navy-hover);
}
