/* =========================================================================
   数智泰州 · 官网设计系统 (style.css)
   品牌定位：中国红主色 · 仪式感 · 专业感 · 安全感 · 正能量科技风
   作者：颜之序 (HoyooAI 体验设计总监)
   ========================================================================= */

/* ---------- 1. 设计变量 ---------- */
:root {
  /* 品牌主色 — 中国红 */
  --red:            #C41E3A;   /* 主红 cardinial red */
  --red-deep:       #9E0B22;   /* 深红 */
  --red-bright:     #DE2910;   /* 国旗红 / 亮红 */
  --red-soft:       #E8506A;

  /* 辅助中性色 */
  --ink:            #1C2128;   /* 主文字 */
  --ink-2:          #444B54;   /* 次级文字 */
  --ink-3:          #6B7280;   /* 辅助文字 */
  --line:           #E7E1DA;   /* 分隔线 */
  --paper:          #FBF9F6;   /* 纸感底色 */
  --paper-2:        #F4F0EA;   /* 次底色 */
  --white:          #FFFFFF;

  /* 模块色系（每个主栏目一套） */
  --gold:           #C29A3E;   /* 协会介绍 · 金 */
  --gold-deep:      #9A7A24;
  --blue:           #1C4A7E;   /* 科技服务 · 深蓝 */
  --blue-deep:      #123A66;
  --green:          #1E7A5A;   /* 学术交流 · 翠绿 */
  --green-deep:     #145C43;
  --purple:         #5B2A86;   /* 会员之家 · 紫 */
  --purple-deep:    #441E68;
  --orange:         #D2691E;   /* 凤城论道 · 橙 */
  --orange-deep:    #A8520F;

  /* 当前栏目强调色（默认红，由 body 主题类覆盖） */
  --accent:         var(--red);
  --accent-deep:    var(--red-deep);
  --accent-soft:    var(--red-soft);

  /* 字体 */
  --font-sans: "Source Han Sans SC", "Noto Sans SC", "Microsoft YaHei",
               "PingFang SC", "Hiragino Sans GB", system-ui, sans-serif;
  --font-serif: "Source Han Serif SC", "Noto Serif SC", "Songti SC",
                "SimSun", "STSong", serif;

  /* 间距尺度（流式） */
  --sp-1: clamp(4px, 0.5vw, 6px);
  --sp-2: clamp(8px, 1vw, 12px);
  --sp-3: clamp(14px, 1.6vw, 20px);
  --sp-4: clamp(22px, 2.6vw, 34px);
  --sp-5: clamp(36px, 5vw, 64px);
  --sp-6: clamp(56px, 8vw, 110px);

  /* 圆角 */
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;

  /* 阴影 */
  --sh-1: 0 1px 2px rgba(28,33,40,.06), 0 4px 14px rgba(28,33,40,.06);
  --sh-2: 0 8px 30px rgba(28,33,40,.10);
  --sh-red: 0 10px 30px rgba(196,30,58,.28);

  /* 容器 */
  --maxw: 1240px;
  --nav-h: 72px;

  /* 缓动 */
  --ease: cubic-bezier(.22,.61,.36,1);      /* ease-out-quart */
  --ease-expo: cubic-bezier(.16,1,.3,1);    /* expo */
}

/* 主题切换 — 各栏目强调色 */
body.theme-red    { --accent: var(--red);    --accent-deep: var(--red-deep);    --accent-soft: var(--red-soft); }
body.theme-gold   { --accent: var(--gold);   --accent-deep: var(--gold-deep);   --accent-soft: #D9BE7A; }
body.theme-blue   { --accent: var(--blue);   --accent-deep: var(--blue-deep);   --accent-soft: #4E83B8; }
body.theme-green  { --accent: var(--green);  --accent-deep: var(--green-deep);  --accent-soft: #4CA98A; }
body.theme-purple { --accent: var(--purple); --accent-deep: var(--purple-deep); --accent-soft: #8A5FB5; }
body.theme-orange { --accent: var(--orange); --accent-deep: var(--orange-deep); --accent-soft: #E0955A; }

/* ---------- 2. 基础重置 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1,h2,h3,h4 { margin: 0; font-weight: 800; line-height: 1.25; letter-spacing: .01em; }

/* 通用容器 */
.container { width: min(100% - 40px, var(--maxw)); margin-inline: auto; }
.container-wide { width: min(100% - 40px, 1400px); margin-inline: auto; }

/* ---------- 3. 顶部工具条 + 导航 ---------- */
.topbar {
  background: var(--ink);
  color: #cfd3d8;
  font-size: 13px;
}
.topbar .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 38px; gap: 16px;
}
.topbar a:hover { color: #fff; }
.topbar .tb-left { display: flex; align-items: center; gap: 18px; }
.topbar .tb-right { display: flex; align-items: center; gap: 14px; }
.topbar .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--red);
  box-shadow: 0 0 0 3px rgba(196,30,58,.25); display: inline-block; margin-right: 7px;
  animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.35} }

/* 主导航 */
.nav {
  position: sticky; top: 0; z-index: 200;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .4s var(--ease), background .4s var(--ease);
}
.nav.scrolled { box-shadow: var(--sh-1); background: rgba(255,255,255,.96); }
.nav .nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--nav-h); gap: 20px;
}
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand .brand-logo {
  height: 72px; width: auto; object-fit: contain;
  display: block;
}

.nav-menu { display: flex; align-items: stretch; height: var(--nav-h); }
.nav-menu > li { position: relative; display: flex; align-items: center; }
.nav-menu > li > a {
  display: flex; align-items: center; height: var(--nav-h); padding: 0 20px;
  font-size: 16px; font-weight: 600; color: var(--ink); position: relative;
  transition: color .3s var(--ease);
  white-space: nowrap;
}
.nav-menu > li > a::after {
  content: ""; position: absolute; left: 18px; right: 18px; bottom: 0; height: 3px;
  background: var(--accent); border-radius: 3px 3px 0 0;
  transform: scaleX(0); transform-origin: center; transition: transform .35s var(--ease-expo);
}
.nav-menu > li > a:hover,
.nav-menu > li.active > a { color: var(--accent); }
.nav-menu > li > a:hover::after,
.nav-menu > li.active > a::after { transform: scaleX(1); }

/* 下拉子菜单 — 光晕 + 悬浮动效 */
.nav-menu .sub {
  position: absolute; top: var(--nav-h); left: 50%; transform: translateX(-50%) translateY(10px);
  min-width: 190px; background: #fff; border-radius: var(--r-md);
  box-shadow: var(--sh-2); border: 1px solid var(--line);
  padding: 8px; opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .3s var(--ease), transform .4s var(--ease-expo), visibility .3s;
}
.nav-menu .sub::before {
  content: ""; position: absolute; left: 50%; top: -7px; width: 14px; height: 14px;
  background: #fff; border-left: 1px solid var(--line); border-top: 1px solid var(--line);
  transform: translateX(-50%) rotate(45deg);
}
.nav-menu > li:hover .sub { opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0); }
.nav-menu .sub li a {
  display: block; padding: 10px 14px; border-radius: var(--r-sm); font-size: 14.5px;
  color: var(--ink-2); font-weight: 500; position: relative; overflow: hidden;
  transition: color .25s var(--ease);
}
.nav-menu .sub li a::before {
  content: ""; position: absolute; inset: 0; background: var(--accent);
  opacity: 0; transform: scaleX(0); transform-origin: left; transition: .3s var(--ease);
  z-index: -1;
}
.nav-menu .sub li a:hover { color: #fff; }
.nav-menu .sub li a:hover::before { opacity: .92; transform: scaleX(1); }

/* 导航右侧操作 */
.nav-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

.btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  padding: 11px 22px; border-radius: 999px; font-weight: 700; font-size: 15px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease);
  white-space: nowrap;
}
.btn-primary { background: linear-gradient(135deg, var(--red) 0%, var(--red-deep) 100%); color: #fff; box-shadow: var(--sh-red); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(196,30,58,.38); }
.btn-ghost { border: 1.5px solid var(--accent); color: var(--accent); }
.btn-ghost:hover { background: var(--accent); color: #fff; transform: translateY(-2px); }
.btn-solid-accent { background: var(--accent); color: #fff; }
.btn-solid-accent:hover { transform: translateY(-2px); box-shadow: 0 12px 28px color-mix(in srgb, var(--accent) 35%, transparent); }

/* 移动端汉堡 */
.nav-toggle { display: none; width: 42px; height: 42px; border-radius: 10px;
  background: var(--paper-2); align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.nav-toggle span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s var(--ease); }

/* ---------- 4. Hero 轮播 ---------- */
.hero { position: relative; height: clamp(380px, 60vh, 540px); overflow: hidden; background: linear-gradient(135deg, #2b2b30 0%, #1c1c20 50%, #131316 100%); }
.slides { position: absolute; inset: 0; }
.slide {
  position: absolute; inset: 0; opacity: 0; visibility: hidden;
  transition: opacity 1s var(--ease), visibility 1s;
  display: flex; align-items: center;
}
.slide.active { opacity: 1; visibility: visible; }
.slide .slide-bg {
  position: absolute; inset: 0; transform: scale(1.08);
  transition: transform 7s linear;
}
.slide.active .slide-bg { transform: scale(1); }
.slide .slide-bg::before { content: ""; position: absolute; inset: 0; }
/* 科技网格叠层 */
.slide .slide-bg::after {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(circle at 30% 50%, #000, transparent 75%);
}
/* 天际线剪影 */
.slide .skyline { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 32%; opacity: .9; }

.slide .slide-content { position: relative; z-index: 5; width: min(100% - 40px, var(--maxw)); margin-inline: auto; }
.slide .kicker {
  display: inline-flex; align-items: center; gap: 10px; color: #fff;
  font-size: 13px; letter-spacing: .3em; font-weight: 600; margin-bottom: 18px;
  opacity: 0; transform: translateY(20px);
}
.slide .kicker::before { content: ""; width: 34px; height: 2px; background: var(--gold); }
.slide.active .kicker { animation: rise .9s var(--ease-expo) .3s forwards; }
.slide h2 {
  color: #fff; font-size: clamp(34px, 6vw, 70px); font-weight: 900; letter-spacing: .04em;
  text-shadow: 0 4px 30px rgba(0,0,0,.35); line-height: 1.12;
  opacity: 0; transform: translateY(30px);
}
.slide.active h2 { animation: rise 1s var(--ease-expo) .45s forwards; }
.slide .sub {
  color: rgba(255,255,255,.9); font-size: clamp(15px, 2vw, 21px); margin-top: 18px; max-width: 620px;
  opacity: 0; transform: translateY(30px);
}
.slide.active .sub { animation: rise 1s var(--ease-expo) .6s forwards; }
.slide .slide-cta { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap;
  opacity: 0; transform: translateY(30px); }
.slide.active .slide-cta { animation: rise 1s var(--ease-expo) .75s forwards; }
@keyframes rise { to { opacity: 1; transform: translateY(0); } }

/* 轮播控制 */
.hero .dots { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 12px; z-index: 10; }
.hero .dots button { width: 38px; height: 5px; border-radius: 4px; background: rgba(255,255,255,.4);
  transition: .4s var(--ease); }
.hero .dots button.active { background: var(--gold); width: 56px; }
.hero .arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 10;
  width: 52px; height: 52px; border-radius: 50%; background: rgba(0,0,0,.28);
  backdrop-filter: blur(6px); display: grid; place-items: center; color: #fff;
  transition: .3s var(--ease); }
.hero .arrow:hover { background: var(--red); transform: translateY(-50%) scale(1.08); }
.hero .arrow.prev { left: 26px; } .hero .arrow.next { right: 26px; }
.hero .arrow svg { width: 22px; height: 22px; }
.hero .scroll-hint { position: absolute; bottom: 26px; right: 30px; z-index: 10; color: rgba(255,255,255,.7);
  font-size: 12px; letter-spacing: .2em; display: flex; align-items: center; gap: 8px; }
.hero .scroll-hint .mouse { width: 18px; height: 28px; border: 1.5px solid rgba(255,255,255,.6);
  border-radius: 10px; position: relative; }
.hero .scroll-hint .mouse::after { content: ""; position: absolute; left: 50%; top: 6px;
  width: 3px; height: 6px; background: #fff; border-radius: 2px; transform: translateX(-50%);
  animation: scrolldot 1.6s var(--ease) infinite; }
@keyframes scrolldot { 0%{opacity:0;top:6px} 40%{opacity:1} 100%{opacity:0;top:14px} }

/* 首页 banner · 科技感脉动动效叠层（位于轮播图上、文字下） */
.hero .ph-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 3; pointer-events: none; }
.hero .ph-glow { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: radial-gradient(circle at 75% 28%, rgba(255,255,255,.14), transparent 48%);
  animation: phPulse 6s ease-in-out infinite; }

/* 5 张背景配色 */
.slide-1 .slide-bg { background: linear-gradient(rgba(18,18,22,.45), rgba(8,8,12,.68)), url('../images/banner-taizhou.png') center / cover no-repeat; }
.slide-2 .slide-bg { background:
  radial-gradient(120% 90% at 20% 10%, rgba(28,74,126,.6), transparent 55%),
  linear-gradient(120deg, #06121f 0%, #123A66 50%, #1C4A7E 100%); }
.slide-3 .slide-bg { background:
  radial-gradient(120% 90% at 80% 20%, rgba(194,154,62,.5), transparent 55%),
  linear-gradient(120deg, #2b2410 0%, #6e5a1f 50%, #C29A3E 100%); }
.slide-4 .slide-bg { background:
  radial-gradient(120% 90% at 25% 15%, rgba(30,122,90,.55), transparent 55%),
  linear-gradient(120deg, #06241b 0%, #145C43 50%, #1E7A5A 100%); }
.slide-5 .slide-bg { background:
  radial-gradient(120% 90% at 78% 18%, rgba(210,105,30,.55), transparent 55%),
  linear-gradient(120deg, #2a1305 0%, #A8520F 50%, #D2691E 100%); }

/* ---------- 5. 区块通用 ---------- */
.section { padding: var(--sp-4) 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px;
  margin-bottom: var(--sp-3); flex-wrap: wrap; }
.section-head .sh-left { display: flex; flex-direction: column; gap: 8px; }
.kicker-label { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 700;
  letter-spacing: .22em; color: var(--accent); text-transform: uppercase; }
.kicker-label::before { content: ""; width: 26px; height: 3px; border-radius: 3px; background: var(--accent); }
.section-head h2 { font-size: clamp(26px, 3.4vw, 40px); color: var(--ink); position: relative; padding-left: 18px; }
.section-head h2::before { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 5px;
  border-radius: 3px; background: linear-gradient(var(--accent), var(--accent-deep)); }
.section-head .sh-more { font-size: 14px; color: var(--ink-3); display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600; transition: color .3s var(--ease); }
.section-head .sh-more:hover { color: var(--accent); }
.section-head .sh-more svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.section-head .sh-more:hover svg { transform: translateX(4px); }

/* ---------- 6. 新闻中心（三栏） ---------- */
.news-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 18px; }
.news-feature { position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 380px;
  display: flex; align-items: flex-end; color: #fff; box-shadow: var(--sh-1); }
.news-feature .ph { position: absolute; inset: 0;
  background: linear-gradient(135deg, #9E0B22, #C41E3A 70%); }
.news-feature .ph::after { content:""; position:absolute; inset:0;
  background: radial-gradient(circle at 75% 25%, rgba(255,255,255,.25), transparent 50%),
  linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px) 0 0/40px 40px; }
.news-feature .nf-body { position: relative; z-index: 2; padding: 26px; width: 100%;
  background: linear-gradient(to top, rgba(0,0,0,.66), transparent); }
.news-feature .tag { display: inline-block; background: var(--gold); color: #2b2410; font-size: 12px;
  font-weight: 700; padding: 4px 11px; border-radius: 999px; margin-bottom: 12px; }
.news-feature h3 { font-size: 23px; line-height: 1.35; }
.news-feature p { margin: 10px 0 0; color: rgba(255,255,255,.85); font-size: 14.5px; }
.news-feature .read { margin-top: 16px; display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: 14px; }
.news-feature .read svg { width: 15px; height: 15px; }

.news-list { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 20px 22px; box-shadow: var(--sh-1); display: flex; flex-direction: column; }
.news-list .nl-title { display: flex; align-items: center; gap: 9px; font-size: 17px; font-weight: 800;
  color: var(--ink); padding-bottom: 14px; margin-bottom: 6px; border-bottom: 2px solid var(--paper-2); }
.news-list .nl-title .bar { width: 5px; height: 18px; border-radius: 3px; background: var(--accent); }
.news-list .nl-title .en { font-size: 11px; color: var(--ink-3); font-weight: 600; letter-spacing: .12em; margin-left: auto; }
.news-list li a { display: flex; align-items: baseline; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--line);
  transition: padding .3s var(--ease); }
.news-list li:last-child a { border-bottom: none; }
.news-list li a:hover { padding-left: 8px; }
.news-list li .date { font-size: 13px; color: var(--ink-3); font-variant-numeric: tabular-nums; flex-shrink: 0;
  font-family: var(--font-serif); }
.news-list li .tt { font-size: 15px; color: var(--ink-2); font-weight: 500; line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.news-list li a:hover .tt { color: var(--accent); }
/* 通知公告 — 红色日期标签 */
.notice-list li .date { background: var(--red); color: #fff; padding: 2px 8px; border-radius: 5px;
  font-size: 12px; font-weight: 700; }

/* ---------- 7. 模块卡片（瀑布流） ---------- */
.modules { background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%); padding: var(--sp-2, 10px) 0; }
/* modules section 内部最后一个子元素的下边距收窄，避免与下一 section 产生过大留白 */
.modules > .container > *:last-child { margin-bottom: 0 !important; }
.mod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

/* ---------- 7.5 首页正版广告轮播（科技服务与学术交流之间）---------- */
.ad-banner-section { padding: 0 !important; background: transparent; }
.ad-banner-wrap {
  position: relative;
  width: 100%;
  height: 360px;
  border-radius: var(--r-lg, 14px);
  overflow: hidden;
  box-shadow: var(--sh-2, 0 8px 24px rgba(196,30,58,.12));
}
.ad-slides {
  width: 100%;
  height: 100%;
  position: relative;
}
.ad-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .8s cubic-bezier(.4,0,.2,1), transform .8s cubic-bezier(.4,0,.2,1);
  transform: scale(1.03);
  display: flex;
  align-items: center;
  overflow: hidden;
}
.ad-slide.active { opacity: 1; transform: scale(1); z-index: 1; }
.ad-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
/* 无图片时的渐变背景 */
.ad-slide-bg.fallback-1 { background: linear-gradient(135deg, #c41e3a 0%, #9e0b22 50%, #6b0817 100%); }
.ad-slide-bg.fallback-2 { background: linear-gradient(135deg, #1a1a4e 0%, #2d1b69 50%, #1a0a3e 100%); }
.ad-slide-bg.fallback-3 { background: linear-gradient(135deg, #0d4a3e 0%, #0e6b5a 50%, #063d32 100%); }
.ad-slide-bg.fallback-4 { background: linear-gradient(135deg, #5a3e1b 0%, #8b6914 50%, #5c4208 100%); }
.ad-slide-bg.fallback-5 { background: linear-gradient(135deg, #1a3a5c 0%, #2d5a8b 50%, #1a3d5c 100%); }

/* 科技感飘带画布（参照顶部 banner 同款白色波纹，文字与背景之间） */
.ad-ribbon-canvas {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}
/* 飘带光晕层（与顶部 banner 同款，呼吸脉动） */
.ad-ribbon-glow {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(circle at 72% 24%, rgba(255,255,255,.16), transparent 52%);
  animation: phPulse 6s ease-in-out infinite;
}
/* 深科技灰渐变图块：仅覆盖文字内容区（红框区域），边缘羽化融化与底图自然过渡 */
.ad-slide-content::before {
  content: "";
  position: absolute;
  inset: -20px -40px -20px -60px;   /* 四周微超出内容区，留羽化空间 */
  background: linear-gradient(to right,
    rgba(18, 22, 38, .92) 0%,
    rgba(18, 22, 38, .80) 30%,
    rgba(18, 22, 38, .55) 55%,
    rgba(18, 22, 38, .25) 68%,
    rgba(18, 22, 38, 0) 80%);
  z-index: -1;
  border-radius: 10px;
  /* 边缘羽化：右侧长过渡 + 上下轻微淡化，实现"融化"效果 */
  -webkit-mask-image: linear-gradient(
    to right,
    rgba(0,0,0,1) 45%,
    rgba(0,0,0,0.7) 60%,
    rgba(0,0,0,0.3) 78%,
    rgba(0,0,0,0) 80%
  );
  mask-image: linear-gradient(
    to right,
    rgba(0,0,0,1) 45%,
    rgba(0,0,0,0.7) 70%,
    rgba(0,0,0,0.3) 88%,
    rgba(0,0,0,0) 100%
  );
}

/* 广告内容叠加层 —— 左边缘统一留 60px，整体左对齐 */
.ad-slide-content {
  position: relative;
  z-index: 3;
  padding: 36px 40px 36px 60px;   /* 左上右下：左边缘距板块 60px */
  max-width: 68%;
  color: #fff;
  text-align: left;
  text-shadow: 0 2px 12px rgba(0,0,0,.5);
}
/* 标题：强对比光晕（黑色描边 + 多层外发光），深浅广告图均清晰可辨 */
.ad-slide-content .ad-title {
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 8px;
  letter-spacing: 1px;
  color: #fff;
  text-align: left;
  text-shadow:
    0 0 1px #000,
    0 0 3px rgba(0,0,0,.95),
    0 1px 3px rgba(0,0,0,.9),
    0 0 20px rgba(0,0,0,.55),
    0 0 12px rgba(255,255,255,.22);
}
/* 副标题：强对比描边（与标题同款） */
.ad-slide-content .ad-subtitle {
  font-size: clamp(14px, 1.6vw, 19px);
  font-weight: 400;
  line-height: 1.5;
  margin-bottom: 10px;
  opacity: .95;
  text-align: left;
  color: #fff;
  text-shadow:
    0 0 1px #000,
    0 0 2px rgba(0,0,0,.9),
    0 1px 4px rgba(0,0,0,.8),
    0 0 16px rgba(0,0,0,.5),
    0 0 10px rgba(255,255,255,.18);
}
/* 广告说明：强对比描边 */
.ad-slide-content .ad-desc {
  font-size: clamp(13px, 1.3vw, 15px);
  line-height: 1.7;
  margin-bottom: 18px;
  opacity: .9;
  max-width: 520px;
  text-align: left;
  color: #fff;
  text-shadow:
    0 0 1px #000,
    0 0 2px rgba(0,0,0,.88),
    0 1px 4px rgba(0,0,0,.75),
    0 0 14px rgba(0,0,0,.48),
    0 0 8px rgba(255,255,255,.16);
}
/* 标签按钮组 —— 统一白色半透明，小圆角 */
.ad-tags { display: flex; gap: 10px; flex-wrap: wrap; }
.ad-tag-btn {
  display: inline-flex;
  align-items: center;
  padding: 7px 20px;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  color: #fff;
  background: rgba(255,255,255,.22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.35);
  cursor: pointer;
  transition: all .3s ease;
  text-shadow: none;
}
.ad-tag-btn:hover {
  background: rgba(255,255,255,.38);
  border-color: rgba(255,255,255,.55);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(0,0,0,.2);
}
/* primary 按钮不再特殊着色，统一白色半透明 */

/* ====== 侧面半透明交互滑条（1-5）====== */
.ad-slider-dots {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}
/* 侧面圆形数字滑条：圆圈中间放数字，半透明 */
.ad-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,.22);
  color: rgba(255,255,255,.85);
  border: 1px solid rgba(255,255,255,.4);
  cursor: pointer;
  transition: all .35s ease;
  position: relative;
  padding: 0;
  outline: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  font-family: inherit;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.ad-dot:hover {
  background: rgba(255,255,255,.4);
  color: #fff;
  border-color: rgba(255,255,255,.6);
}
.ad-dot.active {
  background: rgba(255,255,255,.92);
  color: #c41e3a;            /* 当前项：红字配白底圆，强对比 */
  border-color: #fff;
  box-shadow: 0 0 12px rgba(255,255,255,.55);
  transform: scale(1.08);
}

/* 响应式：移动端隐藏滑条，缩小内边距 */
@media (max-width: 768px) {
  .ad-banner-wrap { height: 260px; border-radius: 8px; }
  .ad-slide-content { padding: 24px; max-width: 85%; }
  .ad-slider-dots { right: 8px; gap: 6px; }
  .ad-dot { width: 22px; height: 22px; font-size: 11px; }
  .ad-dot.active { transform: scale(1.06); }
}

/* 科技服务图文混排布局（左大图+右列表 + 底部3卡） */
.svc-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 22px;
  margin-bottom: 12px;
}
.svc-feature {
  display: block;
  background: #fff;
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--sh-1);
  transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}
.svc-feature:hover { box-shadow: var(--sh-2); transform: translateY(-3px); }
.svc-feature .sf-img {
  height: 200px;
  background: linear-gradient(135deg, #e8808f 0%, #d8556a 50%, #c41e3a 100%);
  position: relative;
}
.svc-feature .sf-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,.14) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(158,11,34,.28) 0%, transparent 45%);
}
.svc-feature .sf-body { padding: 18px 22px 16px; }
.svc-feature .sf-body h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
  line-height: 1.4;
}
.svc-feature .sf-body p {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.75;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.svc-feature .sf-share {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--ink-3);
  cursor: pointer;
  transition: color .2s;
}
.svc-feature .sf-share:hover { color: var(--accent); }

/* 右侧文件/活动列表（统一样式：红竖线标题栏 + 日期 + 标题） */
.svc-list,
.aca-list {
  background: #fff;
  border-radius: var(--r-md);
  padding: 0;
  box-shadow: var(--sh-1);
  overflow: hidden;
  display: flex; flex-direction: column;
}
/* 标题栏：红色竖线 + 中文标题 + 英文 */
.sl-header {
  display: flex; align-items: center; gap: 10px;
  padding: 16px 20px 12px;
}
.sl-bar {
  width: 4px; height: 20px; border-radius: 2px;
  background: var(--red); flex-shrink: 0;
}
.sl-title {
  font-size: 17px; font-weight: 700; color: var(--ink);
  letter-spacing: .04em;
}
.sl-en {
  margin-left: auto;
  font-size: 11px; font-weight: 600;
  color: var(--ink-3); letter-spacing: .18em;
  text-transform: uppercase;
}
/* 列表内容 */
.svc-list ul,
.aca-list ul { list-style: none; padding: 0; margin: 0; padding: 0 18px 14px; }
.svc-list li,
.aca-list li {
  display: flex; align-items: baseline; gap: 14px;
  border-bottom: 1px solid var(--line); padding: 11px 4px;
  transition: background .15s;
}
.svc-list li:last-child,
.aca-list li:last-child { border-bottom: none; }
.svc-list li:hover,
.aca-list li:hover { background: rgba(196,30,58,.03); }
/* 日期 */
.sl-date {
  flex-shrink: 0; font-size: 13px; font-weight: 500;
  color: var(--ink-3); min-width: 42px;
}
/* 链接标题 */
.svc-list li a,
.aca-list li a {
  font-size: 14px; color: var(--ink-2); text-decoration: none;
  line-height: 1.5; transition: color .2s;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  display: block; flex: 1; min-width: 0;
}
.svc-list li a:hover,
.aca-list li a:hover { color: var(--red); }

/* 底部3张卡片间距（无数据时自动隐藏） */
.svc-cards { margin-top: 18px; }
.svc-cards:empty, .aca-cards:empty { display: none !important; margin: 0 !important; }
/* 兜底：如果容器内只有"加载中"提示也隐藏 */
.svc-cards > .form-note:only-child, .aca-cards > .form-note:only-child { display: none; }

/* 学术交流轮播+列表布局（左5图轮播+右列表 + 底部3卡） */
.aca-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 22px;
  margin-bottom: 12px;
}

/* 左侧轮播容器 */
.aca-carousel {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  background: #111;
  aspect-ratio: 16 / 9;
}
.aca-slides { position: relative; width: 100%; height: 100%; }
.aca-slide {
  position: absolute; inset: 0; opacity: 0;
  transition: opacity .6s var(--ease);
  display: flex; align-items: flex-end;
}
.aca-slide.active { opacity: 1; z-index: 1; }

/* 轮播背景图（5张不同渐变） */
.aca-slide-bg {
  position: absolute; inset: 0; z-index: 0;
}
.aca-bg-1 { background: linear-gradient(135deg, #9E0B22 0%, #C41E3A 45%, #E8506A 100%); }
.aca-bg-2 { background: linear-gradient(135deg, #B01230 0%, #D4273F 50%, #EE6E84 100%); }
.aca-bg-3 { background: linear-gradient(135deg, #A50E27 0%, #CE1F38 50%, #E8506A 100%); }
.aca-bg-4 { background: linear-gradient(135deg, #8E0A1E 0%, #BC1730 50%, #DE3A56 100%); }
.aca-bg-5 { background: linear-gradient(135deg, #9E0B22 0%, #C41E3A 50%, #E56A82 100%); }

/* 背景装饰纹理 */
.aca-slide-bg::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 15% 25%, rgba(255,255,255,.08) 0%, transparent 40%),
    radial-gradient(circle at 85% 75%, rgba(45,153,104,.2) 0%, transparent 35%);
}

/* 底部信息条：播放按钮 + 标题 + 圆点指示器 */
.aca-slide-info {
  position: relative; z-index: 2;
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px;
  background: linear-gradient(transparent, rgba(0,0,0,.72));
  width: 100%;
}
.play-icon {
  width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
  background: rgba(255,255,255,.18);
  backdrop-filter: blur(4px);
  display: grid; place-items: center;
  transition: background .25s;
  cursor: pointer;
}
.play-icon:hover { background: rgba(255,255,255,.32); }
.aca-title {
  color: #fff; font-size: 15px; font-weight: 600;
  line-height: 1.4; flex: 1;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.aca-dots {
  color: rgba(255,255,255,.5); font-size: 11px;
  letter-spacing: 2px; flex-shrink: 0;
  user-select: none;
}

/* 左右箭头 */
.aca-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 10; width: 34px; height: 34px; border-radius: 50%;
  border: none; cursor: pointer;
  background: rgba(0,0,0,.35);
  backdrop-filter: blur(6px);
  display: grid; place-items: center;
  transition: background .25s;
}
.aca-arrow:hover { background: rgba(0,0,0,.6); }
.aca-arrow svg { width: 16px; height: 16px; }
.aca-prev { left: 10px; }
.aca-next { right: 10px; }

/* 学术列表可滚动 + 底部卡片间距（无数据时自动隐藏） */
.aca-list { max-height: 380px; overflow-y: auto; }
.aca-list::-webkit-scrollbar { width: 4px; }
.aca-list::-webkit-scrollbar-thumb { background: var(--line); border-radius: 2px; }
.aca-cards { margin-top: 18px; }

@media (max-width: 900px) {
  .aca-layout { grid-template-columns: 1fr; }
  .aca-carousel { aspect-ratio: 16 / 7; }
  .aca-list { max-height: 260px; }
}

@media (max-width: 900px) {
  .svc-layout { grid-template-columns: 1fr; }
  .svc-feature .sf-img { height: 180px; }
}
.mod-card { position: relative; border-radius: var(--r-lg); overflow: hidden; background: #fff;
  color: var(--ink); min-height: 200px; display: flex; flex-direction: column; justify-content: flex-end;
  border: 1px solid var(--line); box-shadow: var(--sh-1); isolation: isolate;
  transition: transform .5s var(--ease-expo), box-shadow .5s var(--ease); }
.mod-card:hover { transform: translateY(-6px); box-shadow: var(--sh-2); }
.mod-card .mc-bg { position: absolute; inset: 0; z-index: -2; transition: transform .6s var(--ease-expo); }
.mod-card:hover .mc-bg { transform: scale(1.04); }
.mod-card .mc-bg::after { content: ""; position: absolute; inset: 0; z-index: -1; } /* 移除深色遮罩 */
.mod-card .mc-top { position: absolute; top: 0; left: 0; right: 0; padding: 16px 18px;
  display: flex; align-items: center; justify-content: space-between; z-index: 2; }
.mod-card .mc-no { font-family: var(--font-serif); font-size: 26px; font-weight: 700; color: rgba(0,0,0,.1); }
.mod-card .mc-tag { font-size: 12px; font-weight: 700; padding: 4px 11px; border-radius: 999px; }
.mod-card .mc-body { padding: 20px; position: relative; z-index: 2; }
.mod-card .mc-body h3 { font-size: 18px; margin-bottom: 8px; color: var(--ink); }
.mod-card .mc-body p { font-size: 13.5px; color: var(--ink-2); line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mod-card .mc-foot { margin-top: 12px; display: flex; align-items: center; justify-content: space-between; }
.mod-card .mc-foot .arrow { width: 32px; height: 32px; border-radius: 50%; background: var(--accent);
  display: grid; place-items: center; transition: transform .35s var(--ease); }
.mod-card:hover .mc-foot .arrow { transform: translateX(5px) rotate(-45deg); }
.mod-card .mc-foot .arrow svg { width: 16px; height: 16px; }
.mod-card .mc-foot .meta { font-size: 12.5px; color: var(--ink-3); }

/* 模块色背景变体（浅色调，去压抑感） */
.mc-red    .mc-bg { background: linear-gradient(135deg, #fdeaec, #fbd9de); }
.mc-gold   .mc-bg { background: linear-gradient(135deg, #fbf3e0, #f7e9c9); }
.mc-blue   .mc-bg { background: linear-gradient(135deg, #eaf2fb, #dcebfa); }
.mc-green  .mc-bg { background: linear-gradient(135deg, #e8f5ef, #d6efe3); }
.mc-purple .mc-bg { background: linear-gradient(135deg, #f1eafb, #e8dcf5); }
.mc-orange .mc-bg { background: linear-gradient(135deg, #fdeee2, #fbdcc4); }

/* 各主题标签（浅底深字） */
.mc-red    .mc-tag { background: rgba(196,30,58,.1);  color: #C41E3A; }
.mc-gold   .mc-tag { background: rgba(194,154,62,.14); color: #9c7a1e; }
.mc-blue   .mc-tag { background: rgba(28,74,126,.1);  color: #1C4A7E; }
.mc-green  .mc-tag { background: rgba(30,122,90,.1);  color: #1E7A5A; }
.mc-purple .mc-tag { background: rgba(91,42,134,.1);  color: #5B2A86; }
.mc-orange .mc-tag { background: rgba(210,105,30,.12); color: #C2691E; }

/* ---------- 8. 数据条 / 服务亮点 ---------- */
.stats { background: linear-gradient(135deg, #f7f9fc, #eef3f9); color: var(--ink); padding: var(--sp-3) 0; }
.stats .stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { text-align: center; padding: 10px; position: relative; }
.stat:not(:last-child)::after { content: ""; position: absolute; right: -15px; top: 18%; bottom: 18%;
  width: 1px; background: var(--line); }
.stat .num { font-family: var(--font-serif); font-size: clamp(34px, 4vw, 50px); font-weight: 800;
  color: var(--red); line-height: 1; }
.stat .num .u { font-size: .5em; color: var(--ink-3); margin-left: 4px; }
.stat .lbl { margin-top: 10px; font-size: 14px; color: var(--ink-2); letter-spacing: .04em; }

/* ---------- 9. 栏目横幅 (子页) ---------- */
.page-hero { position: relative; padding: clamp(54px, 8vw, 96px) 0 clamp(40px, 5vw, 64px);
  background: linear-gradient(120deg, var(--accent-deep), var(--accent)); color: #fff; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px),
  linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px); background-size: 44px 44px;
  mask-image: radial-gradient(circle at 80% 20%, #000, transparent 70%); }
.page-hero .ph-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.page-hero .ph-glow { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(circle at 78% 30%, rgba(255,255,255,.16), transparent 46%);
  animation: phPulse 6s ease-in-out infinite; }
@keyframes phPulse { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(30px, 4.4vw, 50px); font-weight: 900; letter-spacing: .04em;
  text-shadow: 0 3px 20px rgba(0,0,0,.2); }
.page-hero .ph-sub { margin-top: 14px; font-size: 16px; color: rgba(255,255,255,.9); max-width: 640px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; margin-bottom: 18px;
  color: rgba(255,255,255,.8); flex-wrap: wrap; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.breadcrumb .sep { opacity: .6; }
.breadcrumb .cur { color: var(--gold); font-weight: 700; }

/* ---------- 10. 两栏布局（侧栏 + 内容） ---------- */
.layout-2col { display: grid; grid-template-columns: 248px 1fr; gap: 36px; padding: var(--sp-5) 0; align-items: start; }
.col-side { position: sticky; top: calc(var(--nav-h) + 20px); }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--sh-1); }
.side-card .sc-head { background: linear-gradient(120deg, var(--accent-deep), var(--accent)); color: #fff;
  padding: 16px 18px; font-size: 17px; font-weight: 800; letter-spacing: .06em; }
.side-card .sc-list li a { display: flex; align-items: center; gap: 10px; padding: 13px 18px;
  font-size: 15px; color: var(--ink-2); font-weight: 500; border-left: 3px solid transparent;
  transition: .3s var(--ease); }
.side-card .sc-list li a .ic { width: 7px; height: 7px; border-radius: 50%; background: var(--line); transition: .3s; }
.side-card .sc-list li a:hover, .side-card .sc-list li.active a { color: var(--accent); background: var(--paper); border-left-color: var(--accent); }
.side-card .sc-list li.active a .ic { background: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent); }

.side-contact { margin-top: 20px; background: var(--ink); color: #fff; border-radius: var(--r-lg); padding: 20px; }
.side-contact h4 { font-size: 15px; margin-bottom: 12px; color: var(--gold); letter-spacing: .08em; }
.side-contact p { font-size: 13.5px; color: rgba(255,255,255,.8); margin: 7px 0; display: flex; gap: 8px; }
.side-contact p svg { width: 15px; height: 15px; flex-shrink: 0; color: var(--gold); margin-top: 3px; }

/* 内容卡 */
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(20px, 3vw, 34px); box-shadow: var(--sh-1); }
.panel + .panel { margin-top: 24px; }
.panel h3 { font-size: 21px; color: var(--ink); margin-bottom: 14px; padding-left: 14px; position: relative; }
.panel h3::before { content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 4px; border-radius: 3px;
  background: var(--accent); }
.panel p { color: var(--ink-2); margin: 0 0 14px; }
.panel p:last-child { margin-bottom: 0; }
.panel ul.ticks li { display: flex; gap: 11px; padding: 9px 0; color: var(--ink-2); border-bottom: 1px dashed var(--line); }
.panel ul.ticks li:last-child { border-bottom: none; }
.panel ul.ticks li .tk { color: var(--accent); flex-shrink: 0; font-weight: 800; }

/* 列表型（新闻/文件列表） */
.doc-list { display: flex; flex-direction: column; }
.doc-list li { display: flex; align-items: center; gap: 16px; padding: 16px 4px; border-bottom: 1px solid var(--line);
  transition: padding .3s var(--ease); }
.doc-list li:hover { padding-left: 12px; }
.doc-list li .d-tag { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 6px; flex-shrink: 0;
  background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent-deep); }
.doc-list li .d-title { flex: 1; font-size: 15.5px; color: var(--ink); font-weight: 500;
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.doc-list li:hover .d-title { color: var(--accent); }
.doc-list li .d-date { font-size: 13px; color: var(--ink-3); font-variant-numeric: tabular-nums; flex-shrink: 0; }
.doc-list li .d-go { color: var(--ink-3); }
.doc-list li .d-go svg { width: 16px; height: 16px; }

/* 分页 */
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 28px; }
.pager a { min-width: 38px; height: 38px; padding: 0 12px; border-radius: 9px; display: grid; place-items: center;
  border: 1px solid var(--line); background: #fff; font-size: 14px; font-weight: 600; color: var(--ink-2);
  transition: .3s var(--ease); }
.pager a:hover, .pager a.cur { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ---------- 11. 表单 ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 22px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink); }
.field label .req { color: var(--red); margin-left: 3px; }
.field input, .field select, .field textarea {
  border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: 11px 13px; font-size: 15px;
  font-family: inherit; color: var(--ink); background: var(--paper); transition: .25s var(--ease); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 16%, transparent); }
.field textarea { resize: vertical; min-height: 110px; }
.field .hint { font-size: 12.5px; color: var(--ink-3); }
.form-actions { grid-column: 1/-1; display: flex; gap: 12px; margin-top: 6px; }
.form-note { font-size: 13px; color: var(--ink-3); }
.form-note b { color: var(--accent); }

/* 单选卡片（会员类型） */
.radio-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.radio-cards label { border: 1.5px solid var(--line); border-radius: var(--r-md); padding: 14px 16px;
  cursor: pointer; transition: .3s var(--ease); display: block; }
.radio-cards label:hover { border-color: var(--accent); }
.radio-cards input { display: none; }
.radio-cards input:checked + .rc-inner { color: var(--accent); }
.radio-cards label:has(input:checked) { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 7%, transparent); }
.radio-cards .rc-inner { display: flex; align-items: center; gap: 10px; }
.radio-cards .rc-inner .rc-dot { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line);
  flex-shrink: 0; position: relative; transition: .3s; }
.radio-cards label:has(input:checked) .rc-dot { border-color: var(--accent); }
.radio-cards label:has(input:checked) .rc-dot::after { content:""; position:absolute; inset: 3px; border-radius:50%; background: var(--accent); }
.radio-cards .rc-t { font-weight: 700; }
.radio-cards .rc-s { font-size: 12.5px; color: var(--ink-3); }

/* ---------- 12. 论坛 ---------- */
.forum-boards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.board-card { display: flex; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 18px 20px; box-shadow: var(--sh-1); transition: .4s var(--ease); align-items: center; }
.board-card:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: var(--sh-2); }
.board-card .b-icon { width: 50px; height: 50px; border-radius: 13px; flex-shrink: 0; display: grid; place-items: center;
  background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent); }
.board-card .b-icon svg { width: 26px; height: 26px; }
.board-card .b-main { flex: 1; min-width: 0; }
.board-card .b-main h4 { font-size: 17px; color: var(--ink); margin-bottom: 4px; }
.board-card .b-main p { font-size: 13px; color: var(--ink-3); margin: 0; }
.board-card .b-meta { text-align: right; flex-shrink: 0; font-size: 12.5px; color: var(--ink-3); }
.board-card .b-meta b { display: block; font-size: 19px; color: var(--accent); font-family: var(--font-serif); }

.post-item { display: flex; gap: 16px; padding: 16px 4px; border-bottom: 1px solid var(--line); align-items: flex-start; }
.post-item .avatar { width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center;
  color: #fff; font-weight: 800; font-size: 16px; background: linear-gradient(135deg, var(--accent), var(--accent-deep)); }
.post-item .p-main { flex: 1; min-width: 0; }
.post-item .p-main h4 { font-size: 16px; color: var(--ink); margin-bottom: 5px; }
.post-item .p-main h4:hover { color: var(--accent); }
.post-item .p-meta { font-size: 12.5px; color: var(--ink-3); display: flex; gap: 14px; flex-wrap: wrap; }
.post-item .p-meta .hot { color: var(--red); font-weight: 700; }
.post-item .p-stats { text-align: right; flex-shrink: 0; font-size: 12.5px; color: var(--ink-3); }
.post-item .p-stats b { display: block; font-size: 17px; color: var(--ink); font-family: var(--font-serif); }

/* 帖子详情 */
.post-detail .pd-head { border-bottom: 2px solid var(--paper-2); padding-bottom: 18px; margin-bottom: 22px; }
.post-detail .pd-head h1 { font-size: clamp(22px, 3vw, 30px); color: var(--ink); margin-bottom: 12px; }
.post-detail .pd-meta { display: flex; gap: 18px; flex-wrap: wrap; font-size: 13px; color: var(--ink-3); align-items: center; }
.post-detail .pd-meta .au { display: flex; align-items: center; gap: 9px; }
.post-detail .pd-meta .au .avatar { width: 34px; height: 34px; font-size: 14px; }
.post-detail .pd-body { font-size: 16px; color: var(--ink-2); line-height: 1.9; }
.post-detail .pd-body p { margin: 0 0 16px; }
.post-detail .pd-body blockquote { margin: 18px 0; padding: 14px 18px; border-left: 4px solid var(--accent);
  background: var(--paper); border-radius: 0 var(--r-sm) var(--r-sm) 0; color: var(--ink-2); }

.comment { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.comment .avatar { width: 40px; height: 40px; font-size: 14px; }
.comment .c-main { flex: 1; }
.comment .c-main .c-top { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.comment .c-main .c-name { font-weight: 700; color: var(--ink); font-size: 14.5px; }
.comment .c-main .c-time { font-size: 12px; color: var(--ink-3); }
.comment .c-main .c-text { font-size: 14.5px; color: var(--ink-2); }
.comment-form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px; margin-top: 8px; }
.comment-form textarea { width: 100%; border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: 12px;
  font-family: inherit; font-size: 15px; min-height: 90px; resize: vertical; background: #fff; }
.comment-form textarea:focus { outline: none; border-color: var(--accent); }

/* ---------- 13. 页脚 ---------- */
.footer { background: #14181f; color: #b9bfc7; margin-top: var(--sp-4); }
.footer .f-top { padding: var(--sp-5) 0; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 36px; }
.footer .f-brand .b-cn { font-size: 22px; font-weight: 900; color: #fff; letter-spacing: .14em; }
.footer .f-brand .b-en { font-size: 11px; letter-spacing: .24em; color: var(--gold); margin: 6px 0 14px; }
.footer .f-brand p { font-size: 13.5px; line-height: 1.8; color: #8b929b; max-width: 320px; }
.footer .f-col h4 { font-size: 15px; color: #fff; margin-bottom: 16px; padding-left: 12px; position: relative; letter-spacing: .06em; }
.footer .f-col h4::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 3px; border-radius: 3px; background: var(--red); }
.footer .f-col li a { display: block; padding: 7px 0; font-size: 14px; color: #9aa0a8; transition: .25s var(--ease); }
.footer .f-col li a:hover { color: #fff; padding-left: 6px; }
.footer .f-contact p { display: flex; gap: 10px; font-size: 13.5px; margin: 9px 0; color: #9aa0a8; }
.footer .f-contact p svg { width: 16px; height: 16px; color: var(--gold); flex-shrink: 0; margin-top: 3px; }
.footer .f-links { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 10px; }
.footer .f-links a { font-size: 12.5px; color: #7d848c; }
.footer .f-links a:hover { color: var(--gold); }
.footer .f-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0; font-size: 13px; color: #767c84;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer .f-bottom a { color: #9aa0a8; }
.footer .f-bottom a:hover { color: #fff; }

/* 返回顶部 */
.to-top { position: fixed; right: 24px; bottom: 24px; width: 48px; height: 48px; border-radius: 14px;
  background: linear-gradient(135deg, var(--red), var(--red-deep)); color: #fff; display: grid; place-items: center;
  box-shadow: var(--sh-red); opacity: 0; visibility: hidden; transform: translateY(16px); transition: .4s var(--ease); z-index: 300; }
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { transform: translateY(-4px); }
.to-top svg { width: 22px; height: 22px; }

/* ---------- 14. 滚动入场动画 ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease), transform .8s var(--ease-expo); }
.reveal.in-view { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .slide .slide-bg { transform: none !important; }
}

/* ---------- 14b. 组织架构图 ---------- */
.org-tree { display: flex; flex-direction: column; align-items: center; gap: 0; }
.org-node { background: linear-gradient(120deg, var(--accent-deep), var(--accent)); color: #fff;
  padding: 12px 26px; border-radius: 10px; font-weight: 700; box-shadow: var(--sh-1); min-width: 180px; text-align: center; }
.org-node.top { font-size: 17px; }
.org-branch { width: 2px; height: 22px; background: var(--line); }
.org-row { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; position: relative; }
.org-row::before { content: ""; position: absolute; top: -22px; left: 12%; right: 12%; height: 2px; background: var(--line); }
.org-row .org-node { background: #fff; color: var(--accent); border: 1.5px solid var(--accent); }
.org-row .org-node.sub { background: var(--paper); color: var(--ink-2); border-color: var(--line); }

/* ---------- 14c. FAQ 手风琴 ---------- */
.qa-item { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); margin-bottom: 12px;
  overflow: hidden; transition: .3s var(--ease); }
.qa-item.open { border-color: var(--accent); box-shadow: var(--sh-1); }
.qa-q { display: flex; align-items: center; gap: 14px; padding: 18px 20px; cursor: pointer; font-weight: 700;
  font-size: 16px; color: var(--ink); user-select: none; }
.qa-q .q-no { width: 30px; height: 30px; border-radius: 8px; background: var(--accent); color: #fff;
  display: grid; place-items: center; font-size: 14px; flex-shrink: 0; font-family: var(--font-serif); }
.qa-q .q-ic { margin-left: auto; transition: transform .35s var(--ease); color: var(--accent); }
.qa-q .q-ic svg { width: 20px; height: 20px; }
.qa-item.open .q-ic { transform: rotate(45deg); }
.qa-a { max-height: 0; overflow: hidden; transition: max-height .45s var(--ease-expo); }
.qa-item.open .qa-a { max-height: 320px; }
.qa-a p { padding: 0 20px 18px 64px; margin: 0; color: var(--ink-2); }

/* ---------- 14d. 会员单位网格 ---------- */
.member-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.member-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px;
  display: flex; align-items: center; gap: 14px; box-shadow: var(--sh-1); transition: .35s var(--ease); }
.member-card:hover { transform: translateY(-3px); border-color: var(--accent); }
.member-card .m-logo { width: 52px; height: 52px; border-radius: 12px; flex-shrink: 0; display: grid; place-items: center;
  font-weight: 900; color: #fff; font-size: 18px; background: linear-gradient(135deg, var(--accent), var(--accent-deep)); }
.member-card .m-info h4 { font-size: 15.5px; color: var(--ink); margin-bottom: 3px; }
.member-card .m-info span { font-size: 12.5px; color: var(--ink-3); }

/* ---------- 14e. 时间线 ---------- */
.timeline { position: relative; padding-left: 28px; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.tl-item { position: relative; padding: 0 0 24px 14px; }
.tl-item::before { content: ""; position: absolute; left: -24px; top: 6px; width: 14px; height: 14px; border-radius: 50%;
  background: #fff; border: 3px solid var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 16%, transparent); }
.tl-item .tl-date { font-size: 13px; color: var(--accent); font-weight: 700; font-family: var(--font-serif); }
.tl-item h4 { font-size: 16.5px; color: var(--ink); margin: 4px 0 6px; }
.tl-item p { font-size: 14px; color: var(--ink-2); margin: 0; }

/* ---------- 14f. 会议 / 培训卡 ---------- */
.act-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.act-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px;
  box-shadow: var(--sh-1); transition: .35s var(--ease); }
.act-card:hover { transform: translateY(-3px); border-color: var(--accent); }
.act-card .a-when { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 700;
  color: #fff; background: var(--accent); padding: 4px 12px; border-radius: 999px; margin-bottom: 12px; }
.act-card h4 { font-size: 17px; color: var(--ink); margin-bottom: 8px; }
.act-card p { font-size: 14px; color: var(--ink-2); margin: 0 0 12px; }
.act-card .a-foot { display: flex; gap: 14px; font-size: 12.5px; color: var(--ink-3); border-top: 1px dashed var(--line); padding-top: 12px; }

/* ---------- 14g. 创意话题卡（头脑风暴） ---------- */
.idea-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.idea-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px;
  box-shadow: var(--sh-1); position: relative; overflow: hidden; transition: .35s var(--ease); }
.idea-card:hover { transform: translateY(-4px); }
.idea-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--accent); }
.idea-card .i-no { font-family: var(--font-serif); font-size: 26px; font-weight: 800; color: var(--accent); opacity: .35; }
.idea-card h4 { font-size: 17px; color: var(--ink); margin: 6px 0 8px; }
.idea-card p { font-size: 14px; color: var(--ink-2); margin: 0 0 14px; }
.idea-card .i-foot { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--ink-3); }
.idea-card .i-foot .hot { color: var(--red); font-weight: 700; }

/* ---------- 15. 响应式 ---------- */
@media (max-width: 1080px) {
  .news-grid { grid-template-columns: 1fr 1fr; }
  .news-feature { grid-column: 1 / -1; min-height: 300px; }
  .mod-grid { grid-template-columns: repeat(2, 1fr); }
  .footer .f-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav-menu { display: none; }
  .nav-toggle { display: flex; }
  .nav.open .nav-menu {
    display: flex; flex-direction: column; position: absolute; top: var(--nav-h); left: 0; right: 0;
    background: #fff; box-shadow: var(--sh-2); max-height: calc(100vh - var(--nav-h)); overflow-y: auto;
    height: auto; padding: 10px 0;
  }
  .nav.open .nav-menu > li { height: auto; flex-direction: column; align-items: stretch; }
  .nav.open .nav-menu > li > a { height: auto; padding: 14px 22px; }
  .nav.open .nav-menu > li > a::after { display: none; }
  .nav.open .nav-menu .sub { position: static; transform: none; opacity: 1; visibility: visible; pointer-events: auto;
    box-shadow: none; border: none; border-radius: 0; padding: 0 0 8px 22px; min-width: 0; }
  .nav.open .nav-menu .sub::before { display: none; }
  .nav.open .nav-menu .sub li a { color: var(--ink-3); }
  .layout-2col { grid-template-columns: 1fr; }
  .col-side { position: static; }
  .stats .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:not(:last-child)::after { display: none; }
}
@media (max-width: 680px) {
  body { font-size: 15px; }
  .news-grid { grid-template-columns: 1fr; }
  .mod-grid { grid-template-columns: 1fr; }
  .forum-boards { grid-template-columns: 1fr; }
  .member-grid, .idea-grid, .act-grid { grid-template-columns: 1fr; }
  .form-grid, .radio-cards { grid-template-columns: 1fr; }
  .footer .f-top { grid-template-columns: 1fr; }
  .topbar .tb-left { display: none; }
  .hero .arrow { width: 42px; height: 42px; }
  .hero .scroll-hint { display: none; }
  .section-head { flex-direction: column; align-items: flex-start; }
}

/* =========================================================================
   16. 文章详情页 (article.html)
   布局：标题 → 元信息 → 封面图 → 【文章摘要】浅灰色色块 → 正文 → 上下篇
   ========================================================================= */
.article-detail { background: #fff; border-radius: var(--r-md); padding: 36px 40px;
  box-shadow: var(--sh-1); border: 1px solid var(--line); }

/* 标题 */
.ad-title { font-size: 24px; font-weight: 800; color: var(--ink); text-align: center;
  line-height: 1.5; margin-bottom: 14px; letter-spacing: .03em; }

/* 元信息行（发布时间 / 分类 / 作者 / 来源） */
.ad-meta { text-align: center; font-size: 13px; color: var(--ink-3);
  padding-bottom: 18px; margin-bottom: 22px; border-bottom: 1px solid var(--line);
  line-height: 1.8; }

/* 封面图 */
.ad-cover { margin-bottom: 26px; border-radius: var(--r-md); overflow: hidden; }
.ad-cover img { width: 100%; height: auto; display: block; border-radius: var(--r-md); }

/* ===== 【文章摘要】板块 — 浅灰色色块 ===== */
.ad-summary-block {
  background: #f5f6f8;                /* 浅灰色背景 */
  border-left: 4px solid var(--accent); /* 左侧彩色竖线标识 */
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  padding: 18px 22px;
  margin-bottom: 28px;
}
.ad-summary-label {
  font-size: 15px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 10px;
  letter-spacing: .05em;
}
.ad-summary-text {
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.9;
  text-indent: 2em;                 /* 首行缩进两字符 */
}

/* 正文内容 */
.ad-content { font-size: 15.5px; color: var(--ink); line-height: 1.95; padding-left: 3%; padding-right: 3%; }
.ad-content p { margin: 0 0 16px; text-indent: 2em; }
.ad-content img { max-width: 100%; height: auto; border-radius: var(--r-sm); margin: 12px 0; }
.ad-content h2, .ad-content h3, .ad-content h4 { color: var(--ink); margin: 20px 0 10px; }
.ad-content table { width: 100%; border-collapse: collapse; margin: 14px 0; }
.ad-content th, .ad-content td { border: 1px solid var(--line); padding: 10px 14px; font-size: 14px; }
.ad-content th { background: #f7f8fa; font-weight: 700; }

/* 上下篇导航 */
.ad-nav { margin-top: 32px; padding-top: 22px; border-top: 1px dashed var(--line); }
.ad-nav-item { font-size: 14px; line-height: 2; color: var(--ink-2); }
.ad-nav-label { font-weight: 700; color: var(--ink-3); }
.ad-nav-item a { color: var(--accent); transition: color .25s; }
.ad-nav-item a:hover { color: var(--red); text-decoration: underline; }
.ad-nav-empty { color: var(--ink-4); }

/* 详情页响应式 */
@media (max-width: 680px) {
  .article-detail { padding: 22px 18px; }
  .ad-title { font-size: 20px; }
  .ad-summary-block { padding: 14px 16px; }
  .ad-content { font-size: 15px; }
}
