/* ============================================================
   法润海淀普法实践团 · 网站样式
   设计语言：以"法治（墨蓝）+ 温润（暖金）"为基调，
   衬线标题营造庄重感，卡片化布局便于推文/视频/报告发布。
   ============================================================ */

:root {
  --ink: #14233f;          /* 深墨蓝 · 主色 */
  --ink-2: #1d3a66;        /* 次墨蓝 */
  --ink-soft: #2c4a7c;
  --gold: #c8a04a;         /* 正义金 · 强调 */
  --gold-light: #e3c878;
  --jade: #2f8f7b;         /* 润泽绿 · 辅助 */
  --paper: #f6f2e9;        /* 暖纸底 */
  --paper-2: #fffdf8;
  --card: #ffffff;
  --text: #2a2f3a;
  --muted: #6b7280;
  --line: #e7e0d2;
  --shadow: 0 14px 40px rgba(20, 35, 63, .10);
  --shadow-sm: 0 6px 18px rgba(20, 35, 63, .08);
  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1180px;
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", serif;
  --sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--paper);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

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

/* ---------- 通用容器 / 标题 ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

.section { padding: 76px 0; }
.section--alt { background: var(--paper-2); }
.section__head { text-align: center; margin-bottom: 46px; }
.section__eyebrow {
  display: inline-block; font-size: 13px; letter-spacing: .26em;
  color: var(--gold); font-weight: 700; text-transform: uppercase; margin-bottom: 10px;
}
.section__title {
  font-family: var(--serif); font-size: 34px; color: var(--ink);
  font-weight: 700; letter-spacing: .04em; position: relative; display: inline-block;
}
.section__title::after {
  content: ""; display: block; width: 54px; height: 4px; border-radius: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  margin: 14px auto 0;
}
.section__sub { color: var(--muted); margin-top: 14px; font-size: 15px; }

/* ---------- 顶部导航 ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(20, 35, 63, .96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.brand { display: flex; align-items: center; gap: 11px; color: #fff; }
.brand__mark {
  width: 38px; height: 38px; border-radius: 50%;
  object-fit: contain;
  box-shadow: 0 4px 12px rgba(200,160,74,.35);
}
.brand__name { font-family: var(--serif); font-size: 18px; font-weight: 700; letter-spacing: .03em; }
.brand__name small { display: block; font-size: 11px; color: var(--gold-light); font-weight: 400; letter-spacing: .12em; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  color: #d7deea; font-size: 14.5px; padding: 8px 13px; border-radius: 8px;
  transition: .2s; white-space: nowrap;
}
.nav a:hover, .nav a.active { color: #fff; background: rgba(200,160,74,.18); }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer; padding: 8px;
  flex-direction: column; gap: 5px;
}
.nav-toggle span { width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: .25s; }

/* ---------- 首页 Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(200,160,74,.18), transparent 60%),
    linear-gradient(160deg, var(--ink) 0%, var(--ink-2) 55%, #16335c 100%);
  color: #fff; padding: 96px 0 88px;
}
.hero__deco {
  position: absolute; inset: 0; opacity: .07; pointer-events: none;
  background-image: radial-gradient(circle at 1px 1px, #fff 1px, transparent 0);
  background-size: 26px 26px;
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px;
  color: var(--gold-light); border: 1px solid rgba(227,200,120,.4);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 22px; letter-spacing: .08em;
  text-decoration: none; transition: .2s;
}
a.hero__badge:hover { background: rgba(227,200,120,.14); border-color: var(--gold-light); }
.hero__badge-go { font-size: 11px; opacity: .65; }
a.hero__badge:hover .hero__badge-go { opacity: 1; }
.hero h1 {
  font-family: var(--serif); font-size: 50px; line-height: 1.18; font-weight: 800;
  letter-spacing: .02em; margin-bottom: 8px;
}
.hero h1 .accent { color: var(--gold-light); }
.hero__slogan { font-size: 19px; color: #e9eef6; margin: 16px 0 14px; font-family: var(--serif); letter-spacing: .04em; }
.hero__desc { color: #c3cddd; max-width: 540px; font-size: 15.5px; }
.hero__cta { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px;
  border-radius: 10px; font-size: 15px; font-weight: 600; transition: .2s; cursor: pointer; border: 1px solid transparent;
}
.btn--primary { background: linear-gradient(135deg, var(--gold), var(--gold-light)); color: var(--ink); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(200,160,74,.4); }
.btn--ghost { border-color: rgba(255,255,255,.35); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.1); }

/* 数据卡（Hero 右侧） */
.hero__stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius); padding: 22px; backdrop-filter: blur(4px);
}
.stat { text-align: center; padding: 10px 6px; }
.stat__num { font-family: var(--serif); font-size: 32px; font-weight: 800; color: var(--gold-light); line-height: 1; }
.stat__label { font-size: 12.5px; color: #c3cddd; margin-top: 6px; }

/* ---------- 概况卡片 ---------- */
.about-lead {
  font-family: var(--serif); font-size: 19px; line-height: 1.9; color: var(--ink-2);
  text-align: center; max-width: 820px; margin: 0 auto 44px;
}
/* 公众号原文横条（团队简介） */
.origin-bar {
  display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap;
  max-width: 820px; margin: -22px auto 44px; padding: 13px 22px;
  background: linear-gradient(90deg, rgba(200,160,74,.10), rgba(200,160,74,.04));
  border: 1px solid rgba(200,160,74,.38); border-radius: 999px;
  text-decoration: none; transition: all .22s ease;
}
.origin-bar:hover {
  background: linear-gradient(90deg, rgba(200,160,74,.20), rgba(200,160,74,.08));
  border-color: var(--gold); box-shadow: 0 6px 18px rgba(200,160,74,.20); transform: translateY(-2px);
}
.origin-bar__badge {
  font-size: 11px; font-weight: 700; letter-spacing: .06em; color: #fff;
  background: var(--gold); padding: 3px 10px; border-radius: 999px; white-space: nowrap;
}
.origin-bar__text { font-family: var(--serif); font-size: 16px; color: var(--ink); font-weight: 600; }
.origin-bar__go { font-size: 13px; font-weight: 700; color: #8a6a1f; white-space: nowrap; }
.origin-bar:hover .origin-bar__go { color: var(--gold); }

.profile-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.profile-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 20px; text-align: center; box-shadow: var(--shadow-sm); transition: .22s;
}
.profile-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold-light); }
.profile-card__icon {
  width: 46px; height: 46px; border-radius: 12px; margin: 0 auto 14px;
  background: linear-gradient(135deg, var(--ink), var(--ink-soft)); color: var(--gold-light);
  display: grid; place-items: center; font-size: 22px;
}
.profile-card__k { font-size: 13px; color: var(--muted); letter-spacing: .04em; }
.profile-card__v { font-family: var(--serif); font-size: 17px; color: var(--ink); font-weight: 700; margin-top: 4px; }
.profile-card--link { display: block; text-decoration: none; color: inherit; position: relative; }
.profile-card--link:hover { border-color: var(--gold); }
.profile-card__go {
  display: inline-block; margin-top: 10px; font-size: 12px; font-weight: 600;
  color: #8a6a1f; background: rgba(200,160,74,.15);
  padding: 3px 10px; border-radius: 999px; transition: .2s;
}
.profile-card--link:hover .profile-card__go { background: var(--gold); color: #fff; }

/* ---------- 团队风采照片墙（横向滑动胶片） ---------- */
.team-gallery {
  position: relative;
  margin-top: 8px;
  padding: 0 44px;
}
.team-gallery__viewport {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 4px 2px 12px;
  cursor: grab;
}
.team-gallery__viewport::-webkit-scrollbar { display: none; }
.team-gallery__viewport.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
  user-select: none;
}
.team-gallery__film {
  display: flex;
  gap: 16px;
  width: max-content;
}
.team-gallery__item {
  flex: 0 0 auto;
  width: min(62%, 420px);
  margin: 0;
  scroll-snap-align: center;
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.team-gallery__item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.team-gallery__item img {
  display: block;
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}
.team-gallery__item figcaption {
  display: block;
  padding: 10px 14px 12px;
  font-size: 13.5px;
  color: var(--muted);
  text-align: center;
  letter-spacing: .02em;
}
.team-gallery__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.92);
  color: #1a2a4a;
  font-size: 24px;
  line-height: 1;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(15,30,60,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, color .2s, transform .2s, opacity .2s;
  z-index: 2;
}
.team-gallery__nav:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-50%) scale(1.06);
}
.team-gallery__nav--prev { left: 0; }
.team-gallery__nav--next { right: 0; }
.team-gallery__hint {
  text-align: center;
  font-size: 12.5px;
  color: var(--muted);
  margin: 6px 0 0;
  letter-spacing: .03em;
}
@media (max-width: 640px) {
  .team-gallery { padding: 0 4px; }
  /* 防止 flex 在 mobile webview 下 wrap 让图片竖排；强制胶片单行 + 横向滚动 */
  .team-gallery__viewport { overflow-x: auto; }
  .team-gallery__film { flex-wrap: nowrap !important; width: max-content; }
  /* 用 vw 直接锁宽度，避免父级 film width:max-content 让 70% 解析异常 */
  .team-gallery__item { width: 72vw; max-width: 320px; flex-shrink: 0; }
  /* 给图片明确高度上限，避免被无界放大裁切 */
  .team-gallery__item img {
    height: 220px;
    max-height: 55vh;
    width: 100%;
    object-fit: cover;
    object-position: center;
  }
  .team-gallery__nav { display: none; }
}

/* ---------- 三位一体 ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 14px; }
.pillar {
  position: relative; background: var(--card); border-radius: var(--radius);
  padding: 30px 26px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); overflow: hidden;
}
.pillar::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px;
  background: linear-gradient(var(--gold), var(--gold-light));
}
.pillar__icon { font-size: 30px; margin-bottom: 12px; }
.pillar h3 { font-family: var(--serif); font-size: 21px; color: var(--ink); margin-bottom: 8px; }
.pillar p { color: var(--muted); font-size: 15px; }

/* ---------- 五大模块 ---------- */
.modules { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.module {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 16px; text-align: center; transition: .22s; position: relative;
}
.module:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--jade); }
.module__tag {
  font-size: 12px; font-weight: 700; color: #fff; background: var(--jade);
  border-radius: 999px; padding: 3px 10px; display: inline-block; margin-bottom: 12px;
}
.module__icon { font-size: 30px; }
.module h4 { font-family: var(--serif); font-size: 16.5px; color: var(--ink); margin: 10px 0 6px; line-height: 1.4; }
.module p { font-size: 12.5px; color: var(--muted); }
.module__law { font-size: 11px; color: var(--gold); margin-top: 8px; letter-spacing: .02em; }
.module__plan {
  font-size: 10.5px; color: var(--jade); margin-top: 6px; padding-top: 6px;
  border-top: 1px dashed rgba(47,143,123,.28); letter-spacing: .01em; line-height: 1.5;
}
.module__done {
  display: inline-block; margin-top: 10px; font-size: 10.5px; font-weight: 700;
  color: #8a6a1f; background: rgba(200,160,74,.16); border: 1px solid rgba(200,160,74,.42);
  padding: 4px 10px; border-radius: 999px; line-height: 1.5; letter-spacing: .01em;
}

/* ---------- 模块可点击（跳转查看对应推文） ---------- */
.module--clickable { cursor: pointer; }
.module--clickable:focus-visible { outline: 2px solid var(--jade); outline-offset: 3px; }
.module--clickable:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--jade); }
.module--clickable::after {
  content: ""; position: absolute; inset: 0; border-radius: var(--radius);
  box-shadow: inset 0 0 0 0 rgba(47,143,123,0); transition: .22s; pointer-events: none;
}
.module--clickable:hover::after { box-shadow: inset 0 0 0 2px rgba(47,143,123,.5); }
.module__go {
  display: inline-block; margin-top: 12px; font-size: 12px; font-weight: 700; color: var(--jade);
  opacity: 0; transform: translateY(4px); transition: .22s; letter-spacing: .02em;
}
.module--clickable:hover .module__go,
.module--clickable:focus-visible .module__go { opacity: 1; transform: translateY(0); }

/* ---------- 政策对标胶囊 ---------- */
.policy-chip {
  display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap;
  margin-top: 14px; padding: 7px 15px 7px 7px; border-radius: 999px;
  background: rgba(20,35,63,.05); border: 1px solid var(--line);
  font-size: 12.5px; color: var(--ink-soft); text-decoration: none; transition: .2s;
}
.policy-chip__label {
  background: var(--ink); color: var(--gold-light); font-size: 11px; font-weight: 700;
  padding: 3px 10px; border-radius: 999px; letter-spacing: .06em;
}
.policy-chip__go { color: var(--gold); font-weight: 700; }
.policy-chip:hover { background: rgba(200,160,74,.12); border-color: var(--gold); color: var(--ink); }

/* ---------- 政策依据卡片 ---------- */
.policy-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-bottom: 34px; }
.policy-card {
  display: flex; gap: 18px; padding: 26px 24px; text-decoration: none;
  background: linear-gradient(140deg, var(--ink) 0%, var(--ink-2) 100%);
  border: 1px solid rgba(200,160,74,.35); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); transition: .24s; position: relative; overflow: hidden;
}
.policy-card::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 88% 8%, rgba(200,160,74,.16), transparent 55%);
  pointer-events: none;
}
.policy-card:hover { transform: translateY(-5px); border-color: var(--gold); box-shadow: 0 18px 44px rgba(20,35,63,.28); }
.policy-card__seal {
  flex: 0 0 auto; width: 46px; height: 46px; border-radius: 8px;
  display: grid; place-items: center; font-family: var(--serif); font-size: 22px; font-weight: 800;
  color: #f3e2b8; background: rgba(156,43,43,.85); border: 2px solid rgba(200,160,74,.55);
  box-shadow: 0 4px 14px rgba(0,0,0,.28); letter-spacing: 0;
}
.policy-card__body { flex: 1; min-width: 0; }
.policy-card__org { font-size: 11.5px; color: var(--gold-light); letter-spacing: .04em; margin-bottom: 8px; }
.policy-card__title {
  font-family: var(--serif); font-size: 17px; line-height: 1.55; color: #fff;
  font-weight: 700; margin-bottom: 12px;
}
.policy-card__quote {
  font-size: 13px; line-height: 1.75; color: rgba(255,255,255,.82);
  padding-left: 12px; border-left: 2px solid var(--gold); margin-bottom: 12px;
}
.policy-card__quote strong { color: var(--gold-light); font-weight: 700; }
.policy-card__note { font-size: 12.5px; line-height: 1.7; color: rgba(255,255,255,.6); margin-bottom: 14px; }
.policy-card__go {
  display: inline-block; font-size: 12.5px; font-weight: 700; color: var(--gold);
  border: 1px solid rgba(200,160,74,.5); padding: 6px 14px; border-radius: 999px; transition: .2s;
}
.policy-card:hover .policy-card__go { background: var(--gold); color: var(--ink); border-color: var(--gold); }

/* ---------- 时间线（活动预告） ---------- */
.timeline { position: relative; max-width: 880px; margin: 0 auto; padding-left: 0; }
.timeline::before {
  content: ""; position: absolute; left: 22px; top: 6px; bottom: 6px; width: 3px;
  background: linear-gradient(var(--gold), var(--jade)); border-radius: 3px;
}
.tl-item { position: relative; padding: 0 0 26px 64px; }
.tl-item::before {
  content: ""; position: absolute; left: 14px; top: 6px; width: 18px; height: 18px;
  border-radius: 50%; background: #fff; border: 4px solid var(--gold); box-shadow: 0 0 0 4px rgba(200,160,74,.18);
}
.tl-item__time { font-size: 13px; font-weight: 700; color: var(--gold); letter-spacing: .04em; }
.tl-item__card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 16px 20px; margin-top: 6px; box-shadow: var(--shadow-sm);
}
.tl-item__card h4 { font-family: var(--serif); font-size: 18px; color: var(--ink); margin-bottom: 4px; }
.tl-item__card p { font-size: 14px; color: var(--muted); }
.tl-item__tag {
  display: inline-block; font-size: 11px; padding: 2px 9px; border-radius: 999px;
  background: rgba(47,143,123,.12); color: var(--jade); margin-left: 8px; font-weight: 600;
}
/* 已举办 / 带官方推文链接的时间线节点 */
.tl-item--official::before { background: var(--gold); box-shadow: 0 0 0 5px rgba(200,160,74,.24); }
.tl-item__state {
  display: inline-block; margin-left: 8px; font-size: 11px; font-weight: 700;
  color: var(--jade); background: rgba(47,143,123,.12); padding: 2px 9px; border-radius: 999px;
  letter-spacing: 0;
}
a.tl-item__card--link {
  display: block; text-decoration: none; color: inherit;
  border-color: rgba(200,160,74,.42); transition: all .22s ease;
}
a.tl-item__card--link:hover {
  border-color: var(--gold); box-shadow: 0 10px 26px rgba(20,34,58,.10); transform: translateY(-2px);
}
.tl-item__go {
  display: inline-block; margin-top: 10px; font-size: 12.5px; font-weight: 700; color: #8a6a1f;
  border-top: 1px dashed rgba(200,160,74,.45); padding-top: 9px;
}
a.tl-item__card--link:hover .tl-item__go { color: var(--gold); }

/* ---------- 卡片网格（推文/视频/报告/总结） ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 34px; }
.filter-btn {
  border: 1px solid var(--line); background: var(--card); color: var(--muted);
  padding: 8px 18px; border-radius: 999px; font-size: 14px; cursor: pointer; transition: .2s; font-family: var(--sans);
}
.filter-btn:hover { border-color: var(--gold); color: var(--ink); }
.filter-btn.active { background: var(--ink); color: #fff; border-color: var(--ink); }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.empty-hint{text-align:center;color:var(--muted);padding:28px 16px;font-size:14px;background:rgba(47,143,123,.06);border:1px dashed rgba(47,143,123,.3);border-radius:var(--radius);grid-column:1/-1}
.post-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); transition: .22s; display: flex; flex-direction: column;
}
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.post-card__cover {
  height: 158px; display: flex; align-items: flex-end; padding: 16px; color: #fff;
  font-family: var(--serif); font-size: 22px; font-weight: 700; position: relative;
}
.post-card__cover::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(20,35,63,.55), rgba(20,35,63,.15));
}
.post-card__cover span { position: relative; z-index: 1; }
.post-card__body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.post-card__meta { display: flex; gap: 10px; align-items: center; font-size: 12.5px; color: var(--muted); margin-bottom: 8px; }
.post-card__cat {
  font-size: 11px; font-weight: 700; color: var(--jade); background: rgba(47,143,123,.12);
  padding: 2px 9px; border-radius: 999px;
}
/* 期数标签（第一期 / 第二期…） */
.post-card__issue {
  font-size: 11px; font-weight: 700; color: #8a6a1f;
  background: rgba(200,160,74,.16); padding: 2px 9px; border-radius: 999px;
}
/* 「已发布」角标：标记已在公众号发布的真实内容 */
.post-card__badge {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  font-size: 11px; font-weight: 700; letter-spacing: .04em;
  color: var(--ink); background: linear-gradient(135deg, var(--gold), var(--gold-light));
  padding: 4px 10px; border-radius: 999px; box-shadow: 0 3px 10px rgba(0,0,0,.22);
}
.post-card__title { font-family: var(--serif); font-size: 18px; color: var(--ink); line-height: 1.45; margin-bottom: 8px; }
.post-card__excerpt { font-size: 14px; color: var(--muted); flex: 1; }
.post-card__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; }
.post-card__more { color: var(--gold); font-weight: 600; font-size: 14px; }
.post-card__play { font-size: 12px; color: #fff; background: rgba(20,32,56,.82); padding: 3px 9px; border-radius: 999px; }

/* 视频卡特殊样式 */
.video-card__cover { height: 178px; position: relative; display: grid; place-items: center; color: #fff; }
.video-card__cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(20,35,63,.5), rgba(47,143,123,.35)); }
.video-card__playbtn {
  position: relative; z-index: 1; width: 58px; height: 58px; border-radius: 50%;
  background: rgba(255,255,255,.9); color: var(--ink); display: grid; place-items: center; font-size: 22px;
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
}

/* ---------- 封面图（有 cover 字段时） ---------- */
.post-card__cover--img {
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}
.post-card__cover--img::after {
  background: linear-gradient(180deg, transparent 40%, rgba(20,35,63,.55) 100%);
}
/* 弹窗内封面大图 */
.modal__cover {
  margin: -24px -30px 18px;
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
  max-height: 320px;
  background: var(--ink);
}
.modal__cover img {
  width: 100%; height: auto;
  max-height: 320px;
  object-fit: cover;
  object-position: center top;
}

/* 报告卡 */
.report-card { border-left: 4px solid var(--gold); }
.report-card__size { font-size: 12.5px; color: var(--gold); font-weight: 600; }

/* ---------- 团队成员 ---------- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.member {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 18px; text-align: center; box-shadow: var(--shadow-sm); transition: .22s;
}
.member:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.member__avatar {
  width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 14px;
  background: linear-gradient(135deg, var(--ink), var(--ink-soft)); color: var(--gold-light);
  display: grid; place-items: center; font-family: var(--serif); font-size: 28px; font-weight: 700;
}
.member__role { font-size: 12px; color: var(--gold); font-weight: 700; letter-spacing: .04em; }
.member__name { font-family: var(--serif); font-size: 19px; color: var(--ink); margin: 4px 0; }
.member__class { font-size: 12.5px; color: var(--muted); }
.member__duty { font-size: 13px; color: var(--muted); margin-top: 8px; line-height: 1.6; }

/* 团队旗帜横幅 */
.team-banner {
  margin-bottom: 30px; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid var(--line);
}
.team-banner img { width: 100%; height: auto; display: block; }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 36px; }
.gallery__item {
  height: 150px; border-radius: var(--radius-sm); display: grid; place-items: center;
  color: rgba(255,255,255,.92); font-size: 14px; text-align: center; padding: 12px;
  background: linear-gradient(135deg, var(--ink-2), var(--jade));
  border: 1px solid rgba(255,255,255,.12); position: relative; overflow: hidden;
}
.gallery__item span { position: relative; z-index: 1; font-family: var(--serif); }
.gallery__item--empty { background: rgba(20,35,63,.06); color: var(--muted); border: 1px dashed rgba(20,35,63,.18); cursor: default; }
.gallery__item--empty span { color: var(--ink-2); }
.gallery__soon { display: block; margin-top: 6px; font-style: normal; font-size: 11px; letter-spacing: .04em; color: #b08a3a; opacity: .8; }

/* ---------- 意义 / 数据 ---------- */
.significance { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.sig-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow-sm); }
.sig-card__icon { font-size: 28px; margin-bottom: 10px; }
.sig-card h3 { font-family: var(--serif); font-size: 20px; color: var(--ink); margin-bottom: 8px; }
.sig-card p { color: var(--muted); font-size: 14.5px; }

/* 目标数据条 */
.outcomes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 8px; }
.outcome {
  text-align: center; background: linear-gradient(160deg, var(--ink), var(--ink-2)); color: #fff;
  border-radius: var(--radius); padding: 30px 16px;
}
.outcome__num { font-family: var(--serif); font-size: 38px; font-weight: 800; color: var(--gold-light); line-height: 1; }
.outcome__label { font-size: 13.5px; color: #c8d2e2; margin-top: 8px; }

/* ---------- 文章弹窗 ---------- */
.modal {
  position: fixed; inset: 0; z-index: 200; display: none; align-items: flex-start; justify-content: center;
  background: rgba(15,22,38,.6); backdrop-filter: blur(3px); padding: 40px 16px; overflow-y: auto;
}
.modal.open { display: flex; }
.modal__box {
  background: var(--paper-2); border-radius: var(--radius); max-width: 760px; width: 100%;
  box-shadow: var(--shadow); overflow: hidden; animation: pop .25s ease;
}
@keyframes pop { from { transform: translateY(18px); opacity: 0; } to { transform: none; opacity: 1; } }
.modal__head { padding: 26px 30px 18px; border-bottom: 1px solid var(--line); position: relative; }
.modal__cat { font-size: 12px; font-weight: 700; color: var(--jade); }
.modal__title { font-family: var(--serif); font-size: 26px; color: var(--ink); margin: 8px 0 6px; line-height: 1.4; }
.modal__meta { font-size: 13px; color: var(--muted); }
.modal__close {
  position: absolute; right: 20px; top: 20px; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 18px; color: var(--muted);
}
.modal__body { padding: 24px 30px 32px; }
.modal__body p { margin-bottom: 14px; color: var(--text); }
.modal__body h4 { font-family: var(--serif); color: var(--ink); margin: 18px 0 8px; font-size: 18px; }
.modal__video { aspect-ratio: 16/9; background: var(--ink); border-radius: var(--radius-sm); display: grid; place-items: center; color: #fff; margin: 8px 0 16px; }
/* 有真实视频号链接时，播放区可点击跳转 */
.modal__video--live {
  text-decoration: none; gap: 12px; cursor: pointer;
  background: radial-gradient(120% 120% at 50% 0%, #223049 0%, var(--ink) 70%);
  border: 1px solid rgba(200,160,74,.35);
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.modal__video--live:hover { border-color: var(--gold); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(20,32,56,.28); }
.modal__video-play {
  width: 58px; height: 58px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--ink); display: grid; place-items: center; font-size: 22px;
  box-shadow: 0 6px 18px rgba(200,160,74,.45);
}
.modal__video--live:hover .modal__video-play { transform: scale(1.06); }
.modal__video-txt { color: #f2ede2; font-size: 14px; letter-spacing: .04em; }

/* 弹窗底部「阅读原文」区块 */
.modal__origin {
  margin-top: 26px; padding-top: 20px; border-top: 1px dashed var(--line);
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
}
.modal__origin-tip { font-size: 12.5px; color: var(--muted); }
.btn--gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--ink); text-decoration: none;
}
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(200,160,74,.4); }

/* ---------- 照片灯箱 ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 300; display: none;
  background: rgba(10,15,28,.92); backdrop-filter: blur(4px);
  flex-direction: column; align-items: center; justify-content: center;
  padding: 24px 16px;
}
.lightbox.open { display: flex; }
.lightbox__img {
  max-width: min(92vw, 1000px); max-height: 70vh; object-fit: contain;
  border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,.5);
  background: #0b1020; animation: pop .25s ease;
}
.lightbox__bar {
  margin-top: 16px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: center;
  color: #e8edf6; font-size: 14px;
}
.lightbox__caption { font-family: var(--serif); letter-spacing: .03em; }
.lightbox__counter { color: #9fb0c9; font-size: 13px; }
.lightbox__close {
  position: absolute; top: 20px; right: 24px; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.08); color: #fff;
  font-size: 24px; cursor: pointer; line-height: 1; transition: .2s;
}
.lightbox__close:hover { background: rgba(255,255,255,.2); transform: rotate(90deg); }
.lightbox__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.08); color: #fff;
  font-size: 30px; cursor: pointer; line-height: 1; transition: .2s;
}
.lightbox__nav:hover { background: rgba(255,255,255,.2); }
.lightbox__nav--prev { left: 22px; }
.lightbox__nav--next { right: 22px; }
.lightbox__thumbs {
  margin-top: 18px; display: flex; gap: 10px; flex-wrap: wrap; justify-content: center;
  max-width: 92vw; max-height: 88px; overflow-y: auto; padding: 4px;
}
.lightbox__thumb {
  width: 64px; height: 48px; object-fit: cover; border-radius: 6px; cursor: pointer;
  border: 2px solid transparent; opacity: .6; transition: .2s;
}
.lightbox__thumb:hover { opacity: 1; }
.lightbox__thumb.active { opacity: 1; border-color: var(--gold-light); }
/* 可点击提示 */
.gallery__item--click { cursor: pointer; position: relative; overflow: hidden; }
.gallery__item--click::after {
  content: "🔍 查看大图"; position: absolute; left: 0; right: 0; bottom: 0;
  padding: 7px 10px; font-size: 12px; color: #fff; text-align: center;
  background: linear-gradient(transparent, rgba(10,15,28,.78));
  opacity: 0; transition: opacity .2s ease; pointer-events: none;
}
.gallery__item--click:hover::after { opacity: 1; }
.gallery__item--click:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.team-banner--click { cursor: pointer; }
.team-banner--click:hover { opacity: .92; }
.team-gallery__item { cursor: zoom-in; }

/* ---------- 页脚 ---------- */
.footer {
  background: var(--ink); color: #c3cddd; padding: 54px 0 26px;
}
.footer__grid { display: grid; grid-template-columns: 1.35fr .8fr 1.05fr 1fr; gap: 34px; }
.footer__brand { font-family: var(--serif); font-size: 22px; color: #fff; margin-bottom: 12px; }
.footer p { font-size: 14px; line-height: 1.8; }
.footer h5 { color: #fff; font-size: 15px; margin-bottom: 14px; letter-spacing: .04em; }
.footer ul li { margin-bottom: 9px; font-size: 14px; }
.footer ul li a:hover { color: var(--gold-light); }
.footer__links li a {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 11px; border-radius: 8px;
  border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.05);
  transition: .2s; font-size: 13.5px;
}
.footer__links li a span { font-size: 11px; opacity: .7; }
.footer__links li a:hover {
  background: rgba(200,160,74,.2); border-color: var(--gold);
  color: var(--gold-light); transform: translateX(3px);
}
.footer__links li a:hover span { opacity: 1; }
.footer__links--policy li a {
  font-size: 12.5px; border-color: rgba(200,160,74,.28); background: rgba(200,160,74,.07);
  color: #d9cba8;
}
.footer__note { font-size: 12.5px; color: #8b96ab; margin-top: 12px; line-height: 1.7; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1); margin-top: 36px; padding-top: 20px;
  text-align: center; font-size: 13px; color: #8b96ab;
}
.footer__beian { margin-top: 10px; font-size: 12px; }
.footer__beian a { color: #8b96ab; text-decoration: none; border-bottom: 1px dashed rgba(139,150,171,.5); }
.footer__beian a:hover { color: #c9b079; }
.footer__qrs { display: flex; gap: 18px; margin-top: 14px; }
.footer__qr {
  width: 100px; height: 120px; border-radius: 10px; background: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 8px; box-shadow: var(--shadow-sm);
}
.footer__qr img { width: 84px; height: 84px; border-radius: 6px; object-fit: contain; }
.footer__qr span { font-size: 11px; color: var(--ink); margin-top: 4px; font-weight: 600; }
.footer__qr--link { text-decoration: none; transition: transform .15s ease, box-shadow .15s ease; cursor: pointer; }
.footer__qr--link:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

/* ---------- 返回顶部 ---------- */
.totop {
  position: fixed; right: 22px; bottom: 22px; width: 46px; height: 46px; border-radius: 50%;
  background: var(--ink); color: var(--gold-light); border: 0; cursor: pointer; font-size: 20px;
  box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: .25s; z-index: 90;
}
.totop.show { opacity: 1; pointer-events: auto; }
.totop:hover { background: var(--gold); color: var(--ink); }

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__stats { max-width: 460px; }
  .profile-grid, .team-grid, .gallery { grid-template-columns: repeat(2, 1fr); }
  .modules { grid-template-columns: repeat(2, 1fr); }
  .pillars, .significance, .policy-grid { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .outcomes { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
}
@media (max-width: 680px) {
  .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; background: var(--ink);
    flex-direction: column; padding: 10px; gap: 2px; box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { width: 100%; }
  .nav-toggle { display: flex; }
  .hero h1 { font-size: 36px; }
  .section__title { font-size: 27px; }
  .card-grid, .profile-grid, .team-grid, .gallery, .modules, .outcomes { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 26px; }
  .section { padding: 56px 0; }
  .policy-card { flex-direction: column; gap: 14px; padding: 22px 18px; }
  .policy-card__title { font-size: 16px; }
  .policy-chip { font-size: 12px; }
}

/* ===== 普法资源卡片 ===== */
.resource-card__cover{display:flex;align-items:center;justify-content:center}
.resource-card__type{display:inline-block;color:#fff;font-weight:700;font-size:18px;letter-spacing:1px;background:rgba(0,0,0,.20);padding:8px 18px;border-radius:999px}
