@charset "UTF-8";

/* ==========================================================================
   CECLA 北京中拉教科文中心 — 静态站点样式表
   设计基调：赤陶赭红 / 墨黑 / 宣纸白 / 暗金；中文宋体 + 西文衬线
   零外部依赖：不请求任何 CDN、字体服务或第三方图片
   ========================================================================== */

:root {
  /* — 深色基底：深墨碧（取自 logo 蓝色波压深），替代原暖墨黑 — */
  --ink: #10262e;
  --ink-soft: #17353f;
  --deep: #0b1f26;
  /* — 浅色基底：宣纸白略偏暖，使 logo 的暖灰文字自然贴合 — */
  --paper: #faf8f3;
  --paper-deep: #f0ebe0;
  --white: #fdfcf8;
  /* — 主色：深青（logo 青蓝 #4bb5e3 压深，满足 AA 正文对比度）— */
  --brand: #0f5a6e;
  --brand-deep: #0a4251;
  /* — 品牌原色（装饰用，勿作正文色）— */
  --cyan: #4bb5e3;
  --green: #2e9b41;
  --lime: #8fbe1f;
  --gold: #b98d2b;
  --gold-bright: #f2c13b;
  --gold-soft: #ecdcb4;
  --orange: #ef7d29;
  --red: #d9503f;
  /* — 签名图形：logo 的 C 形光谱 — */
  --spectrum: linear-gradient(90deg, #d9503f 0%, #ef7d29 20%, #f2c13b 40%, #8fbe1f 62%, #2e9b41 80%, #4bb5e3 100%);
  --text: #2a3130;
  --muted: #626966;
  --line: rgba(16, 38, 46, 0.14);
  --line-light: rgba(253, 252, 248, 0.16);
  --serif-zh: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --serif-la: "Cormorant Garamond", "Baskerville", "Georgia", "Times New Roman", serif;
  --sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --maxw: 1280px;
  --pad: clamp(22px, 5vw, 72px);
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }

:focus-visible {
  outline: 2px solid var(--focus, var(--brand));
  outline-offset: 4px;
}
/* 深色区块内改用浅金焦点环，保证 3:1 以上可见度 */
.hero :focus-visible,
.page-hero :focus-visible,
.section--dark :focus-visible,
.fact-strip :focus-visible,
.cta :focus-visible,
.site-footer :focus-visible { --focus: var(--gold-soft); }

::selection { background: var(--brand); color: var(--white); }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  z-index: 100;
  padding: 12px 20px;
  background: var(--white);
  color: var(--ink);
  font-size: 14px;
}
.skip-link:focus { top: 12px; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   页头
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line-light);
  background: transparent;
  transition: background-color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.site-header.is-scrolled {
  background: rgba(250, 248, 243, 0.96);
  border-bottom-color: var(--line);
  box-shadow: 0 1px 24px rgba(16, 38, 46, 0.07);
  backdrop-filter: blur(12px);
}
.header-inner {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad);
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
/* 品牌标识：直接使用机构官方 logo。
   深色底用反白版（文字转米白），浅色底用原版（文字为 logo 自有暖灰）。 */
.brand-logo { display: flex; align-items: center; }
.brand-logo img { display: block; height: 52px; width: auto; }
.brand-logo .logo-on-light { display: none; }
.site-header.is-scrolled .brand-logo .logo-on-dark { display: none; }
.site-header.is-scrolled .brand-logo .logo-on-light { display: block; }

.primary-nav { margin-left: auto; display: flex; align-items: center; gap: clamp(14px, 2.1vw, 32px); }
.nav-link {
  position: relative;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: rgba(253, 252, 248, 0.82);
  padding-block: 8px;
  white-space: nowrap;
  transition: color 0.35s ease;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}
.nav-link:hover::after, .nav-link[aria-current="page"]::after { width: 100%; }
.nav-link:hover { color: var(--white); }
.nav-link[aria-current="page"] { color: var(--gold-soft); }
.site-header.is-scrolled .nav-link { color: var(--muted); }
.site-header.is-scrolled .nav-link:hover,
.site-header.is-scrolled .nav-link[aria-current="page"] { color: var(--brand); }

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-left: 6px;
  padding-left: 20px;
  border-left: 1px solid var(--line-light);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(253, 252, 248, 0.72);
  white-space: nowrap;
  transition: color 0.35s ease, border-color 0.35s ease;
}
.site-header.is-scrolled .lang-switch { color: var(--muted); border-left-color: var(--line); }
.lang-switch a { transition: color 0.2s ease; }
.lang-switch a:hover { color: var(--gold-soft); }
.site-header.is-scrolled .lang-switch a:hover { color: var(--brand); }
.lang-switch .is-active { color: var(--gold-soft); font-weight: 600; }
.site-header.is-scrolled .lang-switch .is-active { color: var(--brand); }
.lang-sep { opacity: 0.45; }

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-light);
  background: transparent;
  color: var(--white);
  cursor: pointer;
  position: relative;
}
.site-header.is-scrolled .nav-toggle { color: var(--ink); border-color: var(--line); }
.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  position: absolute;
  left: 11px;
  width: 20px;
  height: 1px;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle::before { top: 15px; }
.nav-toggle span { top: 21px; }
.nav-toggle::after { top: 27px; }
.nav-toggle[aria-expanded="true"]::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span { opacity: 0; }
.nav-toggle[aria-expanded="true"]::after { transform: translateY(-6px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   首页主视觉
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: min(94dvh, 940px);
  display: flex;
  align-items: center;
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 70% 80% at 78% 42%, rgba(75, 181, 227, 0.20), transparent 68%),
    radial-gradient(ellipse 60% 70% at 12% 88%, rgba(46, 155, 65, 0.13), transparent 70%),
    linear-gradient(160deg, #143039 0%, #0c2028 58%, #12313b 100%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.16;
  background-image:
    repeating-linear-gradient(0deg, transparent 0 79px, rgba(253, 252, 248, 0.16) 79px 80px),
    repeating-linear-gradient(90deg, transparent 0 79px, rgba(253, 252, 248, 0.16) 79px 80px);
  mask-image: linear-gradient(90deg, transparent, #000 45%, #000 85%, transparent);
}
.hero-art {
  position: absolute;
  right: -4%;
  top: 50%;
  transform: translateY(-50%);
  width: min(62vw, 900px);
  height: auto;
  z-index: -1;
  opacity: 0.9;
  pointer-events: none;
}
.hero-inner {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding: calc(var(--header-h) + 72px) var(--pad) 92px;
  position: relative;
  z-index: 1;
}
.hero-kicker {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--serif-la);
  font-size: 13px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 34px;
}
.hero-kicker::before { content: ""; width: 44px; height: 1px; background: var(--gold); }
.hero-title {
  font-family: var(--serif-zh);
  font-weight: 500;
  font-size: clamp(2.7rem, 6.4vw, 5.6rem);
  line-height: 1.24;
  letter-spacing: 0.02em;
  max-width: 15em;
  text-wrap: balance;
}
.hero-title em {
  font-style: normal;
  color: var(--gold-bright);
}
.hero-la {
  font-family: var(--serif-la);
  font-style: italic;
  font-size: clamp(1.25rem, 2.4vw, 2rem);
  letter-spacing: 0.02em;
  color: rgba(253, 252, 248, 0.62);
  margin-top: 20px;
}
.hero-desc {
  max-width: 40em;
  margin-top: 30px;
  font-size: 15px;
  line-height: 2.05;
  color: rgba(253, 252, 248, 0.72);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 44px; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 30px;
  font-size: 14px;
  letter-spacing: 0.06em;
  border: 1px solid transparent;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--brand); color: var(--white); }
.btn--primary:hover { background: #16697f; }
/* 主视觉为深色底，主按钮改用旭日金填充 + 深墨字，与 logo 金色呼应 */
.hero .btn--primary { background: var(--gold-bright); color: #2b2113; }
.hero .btn--primary:hover { background: #ffd35c; }
.btn--ghost { border-color: rgba(253, 252, 248, 0.36); color: var(--white); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-soft); }
/* 浅底描边按钮：供浅色卡片使用，--ghost 是深底专用（白字），不能混用 */
.btn--line { border-color: rgba(16, 38, 46, 0.26); color: var(--brand); }
.btn--line:hover {
  border-color: var(--brand);
  background: rgba(15, 90, 110, 0.06);
  color: var(--brand-deep);
}
.btn-arrow { font-family: var(--serif-la); font-size: 18px; line-height: 1; }
.hero-foot {
  position: absolute;
  left: var(--pad);
  right: var(--pad);
  bottom: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  border-top: 1px solid var(--line-light);
  padding-top: 18px;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: rgba(253, 252, 248, 0.5);
}
.hero-foot span:last-child { font-family: var(--serif-la); font-style: italic; letter-spacing: 0.06em; }

/* --------------------------------------------------------------------------
   事实条 / 通用区块
   -------------------------------------------------------------------------- */
.fact-strip {
  background: var(--ink-soft);
  color: var(--white);
  border-top: 1px solid var(--line-light);
}
.fact-strip .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.fact {
  padding: 34px 26px 34px 0;
  border-right: 1px solid var(--line-light);
}
.fact:last-child { border-right: 0; }
.fact:not(:first-child) { padding-left: 26px; }
.fact-num {
  font-family: var(--serif-la);
  font-size: clamp(1.9rem, 3vw, 2.7rem);
  line-height: 1;
  color: var(--gold-soft);
}
.fact-label { font-size: 13px; letter-spacing: 0.08em; color: rgba(253, 252, 248, 0.68); margin-top: 10px; }
.fact-la { font-family: var(--serif-la); font-style: italic; font-size: 12px; color: rgba(253, 252, 248, 0.58); }

.section { padding-block: clamp(76px, 10vw, 140px); }
.section--alt { background: var(--paper-deep); }
.section--dark { background: var(--ink); color: var(--white); }
.section--border { border-top: 1px solid var(--line); }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(30px, 6vw, 90px);
  align-items: end;
  margin-bottom: clamp(44px, 6vw, 76px);
}
/* 无导语时收成单列，避免标题被挤在左侧 45% 宽度里 */
.section-head.is-solo { grid-template-columns: minmax(0, 1fr); }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--serif-la);
  font-size: 12px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 22px;
}
.section--dark .eyebrow { color: var(--gold-soft); }
.eyebrow::before { content: ""; width: 30px; height: 1px; background: currentColor; }
.section-title {
  font-family: var(--serif-zh);
  font-weight: 500;
  font-size: clamp(2rem, 3.9vw, 3.3rem);
  line-height: 1.35;
  letter-spacing: 0.02em;
}
.section-title .la {
  display: block;
  font-family: var(--serif-la);
  font-style: italic;
  font-weight: 400;
  font-size: 0.5em;
  letter-spacing: 0.03em;
  color: var(--muted);
  margin-top: 12px;
}
.section--dark .section-title .la { color: rgba(253, 252, 248, 0.45); }
.section-intro { font-size: 15px; line-height: 2.1; color: var(--muted); max-width: 42em; }
.section--dark .section-intro { color: rgba(253, 252, 248, 0.7); }

.lead-quote {
  font-family: var(--serif-zh);
  font-size: clamp(1.3rem, 2.4vw, 2rem);
  line-height: 1.85;
  letter-spacing: 0.03em;
  border-left: 2px solid var(--brand);
  padding-left: clamp(22px, 3vw, 40px);
  margin-block: 40px;
}
.lead-quote .la {
  display: block;
  font-family: var(--serif-la);
  font-style: italic;
  font-size: 0.62em;
  color: var(--muted);
  margin-top: 18px;
  letter-spacing: 0.01em;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: start;
}
.prose p { margin-bottom: 20px; font-size: 15px; line-height: 2.1; color: var(--muted); }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--text); font-weight: 600; }
.section--dark .prose p { color: rgba(253, 252, 248, 0.72); }
.section--dark .prose strong { color: var(--white); }

.rule-list { margin-top: 36px; border-top: 1px solid var(--line); }
.rule-list li {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.8;
}
.rule-list .idx { font-family: var(--serif-la); font-size: 15px; color: var(--brand); }
.rule-list .la { display: block; font-family: var(--serif-la); font-style: italic; font-size: 13px; color: var(--muted); }

/* --------------------------------------------------------------------------
   五大项目
   -------------------------------------------------------------------------- */
.program-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.program-card {
  background: var(--paper);
  padding: clamp(28px, 3.4vw, 46px);
  min-height: 320px;
  display: flex;
  flex-direction: column;
  transition: background-color 0.3s ease, transform 0.3s ease;
  position: relative;
}
.section--alt .program-card { background: var(--paper-deep); }
.program-card:hover { background: var(--white); transform: translateY(-3px); }
.program-top { display: flex; justify-content: space-between; align-items: flex-start; }
.program-num {
  font-family: var(--serif-la);
  font-size: 2.2rem;
  line-height: 1;
  color: var(--brand);
  opacity: 0.85;
}
.program-icon { width: 40px; height: 40px; color: var(--pcolor, var(--brand)); opacity: 0.9; }
.program-title {
  font-family: var(--serif-zh);
  font-size: clamp(1.25rem, 1.9vw, 1.6rem);
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-top: 44px;
}
.program-la {
  font-family: var(--serif-la);
  font-style: italic;
  font-size: 14px;
  color: var(--brand);
  margin-top: 6px;
}
.program-desc { font-size: 14px; line-height: 1.95; color: var(--muted); margin-top: 18px; }
.program-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: var(--pcolor, var(--brand));
  transition: height 0.3s ease;
}
.program-card:hover::before { height: 5px; }
.program-card::after {
  content: "";
  position: absolute;
  left: clamp(28px, 3.4vw, 46px);
  bottom: 26px;
  width: 26px;
  height: 1px;
  background: var(--pcolor, var(--gold));
  transition: width 0.3s ease;
}
.program-card:hover::after { width: 62px; }

/* --------------------------------------------------------------------------
   条目列表（研究成果 / 活动 / 媒体提及）
   -------------------------------------------------------------------------- */
.entry-list { border-top: 1px solid var(--line); }
.section--dark .entry-list { border-top-color: var(--line-light); }
.entry {
  display: grid;
  grid-template-columns: 128px 1fr auto;
  gap: clamp(18px, 3vw, 44px);
  align-items: baseline;
  padding: 26px 8px;
  border-bottom: 1px solid var(--line);
  transition: padding-left 0.28s ease, background-color 0.28s ease;
}
.section--dark .entry { border-bottom-color: var(--line-light); }
.entry:hover { padding-left: 20px; background: rgba(15, 90, 110, 0.05); }
.section--dark .entry:hover { background: rgba(253, 252, 248, 0.04); }
.entry-date {
  font-family: var(--serif-la);
  font-size: 15px;
  letter-spacing: 0.06em;
  color: var(--brand);
  white-space: nowrap;
}
.section--dark .entry-date { color: var(--gold-soft); }
.entry-body { min-width: 0; }
.entry-title {
  font-family: var(--serif-zh);
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.02em;
}
.entry-note { font-size: 13px; color: var(--muted); margin-top: 8px; line-height: 1.8; }
.section--dark .entry-note { color: rgba(253, 252, 248, 0.55); }
.entry-tag {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 5px 12px;
  white-space: nowrap;
  align-self: center;
}
.section--dark .entry-tag { color: rgba(253, 252, 248, 0.6); border-color: var(--line-light); }
.entry-original {
  display: block;
  font-family: var(--serif-la);
  font-style: italic;
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
}

.filter-note {
  font-size: 13px;
  color: var(--muted);
  border-left: 2px solid var(--gold);
  padding-left: 18px;
  margin-bottom: 34px;
  line-height: 1.9;
}

/* --------------------------------------------------------------------------
   时间线
   -------------------------------------------------------------------------- */
.timeline { border-left: 1px solid var(--line); margin-left: 8px; }
.timeline-item { position: relative; padding: 0 0 46px clamp(28px, 4vw, 52px); }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 9px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 5px var(--paper);
}
.section--alt .timeline-item::before { box-shadow: 0 0 0 5px var(--paper-deep); }
.timeline-year { font-family: var(--serif-la); font-size: 1.4rem; color: var(--brand); line-height: 1; }
.timeline-title { font-family: var(--serif-zh); font-size: 1.15rem; font-weight: 600; margin-top: 12px; }
.timeline-text { font-size: 14px; color: var(--muted); line-height: 1.95; margin-top: 10px; max-width: 46em; }

/* --------------------------------------------------------------------------
   合作伙伴
   -------------------------------------------------------------------------- */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(30px, 5vw, 80px);
}
.partner {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding: 22px 4px;
  border-bottom: 1px solid var(--line);
}
.partner-idx { font-family: var(--serif-la); font-size: 13px; color: var(--brand); min-width: 26px; }
.partner-name { font-family: var(--serif-zh); font-size: 1.05rem; font-weight: 600; line-height: 1.6; }
.partner-la { display: block; font-family: var(--serif-la); font-style: italic; font-size: 13px; color: var(--muted); margin-top: 3px; }

.media-list { border-top: 1px solid var(--line); }
.media-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 20px 6px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.media-item:hover .media-source { color: var(--brand); }
.media-source { color: var(--muted); transition: color 0.2s ease; white-space: nowrap; }
.media-arrow { font-family: var(--serif-la); font-size: 19px; color: var(--brand); }

/* --------------------------------------------------------------------------
   内页页头
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  background: var(--ink);
  color: var(--white);
  padding: calc(var(--header-h) + clamp(64px, 9vw, 120px)) 0 clamp(58px, 8vw, 96px);
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 120% at 88% 20%, rgba(75, 181, 227, 0.24), transparent 70%);
}
.page-hero::after {
  content: "";
  position: absolute;
  right: 6%;
  top: 18%;
  width: min(38vw, 460px);
  aspect-ratio: 1;
  border: 1px solid rgba(75, 181, 227, 0.26);
  border-radius: 50%;
  box-shadow: 0 0 0 60px rgba(75, 181, 227, 0.05), 0 0 0 120px rgba(46, 155, 65, 0.04);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.breadcrumb {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: rgba(253, 252, 248, 0.5);
  margin-bottom: 36px;
}
.breadcrumb a:hover { color: var(--gold-soft); }
.breadcrumb .sep { opacity: 0.5; }
.page-title {
  font-family: var(--serif-zh);
  font-weight: 500;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  line-height: 1.3;
  letter-spacing: 0.03em;
}
.page-title .la {
  display: block;
  font-family: var(--serif-la);
  font-style: italic;
  font-size: 0.46em;
  color: var(--gold-soft);
  margin-top: 14px;
  letter-spacing: 0.02em;
}
.page-desc {
  max-width: 46em;
  margin-top: 28px;
  font-size: 15px;
  line-height: 2.1;
  color: rgba(253, 252, 248, 0.68);
}
.page-hero .hero-kicker { margin-bottom: 24px; }

/* --------------------------------------------------------------------------
   联系
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.contact-card { background: var(--paper); padding: clamp(28px, 3.4vw, 44px); }
.section--alt .contact-card { background: var(--paper-deep); }
.contact-label {
  font-family: var(--serif-la);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand);
}
.contact-value { font-family: var(--serif-zh); font-size: 1.15rem; line-height: 1.8; margin-top: 18px; }
.contact-note { font-size: 13px; color: var(--muted); line-height: 1.9; margin-top: 12px; }
.contact-card a { border-bottom: 1px solid var(--brand); padding-bottom: 2px; }
.contact-card a:hover { color: var(--brand); }

/* --------------------------------------------------------------------------
   收尾行动区
   -------------------------------------------------------------------------- */
.cta {
  background: var(--brand-deep);
  color: var(--white);
  padding-block: clamp(70px, 9vw, 118px);
  position: relative;
  overflow: hidden;
}
.cta::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -220px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(253, 252, 248, 0.14);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(253, 252, 248, 0.035);
}
.cta .container { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap; }
.cta-title { font-family: var(--serif-zh); font-size: clamp(1.7rem, 3.2vw, 2.7rem); font-weight: 500; line-height: 1.5; }
.cta-title .la { display: block; font-family: var(--serif-la); font-style: italic; font-size: 0.52em; color: rgba(253, 252, 248, 0.66); margin-top: 12px; }
.cta .btn { border-color: rgba(253, 252, 248, 0.6); }
.cta .btn:hover { background: var(--white); color: var(--brand-deep); border-color: var(--white); }

/* --------------------------------------------------------------------------
   页脚
   -------------------------------------------------------------------------- */
.site-footer { background: var(--ink); color: var(--white); padding-top: clamp(64px, 8vw, 100px); }
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr));
  gap: clamp(36px, 6vw, 90px);
  padding-bottom: 64px;
}
.footer-brand .brand { margin-bottom: 24px; }
.footer-brand p { font-size: 14px; line-height: 2; color: rgba(253, 252, 248, 0.6); max-width: 30em; }
.footer-col h3 {
  font-family: var(--serif-la);
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-soft);
  font-weight: 400;
  margin-bottom: 22px;
}
.footer-col li { margin-bottom: 12px; font-size: 14px; color: rgba(253, 252, 248, 0.68); }
.footer-col a:hover { color: var(--gold-soft); }
.footer-bottom {
  border-top: 1px solid var(--line-light);
  padding-block: 24px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(253, 252, 248, 0.56);
}
.footer-bottom a:hover { color: var(--gold-soft); }
/* ICP 备案号由甲方提供后填入 .footer-bottom，本稿不沿用旧站备案主体 */

/* --------------------------------------------------------------------------
   滚动显现
   -------------------------------------------------------------------------- */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 0.75s ease, transform 0.75s ease; }
[data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .btn:hover, .program-card:hover, .entry:hover { transform: none; }
}

/* --------------------------------------------------------------------------
   响应式
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .primary-nav { gap: 16px; }
  .nav-link { font-size: 13px; }
  .hero-art { width: 78vw; right: -18%; opacity: 0.62; }
  .program-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* 四语切换（中文 / English / Español / Português）比三语多占约 70px，
   在中等桌面与平板横屏区间收紧语言条与导航间距，避免页头挤压换行。 */
@media (max-width: 1220px) {
  .primary-nav { gap: 14px; }
  .lang-switch { gap: 7px; padding-left: 14px; letter-spacing: 0.04em; }
}

@media (max-width: 1024px) {
  .brand-logo img { height: 46px; }
  .primary-nav { gap: 10px; }
  .nav-link { font-size: 12px; letter-spacing: 0.02em; }
  .lang-switch { font-size: 11px; gap: 6px; padding-left: 12px; }
}

@media (max-width: 860px) {
  :root { --header-h: 72px; }
  .nav-toggle { display: block; }
  .primary-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    margin: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 12px var(--pad) 26px;
    box-shadow: 0 18px 30px rgba(16, 38, 46, 0.12);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
  }
  .primary-nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav-link { color: var(--text); font-size: 15px; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .site-header.is-scrolled .nav-link { color: var(--text); }
  .nav-link[aria-current="page"] { color: var(--brand); }
  .lang-switch {
    margin: 18px 0 0;
    padding: 0;
    border: 0;
    color: var(--muted);
    font-size: 13px;
  }
  .site-header.is-scrolled .lang-switch { color: var(--muted); border: 0; }
  .lang-switch .is-active { color: var(--brand); }
  .site-header.is-scrolled .lang-switch .is-active { color: var(--brand); }
  .section-head, .split { grid-template-columns: 1fr; gap: 26px; }
  .fact-strip .container { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(2) { border-right: 0; }
  .fact:nth-child(-n+2) { border-bottom: 1px solid var(--line-light); }
  .fact:nth-child(3) { padding-left: 0; }
  .hero-art { width: 110vw; right: -40%; opacity: 0.42; }
  .entry { grid-template-columns: 100px 1fr; }
  .entry-tag { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .partner-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .hero { min-height: 86dvh; }
  .hero-inner { padding-top: calc(var(--header-h) + 56px); padding-bottom: 72px; }
  .hero-desc { font-size: 14px; }
  .hero-foot { font-size: 10px; }
  .hero-foot span:last-child { display: none; }
  .program-grid { grid-template-columns: 1fr; }
  .program-card { min-height: 0; padding-block: 34px; }
  .program-title { margin-top: 28px; }
  .entry { grid-template-columns: 1fr; gap: 6px; padding-block: 22px; }
  .entry-date { font-size: 13px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .rule-list li { grid-template-columns: 44px 1fr; gap: 12px; }
  .cta .container { flex-direction: column; align-items: flex-start; }
  .media-item { flex-direction: column; align-items: flex-start; gap: 6px; }
  .media-arrow { display: none; }
}

/* --------------------------------------------------------------------------
   页脚徽记、第六张行动卡、西语版字体
   -------------------------------------------------------------------------- */
.footer-brand .brand-logo img { height: 62px; }

/* 第六张卡（参与合作）不作反色处理，文字与底色一律沿用五个项目卡的同规设置：
   标题 --text、编号与外语名 --brand、说明 --muted。原深底反色方案被
   .section--alt .program-card（优先级更高）改写为浅底，白字压浅底近乎不可见；
   与其补一条更高优先级的反色规则，不如直接与同组卡片统一，靠「＋」编号和
   描边按钮作区分。 */
.program-card--cta .program-num,
.program-card--cta .program-la { color: var(--brand); opacity: 0.85; }
.program-card--cta .program-desc { color: var(--muted); }

.partner-name { display: block; }

[lang="es"] .hero-title,
[lang="es"] .section-title,
[lang="es"] .page-title { font-family: var(--serif-la); font-weight: 400; letter-spacing: 0; }
[lang="es"] .hero-title { max-width: 17em; font-size: clamp(2.4rem, 5.4vw, 4.8rem); }
[lang="es"] .page-title { font-size: clamp(2rem, 4.4vw, 3.6rem); }
[lang="es"] .entry-title { font-family: var(--serif-la); font-size: 1.32rem; font-weight: 500; line-height: 1.5; }
[lang="es"] .program-title,
[lang="es"] .partner-name,
[lang="es"] .timeline-title,
[lang="es"] .contact-value { font-family: var(--serif-la); font-size: 1.28rem; font-weight: 500; }


/* ==========================================================================
   CECLA 光谱色系模块
   色源：机构 logo 实测像素。红 #d9503f · 橙 #ef7d29 · 金 #f2c13b ·
        黄绿 #8fbe1f · 绿 #2e9b41 · 青 #4bb5e3；文字底 #3d3b39
   ========================================================================== */

/* 页头顶端光谱细线：全站统一的第一识别符号 */
.site-header::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: var(--spectrum);
  opacity: 0.92;
}

/* 品牌 logo 夜间/日间切换的过渡，避免滚动时闪烁 */
.brand-logo img { transition: opacity 0.3s ease; }

/* 收尾行动区：深青底 + 顶端光谱线 */
.cta { background: var(--brand-deep); }
.cta::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: var(--spectrum);
}

/* 页脚顶端光谱线，与页头首尾呼应 */
.site-footer { position: relative; }
.site-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: var(--spectrum);
  opacity: 0.8;
}

/* 事实条：数字用浅金，保持与深底对比 */
.fact-num { color: var(--gold-soft); }

/* 引文块左边线：主色 */
.lead-quote { border-left-color: var(--brand); }

/* 第六张卡的装饰线改由内联 --pcolor 控制（#2f88ab，光谱第六段青按同比例压暗），
   与前五张的压暗量保持一致，不再单独覆盖 */

/* 页脚与深色区块内的链接态 */
.site-footer a { transition: color 0.2s ease; }

/* 小屏 logo 缩放 */
@media (max-width: 860px) {
  .brand-logo img { height: 44px; }
}
@media (max-width: 620px) {
  .brand-logo img { height: 40px; }
  .footer-brand .brand-logo img { height: 48px; }
}

/* 页头焦点环：压在深色主视觉上时用浅青，滚动后浅底用主色 */
.site-header :focus-visible { --focus: var(--cyan); }
.site-header.is-scrolled :focus-visible { --focus: var(--brand); }


/* --------------------------------------------------------------------------
   归档列表（研究成果 / 系列活动 / 媒体报道 / 合作伙伴 下级页面索引）
   -------------------------------------------------------------------------- */
.arc-year {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin: clamp(34px, 5vw, 56px) 0 0;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.arc-year:first-child { margin-top: 0; }
.arc-year-num {
  font-family: var(--serif-la);
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--brand);
  letter-spacing: 0.02em;
}
.arc-year-cn { font-size: 12px; letter-spacing: 0.16em; color: var(--muted); }

.arc-list { list-style: none; margin: 0; padding: 0; }
.arc-item { border-bottom: 1px solid var(--line); }
.arc-link {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  gap: clamp(14px, 2.6vw, 34px);
  align-items: start;
  padding: 24px 10px;
  color: inherit;
  text-decoration: none;
  transition: background-color 0.26s ease, padding-left 0.26s ease;
}
.arc-link:hover,
.arc-link:focus-visible { background: rgba(15, 90, 110, 0.05); padding-left: 22px; }
.arc-date {
  font-family: var(--serif-la);
  font-size: 13px;
  color: var(--muted);
  padding-top: 4px;
  letter-spacing: 0.04em;
}
.arc-main { min-width: 0; }
.arc-title {
  font-family: var(--serif-zh);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.72;
  color: var(--text);
  transition: color 0.22s ease;
}
.arc-link:hover .arc-title { color: var(--brand); }
/* 英/西版条目：译名为主标题，中文原题以小字附后 */
.arc-orig {
  display: block;
  margin-top: 5px;
  font-size: 12px;
  line-height: 1.7;
  letter-spacing: 0.01em;
  color: var(--muted);
}
.arc-link:hover .arc-orig { color: var(--brand); }
.arc-sum {
  margin-top: 9px;
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.arc-side {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 2px;
}
.arc-thumb {
  width: 104px;
  height: 68px;
  object-fit: cover;
  border: 1px solid var(--line);
  background: var(--paper-deep);
}
.arc-src {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
  white-space: nowrap;
}
.arc-tag {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--brand);
  border: 1px solid rgba(15, 90, 110, 0.28);
  padding: 3px 8px;
  white-space: nowrap;
}
.arc-ext { font-family: var(--serif-la); color: var(--gold); }

/* --------------------------------------------------------------------------
   文章详情页
   -------------------------------------------------------------------------- */
.art-hero {
  position: relative;
  background: var(--ink);
  color: var(--white);
  padding: calc(var(--header-h) + clamp(46px, 6vw, 84px)) 0 clamp(44px, 6vw, 72px);
  overflow: hidden;
}
.art-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 120% at 88% 20%, rgba(75, 181, 227, 0.2), transparent 70%);
}
.art-hero .container { position: relative; }
.art-hero .breadcrumb { margin-bottom: 26px; }
.art-kicker {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--serif-la);
  font-size: 12px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 20px;
}
.art-kicker::before { content: ""; width: 40px; height: 1px; background: var(--gold); }
.art-title {
  font-family: var(--serif-zh);
  font-weight: 500;
  font-size: clamp(1.6rem, 3.4vw, 2.7rem);
  line-height: 1.45;
  letter-spacing: 0.01em;
  max-width: 26em;
  text-wrap: balance;
}
.art-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--line-light);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: rgba(253, 252, 248, 0.66);
}
.art-meta b { font-weight: 500; color: rgba(253, 252, 248, 0.9); }

.art-body-wrap { padding: clamp(46px, 6vw, 84px) 0 clamp(50px, 7vw, 96px); }
.art-body {
  max-width: 760px;
  font-family: var(--serif-zh);
  font-size: 17px;
  line-height: 2.05;
  color: var(--text);
}
.art-body p { margin: 0 0 1.25em; text-indent: 2em; }
.art-body p:last-child { margin-bottom: 0; }
.art-body img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 2.1em auto;
  border: 1px solid var(--line);
  background: var(--paper-deep);
  text-indent: 0;
}
.art-body h2, .art-body h3, .art-body h4 {
  font-family: var(--serif-zh);
  font-weight: 600;
  line-height: 1.6;
  margin: 2em 0 0.9em;
  text-indent: 0;
}
.art-body h2 { font-size: 1.32em; }
.art-body h3 { font-size: 1.16em; }
.art-body h4 { font-size: 1.04em; }
.art-body blockquote {
  margin: 1.8em 0;
  padding: 4px 0 4px 22px;
  border-left: 2px solid var(--gold);
  color: var(--muted);
  font-size: 0.97em;
  text-indent: 0;
}
.art-body ul, .art-body ol { margin: 0 0 1.3em; padding-left: 1.6em; }
.art-body li { margin-bottom: 0.5em; }
.art-body a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.art-body table { width: 100%; border-collapse: collapse; margin: 1.6em 0; font-size: 0.94em; }
.art-body th, .art-body td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.art-body hr { border: 0; border-top: 1px solid var(--line); margin: 2.2em 0; }
.art-body .art-note { font-size: 0.92em; color: var(--muted); }

.art-foot {
  max-width: 760px;
  margin-top: clamp(44px, 5vw, 70px);
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.art-source { font-size: 12.5px; line-height: 1.9; color: var(--muted); }
.art-source a { color: var(--brand); }
.art-pager {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 3vw, 40px);
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}
.art-pager a {
  display: block;
  text-decoration: none;
  color: var(--text);
}
.art-pager .pg-label {
  display: block;
  font-family: var(--serif-la);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.art-pager .pg-title {
  font-family: var(--serif-zh);
  font-size: 0.98rem;
  line-height: 1.7;
  transition: color 0.2s ease;
}
.art-pager a:hover .pg-title { color: var(--brand); }
.art-pager .pg-next { text-align: right; }

@media (max-width: 860px) {
  .arc-link { grid-template-columns: 1fr; gap: 10px; }
  .arc-date { padding-top: 0; }
  .arc-side { padding-top: 0; }
  .arc-thumb { width: 100%; max-width: 220px; height: 128px; }
  .art-body { font-size: 16px; line-height: 2; }
}
@media (max-width: 620px) {
  .art-pager { grid-template-columns: 1fr; }
  .art-pager .pg-next { text-align: left; }
  .arc-side { flex-wrap: wrap; }
}

/* 归档索引页：纵向留白略收紧 */
.section--tight { padding-block: clamp(52px, 6.5vw, 88px); }

/* 首页条目内的详情链接 */
.entry-title a { color: inherit; text-decoration: none; transition: color 0.2s ease; }
.entry-title a:hover { color: var(--brand); }
.section--dark .entry-title a:hover { color: var(--gold-soft); }
.entry-title a:focus-visible { outline: 2px solid var(--focus, var(--brand)); outline-offset: 3px; }

/* 归档页：说明文字与首个年份分组的间距 */
.filter-note + .arc-year { margin-top: 10px; }

/* 文章正文列居中，避免宽屏下右侧留白过大 */
.art-body, .art-foot { margin-inline: auto; }

/* 缩略图无内容时不留空位 */
.arc-side:empty { display: none; }

/* 上下篇导航：左项对齐正文左侧 */
.art-pager .pg-prev { text-align: left; }

/* ==========================================================================
   合作伙伴：机构标识墙
   原站该页为按年归档的条目列表；此处改为「标识 + 机构名 + 简介」网格，
   不按年份分组、不显示日期，机构标识取自原站各机构简介页首图。
   ========================================================================== */

.pwall {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.pwall-item { display: flex; }

.pcard {
  display: flex;
  flex-direction: column;
  width: 100%;
  background: var(--white);
  border: 1px solid var(--line);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.pcard:hover {
  transform: translateY(-3px);
  border-color: var(--brand);
  box-shadow: 0 20px 44px -30px rgba(16, 38, 46, 0.6);
}

/* 标识区：统一 3:2，标识一律 contain，各机构自带底色不会被拉伸裁切 */
.pcard-media {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 3 / 2;
  padding: 26px 30px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.pcard-media img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.pcard-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 22px 24px 24px;
}

.pcard-name {
  font-family: var(--serif-zh);
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: 0.02em;
  color: var(--text);
}

/* 非中文语种：机构名用拉丁字面，中文原题以小字附在下方 */
.pcard-name--la { font-family: var(--serif-la); }
.pcard-orig {
  display: block;
  margin-top: 5px;
  font-family: var(--serif-zh);
  font-size: 12px;
  line-height: 1.65;
  color: var(--muted);
}

/* 摘要统一截断为四行，避免各卡高度参差 */
.pcard-desc {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
  font-size: 13px;
  line-height: 1.85;
  color: var(--muted);
}

.pcard-go {
  margin-top: auto;
  padding-top: 6px;
  font-family: var(--serif-la);
  font-size: 15px;
  line-height: 1;
  color: var(--brand);
  transition: transform 0.25s ease;
}

.pcard:hover .pcard-go { transform: translateX(4px); }

@media (max-width: 1024px) {
  .pwall { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
}

@media (max-width: 620px) {
  .pwall { grid-template-columns: 1fr; gap: 16px; }
  .pcard-media { padding: 20px 22px; }
}
