/* shiology.world — site.css  自有轻量样式，无第三方依赖 */
:root {
  --primary: #185FA5;
  --primary-dark: #0C447C;
  --primary-light: #E6F1FB;
  --accent: #0F6E56;
  --text: #22262A;
  --text-2: #5A6067;
  --line: #E3E6E9;
  --bg: #FFFFFF;
  --bg-2: #F6F8FA;
  --radius: 10px;
  --shadow: 0 1px 3px rgba(16, 24, 40, .08);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Inter", "Segoe UI", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  font-size: 16px; line-height: 1.65; color: var(--text); background: var(--bg);
}
img { max-width: 100%; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 8px; top: 8px; background: #fff; padding: 6px 12px; z-index: 99; }

/* ---------- header ---------- */
.lang-switch {
  margin-left: auto; flex-shrink: 0;
  color: var(--text-2); border: 1px solid var(--line);
  padding: 5px 14px; border-radius: 999px; font-size: 13px; white-space: nowrap;
  transition: color .15s ease, border-color .15s ease, background .15s ease;
}
.lang-switch:hover { color: var(--primary); border-color: var(--primary); background: rgba(27,95,170,.06); text-decoration: none; }

/* 页头搜索入口（图标，小屏幕也保留） */
.head-search {
  flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 999px; color: var(--text-2);
  border: 1px solid var(--line);
  transition: color .15s ease, border-color .15s ease, background .15s ease;
}
.head-search:hover { color: var(--primary); border-color: var(--primary); background: rgba(27,95,170,.06); text-decoration: none; }

.header-in { display: flex; align-items: center; gap: 28px; padding: 12px 20px; }
.site-header { position: relative; }
/* 品牌 logo：桌面固定高度、按比例出宽；.brand 不允许被压扁（否则窄屏会把图横向挤变形） */
.brand { flex-shrink: 0; display: flex; align-items: center; min-width: 0; }
.brand img { height: 52px; width: auto; max-width: 100%; display: block; }
.main-nav { margin-left: auto; }
.main-nav > ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a,
.main-nav > ul > li > .nav-top {
  display: block; padding: 10px 14px; color: var(--text); font-weight: 500; border-radius: 8px;
}
.main-nav > ul > li > a:hover { background: var(--primary-light); color: var(--primary-dark); text-decoration: none; }
/* 有下拉的顶级：不加链接，只作 hover 展开（span），带个小箭头提示 */
.main-nav > ul > li > .nav-top { cursor: default; user-select: none; }
.main-nav > ul > li > .nav-top::after {
  content: ""; display: inline-block; vertical-align: 2px; margin-left: 5px;
  border-left: 4px solid transparent; border-right: 4px solid transparent;
  border-top: 5px solid currentColor; opacity: .45;
}
.main-nav > ul > li:hover > .nav-top { color: var(--primary-dark); }
.sub {
  position: absolute; top: 100%; left: 0; min-width: 260px; max-height: 70vh; overflow: auto;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); list-style: none; margin: 0; padding: 6px;
  display: none; z-index: 30;
}
.main-nav li:hover > .sub, .main-nav li:focus-within > .sub { display: block; }
.sub a { display: block; padding: 8px 12px; color: var(--text); font-size: 14.5px; border-radius: 6px; }
.sub a:hover { background: var(--primary-light); color: var(--primary-dark); text-decoration: none; }

.nav-toggle { display: none; margin-left: auto; flex-shrink: 0; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--bg-2); }
.hero .slides { position: relative; aspect-ratio: 1440/430; }
.slide { display: block; position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease; }
.slide.active { opacity: 1; }
.slide picture { display: block; width: 100%; height: 100%; }
.slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.72); border: 0; width: 42px; height: 42px; border-radius: 50%;
  font-size: 16px; cursor: pointer; color: #333; z-index: 5;
}
.hero-btn:hover { background: rgba(255,255,255,.92); }
.hero-btn.prev { left: 16px; }
.hero-btn.next { right: 16px; }
.hero-dots { position: absolute; bottom: 14px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; z-index: 5; }
.dot { width: 9px; height: 9px; border-radius: 50%; border: 0; background: rgba(255,255,255,.65); cursor: pointer; padding: 0; }
.dot.active { background: #fff; }

/* ---------- features / cards ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding-top: 28px; padding-bottom: 10px; }
.feature {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; display: block; color: var(--text);
}
.feature:hover { text-decoration: none; border-color: var(--primary); box-shadow: var(--shadow); }
.feature-img { display: block; aspect-ratio: 3/2; overflow: hidden; border-radius: 8px; margin-bottom: 14px; background: var(--bg-2); }
.feature-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s ease; }
.feature:hover .feature-img img { transform: scale(1.04); }
.feature-img.fit-contain { background: #fff; border: 1px solid var(--line); }
.feature-img.fit-contain img { object-fit: contain; padding: 14px; }
.feature-img.fit-contain:hover img { transform: none; }
.feature-t { display: block; font-weight: 600; font-size: 18px; color: var(--primary-dark); }
.feature-d { display: block; color: var(--text-2); font-size: 14px; margin-top: 4px; }

.sec-head { display: flex; justify-content: space-between; align-items: baseline; margin: 34px 0 16px; }
.sec-head h2 { font-size: 22px; margin: 0; color: var(--primary-dark); }
.more { font-size: 14px; }

.home-news { padding-bottom: 40px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cards.small { grid-template-columns: repeat(4, 1fr); }
.card {
  display: flex; flex-direction: column; gap: 6px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--text);
  transition: box-shadow .15s ease, border-color .15s ease;
}
.card:hover { text-decoration: none; border-color: var(--primary); box-shadow: var(--shadow); }
.card-img { display: block; aspect-ratio: 3/2; background: var(--bg-2); overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card-date { font-size: 12.5px; color: var(--text-2); padding: 0 14px; }
.card-t { font-weight: 500; padding: 0 14px 4px; line-height: 1.45; }
.card-d { font-size: 13.5px; color: var(--text-2); padding: 0 14px 14px; }

/* 著作/出版物：整本书完整显示，不裁切（图书多为竖版，3:2 的 cover 会把上下切掉） */
.cards.books .card-img { aspect-ratio: 4/5; background: #fff; border-bottom: 1px solid var(--line); }
.cards.books .card-img img { object-fit: contain; padding: 10px; }

/* 无封面卡片的占位视觉（品牌渐变 + 麦穗图标）：栏目页不再出现一排空白灰块 */
.card-img--ph {
  position: relative; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #0C447C 0%, #16558F 48%, #0F6E56 100%);
}
.card-img--ph::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 80% 16%, rgba(255,255,255,.20), transparent 58%),
    repeating-linear-gradient(135deg, rgba(255,255,255,.055) 0 2px, transparent 2px 13px);
}
.ph-ic { position: relative; z-index: 1; color: rgba(255,255,255,.82); }
.ph-ic svg { width: 46px; height: 46px; display: block; }

/* 历届论坛卡片封面：品牌底 + 一行届次名称。
   刻意不用当届照片（老站每届只有一张杂乱现场照，缩到卡片尺寸几乎看不出是哪届）。 */
.card-img--past {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 0 22px;
  background: linear-gradient(135deg, #0C447C 0%, #16558F 46%, #0F6E56 100%);
}
.card-img--past::before {
  content: ""; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.05) 0 2px, transparent 2px 13px);
}
.past-cover-logo {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: center;
  background: #fff; border-radius: 10px;
  padding: 16px 20px; margin-bottom: 16px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .18);
}
.past-cover-logo img { width: 150px; height: auto; display: block; }
.cards.small .past-cover-logo { padding: 10px 14px; margin-bottom: 10px; border-radius: 8px; }
.cards.small .past-cover-logo img { width: 112px; }
.past-cover-t {
  position: relative; z-index: 1; text-align: center;
  color: #fff; font-size: 21px; font-weight: 500; line-height: 1.4; letter-spacing: .5px;
}
.cards.small .past-cover-t { font-size: 16px; }
.past-cover-t--long { font-size: 17px; }
.cards.small .past-cover-t--long { font-size: 14px; }

/* ---------- 二级栏目页面内的三级子栏目（点开二级页面后在页面里展示） ---------- */
.subpages { margin-top: 6px; }
.subpage-list {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
}
.subpage-item {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--text); text-decoration: none; transition: border-color .15s, box-shadow .15s;
}
.subpage-item:hover {
  border-color: var(--primary); box-shadow: var(--shadow); color: var(--primary-dark); text-decoration: none;
}
.subpage-item .sp-t { font-weight: 500; font-size: 15px; line-height: 1.4; }
.subpage-item .sp-arrow { color: var(--primary); flex-shrink: 0; font-weight: 500; }
@media (max-width: 900px) { .subpage-list { grid-template-columns: 1fr; } }

/* ---------- 页面标题区（纯排版，零图片、零维护；不需要定期换图） ---------- */
.page-head { background: #fff; padding: 4px 0 22px; border-bottom: 1px solid var(--line); }
.page-head-t {
  position: relative; margin: 0; padding-left: 18px;
  font-size: 32px; line-height: 1.28; color: var(--primary-dark);
}
.page-head-t::before {
  content: ""; position: absolute; left: 0; top: .16em; bottom: .16em; width: 5px;
  border-radius: 3px; background: linear-gradient(180deg, var(--primary) 0%, var(--accent) 100%);
}
.page-head-s { margin: 10px 0 0 18px; color: var(--text-2); font-size: 15px; }

/* ---------- 正文页 ---------- */
.breadcrumb { background: transparent; border-bottom: 0; font-size: 13.5px; }
.breadcrumb .wrap { padding-top: 20px; padding-bottom: 10px; }
.breadcrumb .crumb { display: inline-block; }
.breadcrumb .sep { margin: 0 8px; color: var(--text-2); }
.breadcrumb .current { color: var(--text-2); }

.page-body { padding: 30px 20px 50px; }
.page-title { font-size: 28px; margin: 8px 0 18px; color: var(--primary-dark); }
.page-sub { color: var(--text-2); margin-top: -8px; }
.empty { color: var(--text-2); }

/* 正文收成一条居中阅读栏：老页面按 1180px 满宽排，一行四十多字，
   眼睛找不到行首。图片仍占满栏宽，只有竖图单独限宽。 */
.article-inner { max-width: 860px; margin: 0 auto; }

.article-head { padding-bottom: 18px; margin-bottom: 30px; border-bottom: 1px solid var(--line); }
.article-title {
  position: relative; margin: 0 0 16px; padding-left: 18px;
  font-size: 32px; line-height: 1.32; color: var(--primary-dark);
}
.article-title::before {
  content: ""; position: absolute; left: 0; top: .16em; bottom: .16em; width: 5px;
  border-radius: 3px; background: linear-gradient(180deg, var(--primary) 0%, var(--accent) 100%);
}
.article-meta {
  display: flex; flex-wrap: wrap; gap: 6px 20px;
  margin-left: 18px; color: var(--text-2); font-size: 13.5px;
}
.article-meta .am-item { display: inline-flex; align-items: center; gap: 6px; }
.article-meta svg { flex: 0 0 auto; opacity: .75; }

.article-content { font-size: 17px; line-height: 1.9; color: #2B3138; }
.article-content img { max-width: 100% !important; height: auto !important; }
.article-content p { margin: 0 0 1.05em; }
.article-content > :first-child { margin-top: 0; }
.article-content h1, .article-content h2, .article-content h3, .article-content h4 {
  color: var(--primary-dark); line-height: 1.4; margin: 32px 0 14px;
}
.article-content h1 { font-size: 25px; }
.article-content h2 { font-size: 23px; }
.article-content h3 { font-size: 20px; }
.article-content h4 { font-size: 18px; }
.article-content table { border-collapse: collapse; width: 100%; margin: 1.2em 0; font-size: .95em; }
.article-content td, .article-content th { border: 1px solid var(--line); padding: 9px 12px; }
.article-content th { background: var(--bg-2); color: var(--primary-dark); }
.article-content tbody tr:nth-child(even) td { background: #FAFBFC; }
.article-content iframe, .article-content video { max-width: 100%; }
.article-content a { word-break: break-word; border-bottom: 1px solid rgba(24,95,170,.28); }
.article-content a:hover { border-bottom-color: var(--primary); text-decoration: none; }
.article-content ul, .article-content ol { margin: 0 0 1.05em; padding-left: 1.5em; }
.article-content li { margin: 0 0 .45em; }
.article-content li > ul, .article-content li > ol { margin-top: .45em; }
.article-content blockquote {
  margin: 1.3em 0; padding: 4px 0 4px 18px;
  border-left: 3px solid var(--primary); color: var(--text-2);
}
.article-content hr { border: 0; border-top: 1px solid var(--line); margin: 30px 0; }
.article-content strong, .article-content b { color: var(--primary-dark); }

/* 「整段只有加粗」被识别成的小标题（老站写法：<p><strong>工作履历</strong></p>）
   选择器带 .article-content 前缀：否则被上面的 h2 规则按特异性压掉字号与间距 */
.article-content .ac-h {
  position: relative; margin: 34px 0 14px; padding-left: 13px;
  font-size: 21px; line-height: 1.45; color: var(--primary-dark);
}
.article-content .ac-h::before {
  content: ""; position: absolute; left: 0; top: .22em; bottom: .22em; width: 4px;
  border-radius: 2px; background: linear-gradient(180deg, var(--primary) 0%, var(--accent) 100%);
}
.article-content > .ac-h:first-child { margin-top: 0; }

/* 图片：独占一段的图包成 figure，圆角 + 细边 + 可点开看大图 */
.ac-fig { margin: 26px 0; }
.ac-fig img {
  display: block; margin: 0 auto;
  border: 1px solid var(--line); border-radius: 10px; background: #fff;
  transition: box-shadow .2s ease;
}
/* 链接的底边线不能落到图片上（.article-content a 的特异性更高，这里要显式压掉） */
.article-content .ac-lb { display: block; cursor: zoom-in; border-bottom: 0; }
.article-content .ac-lb:hover { border-bottom: 0; text-decoration: none; }
.article-content .ac-lb:hover img { box-shadow: 0 8px 28px rgba(12,68,124,.16); }
/* 竖图（肖像/长图）按整栏拉开会糊，单独限宽 */
.article-content .ac-fig--portrait img { max-width: 340px !important; }

/* 连续「年份开头」段落 → 时间轴 */
.ac-timeline {
  position: relative; margin: 6px 0 14px; padding-left: 30px;
}
.ac-timeline::before {
  content: ""; position: absolute; left: 9px; top: 8px; bottom: 8px; width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, rgba(24,95,170,.5) 0%, rgba(15,110,86,.5) 100%);
}
.ac-tl { position: relative; }
.ac-tl::before {
  content: ""; position: absolute; left: -25px; top: 18px;
  width: 10px; height: 10px; border-radius: 50%;
  background: #fff; border: 2px solid var(--primary);
}
/* 同样要压掉 .article-content p 的段间距，否则时间轴会被拉开 */
.article-content .ac-tl-c { margin: 0; padding: 7px 0; }
.ac-tl-y {
  display: inline-block; margin-right: 4px;
  font-weight: 700; color: var(--primary-dark); font-variant-numeric: tabular-nums;
}

.article-foot { margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--line); }
.back-link { display: inline-flex; align-items: center; gap: 7px; font-size: 14.5px; color: var(--text-2); }
.back-link:hover { color: var(--primary); text-decoration: none; }

.related { padding-bottom: 50px; }

/* 正文页窄屏 */
@media (max-width: 720px) {
  .article-title { font-size: 24px; padding-left: 14px; margin-bottom: 12px; }
  .article-title::before { width: 4px; }
  .article-meta { margin-left: 14px; gap: 4px 16px; font-size: 13px; }
  .article-head { padding-bottom: 14px; margin-bottom: 22px; }
  .article-content { font-size: 16.5px; line-height: 1.85; }
  .article-content h1 { font-size: 21px; }
  .article-content h2 { font-size: 20px; }
  .article-content h3 { font-size: 18.5px; }
  .article-content h4 { font-size: 17px; }
  .article-content .ac-h { font-size: 19px; padding-left: 11px; margin: 28px 0 12px; }
  .ac-fig { margin: 20px 0; }
  .article-content .ac-fig--portrait img { max-width: 260px !important; }
  .ac-timeline { padding-left: 24px; }
  .ac-tl::before { left: -19px; }
  .article-content .ac-tl-c { padding: 6px 0; }
}

/* ---------- 历届论坛详情 ---------- */
.past-hero {
  position: relative; min-height: 420px;
  background-color: #1B2430; background-size: cover; background-position: center;
  display: flex; align-items: flex-end;
}
.past-hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(12,20,30,.82) 0%, rgba(12,20,30,.42) 45%, rgba(12,20,30,.12) 100%);
}
.past-hero-in { position: relative; z-index: 2; padding-bottom: 26px; width: 100%; }
.past-title { color: #fff; font-size: 32px; line-height: 1.35; margin: 0; text-shadow: 0 1px 10px rgba(0,0,0,.45); max-width: 900px; }
.past-facts { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 0; }
.past-facts .fact {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.32);
  color: #fff; font-size: 13.5px; padding: 5px 12px; border-radius: 999px;
  backdrop-filter: blur(3px);
}
.past-body { padding-top: 32px; padding-bottom: 10px; }
.past-lead {
  font-size: 17px; color: var(--text-2); line-height: 1.85;
  border-left: 3px solid var(--primary); padding-left: 16px; margin: 0 0 26px;
}
.past-text { max-width: 900px; }
.past-src { color: var(--text-2); font-size: 13.5px; margin-top: 26px; }

.past-gallery { margin-top: 38px; }
.sec-head-tight { margin-top: 0; }
.gal-n { font-size: 13.5px; color: var(--text-2); }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.g-item {
  display: block; aspect-ratio: 3/2; overflow: hidden;
  border-radius: 8px; background: var(--bg-2); border: 1px solid var(--line);
}
.g-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.g-item:hover { border-color: var(--primary); }
.g-item:hover img { transform: scale(1.05); }
.g-tip { color: var(--text-2); font-size: 13px; margin-top: 12px; }

/* ---------- 历届论坛：专题板块 ---------- */
.blk-nav {
  position: sticky; top: 0; z-index: 30;
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: 0 0 30px; padding: 11px 0;
  background: rgba(255,255,255,.95);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.blk-nav a {
  font-size: 14px; padding: 6px 14px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--text-2); text-decoration: none;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}
.blk-nav a:hover { border-color: var(--primary); color: var(--primary-dark); background: var(--bg-2); }

.blk { margin-bottom: 48px; scroll-margin-top: 78px; }
.blk:last-child { margin-bottom: 10px; }
.blk-t {
  font-size: 22px; color: var(--primary-dark); line-height: 1.3;
  margin: 0 0 20px; padding-left: 14px; border-left: 4px solid var(--primary);
}

/* 文档型长图：完整显示、不裁切（介绍页 / 签署页扫描件这类） */
.blk-docs { display: flex; flex-direction: column; gap: 20px; align-items: center; }
.blk-docs .doc { margin: 0; width: 100%; max-width: 780px; }
.blk-docs .doc img {
  width: 100%; height: auto; display: block; background: #fff;
  border: 1px solid var(--line); border-radius: 8px;
}
.blk-docs .doc figcaption { font-size: 13.5px; color: var(--text-2); text-align: center; margin-top: 8px; }

/* 带说明文字的照片墙（参会嘉宾这类，一图一句） */
.gallery.gallery-cap { grid-template-columns: repeat(3, 1fr); gap: 18px 14px; align-items: start; }
.g-fig { margin: 0; }
.g-fig .g-item { display: block; }
.g-fig figcaption { font-size: 13.5px; line-height: 1.6; color: var(--text-2); margin-top: 8px; }

/* 视频板块 */
.vids { display: flex; flex-direction: column; gap: 28px; }
.vid { margin: 0; }
.vid video {
  display: block; width: 100%; max-width: 880px;
  background: #000; border-radius: 8px;
}
.vid figcaption { font-size: 14px; line-height: 1.65; color: var(--text-2); margin-top: 10px; max-width: 880px; }

/* 资料下载（PDF / 文档） */
.file-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; max-width: 880px; }
.file-item { margin: 0; }
.file-link {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px; border: 1px solid var(--line); border-radius: 10px;
  background: #fff; color: var(--text); text-decoration: none;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.file-link:hover {
  border-color: var(--primary); box-shadow: 0 4px 16px rgba(12,68,124,.10);
  transform: translateY(-1px); text-decoration: none;
}
.file-ico {
  flex: 0 0 auto; width: 38px; height: 38px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  background: var(--primary-light); color: var(--primary-dark);
}
.file-meta { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.file-name { font-size: 15px; font-weight: 500; line-height: 1.5; }
.file-note { font-size: 13px; color: var(--text-2); line-height: 1.5; }
.file-ext {
  flex: 0 0 auto; font-size: 11.5px; font-weight: 600; letter-spacing: .04em;
  padding: 3px 9px; border-radius: 999px; background: var(--bg-2); color: var(--text-2);
}
@media (max-width: 560px) {
  .file-link { padding: 12px 14px; gap: 11px; }
  .file-ico { width: 34px; height: 34px; }
  .file-name { font-size: 14.5px; }
}

/* 大图预览 */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(10,14,20,.92);
  display: flex; align-items: center; justify-content: center; padding: 40px 24px;
}
.lightbox[hidden] { display: none; }
.lb-img { max-width: 100%; max-height: 100%; border-radius: 4px; box-shadow: 0 10px 40px rgba(0,0,0,.5); }
.lb-close {
  position: absolute; top: 16px; right: 20px;
  width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,.16); color: #fff; font-size: 24px; line-height: 1;
}
.lb-close:hover { background: rgba(255,255,255,.3); }
body.lb-open { overflow: hidden; }

/* ---------- 起草人 ---------- */
.filter-bar {
  display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-end;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 16px; margin-bottom: 24px;
}
.filter-bar label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--text-2); }
.filter-bar select, .filter-bar input {
  min-width: 200px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px;
  font-size: 14.5px; background: #fff; color: var(--text);
}
.filter-bar button {
  padding: 9px 22px; background: var(--primary); color: #fff; border: 0;
  border-radius: 8px; cursor: pointer; font-size: 14.5px;
}
.filter-bar button:hover { background: var(--primary-dark); }
.filter-reset { font-size: 13.5px; align-self: center; }

.people { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.person {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px;
  border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 14px; color: var(--text);
  background: #fff;
}
.person:hover { text-decoration: none; border-color: var(--primary); box-shadow: var(--shadow); }
.avatar { width: 84px; height: 84px; border-radius: 50%; overflow: hidden; background: var(--primary-light); display: flex; align-items: center; justify-content: center; margin-bottom: 8px; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar-fallback { font-size: 30px; color: var(--primary); font-weight: 600; }
.person-name { font-weight: 500; }
.person-country { font-size: 13px; color: var(--text-2); }
.person-org { font-size: 12.5px; color: var(--text-2); }

.person-detail .person-head { display: flex; gap: 26px; align-items: center; margin-bottom: 26px; }
.person-detail .avatar.big { width: 130px; height: 130px; }
.person-head-info h1 { margin: 0 0 6px; font-size: 28px; }
.person-role, .person-org, .person-country { margin: 2px 0; color: var(--text-2); }
.alt-link { margin-top: 10px; }
.back-link { margin-top: 30px; }

/* ---------- 联系 ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact-form-box h2 { font-size: 20px; color: var(--primary-dark); }
.contact-form { display: flex; flex-direction: column; gap: 14px; }
.contact-form label { display: flex; flex-direction: column; gap: 5px; font-size: 14px; color: var(--text-2); }
.contact-form input, .contact-form textarea {
  padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; font-size: 15px;
  font-family: inherit; color: var(--text);
}
.contact-form button {
  align-self: flex-start; padding: 11px 34px; background: var(--accent); color: #fff;
  border: 0; border-radius: 8px; font-size: 15px; cursor: pointer;
}
.contact-form button:hover { background: #085041; }
.hp { position: absolute; left: -9999px; }
.form-ok { background: #EAF3DE; border: 1px solid #97C459; color: #27500A; padding: 12px 16px; border-radius: 8px; }

/* ---------- 分页 ---------- */
.pager { display: flex; justify-content: center; align-items: center; gap: 6px; margin: 34px 0 6px; flex-wrap: wrap; }
.pg-num, .pg-btn, .pg-gap { min-width: 36px; padding: 7px 10px; text-align: center; border: 1px solid var(--line); border-radius: 8px; font-size: 14px; color: var(--text); background: #fff; }
.pg-btn { min-width: 72px; }
.pg-gap { border: 0; background: none; }
.pg-num.current { background: var(--primary); color: #fff; border-color: var(--primary); }
a.pg-num:hover, a.pg-btn:hover { border-color: var(--primary); color: var(--primary); text-decoration: none; }

/* ---------- 全站搜索 ---------- */
.s-form { display: flex; gap: 10px; margin-bottom: 22px; max-width: 720px; }
.s-form input {
  flex: 1; min-width: 0; padding: 13px 18px; font-size: 16px; font-family: inherit; color: var(--text);
  border: 1px solid var(--line); border-radius: 999px; background: #fff;
}
.s-form input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(24,95,170,.12); }
.s-form button {
  display: inline-flex; align-items: center; gap: 7px; flex-shrink: 0;
  padding: 0 26px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--primary); color: #fff; font-size: 15px;
}
.s-form button:hover { background: var(--primary-dark); }

.s-hint { margin: 0 0 12px; color: var(--text-2); }
.s-hot { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; color: var(--text-2); font-size: 14px; margin: 0; }
.s-hot a {
  padding: 5px 13px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--bg-2); color: var(--text); font-size: 13.5px;
}
.s-hot a:hover { border-color: var(--primary); color: var(--primary); text-decoration: none; }

.s-stat { margin: 0 0 14px; font-size: 15px; color: var(--text-2); }
.s-stat b { color: var(--primary-dark); }

.s-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.s-tabs a {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px;
  font-size: 13.5px; color: var(--text-2); background: #fff;
}
.s-tabs a i { font-style: normal; font-size: 12px; color: #9AA3AC; }
.s-tabs a:hover { border-color: var(--primary); color: var(--primary); text-decoration: none; }
.s-tabs a.on { background: var(--primary); border-color: var(--primary); color: #fff; }
.s-tabs a.on i { color: rgba(255,255,255,.75); }

.s-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.s-item { padding: 20px 0; border-bottom: 1px solid var(--line); }
.s-label {
  display: inline-block; margin-bottom: 7px; padding: 2px 9px; border-radius: 4px;
  font-size: 12px; background: var(--primary-light); color: var(--primary-dark);
}
.s-label-person { background: #E8F5EC; color: #0F6E56; }
.s-label-block  { background: #FDF2E3; color: #8A5A0B; }
.s-t { display: block; font-size: 18px; font-weight: 500; line-height: 1.45; }
.s-d { margin: 7px 0 0; color: var(--text-2); font-size: 14.5px; }
.s-meta { margin-top: 7px; font-size: 12.5px; color: #8A9099; }
mark { background: #FFF3B0; color: inherit; padding: 0 1px; border-radius: 2px; }

.s-none { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; }
.s-none-t { margin: 0 0 6px; font-size: 17px; }
.s-none-d { margin: 0 0 14px; color: var(--text-2); font-size: 14.5px; }

/* ---------- footer ---------- */
.site-footer { background: #1B2430; color: #C7CDD4; margin-top: 40px; }
.footer-in { display: flex; gap: 40px; padding-top: 34px; padding-bottom: 20px; flex-wrap: wrap; }
.footer-brand p { margin: 0; font-size: 13.5px; }
/* 页脚全站搜索（真正可用，替代老站那个跳 404 的假搜索） */
.foot-search { position: relative; display: flex; margin-top: 16px; width: 300px; max-width: 100%; }
.foot-search input {
  width: 100%; padding: 9px 42px 9px 15px; font-size: 14px; font-family: inherit;
  border: 1px solid rgba(255,255,255,.22); border-radius: 999px;
  background: rgba(255,255,255,.08); color: #fff;
}
.foot-search input::placeholder { color: #8E99A4; }
.foot-search input:focus { outline: none; border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.15); }
.foot-search button {
  position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; border: 0; border-radius: 999px; cursor: pointer;
  background: transparent; color: #C7CDD4;
  display: inline-flex; align-items: center; justify-content: center;
}
.foot-search button:hover { color: #fff; background: rgba(255,255,255,.15); }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; align-content: flex-start; }
.footer-links a { color: #C7CDD4; font-size: 14px; }
.footer-links a:hover { color: #fff; }
.footer-social { display: flex; align-items: center; gap: 14px; margin-left: auto; padding-top: 6px; }
.social-ic {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.10); color: #C7CDD4;
  transition: background .15s ease, color .15s ease, transform .15s ease;
}
.social-ic:hover { background: var(--primary, #1B5FAA); color: #fff; transform: translateY(-2px); }
.footer-meta { display: flex; justify-content: space-between; padding-top: 14px; padding-bottom: 18px; border-top: 1px solid rgba(255,255,255,.12); font-size: 12.5px; }
.footer-meta a { color: #9AA3AC; }

/* ---------- AI 辅助翻译标识 ---------- */
.ai-note {
  display: flex; align-items: flex-start; gap: 9px;
  margin: 26px 0 0; padding: 11px 14px;
  font-size: 13px; line-height: 1.6; color: var(--text-2);
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 8px;
}
.ai-note-tag {
  flex: 0 0 auto; margin-top: 1px;
  font-size: 10.5px; font-weight: 700; letter-spacing: .06em;
  padding: 2px 6px; border-radius: 4px;
  background: var(--primary-light); color: var(--primary-dark);
}

/* ---------- 404 ---------- */
.nf { text-align: center; }
.nf-code { font-size: 64px; font-weight: 700; color: var(--primary-light); margin: 20px 0 -30px; }
.btn { display: inline-block; background: var(--primary); color: #fff; padding: 10px 26px; border-radius: 8px; }
.btn:hover { background: var(--primary-dark); text-decoration: none; }

/* ---------- 响应式 ---------- */
/* 导航 8 项（含首页），中等宽度先压缩间距，再下移到汉堡菜单 */
@media (max-width: 1080px) {
  .header-in { gap: 18px; }
  .main-nav > ul > li > a, .main-nav > ul > li > .nav-top { padding: 9px 10px; font-size: 15px; }
}
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); z-index: 40; margin-left: 0; }
  .main-nav.open { display: block; }
  .main-nav > ul { flex-direction: column; gap: 0; padding: 8px 12px 16px; }
  .main-nav > ul > li > a, .main-nav > ul > li > .nav-top { padding: 12px 10px; border-bottom: 1px solid var(--bg-2); font-size: 16px; }
  .sub { position: static; display: block; border: 0; box-shadow: none; max-height: none; padding: 0 0 6px 14px; }
}
@media (max-width: 960px) {
  .cards, .cards.small { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .people { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .gallery, .gallery.gallery-cap { grid-template-columns: repeat(2, 1fr); }
  .blk-docs .doc { max-width: 100%; }
}
@media (max-width: 720px) {
  /* 窄屏：logo 改用「定宽 + 高度自适应」等比缩放，绝不横向压扁；
     同时收紧右侧三个控件、缩小间距，给 logo 腾出足够宽度 */
  .header-in { gap: 12px; padding: 10px 16px; }
  .brand { flex-shrink: 1; }
  .brand img { height: auto; width: clamp(110px, 40vw, 190px); max-height: 46px; }
  .nav-toggle { padding: 8px 4px; }
  .lang-switch { padding: 4px 10px; font-size: 12px; }
  .head-search { width: 30px; height: 30px; }
  .page-head { padding: 2px 0 18px; }
  .page-head-t { font-size: 24px; padding-left: 14px; }
  .page-head-t::before { width: 4px; }
  .page-head-s { margin-left: 14px; font-size: 14px; }
  .breadcrumb .wrap { padding-top: 14px; padding-bottom: 8px; }
  .ph-ic svg { width: 38px; height: 38px; }
  .footer-social { margin-left: 0; }
  .features { grid-template-columns: 1fr; }
  .cards, .cards.small { grid-template-columns: 1fr; }
  .people { grid-template-columns: repeat(2, 1fr); }
  .person-detail .person-head { flex-direction: column; text-align: center; }
  .past-hero { min-height: 240px; }
  .past-title { font-size: 22px; }
  .past-lead { font-size: 16px; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .lightbox { padding: 20px 12px; }

  /* 专题板块：锚点导航横向滚动，长图满宽，网格降列 */
  .blk-nav {
    flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch;
    scrollbar-width: none; padding: 9px 0;
  }
  .blk-nav::-webkit-scrollbar { display: none; }
  .blk-nav a { flex: 0 0 auto; font-size: 13.5px; padding: 5px 12px; }
  .blk { margin-bottom: 36px; scroll-margin-top: 60px; }
  .blk-t { font-size: 19px; margin-bottom: 16px; }
  .gallery.gallery-cap { gap: 16px 10px; }
  .vid video { border-radius: 6px; }
  .vid figcaption { font-size: 13.5px; }

  /* 全站搜索：按钮换行到输入框下方，标题与条目压缩 */
  .s-form { flex-direction: column; gap: 10px; }
  .s-form button { justify-content: center; padding: 12px 20px; }
  .s-t { font-size: 16.5px; }
  .s-item { padding: 17px 0; }
  .s-none { padding: 20px 18px; }
}

/* 窄屏手机：带说明的嘉宾图集一行一张，说明不挤压 */
@media (max-width: 520px) {
  .gallery.gallery-cap { grid-template-columns: 1fr; gap: 16px; }
}

/* ---------- 首页 banner：H5 切换成移动端专用图 ----------
   与老站一致：≤767px 显示 Mobile-Slide-*.jpg（740×650），≥768px 显示 Slide-*.jpg（1920×550）。
   home.php 里用 <picture><source media> 输出，浏览器只会下载命中的那一张。 */
@media (max-width: 767px) {
  .hero .slides { aspect-ratio: 740/650; }
}
