/* ==========================================================================
   宁测网 · 南京计量测试学会门户  |  公共样式
   域名：ningce.net
   ========================================================================== */

:root {
  --navy: #0b2f52;
  --navy-deep: #072238;
  --blue: #14507d;
  --blue-2: #1d6fa5;
  --teal: #0f7c86;
  --teal-soft: #e6f4f4;
  --gold: #c49a3f;
  --ink: #17293d;
  --muted: #61738a;
  --muted-2: #8a9aab;
  --line: #dfe8f0;
  --line-2: #edf3f8;
  --bg: #f4f8fb;
  --card: #ffffff;
  --shadow-sm: 0 2px 10px rgba(11, 47, 82, .06);
  --shadow-md: 0 10px 30px rgba(11, 47, 82, .10);
  --shadow-lg: 0 18px 48px rgba(11, 47, 82, .16);
  --radius: 10px;
  --radius-lg: 16px;
  --maxw: 1200px;
  --font: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Noto Sans CJK SC", "Source Han Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif: "Songti SC", "SimSun", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  font-size: 15px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--blue-2); }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }
button { cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5 { margin: 0; font-weight: 700; line-height: 1.4; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid rgba(29, 111, 165, .45); outline-offset: 2px; }

.container { width: min(var(--maxw), calc(100% - 40px)); margin: 0 auto; }
.container-narrow { width: min(900px, calc(100% - 40px)); margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- 顶部信息条 ---------- */
.topbar {
  background: var(--navy-deep);
  color: #b9cfe0;
  font-size: 12.5px;
  height: 36px;
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; height: 36px; }
.topbar-left { display: flex; align-items: center; gap: 14px; letter-spacing: .3px; }
.topbar-left .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
.topbar-right { display: flex; align-items: center; gap: 16px; }
.topbar-links { display: flex; align-items: center; gap: 16px; }
.topbar-right a { color: #b9cfe0; }
.topbar-right a:hover { color: #fff; }
.topbar-search { display: flex; align-items: center; background: rgba(255,255,255,.09); border-radius: 20px; height: 25px; padding: 0 10px; }
.topbar-search input { background: transparent; border: 0; color: #eaf3fa; width: 132px; font-size: 12px; outline: none; }
.topbar-search input::placeholder { color: #8fa9bf; }
.topbar-search button { background: none; border: 0; padding: 0 0 0 4px; color: #cddde9; display: flex; }

/* ---------- 站点头部 ---------- */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: relative; z-index: 40; }
.header-main { display: flex; align-items: center; justify-content: space-between; min-height: 92px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.brand-mark { width: 56px; height: 56px; flex-shrink: 0; }
.brand-text .brand-cn { font-size: 25px; font-weight: 800; letter-spacing: 2px; color: var(--navy); line-height: 1.2; }
.brand-text .brand-en { font-size: 10px; letter-spacing: 1.35px; color: var(--muted); text-transform: uppercase; margin-top: 4px; }
.header-slogan { display: flex; align-items: center; gap: 16px; color: var(--muted); font-size: 13px; }
.header-slogan .v-line { width: 1px; height: 38px; background: var(--line); }
.header-slogan strong { display: block; color: var(--blue); font-size: 15px; letter-spacing: 3px; font-family: var(--font-serif); }
.header-slogan span { font-size: 11.5px; letter-spacing: 1px; }
.header-contact { text-align: right; font-size: 12px; color: var(--muted); line-height: 1.6; }
.header-contact b { color: var(--teal); font-size: 16px; font-weight: 700; letter-spacing: .5px; }

/* ---------- 导航 ---------- */
.site-nav { background: linear-gradient(100deg, var(--navy) 0%, var(--blue) 62%, #1a6092 100%); }
.nav-inner { display: flex; align-items: stretch; justify-content: space-between; }
.nav-list { display: flex; align-items: stretch; }
.nav-list > li { position: relative; }
.nav-list > li > a {
  display: flex; align-items: center; height: 52px; padding: 0 17px;
  color: #e8f1f8; font-size: 14.5px; white-space: nowrap; letter-spacing: .5px;
  transition: background .2s, color .2s;
}
.nav-list > li > a:hover, .nav-list > li.active > a { background: rgba(255,255,255,.13); color: #fff; }
.nav-list > li.active > a::after {
  content: ""; position: absolute; bottom: 0; left: 18px; right: 18px; height: 3px; background: var(--gold);
}
.nav-list > li.has-sub > a::before {
  content: ""; width: 5px; height: 5px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg); margin: -3px 7px 0 0; opacity: .75;
}
.nav-list .submenu {
  position: absolute; top: 52px; left: 0; min-width: 178px; background: #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow-md); border-radius: 0 0 8px 8px;
  padding: 6px 0; display: none; z-index: 50;
}
.nav-list li:hover .submenu { display: block; }
.nav-list .submenu a { display: block; padding: 9px 18px; font-size: 13.5px; color: var(--ink); white-space: nowrap; }
.nav-list .submenu a:hover { background: var(--teal-soft); color: var(--teal); padding-left: 23px; }
.nav-tools { display: flex; align-items: center; color: rgba(255,255,255,.75); font-size: 12.5px; gap: 8px; }
.nav-tools .pill { border: 1px solid rgba(255,255,255,.35); border-radius: 20px; padding: 3px 12px; color: #fff; }
.menu-toggle { display: none; background: none; border: 0; color: #fff; padding: 0 4px; }
.menu-toggle svg { width: 26px; height: 26px; }

/* ---------- 通用组件 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 22px; border-radius: 6px; border: 1px solid transparent;
  font-size: 14px; font-weight: 600; transition: all .2s; white-space: nowrap;
}
.btn-primary { background: var(--blue-2); color: #fff; }
.btn-primary:hover { background: var(--blue); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { background: rgba(255,255,255,.22); color: #fff; }
.btn-outline { background: #fff; color: var(--blue); border-color: var(--line); }
.btn-outline:hover { border-color: var(--blue-2); color: var(--blue-2); }
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { background: #0a646d; color: #fff; }
.btn svg { width: 16px; height: 16px; }

.section { padding: 54px 0; }
.section-tight { padding: 34px 0; }
.section-alt { background: #fff; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.section-head .eyebrow { color: var(--teal); font-size: 12px; letter-spacing: 2.4px; text-transform: uppercase; font-weight: 700; margin-bottom: 5px; }
.section-head h2 { font-size: 27px; color: var(--navy); letter-spacing: 1px; position: relative; padding-bottom: 12px; }
.section-head h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 42px; height: 3px; background: var(--gold); }
.section-head .more { font-size: 13px; color: var(--muted); border-bottom: 1px solid var(--line); padding-bottom: 3px; }
.section-head .more:hover { color: var(--blue-2); border-color: var(--blue-2); }
.section-desc { color: var(--muted); font-size: 14px; max-width: 720px; margin-top: 10px; }

.breadcrumb { background: #fff; border-bottom: 1px solid var(--line-2); font-size: 13px; color: var(--muted); }
.breadcrumb .container { display: flex; align-items: center; gap: 9px; height: 46px; }
.breadcrumb a:hover { color: var(--blue-2); }
.breadcrumb .sep { color: var(--muted-2); }
.breadcrumb .current { color: var(--ink); font-weight: 600; }

.page-banner {
  background: linear-gradient(115deg, var(--navy-deep) 0%, var(--navy) 48%, #12557f 100%);
  color: #fff; position: relative; overflow: hidden; padding: 42px 0 38px;
}
.page-banner::after {
  content: ""; position: absolute; right: -60px; top: -110px; width: 480px; height: 480px;
  border: 1px solid rgba(255,255,255,.10); border-radius: 50%;
  box-shadow: 0 0 0 42px rgba(255,255,255,.035), 0 0 0 96px rgba(255,255,255,.025);
}
.page-banner .container { position: relative; z-index: 1; }
.page-banner h1 { font-size: 31px; letter-spacing: 2px; }
.page-banner p { color: #b9d2e5; font-size: 13.5px; margin: 8px 0 0; letter-spacing: .5px; }
.page-banner .banner-tag { display: inline-block; border: 1px solid rgba(255,255,255,.3); border-radius: 3px; padding: 2px 10px; font-size: 11.5px; letter-spacing: 1.5px; color: #d6e6f2; margin-bottom: 12px; }

.notice-strip { background: #fffbeb; border: 1px solid #f2e2b4; color: #8a6a1d; border-radius: 8px; padding: 11px 16px; font-size: 13px; display: flex; gap: 10px; align-items: flex-start; }
.notice-strip svg { flex-shrink: 0; margin-top: 3px; }

.card { background: var(--card); border: 1px solid var(--line-2); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: transform .22s, box-shadow .22s, border-color .22s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #cbdce9; }
.panel { background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.panel-head { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); padding: 0 20px; height: 54px; }
.panel-head h3 { font-size: 17px; color: var(--navy); display: flex; align-items: center; gap: 9px; }
.panel-head h3::before { content: ""; width: 4px; height: 17px; background: var(--gold); border-radius: 2px; }
.panel-head .more { font-size: 12.5px; color: var(--muted); }
.panel-body { padding: 14px 20px 18px; }

.tag { display: inline-block; font-size: 11.5px; padding: 2px 9px; border-radius: 3px; background: var(--teal-soft); color: var(--teal); font-weight: 600; }
.tag-blue { background: #e8f1fa; color: var(--blue); }
.tag-gold { background: #faf2dd; color: #9a7620; }
.tag-gray { background: #eef2f6; color: var(--muted); }

.meta { color: var(--muted-2); font-size: 12.5px; }
.text-muted { color: var(--muted); }
.center { text-align: center; }

/* ---------- 首页 Hero ---------- */
.hero { position: relative; background: linear-gradient(118deg, #072238 0%, #0b3a63 52%, #0d5a7d 100%); color: #fff; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; opacity: .55; }
.hero-bg svg { width: 100%; height: 100%; }
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 40px; align-items: center; min-height: 430px; padding: 48px 0; }
.hero-copy { min-width: 0; }
.hero-kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: 3px; color: #a9d3e6; border: 1px solid rgba(255,255,255,.25); border-radius: 30px; padding: 5px 16px; max-width: 100%; }
.hero-kicker i { width: 6px; height: 6px; background: var(--gold); border-radius: 50%; }
.hero h1 { font-size: 43px; letter-spacing: 5px; margin: 22px 0 12px; line-height: 1.28; font-family: var(--font-serif); text-shadow: 0 2px 18px rgba(0,0,0,.18); }
.hero .hero-sub { font-size: 15.5px; color: #cbe0ee; letter-spacing: 1.2px; margin-bottom: 10px; }
.hero .hero-desc { font-size: 13.5px; color: #a9c8dd; max-width: 560px; line-height: 2; margin-bottom: 26px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-visual { position: relative; display: flex; align-items: center; justify-content: center; }
.hero-visual svg { width: 100%; max-width: 380px; filter: drop-shadow(0 18px 40px rgba(0,0,0,.3)); }
.hero-stats { display: flex; gap: 26px; margin-top: 34px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.18); }
.hero-stats .stat b { display: block; font-size: 27px; color: #fff; line-height: 1.2; font-family: Georgia, serif; }
.hero-stats .stat span { font-size: 12px; color: #a9c8dd; letter-spacing: .5px; }

/* 首页轮播标题条 */
.hero-slides { position: relative; z-index: 3; background: rgba(4, 26, 44, .5); border-top: 1px solid rgba(255,255,255,.12); }
.hero-slides .container { display: flex; align-items: center; gap: 16px; height: 46px; }
.hero-slides .label { font-size: 12px; color: var(--gold); letter-spacing: 1px; white-space: nowrap; font-weight: 700; }
.hero-slides #slideTitle { font-size: 13.5px; color: #d9e9f4; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hero-dots { display: flex; gap: 6px; }
.hero-dots button { width: 7px; height: 7px; border-radius: 50%; border: 0; background: rgba(255,255,255,.35); padding: 0; }
.hero-dots button.on { background: var(--gold); width: 18px; border-radius: 4px; }

/* ---------- 快捷入口 ---------- */
.quickbar { background: #fff; border-bottom: 1px solid var(--line); }
.quick-grid { display: grid; grid-template-columns: repeat(6, 1fr); }
.quick-item { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 24px 8px; border-right: 1px solid var(--line-2); transition: background .2s; }
.quick-item:last-child { border-right: 0; }
.quick-item:hover { background: #f5fafd; }
.quick-icon { width: 50px; height: 50px; border-radius: 14px; background: linear-gradient(145deg, #e9f3fa, #dcecf6); display: flex; align-items: center; justify-content: center; color: var(--blue); transition: all .25s; }
.quick-icon svg { width: 26px; height: 26px; }
.quick-item:hover .quick-icon { background: var(--blue-2); color: #fff; transform: translateY(-3px); }
.quick-item span { font-size: 14px; font-weight: 600; color: var(--ink); }
.quick-item small { font-size: 11px; color: var(--muted-2); margin-top: -6px; }

/* ---------- 新闻与列表 ---------- */
.news-layout { display: grid; grid-template-columns: 1.35fr 1fr; gap: 24px; }
.focus-card { position: relative; border-radius: var(--radius); overflow: hidden; height: 250px; background: linear-gradient(135deg, #0d4a72, #12819a); color: #fff; }
.focus-card .focus-art { position: absolute; inset: 0; opacity: .5; }
.focus-card .focus-art svg { width: 100%; height: 100%; }
.focus-card .focus-text { position: absolute; left: 0; right: 0; bottom: 0; padding: 20px 22px; background: linear-gradient(transparent, rgba(4,24,42,.9)); }
.focus-card .focus-text .tag { background: var(--gold); color: #fff; margin-bottom: 8px; }
.focus-card h3 { font-size: 19px; line-height: 1.5; color: #fff; }
.focus-card .meta { color: #b8d3e5; margin-top: 6px; }
.news-list li { border-bottom: 1px dashed var(--line); padding: 11px 0; }
.news-list li:last-child { border-bottom: 0; }
.news-list a { display: flex; align-items: center; gap: 12px; font-size: 14px; line-height: 1.6; }
.news-list a .title { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.news-list a:hover .title { color: var(--blue-2); }
.news-list .date { color: var(--muted-2); font-size: 12.5px; flex-shrink: 0; font-variant-numeric: tabular-nums; }
.news-list .bullet { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }
.notice-list li { padding: 12px 0; border-bottom: 1px dashed var(--line); }
.notice-list li:last-child { border: 0; }
.notice-list a { display: block; }
.notice-list .n-title { font-size: 14px; line-height: 1.55; margin-bottom: 5px; display: flex; gap: 8px; align-items: flex-start; }
.notice-list a:hover .n-title { color: var(--blue-2); }
.notice-list .n-meta { display: flex; gap: 10px; align-items: center; font-size: 12px; color: var(--muted-2); padding-left: 20px; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

.info-card { padding: 22px; background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: all .22s; position: relative; overflow: hidden; }
.info-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #cbdce9; }
.info-card .num { position: absolute; right: 14px; top: 6px; font-size: 54px; font-family: Georgia, serif; color: #eef4f9; font-weight: 700; line-height: 1; }
.info-card .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--teal-soft); color: var(--teal); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.info-card .ic svg { width: 23px; height: 23px; }
.info-card h3 { font-size: 16px; color: var(--navy); margin-bottom: 8px; position: relative; }
.info-card p { font-size: 13px; color: var(--muted); line-height: 1.85; margin: 0; }
.info-card .link { display: inline-block; margin-top: 14px; font-size: 12.5px; color: var(--blue-2); font-weight: 600; }

/* 数字统计带 */
.stats-band { background: linear-gradient(110deg, #0b3355, #12607f); color: #fff; padding: 40px 0; position: relative; overflow: hidden; }
.stats-band::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(255,255,255,.04) 0 1px, transparent 1px 46px); }
.stats-band .container { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; }
.stats-band .s-item { border-right: 1px solid rgba(255,255,255,.16); }
.stats-band .s-item:last-child { border: 0; }
.stats-band .s-item b { display: block; font-size: 34px; font-family: Georgia, serif; line-height: 1.2; }
.stats-band .s-item span { font-size: 13px; color: #b9d5e6; letter-spacing: 1px; }

/* 科普专题 */
.science-band { background: #fff; }
.si-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; }
.si-unit { text-align: center; padding: 16px 6px; background: #f6fafd; border: 1px solid var(--line-2); border-radius: 8px; }
.si-unit .sym { display: block; font-size: 22px; font-family: Georgia, serif; color: var(--blue); font-weight: 700; }
.si-unit .name { display: block; font-size: 13px; color: var(--ink); margin-top: 4px; }
.si-unit .unit { display: block; font-size: 11px; color: var(--muted-2); margin-top: 2px; }

/* 会员 / 链接 */
.link-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.link-item { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 13px 16px; background: #fff; border: 1px solid var(--line-2); border-radius: 7px; font-size: 13.5px; color: var(--ink); transition: all .2s; }
.link-item:hover { border-color: var(--blue-2); color: var(--blue-2); transform: translateX(3px); }
.link-item svg { width: 14px; height: 14px; color: var(--muted-2); flex-shrink: 0; }
.friend-links { display: flex; flex-wrap: wrap; gap: 10px; }
.friend-links a { font-size: 13px; color: var(--muted); padding: 7px 15px; background: #fff; border: 1px solid var(--line-2); border-radius: 5px; }
.friend-links a:hover { color: var(--blue-2); border-color: #bcd6e8; }

/* ---------- 内页通用 ---------- */
.page-layout { display: grid; grid-template-columns: 240px 1fr; gap: 28px; align-items: start; padding: 36px 0 60px; }
.side-nav { background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; position: sticky; top: 16px; }
.side-nav h3 { background: linear-gradient(100deg, var(--navy), var(--blue)); color: #fff; padding: 16px 20px; font-size: 16px; letter-spacing: 1px; }
.side-nav ul { padding: 8px 0 14px; }
.side-nav li a { display: flex; align-items: center; justify-content: space-between; padding: 10px 20px; font-size: 14px; color: var(--ink); border-left: 3px solid transparent; }
.side-nav li a:hover, .side-nav li a.active { background: #f2f8fc; color: var(--blue-2); border-left-color: var(--gold); }
.side-nav li a span { color: var(--muted-2); font-size: 11px; }
.side-card { margin-top: 16px; padding: 18px; background: linear-gradient(160deg, #0c3b61, #12707e); color: #fff; border-radius: var(--radius); }
.side-card h4 { font-size: 15px; margin-bottom: 8px; }
.side-card p { font-size: 12.5px; color: #c8dfec; line-height: 1.85; margin-bottom: 12px; }
.side-card .btn { width: 100%; font-size: 13px; padding: 8px; }

.page-content { min-width: 0; }
.prose { background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius); padding: 32px 36px; box-shadow: var(--shadow-sm); }
.prose h2 { font-size: 22px; color: var(--navy); margin: 0 0 18px; padding-bottom: 12px; border-bottom: 2px solid var(--line-2); position: relative; }
.prose h2::after { content: ""; position: absolute; bottom: -2px; left: 0; width: 68px; height: 2px; background: var(--gold); }
.prose h3 { font-size: 17px; color: var(--blue); margin: 28px 0 12px; }
.prose p { color: #3b4f63; line-height: 2.05; font-size: 14.5px; text-align: justify; }
.prose ul.dot-list { margin: 12px 0 20px; }
.prose ul.dot-list li { position: relative; padding-left: 20px; margin-bottom: 9px; color: #3b4f63; font-size: 14.5px; line-height: 1.9; }
.prose ul.dot-list li::before { content: ""; position: absolute; left: 3px; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.prose blockquote { border-left: 3px solid var(--teal); background: #f4f9fa; padding: 14px 20px; margin: 18px 0; color: #37586a; font-size: 14px; }

.fact-table { width: 100%; border-collapse: collapse; margin: 16px 0 24px; font-size: 14px; }
.fact-table th, .fact-table td { border: 1px solid var(--line); padding: 12px 16px; text-align: left; vertical-align: top; }
.fact-table th { background: #f3f8fc; color: var(--navy); font-weight: 700; width: 190px; }
.fact-table td { color: #3b4f63; }
.fact-table tr:hover td { background: #fafcfe; }

/* 时间轴 */
.timeline { position: relative; padding-left: 30px; margin: 20px 0; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--gold), var(--blue-2)); }
.timeline li { position: relative; padding: 0 0 24px 4px; }
.timeline li::before { content: ""; position: absolute; left: -27px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 3px solid var(--blue-2); }
.timeline .t-year { font-family: Georgia, serif; font-size: 17px; color: var(--blue); font-weight: 700; }
.timeline .t-title { font-size: 15px; font-weight: 600; color: var(--ink); margin: 2px 0 4px; }
.timeline .t-desc { font-size: 13.5px; color: var(--muted); line-height: 1.8; }

/* 组织架构 */
.org-tree { text-align: center; }
.org-root { display: inline-block; background: var(--navy); color: #fff; padding: 12px 28px; border-radius: 8px; font-weight: 700; letter-spacing: 1px; }
.org-line { width: 2px; height: 26px; background: var(--line); margin: 0 auto; }
.org-branches { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; border-top: 2px solid var(--line); padding-top: 22px; position: relative; }
.org-branches::before { content: ""; position: absolute; top: -2px; left: 12.5%; right: 12.5%; height: 2px; background: var(--blue-2); }
.org-box { background: #f6fafd; border: 1px solid var(--line); border-radius: 8px; padding: 16px 10px; }
.org-box b { display: block; color: var(--navy); font-size: 14.5px; margin-bottom: 6px; }
.org-box span { font-size: 12.5px; color: var(--muted); line-height: 1.7; }

/* 文章列表（带缩略信息） */
.article-list { background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; }
.article-row { display: flex; gap: 18px; padding: 20px 22px; border-bottom: 1px solid var(--line-2); align-items: flex-start; transition: background .2s; }
.article-row:last-child { border-bottom: 0; }
.article-row:hover { background: #f9fcfe; }
.article-thumb { width: 132px; height: 88px; border-radius: 7px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; color: #fff; overflow: hidden; }
.article-thumb svg { width: 100%; height: 100%; }
.article-main { flex: 1; min-width: 0; }
.article-main h3 { font-size: 16px; color: var(--navy); margin-bottom: 7px; }
.article-row:hover .article-main h3 { color: var(--blue-2); }
.article-main p { font-size: 13px; color: var(--muted); line-height: 1.75; margin: 0 0 9px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.article-meta { display: flex; flex-wrap: wrap; gap: 14px; font-size: 12px; color: var(--muted-2); align-items: center; }
.date-box { flex-shrink: 0; width: 66px; text-align: center; background: #f2f8fc; border-radius: 7px; padding: 9px 4px; color: var(--blue); }
.date-box b { display: block; font-size: 21px; font-family: Georgia, serif; line-height: 1.1; }
.date-box span { font-size: 11px; color: var(--muted); }

.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 18px; }
.filter-bar button { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 6px 17px; font-size: 13px; color: var(--muted); transition: all .2s; }
.filter-bar button:hover { border-color: var(--blue-2); color: var(--blue-2); }
.filter-bar button.on { background: var(--blue); border-color: var(--blue); color: #fff; }
.filter-bar .search-mini { margin-left: auto; display: flex; align-items: center; border: 1px solid var(--line); background: #fff; border-radius: 20px; padding: 0 12px; height: 34px; }
.filter-bar .search-mini input { border: 0; outline: none; width: 150px; font-size: 13px; background: transparent; }
.filter-bar .search-mini svg { width: 15px; height: 15px; color: var(--muted-2); }

.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 24px; }
.pagination button { min-width: 34px; height: 34px; border: 1px solid var(--line); background: #fff; border-radius: 5px; color: var(--muted); font-size: 13px; }
.pagination button.on, .pagination button:hover { background: var(--blue); color: #fff; border-color: var(--blue); }

/* 课程 / 活动卡 */
.course-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: all .22s; }
.course-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.course-card .c-top { height: 116px; background: linear-gradient(135deg, #104a74, #14808e); position: relative; color: #fff; display: flex; align-items: center; justify-content: center; }
.course-card:nth-child(3n+2) .c-top { background: linear-gradient(135deg, #123f66, #2a7ea8); }
.course-card:nth-child(3n+3) .c-top { background: linear-gradient(135deg, #0d5d68, #4a9c8c); }
.course-card .c-top svg { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .4; }
.course-card .c-top .c-label { position: relative; font-size: 12px; letter-spacing: 3px; border: 1px solid rgba(255,255,255,.5); padding: 5px 14px; border-radius: 3px; }
.course-card .c-body { padding: 18px 20px 20px; flex: 1; display: flex; flex-direction: column; }
.course-card h3 { font-size: 16px; color: var(--navy); margin-bottom: 10px; line-height: 1.5; }
.course-card .c-info { font-size: 12.5px; color: var(--muted); display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.course-card .c-info span { display: flex; align-items: center; gap: 7px; }
.course-card .c-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--line); }

/* 表单 */
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.form-field label i { color: #d1495b; font-style: normal; margin-right: 3px; }
.form-field input, .form-field select, .form-field textarea {
  border: 1px solid var(--line); background: #fbfdff; border-radius: 6px; padding: 10px 12px; color: var(--ink); outline: none; transition: border .2s, box-shadow .2s;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--blue-2); box-shadow: 0 0 0 3px rgba(29,111,165,.12); }
.form-field textarea { min-height: 110px; resize: vertical; }
.form-note { font-size: 12.5px; color: var(--muted); margin-top: 12px; }
.form-alert { display: none; margin-top: 16px; padding: 12px 16px; border-radius: 6px; background: var(--teal-soft); color: #0b626b; font-size: 13.5px; border: 1px solid #b9dedd; }

/* FAQ */
.faq-item { border: 1px solid var(--line-2); background: #fff; border-radius: 8px; margin-bottom: 10px; overflow: hidden; }
.faq-item summary { padding: 14px 18px; font-weight: 600; color: var(--navy); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; font-size: 14.5px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 20px; color: var(--blue-2); font-weight: 400; }
.faq-item[open] summary::after { content: "−"; }
.faq-item .faq-body { padding: 0 18px 16px; font-size: 13.5px; color: var(--muted); line-height: 1.95; border-top: 1px dashed var(--line); padding-top: 12px; }

/* 下载列表 */
.download-row { display: flex; align-items: center; gap: 16px; padding: 15px 20px; background: #fff; border: 1px solid var(--line-2); border-radius: 8px; margin-bottom: 10px; transition: all .2s; }
.download-row:hover { border-color: #bcd6e8; box-shadow: var(--shadow-sm); }
.file-ico { width: 42px; height: 42px; border-radius: 8px; background: #eaf2f9; color: var(--blue); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 11px; font-weight: 800; }
.file-ico.pdf { background: #fdeeee; color: #c04b4b; }
.file-ico.doc { background: #eaf1fc; color: #3b6fc0; }
.file-ico.xls { background: #e9f6ee; color: #31855a; }
.download-row .f-main { flex: 1; min-width: 0; }
.download-row .f-main b { font-size: 14.5px; color: var(--ink); display: block; }
.download-row .f-main span { font-size: 12px; color: var(--muted-2); }
.download-row .btn { padding: 6px 14px; font-size: 12.5px; }

/* 联系页 */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.contact-card { background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius); padding: 24px; }
.contact-row { display: flex; gap: 14px; padding: 13px 0; border-bottom: 1px dashed var(--line); }
.contact-row:last-child { border: 0; }
.contact-row .ci { width: 36px; height: 36px; border-radius: 9px; background: var(--teal-soft); color: var(--teal); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-row .ci svg { width: 19px; height: 19px; }
.contact-row b { display: block; font-size: 12px; color: var(--muted-2); font-weight: 500; margin-bottom: 2px; }
.contact-row span { font-size: 14px; color: var(--ink); }
.map-placeholder { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-2); background: #eef4f8; min-height: 270px; position: relative; }
.map-placeholder svg { width: 100%; height: 100%; position: absolute; inset: 0; }
.map-label { position: absolute; left: 20px; bottom: 20px; background: #fff; padding: 12px 16px; border-radius: 8px; box-shadow: var(--shadow-md); font-size: 13px; }
.map-label b { color: var(--navy); display: block; font-size: 14.5px; }

/* 文章详情 */
.article-head { text-align: center; padding: 30px 20px 22px; }
.article-head h1 { font-size: 26px; color: var(--navy); line-height: 1.5; margin-bottom: 14px; }
.article-head .article-meta { justify-content: center; }
.article-body { border-top: 1px solid var(--line-2); padding: 26px 36px 36px; }
.article-body p { font-size: 15px; line-height: 2.1; color: #354a5f; text-align: justify; margin-bottom: 16px; }
.article-body h3 { font-size: 17px; color: var(--blue); margin: 24px 0 10px; }
.article-body .callout { background: #f4f9fb; border-left: 3px solid var(--teal); padding: 14px 18px; font-size: 14px; color: #3c5c6b; margin: 18px 0; border-radius: 0 6px 6px 0; }
.article-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 20px; font-size: 13px; color: var(--muted); }

/* ---------- 页脚 ---------- */
.site-footer { background: #08263e; color: #9fb8cc; margin-top: 0; }
.footer-main { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.15fr; gap: 36px; padding: 48px 0 36px; }
.footer-main h4 { color: #fff; font-size: 15px; margin-bottom: 18px; letter-spacing: 1px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand .brand-mark { width: 44px; height: 44px; }
.footer-brand b { color: #fff; font-size: 19px; letter-spacing: 2px; display: block; }
.footer-brand small { font-size: 10px; letter-spacing: 1.2px; color: #7fa0b9; }
.footer-main p { font-size: 13px; line-height: 1.95; color: #96b2c8; }
.footer-main ul li { font-size: 13px; padding: 5px 0; display: flex; gap: 8px; align-items: flex-start; }
.footer-main ul li::before { content: ""; width: 4px; height: 4px; background: var(--gold); border-radius: 50%; margin-top: 10px; flex-shrink: 0; }
.footer-main a:hover { color: #fff; }
.footer-qr { display: flex; gap: 12px; align-items: center; }
.qr-box { width: 88px; height: 88px; background: #fff; border-radius: 6px; padding: 7px; flex-shrink: 0; }
.qr-box svg { width: 100%; height: 100%; }
.footer-qr span { font-size: 12px; color: #8facbf; line-height: 1.8; }
.footer-links { border-top: 1px solid rgba(255,255,255,.10); padding: 16px 0; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 12.5px; }
.footer-links b { color: #cfe0ec; font-weight: 600; }
.footer-links a { color: #9fb8cc; }
.footer-links a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.10); padding: 18px 0 22px; font-size: 12px; color: #7e9cb3; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-bottom a:hover { color: #fff; }
.demo-note { font-size: 11.5px; color: #7594ac; line-height: 1.7; margin-top: 10px; }

/* 回到顶部 */
.to-top { position: fixed; right: 22px; bottom: 24px; width: 42px; height: 42px; border-radius: 8px; background: var(--blue); color: #fff; border: 0; box-shadow: var(--shadow-md); display: none; align-items: center; justify-content: center; z-index: 60; }
.to-top.show { display: flex; }
.to-top:hover { background: var(--teal); }
.to-top svg { width: 20px; height: 20px; }

/* ---------- 响应式 ---------- */
@media (max-width: 1100px) {
  .header-slogan { display: none; }
  .nav-list > li > a { padding: 0 11px; font-size: 13.5px; }
  .quick-grid { grid-template-columns: repeat(3, 1fr); }
  .quick-item:nth-child(3) { border-right: 0; }
  .quick-item:nth-child(-n+3) { border-bottom: 1px solid var(--line-2); }
  .hero h1 { font-size: 36px; }
  .si-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-main { grid-template-columns: repeat(2, 1fr); gap: 28px; }
}

@media (max-width: 860px) {
  .topbar-right .topbar-links { display: none; }
  .header-main { min-height: 74px; }
  .brand-text .brand-cn { font-size: 21px; }
  .brand-mark { width: 46px; height: 46px; }
  .header-contact { display: none; }
  .nav-inner { flex-direction: column; align-items: stretch; }
  .menu-toggle { display: flex; align-self: center; position: absolute; right: 20px; top: 9px; }
  .site-nav { position: relative; }
  .nav-list { display: none; flex-direction: column; }
  .nav-list.open { display: flex; }
  .nav-list > li > a { height: 46px; border-bottom: 1px solid rgba(255,255,255,.1); padding: 0 20px; }
  .nav-list > li.active > a::after { display: none; }
  .nav-list .submenu { position: static; display: block; box-shadow: none; border: 0; border-radius: 0; background: rgba(0,0,0,.14); padding: 2px 0 8px; }
  .nav-list .submenu a { color: #d7e8f3; padding-left: 38px; }
  .nav-list > li.has-sub > a::before { display: none; }
  .nav-tools { display: none; }
  .nav-inner { position: relative; }
  .hero-inner { grid-template-columns: minmax(0, 1fr); min-height: 0; padding: 42px 0; }
  .hero-visual { display: none; }
  .hero h1 { font-size: 31px; letter-spacing: 3px; }
  .news-layout, .page-layout, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .side-nav { position: static; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: repeat(2, 1fr); }
  .stats-band .container { grid-template-columns: repeat(2, 1fr); row-gap: 24px; }
  .stats-band .s-item:nth-child(2) { border-right: 0; }
  .prose { padding: 24px 22px; }
  .article-body { padding: 22px; }
  .org-branches { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .container { width: calc(100% - 28px); }
  .topbar-left span.long { display: none; }
  .topbar-search input { width: 90px; }
  .section { padding: 36px 0; }
  .section-head h2 { font-size: 22px; }
  .quick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quick-item { min-width: 0; }
  .quick-item:nth-child(3) { border-right: 1px solid var(--line-2); }
  .quick-item:nth-child(2n) { border-right: 0; }
  .quick-item:nth-child(-n+4) { border-bottom: 1px solid var(--line-2); }
  .grid-2, .grid-3, .grid-4, .link-grid, .form-grid, .footer-main { grid-template-columns: minmax(0, 1fr); }
  .si-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero h1 { font-size: 26px; }
  .hero-kicker { font-size: 10px; letter-spacing: 1px; padding: 5px 12px; flex-wrap: wrap; }
  .hero h1, .hero-sub, .hero-desc, .hero-kicker { overflow-wrap: anywhere; }
  .hero-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .hero-stats .stat { min-width: 0; }
  .hero-stats .stat b { font-size: 22px; }
  .hero-slides #slideTitle { flex: 1 1 100%; min-width: 0; }
  .article-row { flex-direction: column; }
  .article-thumb { width: 100%; height: 130px; }
  .date-box { display: none; }
  .filter-bar .search-mini { margin-left: 0; width: 100%; }
  .filter-bar .search-mini input { flex: 1; }
  .page-banner h1 { font-size: 24px; }
  .fact-table th { width: 110px; }
  .fact-table th, .fact-table td { padding: 9px 10px; font-size: 13px; }
  .footer-main { gap: 20px; }
  .org-branches::before { display: none; }
  .hero-slides .container { height: auto; padding: 9px 0; flex-wrap: wrap; }
}

@media print {
  .topbar, .site-nav, .hero-slides, .to-top, .site-footer { display: none !important; }
  body { background: #fff; }
}
