/* =========================================================
   中关村中科科技创新发展基金会 · 网站效果图统一样式表
   设计系统：海军蓝主色 + 科技青绿辅助色 + 党建克制红
   风格：稳重、严肃、突出科技公益特色
   说明：本文件为"效果图/方向稿"，文案与数据均为占位，
        配色/字体/间距以设计师最终稿为准。
   ========================================================= */

:root {
  --navy: #0C447C;          /* 主色：海军蓝（权威/稳重） */
  --navy-deep: #042C53;     /* 深蓝（页脚） */
  --navy-soft: #E6F1FB;     /* 浅蓝底（Hero/区块） */
  --navy-line: #B5D4F4;     /* 浅蓝文字 */
  --teal: #1D9E75;          /* 辅助色：科技青绿（公益温度+科技感） */
  --teal-soft: #E1F5EE;     /* 青绿浅底（图标） */
  --teal-line: #5DCAA5;
  --red: #A32D2D;           /* 党建专用克制红 */
  --red-soft: #FCEBEB;
  --red-line: #F7C1C1;
  --ink: #1A1A1A;           /* 正文 */
  --muted: #5F5E5A;         /* 次要文字 */
  --faint: #8A8780;         /* 提示文字 */
  --border: #D9D7CE;        /* 分割线 */
  --bg: #FFFFFF;
  --radius: 10px;
  --maxw: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Source Han Sans CN", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- 顶部导航 ---------- */
.site-header {
  background: var(--navy);
  color: #fff;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.site-header .container > * + * { margin-left: 16px; }
.brand { display: flex; align-items: center; flex: none; position: relative; padding-right: 16px; }
.brand > * + * { margin-left: 10px; }
.brand::after {
  content: ""; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 1px; height: 24px; background: rgba(255,255,255,0.18);
}
.brand .logo {
  width: 40px; height: 40px; border-radius: 10px;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; padding: 5px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.25),
    0 4px 14px rgba(0,0,0,0.18),
    0 0 18px rgba(29,158,117,0.18);
  transition: box-shadow .2s;
}
.brand .logo:hover {
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.4),
    0 6px 18px rgba(0,0,0,0.22),
    0 0 26px rgba(29,158,117,0.35);
}
.brand .logo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.brand .name { font-weight: 700; font-size: 18px; white-space: nowrap; letter-spacing: 0.5px; color: #fff; }

.nav { display: flex; align-items: center; margin-left: 10px; }
.nav > * + * { margin-left: 22px; }
.nav a { font-size: 15px; color: var(--navy-line); transition: color .15s; white-space: nowrap; }
.nav a:hover { color: #fff; }
.nav a.active { color: #fff; font-weight: 500; }

.btn-donate {
  background: var(--teal);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  border-radius: 8px;
  padding: 8px 18px;
  flex: none;
  transition: background .15s;
}
.btn-donate:hover { background: #188a66; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-block;
  font-size: 15px;
  border-radius: 8px;
  padding: 11px 26px;
  font-weight: 500;
  cursor: pointer;
  transition: all .15s;
}
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: #188a66; }
.btn-ghost { color: var(--navy); border: 1px solid var(--navy-line); }
.btn-ghost:hover { border-color: var(--navy); }

a:focus-visible, button:focus-visible, input:focus-visible,
.nav-toggle:focus-visible, .nav-search-btn:focus-visible {
  outline: 2px solid var(--teal); outline-offset: 2px; border-radius: 4px;
}

/* ---------- Hero ---------- */
.hero { background: var(--navy-soft); padding: 64px 0; text-align: center; }
.eyebrow {
  display: inline-block;
  font-size: 13px; color: var(--teal);
  border: 1px solid var(--teal-line);
  border-radius: 999px; padding: 4px 14px; margin-bottom: 18px;
}
.hero h1 {
  font-size: 40px; font-weight: 500; line-height: 1.35; letter-spacing: 1px;
  color: var(--navy-deep); margin-bottom: 16px;
}
.hero p {
  font-size: 16px; color: #444; max-width: 640px;
  margin: 0 auto 28px;
}
.hero .actions { display: inline-flex; flex-wrap: wrap; justify-content: center; }
.hero .actions > * + * { margin-left: 14px; }

/* ---------- 数据条 ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--border); }
.stat { padding: 30px 16px; text-align: center; border-right: 1px solid var(--border); }
.stat:last-child { border-right: none; }
.stat .num { font-size: 32px; font-weight: 500; color: var(--navy); }
.stat .num small { font-size: 18px; }
.stat .label { font-size: 13px; color: var(--muted); margin-top: 6px; }

/* ---------- 区块通用 ---------- */
.section { padding: 64px 0; }
.section-head { margin-bottom: 28px; }
.section-head h2 { font-size: 24px; font-weight: 500; color: var(--navy-deep); }
.section-head p { font-size: 14px; color: var(--muted); margin-top: 6px; }

/* ---------- 卡片网格 ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

.card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  transition: .2s;
}
.card > * + * { margin-left: 16px; }
.card:hover { border-color: var(--navy); box-shadow: 0 6px 18px rgba(4,44,83,.08); }
.card .icon {
  width: 42px; height: 42px; border-radius: 10px;
  background: var(--teal-soft); flex: none;
  display: flex; align-items: center; justify-content: center;
}
.card .icon i { width: 16px; height: 16px; border: 2px solid var(--teal); display: block; border-radius: 4px; }
.card h3 { font-size: 17px; font-weight: 500; margin-bottom: 6px; }
.card p { font-size: 13px; color: var(--muted); line-height: 1.6; }
.party-grid .card:hover { border-color: var(--red); }

/* 纯文字卡片（新闻/列表） */
.list-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0 20px;
}
.list-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 0; border-bottom: 1px solid var(--border);
  font-size: 15px;
}
.list-row:last-child { border-bottom: none; }
.list-row .t { color: var(--navy); }
.list-row .d { color: var(--faint); font-size: 13px; flex: none; margin-left: 16px; }
a.card, a.list-row { text-decoration: none; color: inherit; }
a.list-row:hover .t { color: var(--teal); }
.list-row .t-group { display: flex; align-items: center; min-width: 0; }
.list-row .t-group > * + * { margin-left: 8px; }
a.t { color: var(--navy); transition: color .2s; }
a.t:hover { color: var(--teal); }
.reprint-badge { flex: none; display: inline-block; padding: 1px 8px; font-size: 11px; font-weight: 600; line-height: 1.7; color: #fff; background: var(--teal); border-radius: 4px; }
.reprint-note { font-size: 13px; color: var(--muted); margin: -4px 0 14px; line-height: 1.7; }

/* 首页新闻动态：栏目徽章与链接 */
.news-cat {
  flex: none; display: inline-block; margin-right: 10px;
  padding: 1px 9px; font-size: 11px; font-weight: 600; line-height: 1.8;
  border-radius: 4px; color: #fff; background: var(--muted); vertical-align: middle;
}
.news-cat.cat-org { background: var(--navy); }
.news-cat.cat-notice { background: #B8860B; }
.news-cat.cat-industry { background: var(--teal); }
.list-row .t-link { color: var(--navy); text-decoration: none; transition: color .2s; }
.list-row .t-link:hover { color: var(--teal); }

/* 新闻中心栏目：超出 6 条时的「查看更多 / 收起」按钮 */
.news-more-wrap { text-align: center; margin-top: 16px; }
.btn.news-more-btn {
  background: #fff; border: 1px dashed var(--teal); color: var(--teal);
  font-weight: 600; font-size: 14px; padding: 9px 26px; border-radius: 22px;
  cursor: pointer; transition: all .2s; line-height: 1.2;
}
.btn.news-more-btn:hover { background: var(--teal); color: #fff; border-color: var(--teal); }

/* 新闻详情页：正文图片（盖章扫描 PDF 逐页） */
.news-detail-meta { font-size: 14px; color: var(--faint); margin: -10px 0 24px; }
.news-detail-gallery { display: flex; flex-direction: column; }
.news-detail-gallery > * + * { margin-top: 24px; }
.news-detail-gallery img {
  width: 100%; max-width: 900px; margin: 0 auto;
  border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

/* ---------- 图片占位 ---------- */
.img-ph {
  background: #ECEAE3;
  border: 1px dashed #C7C4BA;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--faint); font-size: 13px;
  min-height: 180px;
}

/* ---------- 新闻中心 ---------- */
.tabs { display: flex; margin-bottom: 24px; flex-wrap: wrap; }
.tabs > * { margin: 0 10px 10px 0; }
.tab {
  font-size: 14px; color: var(--muted);
  border: 1px solid var(--border); border-radius: 999px;
  padding: 6px 16px;
}
.tab.active { background: var(--navy); color: #fff; border-color: var(--navy); }

.feature {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px;
  align-items: center; margin-bottom: 28px;
}
.feature .img-ph { min-height: 240px; }
.feature h3 { font-size: 22px; font-weight: 500; color: var(--navy-deep); margin-bottom: 10px; }
.feature .meta { font-size: 13px; color: var(--faint); margin-bottom: 12px; }
.feature p { font-size: 14px; color: var(--muted); }

.pager { display: flex; margin-top: 24px; }
.pager > * + * { margin-left: 8px; }
.pager a {
  width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border); border-radius: 8px; font-size: 14px; color: var(--muted);
}
.pager a.active { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ---------- 内页：面包屑 + 两栏 ---------- */
.crumb { font-size: 13px; color: var(--faint); padding: 18px 0; }
.crumb a:hover { color: var(--navy); }
.page-title { font-size: 30px; font-weight: 500; color: var(--navy-deep); margin-bottom: 8px; }
.page-sub { font-size: 14px; color: var(--muted); margin-bottom: 32px; }

.layout { display: grid; grid-template-columns: 1fr 300px; gap: 40px; padding-bottom: 56px; }
.main h3 { font-size: 19px; font-weight: 500; color: var(--navy-deep); margin: 28px 0 12px; }
.main p { font-size: 16px; color: #36404c; line-height: 1.95; letter-spacing: .01em; margin-bottom: 20px; }
.main .lead { font-size: 19px; font-weight: 600; color: var(--navy-deep); line-height: 1.9; letter-spacing: .01em; margin-bottom: 24px; }

/* 机构简介通篇文字：首行缩进 2 字符，引导语不缩进 */
.about-prose p { text-indent: 2em; }
.about-prose p.lead { text-indent: 0; }
.about-prose p:last-child { margin-bottom: 0; }

/* 机构章程排版：章标题带青绿竖线，条/项层级清晰，文末 PDF 下载 */
.main .charter-title { font-size: 22px; font-weight: 700; color: var(--navy-deep); text-align: center; margin: 4px 0 28px; letter-spacing: .04em; }
.main .charter-ch { font-size: 19px; font-weight: 600; color: var(--navy-deep); margin: 32px 0 14px; padding-left: 14px; border-left: 4px solid var(--teal); line-height: 1.5; }
.main .clause, .main .clause-cont { font-size: 16px; color: #36404c; line-height: 1.95; letter-spacing: .01em; text-indent: 2em; text-align: justify; margin: 0 0 14px; }
.main .clause strong { color: var(--navy-deep); font-weight: 600; margin-right: .2em; }
.main .clause-item { font-size: 16px; color: #36404c; line-height: 1.9; letter-spacing: .01em; margin: 0 0 10px; padding-left: 2em; }
.charter-download { display: flex; align-items: center; flex-wrap: wrap; margin: 34px 0 8px; padding: 18px 22px; background: var(--navy-soft); border: 1px solid rgba(12,68,124,.12); border-radius: 12px; }
.charter-download > * + * { margin-left: 16px; }
.charter-download .cd-ico { color: var(--teal); flex: none; }
.charter-download .cd-text { flex: 1 1 auto; min-width: 160px; }
.charter-download .cd-title { font-size: 16px; font-weight: 600; color: var(--navy-deep); }
.charter-download .cd-sub { font-size: 13px; color: var(--muted); margin-top: 2px; }
.charter-download .cd-btn { flex: none; display: inline-flex; align-items: center; padding: 9px 18px; background: var(--teal); color: #fff; border-radius: 8px; font-size: 14px; font-weight: 500; text-decoration: none; transition: background .15s; }
.charter-download .cd-btn > * + * { margin-left: 6px; }
.charter-download .cd-btn:hover { background: #178a65; }
.main .img-ph { margin: 18px 0; min-height: 220px; }

.side .box {
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px 20px; margin-bottom: 18px;
}
.side .box h4 { font-size: 15px; font-weight: 500; color: var(--navy); margin-bottom: 12px; }
.side .box a { display: block; font-size: 14px; color: var(--muted); padding: 7px 0; border-bottom: 1px solid var(--border); }
.side .box a:last-child { border-bottom: none; }
.side .box a:hover { color: var(--navy); }
.side .contact p { font-size: 13px; color: var(--muted); margin-bottom: 6px; }

/* ---------- 党建专栏（克制红） ---------- */
.party-banner { background: var(--red-soft); padding: 48px 0; text-align: center; border-bottom: 1px solid var(--red-line); }
.party-banner .flag {
  width: 34px; height: 24px; background: var(--red); border-radius: 3px;
  margin: 0 auto 14px; position: relative;
}
.party-banner .flag::after {
  content: ""; position: absolute; top: 7px; left: 11px;
  width: 12px; height: 8px; border: 2px solid #fff;
}
.party-banner h1 { font-size: 30px; font-weight: 500; color: var(--red); }
.party-banner p { font-size: 15px; color: #791F1F; margin-top: 8px; }

.party-grid .card { border-color: var(--red-line); }
.party-grid .card .icon { background: var(--red-soft); }
.party-grid .card .icon i { border-color: var(--red); }
.party-grid .card h3 { color: var(--red); }
.party-note { background: var(--navy-soft); padding: 16px 20px; font-size: 13px; color: var(--muted); margin-top: 24px; border-radius: var(--radius); }

/* ---------- 页脚（多栏） ---------- */
.site-footer { background: var(--navy-deep); color: var(--navy-line); padding: 40px 0 26px; font-size: 13px; }
.site-footer a:hover { color: #fff; }
.footer-cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 32px; }
.footer-col h4 { color: #fff; font-size: 14px; font-weight: 500; margin-bottom: 14px; }
.footer-col a { display: block; color: var(--navy-line); padding: 5px 0; }
.footer-brand { color: #fff; font-size: 15px; font-weight: 500; margin-bottom: 10px; }
.footer-desc { color: var(--navy-line); line-height: 1.7; max-width: 360px; }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap;
  margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,0.12);
}
.footer-bottom > * + * { margin-left: 8px; }
.footer-bottom .beian { display: inline-flex; flex-wrap: wrap; }
.footer-bottom .beian > * + * { margin-left: 18px; margin-top: 4px; }
.footer-bottom .beian a { display: inline-flex; align-items: center; }
.footer-bottom .beian a > * + * { margin-left: 5px; }
.ga-ico {
  width: 16px; height: 17px; flex: none; vertical-align: middle;
  border-radius: 2px;
} /* 公安备案图标：本地标准蓝盾图，替代平台占位 */
@media (max-width: 760px) { .footer-cols { grid-template-columns: 1fr; gap: 22px; } }

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .nav { display: none; margin-left: 0; }
  .brand { padding-right: 0; }
  .brand::after { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .feature { grid-template-columns: 1fr; }
  .layout { grid-template-columns: 1fr; }
  .hero h1 { font-size: 28px; }
}
@media (max-width: 600px) {
  .brand .name { font-size: 15px; letter-spacing: 0; }
  .brand .logo { width: 34px; height: 34px; }
}

/* ---------- 捐赠方鸣谢 横向滚动 ---------- */
.marquee {
  overflow: hidden;
  margin-top: 0;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: scroll-x 72s linear infinite;
}
.marquee-track > * + * { margin-left: 20px; }
.donor-wall { display: flex; flex-direction: column; margin-top: 24px; }
.donor-wall > * + * { margin-top: 14px; }
.donor-row { }
.donor-row.rev .marquee-track { animation-direction: reverse; }
.marquee-track:hover { animation-play-state: paused; }
.donor-card {
  flex: none;
  width: 196px;
  height: 62px;
  padding: 0 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  text-align: center; line-height: 1.35;
  text-wrap: balance;
  overflow: hidden;
  color: #33475a; font-size: 14px; font-weight: 500;
  box-shadow: 0 2px 8px rgba(12,68,124,.05);
  transition: .2s;
}
.donor-card:hover {
  border-color: var(--teal);
  box-shadow: 0 6px 16px rgba(29,158,117,.16);
  transform: translateY(-2px);
  color: var(--teal);
}
@keyframes scroll-x {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- 捐赠方鸣谢：标题栏 + 搜索过滤 ---------- */
.donor-section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  flex-wrap: wrap;
}
.donor-section-head > * + * { margin-left: 20px; }
.donor-section-head .section-head { flex: 1 1 auto; }
.donor-search {
  position: relative; flex: none;
  background: #fff; border: 1px solid var(--border); border-radius: 999px;
  padding: 7px 16px 7px 40px; box-shadow: 0 2px 8px rgba(12,68,124,.06);
  transition: .2s;
}
.donor-search:focus-within { border-color: var(--teal); box-shadow: 0 4px 14px rgba(29,158,117,.16); }
.donor-search svg {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  width: 16px; height: 16px; color: var(--faint); pointer-events: none;
}
.donor-search input {
  border: none; outline: none; font-size: 14px; width: 220px;
  color: var(--ink); background: transparent;
}
.donor-search input::placeholder { color: var(--faint); }
.donor-count {
  font-size: 13px; color: var(--muted); margin-top: 10px;
  text-align: center; min-height: 20px;
}
.donor-results {
  display: none; flex-wrap: wrap; justify-content: center;
  max-width: var(--maxw); margin: 18px auto 0; padding: 0 24px;
}
.donor-results.active { display: flex; }
.donor-results.active > * + * { margin-left: 14px; margin-top: 14px; }
.donor-wall.searching { display: none; }
.donor-results .donor-card { animation: donorFade .25s ease both; }
@keyframes donorFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (max-width: 640px) {
  .donor-section-head { flex-direction: column; align-items: stretch; }
  .donor-search input { width: 100%; }
}

/* ---------- 导航下拉（机构介绍） ---------- */
.nav-item { position: relative; }
.nav-item.has-dropdown > a::after { content: "▾"; font-size: 10px; margin-left: 5px; opacity: .8; }
.dropdown {
  position: absolute; top: 100%; left: 0;
  background: #fff; border: 1px solid var(--border); border-radius: 8px;
  box-shadow: 0 6px 18px rgba(4,44,83,0.10);
  min-width: 168px; padding: 6px; display: none; z-index: 60;
}
.nav-item.has-dropdown:hover .dropdown,
.nav-item.has-dropdown:focus-within .dropdown { display: block; }
.dropdown a { display: block; color: var(--ink); font-size: 14px; padding: 9px 12px; border-radius: 6px; white-space: nowrap; }
.dropdown a:hover { background: var(--navy-soft); color: var(--navy); }

/* ---------- 内部制度：目录 + 内容 ---------- */
.rules-layout { display: grid; grid-template-columns: 280px 1fr; gap: 36px; padding-bottom: 56px; }
.side-col { position: -webkit-sticky; position: sticky; top: 84px; align-self: start; }
.rules-nav {
  border: 1px solid var(--border); border-radius: var(--radius); padding: 8px;
}
.rules-nav a { display: block; font-size: 14px; color: var(--muted); padding: 9px 12px; border-radius: 8px; }
.rules-nav a:hover { background: var(--navy-soft); color: var(--navy); }
.rules-nav a.active { background: var(--navy); color: #fff; }
.side-cards { margin-top: 14px; display: flex; flex-direction: column; }
.side-cards > * + * { margin-top: 12px; }
.side-cards .topic-card { padding: 16px 18px; }
.side-cards .topic-card h3 { font-size: 15px; }
.side-cards .topic-card p { font-size: 13px; margin-bottom: 8px; }
.rule-block { margin-bottom: 30px; scroll-margin-top: 84px; }
.rule-block h3 { font-size: 18px; font-weight: 500; color: var(--navy-deep); margin-bottom: 10px; }
.rule-block p { font-size: 14px; color: #333; }

.report-head { font-size: 18px; font-weight: 500; color: var(--navy-deep); margin-bottom: 14px; }

@media (max-width: 900px) {
  .nav-item.has-dropdown .dropdown { display: none; }
  .rules-layout { grid-template-columns: 1fr; }
  .side-col { position: static; }
}

/* ---------- 信息公开：分类卡片 + 年份目录/PDF 预览 ---------- */
.lead { font-size: 15px; color: #33415c; margin-bottom: 4px; }
.cat-card {
  display: block; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px 24px; background: #fff; color: var(--ink); transition: .2s;
}
.cat-card:hover { border-color: var(--navy); box-shadow: 0 6px 18px rgba(4,44,83,.08); }
.cat-card h3 { font-size: 17px; font-weight: 500; color: var(--navy-deep); margin-bottom: 8px; }
.cat-card p { font-size: 14px; color: var(--muted); margin-bottom: 12px; }
.cat-card .more { color: var(--teal); font-size: 14px; font-weight: 500; }

.pdf-block { margin-bottom: 30px; scroll-margin-top: 84px; }
.pdf-block h3 { font-size: 18px; font-weight: 500; color: var(--navy-deep); margin-bottom: 14px; }
.pdf-viewer {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; text-align: center;
}
.pdf-frame {
  border: 1px solid var(--border); border-radius: 8px;
  background: repeating-linear-gradient(180deg, #fff, #fff 25px, #eef2f7 26px);
  height: 420px; display: flex; align-items: center; justify-content: center;
  color: var(--faint); font-size: 13px;
}
.pdf-actions { margin-top: 16px; }

/* ---------- 科技公益：活动卡片 / 课题卡片 / 文章列表 / 其他活动 ---------- */
.act-card {
  display: block; border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; background: #fff; color: var(--ink); transition: .2s;
}
.act-card:hover { border-color: var(--navy); box-shadow: 0 6px 18px rgba(4,44,83,.08); }
.act-card .thumb {
  height: 140px; background: #ECEAE3; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; color: var(--faint); font-size: 13px;
}
.act-card .meta { padding: 14px 16px 16px; }
.act-card h4 { font-size: 16px; font-weight: 500; color: var(--navy-deep); margin-bottom: 6px; }
.act-card p { font-size: 13px; color: var(--muted); line-height: 1.6; }
.act-card .more { display: inline-block; margin-top: 10px; color: var(--teal); font-size: 13px; font-weight: 500; }

/* 科技公益：长条形活动卡片（缩略图左 + 标题+简要右） */
.bar-list { display: flex; flex-direction: column; }
.bar-list > * + * { margin-top: 14px; }
.act-bar {
  display: flex; align-items: stretch;
  border: 1px solid var(--border); border-radius: var(--radius);
  background: #fff; padding: 14px; color: var(--ink); transition: .2s;
}
.act-bar:hover { border-color: var(--navy); box-shadow: 0 6px 18px rgba(4,44,83,.08); }
.act-bar .thumb {
  width: 140px; height: 92px; flex: none; margin-right: 16px; background: #ECEAE3;
  border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--faint); font-size: 12px;
}
.act-bar .meta { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.act-bar h4 { font-size: 16px; font-weight: 500; color: var(--navy-deep); margin-bottom: 6px; }
.act-bar p { font-size: 13px; color: var(--muted); line-height: 1.6; }
.act-bar .act-foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 10px; }
.act-bar .more { color: var(--teal); font-size: 13px; font-weight: 500; }
.act-bar .act-date { font-size: 12px; color: var(--faint); white-space: nowrap; }

/* 公益项目页：项目头信息 */
.proj-head { display: flex; align-items: flex-start; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 22px; margin-bottom: 18px; }
.proj-main { width: 320px; flex: none; margin-right: 24px; border-radius: 10px; overflow: hidden; background: #ECEAE3; align-self: flex-start; }
.proj-info { flex: 1; min-width: 0; }
.proj-info h3 { font-size: 20px; font-weight: 700; color: var(--navy-deep); margin-bottom: 12px; line-height: 1.4; }
.proj-meta { list-style: none; padding: 0; margin: 0 0 12px; display: flex; flex-wrap: wrap; }
.proj-meta li { margin: 0 22px 8px 0; }
.proj-meta li { font-size: 13px; color: var(--ink); }
.proj-meta li span { color: var(--teal); font-weight: 600; margin-right: 6px; }
.proj-summary { font-size: 14px; color: var(--muted); line-height: 1.85; margin: 0; }
.proj-line { display: flex; align-items: baseline; margin-top: 10px; font-size: 14px; line-height: 1.85; }
.proj-line .line-label { flex: none; color: var(--teal); font-weight: 600; margin-right: 10px; }
.proj-line .line-val { color: var(--muted); }
.proj-line .line-val .org-item { display: inline-block; margin-right: 16px; }
.proj-line .line-val .org-role { color: var(--teal); font-weight: 600; margin-right: 4px; }
.proj-line .line-val .org-name { color: var(--ink); }
@media (max-width: 600px) {
  .proj-head { flex-direction: column; }
  .proj-main { width: 100%; margin-right: 0; margin-bottom: 16px; }
}
.act-empty { padding: 28px; text-align: center; color: var(--faint); font-size: 14px; border: 1px dashed var(--border); border-radius: var(--radius); background: #FBFBF9; }

/* 图片填充（缩略图 / 主视觉 / 画廊统一裁切） */
.act-bar .thumb img,
.proj-main img,
.detail-hero img,
.g-item img { width: 100%; height: 100%; object-fit: cover; display: block; }

.act-bar .thumb img { border-radius: 8px; }
.proj-main img { width: 100%; height: auto; object-fit: initial; border-radius: 10px; }
.detail-hero img { border-radius: var(--radius); }

.topic-col { display: flex; flex-direction: column; }
.topic-col > * + * { margin-top: 18px; }
.topic-card {
  display: block; border: 1px solid var(--border); border-radius: var(--radius);
  background: #fff; color: var(--ink); padding: 22px 24px; transition: .2s;
}
.topic-card:hover { border-color: var(--navy); box-shadow: 0 6px 18px rgba(4,44,83,.08); }
.topic-card h3 { font-size: 17px; font-weight: 500; color: var(--navy-deep); margin-bottom: 8px; }
.topic-card p { font-size: 14px; color: var(--muted); margin-bottom: 12px; }
.topic-card .more { color: var(--teal); font-size: 14px; font-weight: 500; }

.article-list { border: 1px solid var(--border); border-radius: var(--radius); padding: 0 20px; }
.article-row { display: flex; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--border); color: var(--ink); }
.article-row > * + * { margin-left: 16px; }
.article-row:last-child { border-bottom: none; }
.article-row .thumb { width: 120px; height: 72px; flex: none; background: #ECEAE3; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--faint); font-size: 12px; }
.article-row .body h4 { font-size: 16px; font-weight: 500; color: var(--navy-deep); margin-bottom: 4px; }
.article-row .body .d { font-size: 13px; color: var(--faint); }
.article-row:hover h4 { color: var(--navy); }

.ph-card {
  border: 1px dashed var(--border); border-radius: var(--radius); background: #FBFBF9;
  min-height: 170px; overflow: hidden; color: var(--faint); font-size: 13px;
  display: flex; flex-direction: column;
}
.ph-card .thumb { height: 104px; background: #ECEAE3; display: flex; align-items: center; justify-content: center; }
.ph-card .label { padding: 12px 14px; }

/* 详情页（活动 / 文章） */
.detail-hero { height: 280px; background: #ECEAE3; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; color: var(--faint); font-size: 14px; margin-bottom: 22px; }
.detail-meta { font-size: 13px; color: var(--faint); margin-bottom: 18px; }
.detail-body p { font-size: 16px; color: #33373d; margin-bottom: 20px; line-height: 2.0; letter-spacing: .01em; }
.detail-body .img-ph { margin: 20px 0; }
/* 详情页图片画廊 */
.detail-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 22px 0; }
.g-item { height: 220px; border-radius: 10px; overflow: hidden; background: #ECEAE3; }
.source-note { display: flex; flex-wrap: wrap; align-items: center; margin: 26px 0 6px; padding: 14px 18px; border: 1px dashed var(--teal); border-radius: 10px; background: rgba(29,158,117,.06); }
.source-note > * + * { margin-left: 14px; }
.source-note .source-label { font-size: 14px; color: var(--navy-deep); font-weight: 600; }
.source-note .source-link { margin-left: auto; }
@media (max-width: 640px) { .detail-gallery { grid-template-columns: 1fr; } .g-item { height: 200px; } .source-note { flex-direction: column; align-items: stretch; } .source-note .source-link { margin-left: 0; } }

/* ---------- 顶栏搜索框 ---------- */
.nav-search {
  position: relative; display: flex; align-items: center;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.25);
  border-radius: 999px; padding: 5px 12px; margin-left: 8px; flex: none;
  transition: background .15s, border-color .15s;
}
.nav-search:focus-within { background: #fff; border-color: #fff; }
.nav-search-ico { color: rgba(255,255,255,0.85); flex: none; }
.nav-search:focus-within .nav-search-ico { color: var(--muted); }
.nav-search input {
  border: none; background: transparent; outline: none; color: #fff;
  font-size: 14px; width: 150px; padding: 2px 0;
}
.nav-search:focus-within input { color: var(--ink); }
.nav-search input::placeholder { color: rgba(255,255,255,0.7); }
.nav-search:focus-within input::placeholder { color: var(--faint); }
.search-results {
  position: absolute; top: calc(100% + 8px); right: 0; width: 320px; max-width: 82vw;
  background: #fff; border: 1px solid var(--border); border-radius: 10px;
  box-shadow: 0 10px 30px rgba(4,44,83,0.16); padding: 8px; z-index: 80; text-align: left;
}
.search-results .sr-item { display: block; padding: 10px 12px; border-radius: 8px; color: var(--ink); }
.search-results .sr-item:hover, .search-results .sr-item.active { background: var(--navy-soft); }
.search-results .sr-title { font-size: 14px; font-weight: 500; color: var(--navy-deep); }
.search-results .sr-desc { font-size: 12px; color: var(--muted); margin-top: 2px; }
.search-results .sr-empty { padding: 14px 12px; color: var(--faint); font-size: 13px; }
.search-results mark { background: #FFF3C4; color: inherit; padding: 0 1px; border-radius: 2px; }

/* ---------- 移动端汉堡菜单 ---------- */
.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 38px; height: 38px; margin-left: 12px; flex: none;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.25);
  border-radius: 8px; cursor: pointer; color: #fff;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 18px; height: 2px; background: #fff; position: relative;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

/* ---------- 首页核心业务卡片（左图右文） ---------- */
a.biz-card, .biz-card {
  display: flex; flex-direction: column; align-items: stretch; text-align: left;
  border: 1px solid var(--border); border-radius: var(--radius);
  background: #fff; overflow: hidden; transition: .2s; color: inherit; text-decoration: none;
}
.biz-card:hover { border-color: var(--navy); box-shadow: 0 6px 18px rgba(4,44,83,.08); transform: translateY(-2px); }
.biz-card .thumb {
  width: 100%; height: 160px; flex: none; background: #ECEAE3;
  display: flex; align-items: center; justify-content: center;
  color: var(--faint); font-size: 12px;
  overflow: hidden;
}
.biz-card .thumb.has-img::before { content: ""; }
.biz-card .thumb-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.biz-card .meta { padding: 14px 16px 16px; }
.biz-card .meta h3 { font-size: 16px; font-weight: 500; color: var(--navy-deep); margin-bottom: 6px; line-height: 1.4; }
.biz-card .meta p { font-size: 13px; color: var(--muted); line-height: 1.6; }
.biz-tag { display: inline-block; font-size: 12px; color: var(--teal); background: rgba(29,158,117,.10); border-radius: 10px; padding: 2px 10px; margin-bottom: 8px; }

/* ---------- 图片占位统一文字 ---------- */
.img-ph:empty::before,
.act-card .thumb:empty::before,
.act-bar .thumb:empty::before,
.article-row .thumb:empty::before,
.detail-hero:empty::before,
.ph-card .thumb:empty::before,
.biz-card .thumb:empty::before { content: "图片占位"; }

/* ---------- 科研评审专家信息库 ---------- */
.expert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding-bottom: 56px; }
.expert-card { border: 1px solid var(--border); border-radius: var(--radius); background: #fff; overflow: hidden; transition: .2s; }
.expert-card:hover { border-color: var(--navy); box-shadow: 0 6px 18px rgba(4,44,83,.08); }
.expert-card .photo { height: 150px; background: #ECEAE3; display: flex; align-items: center; justify-content: center; color: var(--faint); font-size: 13px; border-bottom: 1px solid var(--border); }
.expert-card .info { padding: 14px 16px 16px; }
.expert-card h4 { font-size: 16px; font-weight: 500; color: var(--navy-deep); margin-bottom: 4px; }
.expert-card .field { display: inline-block; font-size: 12px; color: var(--teal); background: var(--teal-soft); border-radius: 999px; padding: 2px 10px; margin-bottom: 8px; }
.expert-card .org { font-size: 13px; color: var(--muted); }
.expert-card .org span { color: var(--faint); }

.expert-filter { display: flex; flex-wrap: wrap; margin-bottom: 24px; }
.expert-filter > * + * { margin-left: 10px; margin-top: 10px; }
.ef-btn { font-size: 14px; color: var(--muted); border: 1px solid var(--border); border-radius: 999px; padding: 6px 16px; cursor: pointer; background: #fff; transition: .15s; }
.ef-btn:hover { border-color: var(--navy); color: var(--navy); }
.ef-btn.active { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ---------- 新闻中心：模块锚点 ---------- */
html { scroll-behavior: smooth; }
.news-module { scroll-margin-top: 84px; margin-bottom: 38px; }
.news-module-title { font-size: 20px; font-weight: 500; color: var(--navy-deep); margin-bottom: 16px; padding-left: 12px; border-left: 4px solid var(--teal); }

/* ---------- 响应式补充 ---------- */
@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy); padding: 8px 18px 16px;
    box-shadow: 0 10px 24px rgba(0,0,0,0.2);
  }
  .site-header.nav-open .nav { display: flex; }
  .nav a { padding: 12px 6px; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .nav-item.has-dropdown > a::after { float: right; }
  .nav-item.has-dropdown .dropdown {
    position: static; box-shadow: none; border: none; background: rgba(255,255,255,0.04);
    border-radius: 8px; margin: 4px 0 8px; padding: 4px; min-width: 0;
  }
  .nav-item.has-dropdown.open .dropdown { display: block; }
  .dropdown a { color: var(--navy-line); }
  .dropdown a:hover { background: rgba(255,255,255,0.1); color: #fff; }
  .nav-search { margin: 10px 0 4px; }
  .nav-search input { width: 100%; }
  .search-results { right: 0; left: 0; width: auto; }
  .expert-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { flex-direction: column; }
  .footer-bottom > * + * { margin-left: 0; margin-top: 4px; }
}
@media (max-width: 560px) {
  .expert-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   科技感增强层 · 叠加于现有简约风格（不改动任何 HTML 结构）
   原则：极淡、克制、留白优先，避免俗气光效 / 彩虹渐变 / 重投影
   ============================================================ */

/* 原「1. 全篇幅网格底纹」已按需求移除（保留定位与裁切，不影响 Hero 柔光） */
.section, .hero, .party-banner { position: relative; }
.hero { overflow: hidden; }

/* 2. Hero 背后蓝绿双色柔光（科技公益的温度+深度） */
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(640px 340px at 15% 10%, rgba(29,158,117,0.18), transparent 60%),
    radial-gradient(700px 380px at 88% 6%, rgba(12,68,124,0.16), transparent 62%);
}

/* 3. 区块标题左侧科技渐变竖条（替代纯色边，更有科技味） */
.section-head h2 {
  display: inline-block; padding-left: 14px;
  background: linear-gradient(180deg, var(--teal), var(--navy)) no-repeat left center / 4px 68%;
}

/* 4. 卡片悬停：青光阴影 + 轻微上移 + 顶部流光细线 */
.card, .cat-card, .act-card, .act-bar, .topic-card, .expert-card, .biz-card {
  position: relative; overflow: hidden; transition: .22s;
}
.card::before, .cat-card::before, .act-card::before, .topic-card::before,
.expert-card::before, .biz-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
  opacity: 0; transition: opacity .25s;
}
.card:hover, .cat-card:hover, .act-card:hover, .act-bar:hover, .topic-card:hover,
.expert-card:hover, .biz-card:hover {
  border-color: var(--teal);
  box-shadow: 0 10px 24px rgba(29,158,117,0.16), 0 2px 6px rgba(12,68,124,0.06);
  transform: translateY(-3px);
}
.card:hover::before, .cat-card:hover::before, .act-card:hover::before,
.topic-card:hover::before, .expert-card:hover::before, .biz-card:hover::before { opacity: 1; }

/* 5. 主按钮 / 联系我们：科技青绿渐变 + 悬停发光 */
.btn-primary {
  background: linear-gradient(135deg, var(--teal), #147e5e);
  box-shadow: 0 4px 14px rgba(29,158,117,0.22);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #1aa876, var(--teal));
  box-shadow: 0 6px 20px rgba(29,158,117,0.34);
}
.btn-donate {
  background: linear-gradient(135deg, var(--teal), #147e5e);
  box-shadow: 0 4px 14px rgba(29,158,117,0.22);
}
.btn-donate:hover { background: linear-gradient(135deg, #1aa876, var(--teal)); }

/* 6. 统计数字渐变文字（科技感视觉锚点） */
.stat .num {
  background: linear-gradient(120deg, var(--navy), var(--teal));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--navy);
}

/* 7. 顶栏底部极淡青绿光带 */
.site-header { border-bottom: 1px solid rgba(255,255,255,0.06); }
.site-header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(29,158,117,0.65), transparent);
}

/* 8. 图片占位加极淡栅格（暗示“科技内容待填充”） */
.img-ph, .act-card .thumb, .biz-card .thumb, .expert-card .photo,
.detail-hero, .ph-card .thumb, .article-row .thumb, .feature .img-ph {
  background-image:
    linear-gradient(to right, rgba(12,68,124,0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(12,68,124,0.045) 1px, transparent 1px);
  background-size: 18px 18px;
}

/* 9. 列表 / 文档链接悬停科技青绿 */
.list-row:hover .t, a.card:hover h3, a.list-row:hover h3, .doc-list a:hover { color: var(--teal); }

/* 左右分栏查看器（内部制度 / 报告 / 审计 共用） */
.rules-viewer { display: flex; align-items: flex-start; margin-top: 8px; }
.rules-viewer > * + * { margin-left: 24px; }
.rules-nav { flex: 0 0 220px; position: -webkit-sticky; position: sticky; top: 92px; align-self: flex-start;
  background: #fff; border: 1px solid #e8edf3; border-radius: 12px; padding: 10px;
  display: flex; flex-direction: column; }
.rules-nav a { display: block; padding: 11px 14px; border-radius: 8px; color: #2c3e50;
  text-decoration: none; font-weight: 500; border-bottom: 1px solid #f0f3f7; }
.rules-nav a:hover { background: #f3f8f6; color: var(--teal, #1D9E75); }
.rules-nav a.active { background: linear-gradient(135deg, var(--teal, #1D9E75), #147e5e); color: #fff; }
.rules-main { flex: 1; min-width: 0; background: #fff; border: 1px solid #e8edf3;
  border-radius: 12px; padding: 26px 32px; }
.rule-doc-head { display: flex; align-items: center; border-bottom: 2px solid #eef1f5;
  padding-bottom: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.rule-doc-head h2 { font-size: 20px; margin: 0; color: var(--navy, #0C447C); }
.rule-cat-tag { font-size: 12px; color: #fff; background: var(--teal, #1D9E75);
  border-radius: 4px; padding: 3px 10px; white-space: nowrap; }
.doc-tip { color: #6b7785; font-size: 14px; margin: 0 0 16px; line-height: 1.8; }
@media (max-width: 820px) {
  .rules-viewer { flex-direction: column; }
  .rules-nav { position: static; width: 100%; flex: auto; }
}

/* ---------- 组织架构页 ---------- */
.structure-main .structure-lead {
  font-size: 16px; color: #36404c; line-height: 1.95; letter-spacing: .01em;
  margin-bottom: 28px;
}

.org-chart {
  background: linear-gradient(180deg, #f8fafc 0%, #f0f5fa 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px 22px;
  margin: 22px 0 38px;
  overflow-x: auto;
}
.org-chart-svg {
  display: block;
  width: 100%;
  min-width: 760px;
  height: auto;
  max-height: 520px;
}
.org-chart .org-node { cursor: default; }
.org-chart .org-node rect {
  transition: transform .2s ease, filter .2s ease;
}
.org-chart .org-node:hover rect {
  transform: translateY(-3px);
  filter: url(#shadow) brightness(1.03);
}
.org-chart .org-root text { font-size: 18px; }
.org-chart .org-dept-new rect {
  fill: #e6f6f0;
  stroke: var(--teal);
  stroke-width: 2;
}

.member-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin: 16px 0 28px;
  box-shadow: 0 4px 18px rgba(12,68,124,0.06);
}
.member-card-head {
  display: flex; align-items: center;
  font-size: 17px; font-weight: 600; color: var(--navy-deep);
  margin-bottom: 16px; padding-bottom: 12px;
  border-bottom: 1px solid #eef1f5;
}
.member-card-head > * + * { margin-left: 10px; }
.member-dot {
  width: 6px; height: 18px; border-radius: 3px;
  background: var(--teal);
}
.member-list { display: flex; flex-direction: column; }
.member-list > * + * { margin-top: 14px; }
.member-row {
  display: flex; align-items: center;
  font-size: 15px; color: #36404c;
}
.member-row > * + * { margin-left: 18px; }
.member-row-multi {
  align-items: flex-start;
  flex-wrap: wrap;
}
.member-role {
  flex: 0 0 120px;
  color: var(--navy); font-weight: 500;
  text-align: right;
}
.member-name {
  font-weight: 600; color: var(--navy-deep);
  font-size: 16px;
}
.member-tags {
  display: flex; flex-wrap: wrap;
  flex: 1 1 auto;
}
.member-tags > * + * { margin-left: 10px; margin-top: 10px; }
.member-tag {
  display: inline-block;
  background: #f1f6fb;
  border: 1px solid #dbe6f1;
  border-radius: 6px;
  padding: 6px 14px;
  font-size: 15px; color: var(--navy-deep); font-weight: 500;
}

@media (max-width: 820px) {
  .org-chart { padding: 18px 12px; }
  .org-chart-svg { min-width: 600px; max-height: 420px; }
  .member-row { flex-direction: column; align-items: flex-start; }
  .member-row > * + * { margin-left: 0; margin-top: 6px; }
  .member-role { text-align: left; flex: none; }
}
@media (max-width: 600px) {
  .org-chart-svg { min-width: 520px; max-height: 360px; }
  .member-card { padding: 18px; }
}
