/* ============================================================
   东北农业大学保卫处 官方网站
   视觉体系：守护蓝（公安蓝/通告蓝）为主色 · 农大绿为呼应
   业务分区色：反诈橙 / 消防红 / 智慧交通青 / 治安蓝
   全站滚动「推出动画」+ 玻璃拟态导航 + 数据滚动计数
   ============================================================ */

:root {
  /* 二版公安蓝版 —— 公安蓝为主色，白 / 浅灰为底，清新简约 */
  --th-900: #0c2340;
  --th-800: #10305e;
  --th-700: #143d82;
  --th-600: #1a4fa8;
  --th-500: #3f6fc4;
  --th-300: #a8c0e8;
  --th-soft: #eef3fa;

  /* 主色映射（沿用原变量名，组件自动统一变色） */
  /* 公安蓝：页脚 / 下滑导航 / 政策法规标题条统一色，改这一处即可全站换色 */
  --police-blue: #1a4fa8;
  --guard-900: #0c2340;
  --guard-800: #10305e;
  --guard-700: #143d82;
  --guard-600: #1a4fa8;
  --guard-500: #3f6fc4;
  --guard-300: #a8c0e8;

  /* 呼应校色 —— 农大绿（保留） */
  --neau-green: #1f7a3d;
  --neau-green-soft: #e6f3ea;

  /* 业务分区色 */
  --fraud: #f5791f;       /* 反诈橙 */
  --fraud-soft: #fdeee0;
  --fire: #d8392b;        /* 消防红 */
  --fire-soft: #fbe7e4;
  --traffic: #0e7490;      /* 智慧交通青 */
  --traffic-soft: #e3f2f5;
  --police: #1a4fa8;      /* 公安蓝 */
  --police-soft: #eef3fa;

  --ink: #071527;
  --ink-2: #514763;
  --muted: #8b859b;
  --line: #ece9f2;
  --bg: #f5f5fa;
  --surface: #ffffff;

  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 10px rgba(61, 26, 91, .05);
  --shadow: 0 10px 30px rgba(61, 26, 91, .08);
  --shadow-lg: 0 24px 60px rgba(61, 26, 91, .14);
  /* 版心宽度：对齐清华大学保卫部官网（外框 1620 - 左右各 50 内边距 = 内容 1520） */
  /* 2026-11-11 按用户要求：整体版心收窄、两侧留白加大 */
  --maxw: 1320px;

  --font: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB",
          "Source Han Sans SC", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* 版心：2026-11-11 收窄内容宽度、加大两侧留白；窄屏逐级递减，手机保持 16px 边距
   宽屏 1440px 下：内容 1312px / 两侧各 64px（原 1360px / 各 40px）
   超宽屏封顶 1320px，不再随窗口无限拉宽 */
.wrap { width: min(100% - 128px, var(--maxw)); margin-inline: auto; }
@media (max-width: 1024px) { .wrap { width: min(100% - 56px, var(--maxw)); } }
@media (max-width: 560px) { .wrap { width: min(100% - 32px, var(--maxw)); } }

/* ---------- 顶部滚动进度条 ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--guard-500), var(--fraud));
  z-index: 1001; transition: width .1s linear;
}

/* ---------- 顶部信息条 ---------- */
.topbar {
  background: var(--guard-900);
  color: #cfe1f5;
  font-size: 13.5px;
}
.topbar .wrap {
  display: flex; justify-content: space-between; align-items: center;
  height: 32px; gap: 16px;
}
.topbar a { color: #cfe1f5; }
.topbar .tb-left { flex: 1; min-width: 0; display: flex; gap: 18px; align-items: center; overflow: hidden; }
.topbar .tb-right { display: flex; gap: 18px; align-items: center; white-space: nowrap; }
.topbar .hot { color: #ffd27a; }

/* 走马灯：JS 驱动（main.js），从右侧进入、完全走完后停顿、再循环下一遍；
   无 JS 时降级为静态显示在起点 */
.marquee { overflow: hidden; flex: 1; position: relative; height: 38px; }
.marquee__track {
  position: absolute; white-space: nowrap; will-change: transform;
  line-height: 38px;
}
.marquee__track a { margin-right: 48px; }

/* ---------- 导航（公安蓝） ---------- */
.nav {
  position: sticky; top: 0; z-index: 1000;
  background: linear-gradient(100deg, #0b45a4 0%, #1462d6 52%, #0b45a4 100%);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .16);
  box-shadow: 0 6px 18px rgba(4, 20, 46, .22);
  transition: box-shadow .3s, background .3s;
}
.nav.scrolled {
  box-shadow: 0 10px 26px rgba(4, 20, 46, .38);
  background: linear-gradient(100deg, #0a3d94 0%, #1155bd 52%, #0a3d94 100%);
}
.nav .wrap {
  display: flex; align-items: center; justify-content: flex-start; gap: 18px;
  height: 56px;
  position: relative;
}
.nav .wrap > nav { flex: 1; min-width: 0; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand__logo {
  flex: none; display: flex; align-items: center;
  background: none; padding: 0;
  border: 0; border-radius: 0; box-shadow: none;
  filter: drop-shadow(0 2px 6px rgba(3, 16, 38, .35));
}
.brand__logo img { height: 48px; width: auto; max-width: 320px; display: block; }
.footer .brand__logo { background: none; box-shadow: none; filter: none; }

.menu { display: flex; align-items: center; gap: 4px; justify-content: center; }
/* 手机抽屉里才出现的「东农主页 / 搜索」入口，桌面水平菜单隐藏，避免重复 */
.menu > li.m-only { display: none; }
.menu > li.m-head { display: none; }
.menu > li > a {
  display: block; padding: 7px 13px; font-size: 16px; font-weight: 600;
  color: rgba(255, 255, 255, .93); border-radius: 10px; position: relative;
  transition: color .2s, background .2s;
}
.menu > li > a::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 4px; height: 2px;
  background: #ffd27a; border-radius: 2px; transform: scaleX(0); transform-origin: left;
  transition: transform .25s ease;
}
.menu > li > a:hover, .menu > li.active > a { color: #fff; background: rgba(255, 255, 255, .12); }

/* 导航下方工具条：东农主页 + 搜索 同一行，紧贴导航栏、与导航栏连成一体 */
.nav__tools {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 0;              /* 紧贴导航栏底部，视觉一体，无悬空 */
  z-index: 1100;
  /* 页面在最上面时隐藏，下滑后与导航栏一起出现（同 .nav.scrolled 时机） */
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .3s ease, visibility .3s ease, transform .3s ease;
  display: flex;
  flex-direction: row;        /* 东农主页 + 搜索 同一行 */
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  border-radius: 0 0 12px 12px;   /* 顶部齐平导航栏底部，仅下方圆角，像导航栏向下延伸 */
  background: rgba(26, 79, 168, .34);   /* 与导航栏同色（.34），半透明连为一体 */
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 10px 22px rgba(4, 20, 46, .25);
}
.nav.scrolled .nav__tools {
  opacity: 1; visibility: visible; transform: none;
}
/* 两个工具项：透明底、白字白图标直接落在蓝色条上，清晰可见 */
.nav__tool, .nav__tools .search-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  font-size: 13px; line-height: 1.2; white-space: nowrap; text-decoration: none;
  color: #fff; background: transparent; border: 0; border-radius: 8px;
  padding: 6px 12px; cursor: pointer;
  text-shadow: 0 1px 2px rgba(4, 14, 30, .5);
  transition: background .2s, color .2s;
}
.nav__tool:hover, .nav__tools .search-btn:hover { background: rgba(255, 255, 255, .2); color: #fff; }
.nav__tools .search-btn svg { width: 60px; height: 60px; display: block; fill: none; stroke: #fff; stroke-width: 1.6; }
.nav__tools .search-btn { padding: 4px 6px; }
.nav__tools .search-wrap { position: relative; display: flex; }
.nav__tools .search-pop {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 1200;
  width: 260px; padding: 10px; border-radius: 12px;
  background: #fff; box-shadow: 0 12px 30px rgba(4, 20, 46, .28); display: none;
}
.nav__tools .search-wrap.open .search-pop { display: block; }
.nav__tools .search-form { display: flex; gap: 6px; }
.nav__tools .search-form input {
  flex: 1; min-width: 0; border: 1px solid #d6deea; border-radius: 8px;
  padding: 7px 10px; font-size: 14px; color: #1a2a3a;
}
.nav__tools .search-form button {
  border: 0; border-radius: 8px; padding: 0 12px; cursor: pointer;
  background: var(--police-blue); color: #fff;
}
.nav__tools .search-form button svg { width: 16px; height: 16px; }
.menu > li > a:hover::after, .menu > li.active > a::after { transform: scaleX(1); }

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

/* ---------- 二级下拉菜单 ---------- */
.menu > li { position: relative; }
.menu > li.has-sub > a { padding-right: 30px; }
.menu > li.has-sub > a::before {
  content: ""; position: absolute; right: 17px; top: 50%;
  width: 7px; height: 7px; margin-top: -5px;
  border-right: 1.8px solid currentColor; border-bottom: 1.8px solid currentColor;
  transform: rotate(45deg); opacity: .75; transition: transform .25s, opacity .25s;
}
.menu > li.has-sub:hover > a::before,
.menu > li.has-sub:focus-within > a::before,
.menu > li.has-sub.open > a::before { transform: rotate(225deg); margin-top: -3px; opacity: 1; }

.menu .sub {
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%) translateY(-6px);
  min-width: 156px; padding: 7px; list-style: none; margin: 0; z-index: 30;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 18px 44px rgba(4, 20, 46, .22);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .22s ease, transform .22s ease, visibility .22s;
}
.menu > li.has-sub:hover > .sub,
.menu > li.has-sub:focus-within > .sub,
.menu > li.has-sub.open > .sub { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.menu .sub::before {
  content: ""; position: absolute; top: -5px; left: 50%; margin-left: -6px;
  width: 10px; height: 10px; background: #fff;
  border-left: 1px solid var(--line); border-top: 1px solid var(--line);
  transform: rotate(45deg);
}
/* 透明桥接层：填补菜单项与下拉之间的 8px 缝隙，避免鼠标下移时
   悬停中断（:hover 丢失）导致下拉菜单自动关闭 */
.menu .sub::after {
  content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px;
  background: transparent;
}
.menu .sub a {
  display: block; padding: 9px 14px; font-size: 15px; font-weight: 600;
  text-align: center;
  color: var(--ink-2); border-radius: 9px; white-space: nowrap;
  transition: background .2s, color .2s;
}
.menu .sub a:hover, .menu .sub a.active { background: var(--police-soft); color: var(--guard-700); }
.menu .sub li + li { margin-top: 2px; }
/* 悬停时父项保持高亮 */
.menu > li.has-sub:hover > a, .menu > li.has-sub:focus-within > a { color: #fff; background: rgba(255, 255, 255, .12); }

/* 二级菜单下的当前栏目高亮 */
.menu > li.has-sub.active > a { color: #fff; background: rgba(255, 255, 255, .12); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(30,136,229,.35), transparent 60%),
    radial-gradient(900px 500px at 0% 110%, rgba(31,122,61,.22), transparent 55%),
    linear-gradient(160deg, var(--guard-800), var(--guard-900));
  color: #fff; padding: 86px 0 96px;
}
/* 真实校园实景（东农迎新现场）作为底层氛围背景，上覆深色渐变保证文字可读 */
.hero::before {
  content:""; position:absolute; inset:0; z-index:0;
  background-image: url("hero_campus.jpg");
  background-size: cover; background-position: center 38%;
  opacity: .26; filter: saturate(.85) blur(1.5px);
}
.hero::after {
  content:""; position:absolute; inset:0; z-index:1;
  background: linear-gradient(120deg, rgba(10,32,66,.86) 0%, rgba(10,32,66,.72) 45%, rgba(10,32,66,.55) 100%);
}
.hero__grid { position: absolute; inset: 0; opacity: .5; z-index: 1;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 46px 46px; mask-image: radial-gradient(circle at 50% 30%, #000, transparent 80%); }
.hero__shield {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 560px; opacity: .25; animation: float 8s ease-in-out infinite; z-index: 1;
  pointer-events: none;
}
@keyframes float { 0%,100% { transform: translate(-50%, -50%) rotate(0); } 50% { transform: translate(-50%, -58%) rotate(3deg); } }
.hero .wrap { position: relative; z-index: 3; display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 17px; letter-spacing: 2px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25);
  padding: 7px 14px; border-radius: 999px; margin-bottom: 22px;
}
.hero__eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: #58e08a; box-shadow: 0 0 0 0 rgba(88,224,138,.7); animation: pulse 2s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(88,224,138,.7);} 70%{box-shadow:0 0 0 12px rgba(88,224,138,0);} 100%{box-shadow:0 0 0 0 rgba(88,224,138,0);} }
.hero h1 { font-size: clamp(30px, 4.4vw, 52px); line-height: 1.18; font-weight: 800; letter-spacing: 1px; }
.hero h1 .accent { color: #ffd27a; }
.hero p.lead { margin-top: 18px; font-size: 19px; color: #d6e6fb; max-width: 560px; }
.hero__actions { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 19px;
  padding: 13px 24px; border-radius: 999px; border: 0; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s;
}
.btn--primary { background: #fff; color: var(--guard-800); box-shadow: 0 12px 30px rgba(0,0,0,.25); }
.btn--primary:hover { transform: translateY(-3px); }
.btn--ghost { background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.4); }
.btn--ghost:hover { background: rgba(255,255,255,.2); transform: translateY(-3px); }

/* hero 数据卡 */
.hero__panel {
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22);
  border-radius: var(--radius-lg); padding: 26px; backdrop-filter: blur(8px);
  box-shadow: var(--shadow-lg);
}
.hero__panel h3 { font-size: 19px; letter-spacing: 1px; color: #cfe1f5; margin-bottom: 18px; display:flex; align-items:center; gap:8px; }
.stat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.stat {
  background: rgba(255,255,255,.08); border-radius: 14px; padding: 16px;
  border: 1px solid rgba(255,255,255,.12);
}
.stat b { font-size: 30px; font-weight: 800; color: #fff; display: block; line-height: 1.1; }
.stat b .unit { font-size: 18px; font-weight: 600; color: #bcd6f5; margin-left: 3px; }
.stat span { font-size: 17px; color: #cfe1f5; }
.hero__alarm {
  margin-top: 16px; display:flex; align-items:center; gap:12px; justify-content:space-between;
  background: linear-gradient(135deg, rgba(216,57,43,.85), rgba(183,28,28,.85));
  border-radius: 14px; padding: 14px 16px;
}
.hero__alarm .num { font-size: 22px; font-weight: 800; letter-spacing: 1px; }
.hero__alarm small { display:block; font-size: 16px; opacity:.85; }
.hero__alarm a { background:#fff; color:var(--fire); font-weight:800; padding:9px 14px; border-radius:999px; font-size: 18px; }

/* ---------- 通用区块 ---------- */
section.block { padding: 78px 0; }
/* subnav 栏目签下方紧跟的首个区块：压缩顶部留白（红框问题），其余区块间距不变 */
.subnav + .block { padding-top: 34px; }
/* 首页各板块之间间距压缩（原 78px 太大） */
body[data-page="home"] section.block { padding: 46px 0; }
/* 首页通知公告板块：淡公安蓝点阵底纹，避免大片纯白单调 */
.block--dotted {
  background-color: #fbfcfe;
  background-image:
    radial-gradient(rgba(26, 79, 168, .10) 1.2px, transparent 1.2px),
    linear-gradient(180deg, rgba(26, 79, 168, .035), rgba(26, 79, 168, 0) 42%);
  background-size: 20px 20px, 100% 100%;
}
.section-head { margin-bottom: 38px; }
.section-head .kicker { color: var(--guard-600); font-weight: 700; letter-spacing: 3px; font-size: 17px; }
.section-head h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; margin-top: 8px; color: var(--ink); position: relative; display:inline-block; }
.section-head h2::after { content:""; position:absolute; left:0; bottom:-10px; width:54px; height:4px; border-radius:4px; background: linear-gradient(90deg, var(--guard-500), var(--fraud)); }
.section-head p { margin-top: 18px; color: var(--ink-2); max-width: 720px; }
.head-flex { display:flex; align-items:flex-end; justify-content:space-between; gap:20px; flex-wrap:wrap; }
.more-link { color: var(--guard-600); font-weight: 700; font-size: 18px; display:inline-flex; align-items:center; gap:6px; }
.more-link:hover { gap: 10px; }

/* ---------- 推出动画 ---------- */
.reveal { opacity: 0; transform: translateY(42px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in-view { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }
.reveal.d5 { transition-delay: .40s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee__track, .hero__shield, .hero__eyebrow .dot { animation: none; }
}

/* ---------- 快捷服务入口 ---------- */
.quick {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: -52px; position: relative; z-index: 5;
}
.quick__card {
  background: var(--surface); border-radius: var(--radius); padding: 22px 18px; text-align: center;
  box-shadow: var(--shadow); border: 1px solid var(--line);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.quick__card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: var(--guard-300); }
.quick__ico { width: 52px; height: 52px; margin: 0 auto 12px; border-radius: 14px; display:grid; place-items:center; color:#fff; }
.quick__ico svg { width: 26px; height: 26px; }
.quick__card b { font-size: 20px; display:block; }
.quick__card span { font-size: 16.5px; color: var(--muted); }

/* ---------- 双栏列表（通知 / 动态）：两栏等高、条目均分 ---------- */
.news-grid { display: grid; grid-template-columns: minmax(0,.92fr) minmax(0,1.08fr); gap: 24px; align-items: stretch; }
.news-col {
  background: var(--surface); border-radius: var(--radius); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); overflow: hidden;
  display: flex; flex-direction: column;
}
.news-col__head { display:flex; align-items:center; gap:10px; padding: 13px 20px; border-bottom: 1px solid var(--line); flex: none; }
.news-col__head .tag { width:6px; height:20px; border-radius:4px; background: var(--guard-500); }
.news-col__head h3 { font-size: 18px; }
.news-col__head .more-link { margin-left:auto; }
.news-col { position: relative; }
.news-list { flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
.news-list li { border-bottom: 1px dashed var(--line); display: flex; }
.news-list li:last-child { border-bottom: 0; }
.news-list a { display:flex; align-items:center; gap:10px; padding: 10px 20px; transition: background .2s; width: 100%; }
.news-list a:hover { background: var(--police-soft); }
.news-list .tt { flex:1; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size: 16.5px; transition: transform .3s cubic-bezier(.16,1,.3,1); }
.news-list a:hover .tt { color: var(--guard-600); transform: translateX(4px); }
.news-list .date { flex: none; font-size: 15px; color: var(--muted); font-variant-numeric: tabular-nums; }
.news-list .badge { font-size: 13.5px; padding: 2px 8px; border-radius: 6px; background: var(--fire-soft); color: var(--fire); font-weight: 700; }

/* ---------- V2 组件输出高度约束（防止后台组件自带 swiper 等把首页区块撑爆） ---------- */
/* 保卫动态图文列表组件输出的 swiper 容器带内联 height，必须 !important 覆盖 */
.dyn__list .swiper-container { height: 380px !important; border-radius: 12px; overflow: hidden; background: var(--police-soft); }
.dyn__list { list-style: none; margin: 0; padding: 8px 14px 12px; display: flex; flex-direction: column; gap: 8px; }
/* 无内容时整块收起（默认隐藏，仅当 wrapper 里有 slide 时显示） */
.dyn__list .swiper-container { display: none !important; }
.dyn__list .swiper-container:has(.swiper-wrapper > *) { display: block !important; }
.dyn__list .swiper-slide { position: relative; height: 380px; }
.dyn__list .swiper-slide a { position: absolute; inset: 0; z-index: 2; }
.dyn__list .swiper-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dyn__list .swiper-slide p, .dyn__list .swiper-slide span, .dyn__list .swiper-slide div {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; margin: 0;
  padding: 14px 18px 12px; color: #fff; font-size: 16.5px; font-weight: 600;
  background: linear-gradient(transparent, rgba(6,39,86,.82)); text-shadow: 0 1px 4px rgba(6,39,86,.4);
}
/* 通知公告标题列表输出收敛 */
.news-list ul { margin: 0; padding: 0; list-style: none; }

/* ---------- 保卫动态：仿北京大学保卫部「折叠行 ↔ 展开面板」 ---------- */
.dyn {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); overflow: hidden;
  display: flex; flex-direction: column;
}
/* 首页通知公告(.news-col) / 保卫动态(.dyn) 两张卡片：淡蓝云彩底纹（加深版，两卡统一） */
.news-col, .dyn {
  background-color: var(--surface);
  background-image:
    radial-gradient(210px 110px at 6% -4%, rgba(96, 152, 232, .30), transparent 72%),
    radial-gradient(280px 150px at 96% 0%, rgba(96, 152, 232, .26), transparent 74%),
    radial-gradient(240px 130px at 62% 104%, rgba(96, 152, 232, .22), transparent 74%),
    radial-gradient(170px 95px at 16% 66%, rgba(126, 176, 238, .16), transparent 72%);
}
.news-col > *, .dyn > * { position: relative; z-index: 1; }
.dyn__head { display:flex; align-items:center; gap:10px; padding: 13px 20px; border-bottom: 1px solid var(--line); flex: none; }
.dyn__head .tag { width:6px; height:20px; border-radius:4px; background: var(--neau-green); }
.dyn__head h3 { font-size: 18px; }
.dyn__head .more-link { margin-left:auto; }

.dyn__list {
  list-style: none; margin: 0; padding: 8px 14px 12px;
  display: flex; flex-direction: column; gap: 8px;
}
.dyn__item { position: relative; display: flex; flex-direction: column; min-height: 0; }
.dyn__item:not(.is-open) { flex: 1 1 auto; min-height: 54px; }

/* 折叠行（默认态） */
.dyn__info {
  display: flex; flex-direction: column; justify-content: center;
  position: relative; flex: 1;
  background: var(--surface); border-radius: 12px; box-shadow: var(--shadow-sm);
  padding: 10px 16px 9px;
  transition: box-shadow .3s, transform .3s cubic-bezier(.16,1,.3,1), opacity .3s;
}
.dyn__info:hover { box-shadow: var(--shadow); }
.dyn__tt {
  display: block; font-size: 17.5px; font-weight: 600; color: var(--ink); line-height: 1.5;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0;
  padding-right: 34px;
  transition: color .3s, transform .35s cubic-bezier(.16,1,.3,1);
}
.dyn__info:hover .dyn__tt { color: var(--guard-600); transform: translateX(6px); }
.dyn__date { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 6px; }
.dyn__day {
  display: flex; align-items: center; gap: 6px;
  font-size: 14.5px; color: var(--muted); font-variant-numeric: tabular-nums;
}
.dyn__arrow {
  display: grid; place-items: center; color: var(--guard-600);
  opacity: .38; transform: translateX(-5px);
  transition: opacity .3s, transform .3s cubic-bezier(.16,1,.3,1);
}
.dyn__info:hover .dyn__arrow { opacity: 1; transform: translateX(0); }

/* 展开面板（悬停态）：左图 + 右侧标题 */
.dyn__active {
  display: none; position: relative;
  grid-template-columns: minmax(0,2.1fr) minmax(0,1fr);
  background: linear-gradient(150deg, #ffffff 0%, #eef5fe 100%);
  border-radius: 12px; overflow: hidden; box-shadow: var(--shadow);
  animation: dynIn .42s cubic-bezier(.16,1,.3,1);
  min-height: 0;
}
@keyframes dynIn { from { opacity: 0; transform: translateY(10px) scale(.99); } to { opacity: 1; transform: none; } }
.dyn__pic { position: relative; overflow: hidden; min-height: 0; display: block; }
.dyn__pic img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s cubic-bezier(.16,1,.3,1); }
.dyn__active:hover .dyn__pic img { transform: scale(1.06); }
.dyn__panel {
  display: flex; flex-direction: column; justify-content: flex-start; gap: 10px;
  padding: 14px 16px 34px; position: relative; overflow: hidden;
}
.dyn__ptitle {
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  font-size: 17px; font-weight: 800; color: var(--ink); line-height: 1.5;
  position: relative; z-index: 2;
}
.dyn__pdate {
  display: flex; align-items: center; gap: 6px; position: absolute; left: 16px; bottom: 13px; z-index: 2;
  font-size: 14.5px; color: var(--muted); font-variant-numeric: tabular-nums;
}
.dyn__panel::after {
  content: ""; position: absolute; right: -20px; bottom: -18px; width: 118px; height: 64px;
  background:
    repeating-linear-gradient(90deg, rgba(21,101,192,.16) 0 3px, transparent 3px 12px);
  border-radius: 8px; transform: skewX(-16deg);
}

/* 悬停联动：该项展开为面板，其余项收起 */
.dyn__item.is-open .dyn__info { display: none; }
.dyn__item.is-open .dyn__active { display: grid; }
.dyn__item.is-open { flex: 0 0 auto; }
.dyn__item.is-open .dyn__pic { aspect-ratio: 2 / 1; }

/* ---------- 平安校园 业务板块 ---------- */
.themes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.theme {
  position: relative; border-radius: var(--radius-lg); padding: 30px 24px; color:#fff; overflow:hidden;
  box-shadow: var(--shadow); transition: transform .3s, box-shadow .3s; min-height: 230px;
  display:flex; flex-direction:column; justify-content:space-between;
}
.theme::before { content:""; position:absolute; right:-30px; top:-30px; width:140px; height:140px; border-radius:50%; background: rgba(255,255,255,.14); }
.theme::after { content:""; position:absolute; right:18px; bottom:14px; width:60px; height:60px; opacity:.9; }
.theme:hover { transform: translateY(-8px) scale(1.01); box-shadow: var(--shadow-lg); }
.theme.t-fraud { background: linear-gradient(150deg, #ff8a3d, #ef5d0e); }
.theme.t-fire  { background: linear-gradient(150deg, #ef5350, #c62828); }
.theme.t-traffic{ background: linear-gradient(150deg, #139bb5, #0a5568); }
.theme.t-police{ background: linear-gradient(150deg, #2a8be0, #0b3d7a); }
.theme__ico { width: 56px; height: 56px; border-radius: 16px; background: rgba(255,255,255,.18); display:grid; place-items:center; }
.theme__ico svg { width: 30px; height: 30px; }
.theme h3 { font-size: 21px; margin-top: 16px; }
.theme p { font-size: 17.5px; opacity: .92; margin-top: 6px; }
.theme .go { margin-top: 14px; font-weight: 700; font-size: 18px; display:inline-flex; align-items:center; gap:6px; }

/* ---------- 通用贴士清单（safety.html 复用） ---------- */
.tips__list li { padding: 12px 0; border-bottom: 1px dashed var(--line); display:flex; gap:12px; align-items:flex-start; }
.tips__list li:last-child { border-bottom:0; }
.tips__list .n { flex:none; width:24px; height:24px; border-radius:50%; background: var(--guard-500); color:#fff; font-size: 16px; display:grid; place-items:center; font-weight:700; }

/* ---------- 安全教育（视频）：仿北京大学保卫部首页 video-box ---------- */
.edu-sec { background: linear-gradient(180deg, #eaf2fc 0%, #f6f9fd 100%); }
.edu { display: grid; grid-template-columns: minmax(0,1.02fr) minmax(0,1fr); gap: 24px; align-items: stretch; }

/* 左侧主推视频 */
.edu__main { display: block; min-height: 300px; border-radius: 12px; background: rgba(9,30,62,.06); }
.edu__thumb {
  position: relative; display: block; overflow: hidden; border-radius: 12px; background: var(--guard-900);
}
.edu__thumb--big { aspect-ratio: 16 / 9; box-shadow: var(--shadow); }
.edu__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s cubic-bezier(.16,1,.3,1); }
.edu__thumb video { width: 100%; height: 100%; object-fit: cover; display: block; background: var(--guard-900); }
.edu__main:hover .edu__thumb img, .edu__item:hover .edu__thumb img { transform: scale(1.07); }
.edu__play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 68px; height: 68px; border-radius: 50%;
  display: grid; place-items: center; color: #fff;
  background: rgba(9, 30, 62, .55); border: 2px solid rgba(255,255,255,.85);
  backdrop-filter: blur(4px);
  transition: transform .3s cubic-bezier(.16,1,.3,1), background .3s;
}
.edu__play svg { width: 30px; height: 30px; margin-left: 4px; }
.edu__main:hover .edu__play, .edu__item:hover .edu__play { transform: translate(-50%,-50%) scale(1.12); background: rgba(196, 40, 32, .88); }
.edu__play--sm { width: 40px; height: 40px; border-width: 1.5px; }
.edu__play--sm svg { width: 18px; height: 18px; margin-left: 3px; }
.edu__dur {
  position: absolute; right: 12px; bottom: 12px;
  background: rgba(6, 22, 44, .78); color: #fff; font-size: 16px; font-weight: 700;
  padding: 3px 9px; border-radius: 6px; font-variant-numeric: tabular-nums;
}
.edu__mtitle {
  display: block; margin-top: 16px; font-size: 19px; font-weight: 800; line-height: 1.5; color: var(--ink);
  transition: color .25s, transform .35s cubic-bezier(.16,1,.3,1);
}
.edu__main:hover .edu__mtitle { color: var(--guard-600); transform: translateX(5px); }

/* 右侧视频列表 */
.edu__right { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 14px; }
.edu__item {
  display: flex; align-items: center; gap: 16px;
  background: var(--surface); border-radius: 12px; padding: 12px 16px 12px 12px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .3s, transform .3s cubic-bezier(.16,1,.3,1);
}
.edu__item:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.edu__right .edu__thumb { flex: none; width: 172px; aspect-ratio: 16 / 9; }
.edu__info { flex: 1; min-width: 0; }
.edu__title {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  font-size: 20px; font-weight: 700; color: var(--ink); line-height: 1.5;
  transition: color .25s, transform .35s cubic-bezier(.16,1,.3,1);
}
.edu__item:hover .edu__title { color: var(--guard-600); transform: translateX(5px); }
.edu__date {
  display: flex; align-items: center; gap: 6px; margin-top: 10px;
  font-size: 16.5px; color: var(--muted); font-variant-numeric: tabular-nums;
}

/* ---------- 数据统计带 ---------- */
.stats-band { background: linear-gradient(135deg, var(--guard-800), var(--guard-900)); color:#fff; border-radius: var(--radius-lg); padding: 44px 30px; display:grid; grid-template-columns: repeat(4,1fr); gap:20px; text-align:center; box-shadow: var(--shadow-lg); }
.stats-band .b { font-size: clamp(30px,4vw,44px); font-weight: 800; }
.stats-band .b .unit { font-size: 20px; font-weight:600; margin-left:4px; }
.stats-band .l { font-size: 18px; color:#cfe1f5; margin-top: 4px; }

/* ---------- 概况 / 机构 ---------- */
.about-grid { display:grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items:center; }
.about-text p { color: var(--ink-2); margin-bottom: 14px; }
.about-text .hl { color: var(--guard-700); font-weight: 700; }
.honor { display:flex; gap:14px; flex-wrap:wrap; margin-top: 20px; }
.honor .chip { background: var(--neau-green-soft); color: var(--neau-green); border:1px solid #c7e6d1; padding: 10px 16px; border-radius: 12px; font-size: 17.5px; font-weight:600; }
.org { display:grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
.org--2 { grid-template-columns: repeat(2,1fr); gap: 18px; max-width: 880px; margin-inline: auto; }
.org--2 .org__card { padding: 24px; }
.org--2 .org__card h4 { font-size: 20px; }
/* 四列入口卡片（栏目入口页用，原安全警示四个子栏目入口，现留存复用） */
.org--4 { grid-template-columns: repeat(4,1fr); gap: 16px; max-width: 1180px; margin-inline: auto; }
.org--4 .org__card { padding: 18px 20px; }
.org--4 .org__card .ic { width: 42px; height: 42px; margin-bottom: 10px; }
.org--4 .org__card h4 { font-size: 18px; }
.org--4 .org__card p { font-size: 16px; line-height: 1.75; }
.org--4 .org__card .more-link { font-size: 15px; }
.org--3 { grid-template-columns: repeat(3,1fr); gap: 18px; }
.org__card { background: var(--surface); border:1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s, border-color .25s; }
.org__card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(21,101,192,.22); }
.org__card .ic { width:46px; height:46px; border-radius:12px; display:grid; place-items:center; color:#fff; margin-bottom:12px; }
.org__card h4 { font-size: 19px; line-height:1.45; }
.org__card p { font-size: 17px; color: var(--muted); margin-top:4px; }
.org--3 .org__card p { font-size: 17.5px; line-height:1.85; }
.org__card--wide { grid-column: 1 / -1; display:flex; flex-wrap:wrap; align-items:flex-start; gap: 18px;
  background: linear-gradient(120deg, #f6faff, #eef5fd); border-color: rgba(21,101,192,.18); }
.org__card--wide .ic { margin-bottom:0; flex:none; }
.org__card--wide .txt { flex:1; min-width: 240px; }
.org__tag { display:inline-block; margin-left:8px; font-size: 15px; font-weight:700; letter-spacing:.5px;
  color: var(--guard-700); background: rgba(21,101,192,.1); border-radius: 999px; padding: 2px 9px; vertical-align: 2px; }

/* ---------- 现任领导 ---------- */
.subnav { position: sticky; top: 56px; z-index: 900; background: rgba(255,255,255,.92); backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--line); box-shadow: 0 4px 14px rgba(11,61,122,.06); }
.subnav .wrap { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.subnav .wrap::-webkit-scrollbar { display: none; }
.subnav a { flex: none; padding: 14px 20px; font-size: 18.5px; font-weight: 600; color: var(--ink-2); position: relative; transition: color .25s; }
.subnav a::after { content: ""; position: absolute; left: 20px; right: 20px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: linear-gradient(90deg, var(--guard-500), var(--fraud)); transform: scaleX(0); transform-origin: left; transition: transform .3s cubic-bezier(.16,1,.3,1); }
.subnav a:hover { color: var(--guard-700); }
.subnav a.active { color: var(--guard-700); }
.subnav a.active::after { transform: scaleX(1); }

.leader-block { padding-top: 62px; }
.leaders { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; align-items: stretch; }
.leader {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 26px 24px; box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
  display: flex; flex-direction: row; align-items: center; gap: 22px;
  transition: transform .3s cubic-bezier(.16,1,.3,1), box-shadow .3s, border-color .3s;
}
.leader::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--guard-600), var(--guard-300)); opacity: .85; }
.leader:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(21,101,192,.24); }
.leader--chief { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 30px;
  background: linear-gradient(135deg, var(--guard-800), var(--guard-900)); color: #fff; border-color: transparent; }.leader--chief::before { background: linear-gradient(90deg, #ffd27a, var(--fraud)); }
.leader--chief:hover { box-shadow: 0 22px 50px rgba(6,38,79,.28); }

/* 2 寸照片占位框（35:53 ≈ 3:4.5），上线后替换为真实证件照 */
.leader__portrait { flex: none; width: 120px; height: 180px; border-radius: 12px; display: grid; place-items: center; position: relative;
  background: linear-gradient(140deg, var(--police-soft), #d6e6fa); color: var(--guard-700);
  box-shadow: inset 0 0 0 1px rgba(21,101,192,.12); border: 1.5px dashed rgba(21,101,192,.34); }
.leader__portrait span { font-size: 18px; font-weight: 700; letter-spacing: 6px; text-indent: 6px; line-height: 1; opacity: .55; }
.leader__portrait img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; display: block; }
.leader--chief .leader__portrait { width: 140px; height: 210px;
  background: rgba(255,255,255,.10); color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); border: 1.5px dashed rgba(255,255,255,.42); }
.leader--chief .leader__portrait span { font-size: 20px; }

.leader__info { flex: 1; min-width: 0; }
.leader__info h3 { font-size: 22px; font-weight: 800; letter-spacing: 1px; }
.leader--chief .leader__info h3 { font-size: 28px; }
.leader__post { font-size: 17px; font-weight: 700; color: var(--guard-600); margin-top: 4px; letter-spacing: 2px; }
.leader--chief .leader__post { color: #ffd27a; }
.leader__duty { font-size: 17.5px; line-height: 1.9; color: var(--muted); margin-top: 12px; }
.leader--chief .leader__duty { color: #d3e2f5; font-size: 18px; }
.leader__meta { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.leader__meta span { display: inline-flex; align-items: center; gap: 6px; font-size: 16.5px; color: var(--ink-2); }
.leader--chief .leader__meta span { color: #cfe1f5; }
.leader__meta svg { flex: none; opacity: .7; }
.leader-note { margin-top: 26px; padding: 14px 20px; border-radius: 14px; background: var(--police-soft);
  border-left: 4px solid var(--guard-500); font-size: 17px; line-height: 1.9; color: var(--ink-2); }
.leader-note b { color: var(--guard-700); }

/* ---------- 历任领导：时间线卡片 ---------- */
.his-note {
  max-width: 940px; margin: 0 auto 26px; padding: 12px 18px;
  border-radius: 12px; background: var(--police-soft); border-left: 4px solid var(--guard-500);
  font-size: 15px; line-height: 1.85; color: var(--ink-2);
}
.his-list { position: relative; max-width: 940px; margin: 0 auto; display: grid; gap: 20px; }
.his-list::before {
  content: ""; position: absolute; left: 21px; top: 24px; bottom: 24px; width: 2px;
  background: linear-gradient(180deg, var(--guard-500), var(--th-300), transparent);
}
.his-item {
  position: relative; display: flex; align-items: center; gap: 24px;
  padding: 22px 26px 22px 62px; background: #fff;
  border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-sm);
  transition: transform .3s cubic-bezier(.16,1,.3,1), box-shadow .3s, border-color .3s;
}
.his-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(21,101,192,.24); }
.his-item__badge {
  position: absolute; left: 8px; top: 50%; transform: translateY(-50%); z-index: 1;
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--th-500), var(--th-800)); color: #fff;
  font-size: 12px; font-weight: 800; box-shadow: 0 0 0 4px #fff, 0 3px 10px rgba(12,35,64,.18);
}
.his-item__info { flex: 1; min-width: 0; }
.his-item__row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.his-item h3 { font-size: 22px; font-weight: 800; letter-spacing: 1px; color: var(--ink); }
.his-item__term {
  flex: none; font-size: 13.5px; font-weight: 700; color: var(--th-700);
  background: var(--police-soft); border: 1px solid var(--th-300);
  border-radius: 999px; padding: 3px 12px; white-space: nowrap;
}
.his-item .leader__duty { font-size: 16px; }
@media (max-width: 700px) {
  .his-note { font-size: 14px; margin-bottom: 18px; }
  .his-list { gap: 14px; }
  .his-list::before { left: 15px; }
  .his-item { gap: 14px; padding: 16px 14px 16px 40px; border-radius: 14px; align-items: flex-start; }
  .his-item .leader__portrait { width: 76px; height: 114px; }
  .his-item .leader__portrait span { font-size: 14px; letter-spacing: 3px; text-indent: 3px; }
  .his-item__badge { left: 1px; width: 30px; height: 30px; }
  .his-item h3 { font-size: 18px; }
  .his-item .leader__post { font-size: 15px; }
  .his-item .leader__duty { font-size: 14px; line-height: 1.7; margin-top: 8px; }
}

/* ---------- 机构设置：紧凑网格 + 右侧放大详情 ---------- */
.org-hint { display:inline-flex; align-items:center; gap: 7px; margin-top: 10px; padding: 6px 13px;
  border-radius: 999px; background: rgba(21,101,192,.08); color: var(--guard-700);
  font-size: 16.5px; font-weight: 600; }
.org-layout { display:grid; grid-template-columns: minmax(0,1fr) 396px; gap: 26px; align-items: start; }

.org--dept { gap: 14px; }
.org--dept .org__card {
  --accent: var(--guard-600);
  display:flex; flex-direction:column; align-items:flex-start;
  padding: 16px 16px 12px; border-radius: 14px; min-height: 194px;
  font-family: inherit; text-align:left; cursor: pointer;
  position: relative; overflow: hidden; color: var(--ink);
}
.org--dept .org__card::after {
  content:''; position:absolute; left:0; top:0; width:100%; height:3px;
  background: var(--accent); opacity:0; transform: scaleX(.4); transform-origin: left;
  transition: opacity .3s, transform .35s cubic-bezier(.16,1,.3,1);
}
.org--dept .org__card:hover,
.org--dept .org__card.is-active { transform: translateY(-4px); border-color: var(--accent); box-shadow: 0 14px 32px rgba(11,61,122,.13); }
.org--dept .org__card:hover::after,
.org--dept .org__card.is-active::after { opacity:1; transform: scaleX(1); }
.org--dept .org__card:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.org--dept .org__card .ic { width:38px; height:38px; border-radius: 11px; margin-bottom: 10px; background: var(--accent); }
.org--dept .org__card .ic svg { width: 19px; height: 19px; }
.org--dept .org__card h4 { font-size: 19px; line-height: 1.5; letter-spacing:.2px; }
.org--dept .org__excerpt {
  font-size: 16.5px; line-height: 1.8; color: var(--muted); margin-top: 6px;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden;
}
.org__more { margin-top: auto; padding-top: 10px; display:inline-flex; align-items:center; gap: 2px;
  font-size: 15.5px; font-weight: 700; color: var(--accent); opacity: .8; transition: opacity .25s; }
.org__more i { font-style: normal; font-size: 18px; line-height: 1; transform: translateY(-1px); transition: transform .25s; }
.org--dept .org__card:hover .org__more { opacity: 1; }
.org--dept .org__card:hover .org__more i { transform: translate(3px,-1px); }

.org--dept .org__card--wide { flex-direction: row; align-items: flex-start; gap: 14px; min-height: 0; padding: 16px; }
.org--dept .org__card--wide .ic { margin-bottom: 0; flex: none; }
.org--dept .org__card--wide .txt { flex: 1; min-width: 0; }
.org--dept .org__card--wide .org__excerpt { -webkit-line-clamp: 2; }
.org--dept .org__card--wide .org__more { padding-top: 8px; }

/* 右侧放大面板 */
.dept { position: sticky; top: 96px; }
.dept__inner {
  --accent: var(--guard-600);
  position: relative; overflow: hidden; background: var(--surface);
  border: 1px solid var(--line); border-radius: 20px;
  box-shadow: 0 18px 46px rgba(11,61,122,.10);
}
.dept__inner::before {
  content:''; position:absolute; left:0; right:0; top:0; height: 4px;
  background: linear-gradient(90deg, var(--accent), rgba(255,255,255,0));
  transition: background .35s;
}
.dept__empty { padding: 34px 26px 30px; }
.dept__empty-ic { width: 52px; height: 52px; border-radius: 15px; display:grid; place-items:center;
  background: linear-gradient(135deg, var(--guard-600), var(--guard-900)); box-shadow: 0 10px 22px rgba(11,61,122,.22); margin-bottom: 16px; }
.dept__empty h3 { font-size: 19px; letter-spacing:.3px; }
.dept__empty p { font-size: 17px; line-height: 1.9; color: var(--muted); margin-top: 8px; }
.dept__chips { display:flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.dept__chips li { font-size: 16px; font-weight: 600; color: var(--guard-700); background: var(--police-soft); border-radius: 999px; padding: 4px 11px; }

.dept__body { padding: 24px 22px 18px; max-height: calc(100vh - 190px); overflow-y: auto; }
.dept__body::-webkit-scrollbar { width: 6px; }
.dept__body::-webkit-scrollbar-thumb { background: #d9e5f4; border-radius: 99px; }
.dept__head { display:flex; gap: 14px; align-items: flex-start; padding-bottom: 15px; border-bottom: 1px dashed var(--line); }
.dept__ic { flex: none; width: 48px; height: 48px; border-radius: 14px; display:grid; place-items:center;
  color:#fff; background: var(--accent); box-shadow: 0 10px 22px rgba(11,61,122,.20); transition: background .35s; }
.dept__ic svg { width: 24px; height: 24px; }
.dept__title h3 { font-size: 19px; line-height: 1.4; letter-spacing:.3px; }
.dept__tag { display:inline-block; margin-top: 6px; font-size: 15px; font-weight: 700; letter-spacing: .5px;
  color: var(--accent); background: rgba(21,101,192,.09); border-radius: 999px; padding: 2px 10px; transition: color .35s; }
.dept__tag[hidden] { display: none; }
.dept__list { display:grid; gap: 12px; margin-top: 15px; }
.dept__list li { display:flex; gap: 10px; align-items: flex-start; font-size: 17.2px; line-height: 1.85; color: var(--ink-2); }
.dept__list li .n { flex: none; margin-top: 3px; width: 21px; height: 21px; border-radius: 7px;
  background: var(--accent); color:#fff; font-size: 14.5px; font-weight: 700; display:grid; place-items:center; transition: background .35s; }
.dept__foot { margin-top: 18px; padding-top: 12px; border-top: 1px dashed var(--line);
  display:flex; justify-content: space-between; gap: 10px; font-size: 15.5px; color: var(--muted); }
.dept__count { font-weight: 700; color: var(--guard-700); }
.dept__body.is-in { animation: deptIn .36s cubic-bezier(.16,1,.3,1); }
@keyframes deptIn { from { opacity: 0; transform: translateY(12px) scale(.985); } to { opacity: 1; transform: none; } }

/* ---------- 服务指南 步骤 ---------- */
.steps { display:grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 22px; }
/* 服务指南由 6 项调整为 4 项：中等桌面宽度改 2×2，≤880px 仍由下方规则改单列 */
@media (min-width: 881px) and (max-width: 1240px) {
  .steps { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
.step { background: var(--surface); border:1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); position:relative; transition: transform .25s, box-shadow .25s; display:flex; flex-direction:column; }
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.step .no { position:absolute; top:-18px; left:22px; width:44px; height:44px; border-radius:12px; background: linear-gradient(135deg, var(--guard-500), var(--guard-800)); color:#fff; font-weight:800; font-size:20px; display:grid; place-items:center; box-shadow: var(--shadow); }
.step h4 { margin-top: 16px; font-size: 20px; }
.step p { font-size: 17.5px; color: var(--ink-2); margin-top:8px; }
.step .doc { margin-top:auto; padding-top:14px; font-size: 17px; color: var(--guard-600); font-weight:600; }
.step .doc a { color: var(--guard-600); display:inline-flex; align-items:center; gap:4px; }
.step .doc a:hover { color: var(--fraud); text-decoration: underline; }

/* 办事流程 timeline */
.flow { display:grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-top: 10px; }
.flow__item { background: var(--surface); border:1px solid var(--line); border-radius: 14px; padding: 20px; text-align:center; position:relative; }
.flow__item .circle { width:40px; height:40px; border-radius:50%; margin:0 auto 12px; background: var(--police-soft); color: var(--guard-600); display:grid; place-items:center; font-weight:800; }
.flow__item h5 { font-size: 19px; }
.flow__item p { font-size: 16.5px; color: var(--muted); margin-top:4px; }

/* ---------- 联系我们 ---------- */
.contact-grid { display:grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.contact-card { background: var(--surface); border:1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); }
.contact-card h3 { font-size:20px; margin-bottom: 18px; }
.contact-list li { display:flex; gap:14px; padding: 12px 0; border-bottom:1px dashed var(--line); align-items:flex-start; }
.contact-list li:last-child { border-bottom:0; }
.contact-list .ic { width:40px; height:40px; border-radius:10px; background: var(--police-soft); color: var(--guard-600); display:grid; place-items:center; flex:none; }
.contact-list b { display:block; font-size: 19px; }
.contact-list span { font-size: 17.5px; color: var(--ink-2); }
.map { border-radius: var(--radius); overflow:hidden; border:1px solid var(--line); min-height: 340px; background:
  linear-gradient(135deg,#dbeafe,#eef6ff); position:relative; box-shadow: var(--shadow-sm); }
.map::before { content:"东北农业大学（香坊区木材街59号）"; position:absolute; left:50%; top:50%; transform:translate(-50%,-50%); color: var(--guard-700); font-weight:700; background: rgba(255,255,255,.85); padding:10px 18px; border-radius:999px; box-shadow: var(--shadow-sm); }
.map .pin { position:absolute; left:50%; top:50%; transform:translate(-50%,-120%); }
.map .pin svg { width:34px; height:34px; filter: drop-shadow(0 6px 6px rgba(0,0,0,.25)); animation: drop 1.8s infinite; }
@keyframes drop { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-8px);} }

/* ---------- 页脚（2026-11-11 精简：仅品牌区 + 联系我们，整体压低） ---------- */
.footer { background: var(--police-blue); color: #eaf2ff; padding: 26px 0 24px; margin-top: 30px; }
.footer__top { display:grid; grid-template-columns: minmax(0,1.5fr) minmax(0,1fr) auto; gap: 48px; align-items:center; }
.footer .brand__logo img { height: 60px; max-width: 320px; }
.footer p.desc { font-size: 15.5px; line-height:1.7; margin-top: 10px; max-width: 100%; color:#d7e6fa; }
.footer h4 { color:#fff; font-size: 17px; margin-bottom: 10px; }
.footer ul li { margin-bottom: 5px; font-size: 15.5px; line-height:1.6; }
.footer ul li a:hover { color:#fff; }
.footer__links { display:flex; flex-wrap:wrap; gap:8px 10px; margin-top:12px; }
.footer__links a { background: rgba(255,255,255,.08); padding:5px 12px; border-radius:7px; font-size: 14px; }
.footer__contact { border-left:1px solid rgba(255,255,255,.18); padding-left:40px; }
/* 页脚二维码：与「联系我们」右侧并排，标注「平安东农公众号」 */
.footer__qr {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  justify-self: end;
  border-left:1px solid rgba(255,255,255,.18); padding-left:40px;
}
.footer__qr img {
  width: 96px; height: 96px; display: block; border-radius: 8px;
  background: #fff; padding: 6px; box-sizing: content-box;
}
.footer__qr span { font-size: 13.5px; color: #d7e6fa; letter-spacing: .5px; }

/* ---------- 面包屑 ---------- */
.crumb { background: var(--surface); border-bottom:1px solid var(--line); font-size: 17.5px; padding: 14px 0; color: var(--muted); }
.crumb a:hover { color: var(--guard-600); }
.crumb span { color: var(--ink); font-weight:600; }

/* 页内锚点：避开吸顶导航 + 锚点条 */
#intro, #leaders, #org { scroll-margin-top: 146px; }

/* ---------- 子页 hero ---------- */
.subhero { background: linear-gradient(150deg, var(--guard-700), var(--guard-900)); color:#fff; padding: 56px 0; position:relative; overflow:hidden; }
.subhero__grid { position:absolute; inset:0; opacity:.4; background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px); background-size:40px 40px; }
.subhero .wrap { position:relative; z-index:2; }
.subhero h1 { font-size: clamp(26px,3.4vw,38px); font-weight:800; }
.subhero p { color:#cfe1f5; margin-top:10px; max-width:680px; }

/* ---------- 文章列表（子页） ---------- */
.article-list { display:grid; gap: 14px; }
.article { display:flex; align-items:center; gap:18px; background: var(--surface); border:1px solid var(--line); border-radius: 14px; padding: 18px 22px; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.article:hover { transform: translateX(6px); box-shadow: var(--shadow); }
.article .day { flex:none; width:64px; text-align:center; }
.article .day b { font-size:24px; color: var(--guard-600); display:block; line-height:1; }
.article .day span { font-size: 16px; color: var(--muted); }
.article .meta { flex:1; }
.article .meta h4 { font-size: 18.5px; }
.article .meta p { font-size: 17px; color: var(--muted); margin-top:3px; }
.article .cat { font-size: 16px; padding:4px 10px; border-radius:8px; background: var(--police-soft); color: var(--guard-600); font-weight:600; flex:none; }
.article .cat.cat--fire { background: var(--fire-soft); color: var(--fire); }
.article .cat.cat--traffic { background: var(--traffic-soft); color: var(--traffic); }
a.article { color: inherit; text-decoration: none; }
a.article .meta h4 { transition: color .2s; }
a.article:hover .meta h4 { color: var(--guard-600); }
/* 博达「标题列表」组件输出（ul>li）兜底：贴近日期块列表的卡片观感 */
.article-list ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.article-list ul li { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 22px; box-shadow: var(--shadow-sm); }
.article-list ul li a { display: block; color: var(--ink); font-weight: 600; text-decoration: none; }
.article-list ul li a:hover { color: var(--guard-600); }

/* ---------- 返回顶部 ---------- */
.totop { position: fixed; right: 22px; bottom: 22px; width: 48px; height: 48px; border-radius: 14px; border:0; background: var(--guard-600); color:#fff; cursor:pointer; display:grid; place-items:center; box-shadow: var(--shadow-lg); opacity:0; transform: translateY(20px); transition: .3s; z-index: 900; }
.totop.show { opacity:1; transform:none; }
.totop:hover { background: var(--guard-800); }

/* ---------- 宽屏（≥1400px）：版心加宽后同步放大字号与栏宽比例，保持信息密度 ---------- */
@media (min-width: 1400px) {
  .news-list .tt { font-size: 17.5px; }
  .dyn__tt { font-size: 18.5px; }
  .article .meta h4 { font-size: 19.5px; }
  .article .meta p { font-size: 17.5px; }
  .quick__card b { font-size: 19px; }
  .quick__card span { font-size: 17px; }
  .section-head p { max-width: 820px; }
  .hero p.lead { max-width: 640px; }
  .theme h3 { font-size: 22px; }
  .theme p { font-size: 18px; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1180px) {
  /* 小屏不再悬浮放大：改为点击卡片就地展开全文 */
  .org-layout { grid-template-columns: 1fr; }
  .dept { display: none; }
  .org--dept .org__card { min-height: 0; }
  .org--dept .org__card--wide { flex-direction: column; }
  .org--dept .org__card--wide .ic { margin-bottom: 10px; }
  .org--dept .org__card.is-open .org__excerpt { -webkit-line-clamp: unset; }
  .org--dept .org__card.is-open .org__more i { transform: rotate(90deg); }
}
@media (max-width: 1080px) {
  .leaders { grid-template-columns: 1fr; }
  .leader--chief { flex-direction: row; }
  .subnav { top: 56px; }
}
@media (max-width: 700px) {
  .leader { flex-direction: column; align-items: flex-start; }
  .leader--chief { flex-direction: column; align-items: flex-start; }
  .leader__portrait { width: 100px; height: 150px; }
  .leader--chief .leader__portrait { width: 110px; height: 165px; }
  .leader--chief .leader__portrait span { font-size: 17px; }
  .leader--chief .leader__info h3 { font-size: 24px; }
}
@media (max-width: 1080px) {
  .quick { grid-template-columns: repeat(3,1fr); }
  .themes { grid-template-columns: repeat(2,1fr); }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero__panel { max-width: 520px; }
  .hero__shield { display:none; }
  .org--3 { grid-template-columns: repeat(2,1fr); }
  .org--4 { grid-template-columns: repeat(2,1fr); }
  .news-grid { grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr); gap: 20px; }
  .dyn__active { grid-template-columns: minmax(0,1.35fr) minmax(0,1fr); }
}
@media (max-width: 880px) {
  .menu { display:none; }
  .burger { display:flex; }
  /* 桌面右侧工具区在手机端收起，改由抽屉菜单末尾的「东农主页 / 搜索」入口提供 */
  .nav__tools { display: none; }
  body .nav .menu.open > li.m-only { display: block; }
  /* 移动端导航抽屉：右侧滑出 + 蓝头 + 浅色卡片 + 手风琴 */
  body .nav .menu.open {
    display:flex; position:fixed; top:0; right:0; bottom:0; z-index:300;
    width:224px; max-width:82vw; margin:0; padding:0 0 18px;
    flex-direction:column; align-items:stretch; gap:0; list-style:none;
    overflow:visible;                 /* 二级浮层要伸出抽屉左侧，不能用 auto 裁切 */
    -webkit-overflow-scrolling:touch;
    background:rgba(250,250,252,.97) !important;
    backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px);
    border-left:4px solid var(--th-600);
    box-shadow:-14px 0 40px rgba(12,35,64,.3);
  }
  body .nav .menu.open::after {
    content:""; position:absolute; left:8px; right:8px; bottom:14px; height:280px;
    background:url('fs_nav_motif.png') center bottom / contain no-repeat !important;
    opacity:.3; pointer-events:none; z-index:0;
  }
  body .nav .menu.open > li { width:100%; position:relative; z-index:1; }
  body .nav .menu.open > li.m-head {
    display:block; position:sticky; top:0; z-index:3;
    background:linear-gradient(135deg, rgba(26,79,168,.92), rgba(12,35,64,.92)) !important;
    color:#fff !important; font-size:17px; font-weight:700; letter-spacing:5px;
    padding:24px 18px 15px; margin:0;
  }
  body .nav .menu.open > li.m-head small { display:block; font-size:11px; font-weight:400; letter-spacing:3px; opacity:.75; margin-top:4px; }
  body .nav .menu.open > li.m-head .m-close {
    position:absolute; top:12px; right:12px; width:36px; height:36px; border-radius:50%;
    border:0; cursor:pointer; background:rgba(255,255,255,.18) !important; color:#fff !important; font-size:16px; line-height:1;
    transition:background .25s, transform .25s;
  }
  body .nav .menu.open > li.m-head .m-close:hover { background:rgba(255,255,255,.4) !important; transform:rotate(90deg); }
  body .nav .menu.open > li > a {
    display:flex; align-items:center; padding:12px 16px; border-bottom:0; border-radius:0; text-align:left;
    color:var(--th-800) !important; font-size:14.5px; font-weight:600; letter-spacing:1.5px; text-shadow:none;
  }
  body .nav .menu.open > li > a:hover, body .nav .menu.open > li > a.active { background:var(--th-600) !important; color:#fff !important; }
  body .nav .menu.open > li > a::after { display:none; }
  body .nav .menu.open > li.has-sub > a { justify-content:flex-start; }
  /* 与首页抽屉一致：左侧 ‹ 指示二级从左边水平滑出 */
  body .nav .menu.open > li.has-sub > a::before {
    display:block; content:"‹";
    /* 重置桌面端：那个箭头是 7x7 边框 + 绝对定位在右侧，不重置会变成小勾 */
    position:static; right:auto; top:auto; margin:0 10px 0 0;
    width:auto; height:auto; border:0; transform:none;
    font-size:19px; font-style:normal; line-height:1; opacity:.6;
    transition:transform .25s, opacity .25s;
  }
  body .nav .menu.open > li.has-sub.open > a::before { transform:translateX(-3px); opacity:1; }
  body .nav .menu.open > li.has-sub > a::after { display:none; }

  /* 移动端：二级菜单从抽屉左侧水平滑出（左右开合，不再上下手风琴） */
  body .nav .menu > li.has-sub > .sub {
    position: absolute; right: 100%; left: auto; top: -8px; z-index: 6;
    width: 132px; min-width: 96px; max-width: calc(100vw - min(260px, 82vw) - 12px);
    margin: 0; padding: 8px 6px; list-style: none;
    background:#e4ecf9 !important; border:0 !important; border-radius:2px 0 0 2px;
    box-shadow:-6px 6px 18px rgba(12,35,64,.16);
    visibility:hidden; opacity:0; transform:translateX(14px); pointer-events:none;
    transition:opacity .26s ease, transform .26s ease, visibility .26s;
  }
  body .nav .menu > li.has-sub:hover > .sub,
  body .nav .menu > li.has-sub:focus-within > .sub,
  body .nav .menu > li.has-sub.open > .sub {
    visibility:visible; opacity:1; transform:translateX(0); pointer-events:auto;
  }
  body .nav .menu > li.has-sub > .sub::before,
  body .nav .menu > li.has-sub > .sub::after { display:none; }
  body .nav .menu .sub a {
    color:var(--th-900) !important; padding:11px 10px; text-align:left !important; text-shadow:none;
    font-size:14px; font-weight:700; letter-spacing:1.5px; border-radius:6px; border-bottom:0;
    white-space:normal;
  }
  body .nav .menu .sub a:hover, body .nav .menu .sub a.active { background:var(--th-600) !important; color:#fff !important; }
  body .nav .menu .sub li + li { margin-top:2px; }

  .news-grid, .about-grid, .contact-grid, .steps, .flow, .stats-band, .org { grid-template-columns: 1fr; }
  .news-grid { gap: 20px; }
  .edu { grid-template-columns: 1fr; gap: 18px; }
  .edu__right { gap: 12px; }
  .footer__top { grid-template-columns: minmax(0,1.2fr) minmax(0,1fr) auto; gap: 26px; }
  .footer__contact { padding-left: 24px; }
  .footer p.desc { font-size: 14.5px; }
  .topbar .tb-right { display:none; }
  .quick { margin-top: -30px; }
}
@media (max-width: 560px) {
  .quick { grid-template-columns: repeat(2,1fr); }
  /* 四大防线：一排两个、分两行，卡片紧凑化 */
  .themes { grid-template-columns: repeat(2,1fr); gap: 12px; }
  .theme { padding: 18px 14px; min-height: 0; border-radius: 18px; }
  .theme::before { width: 90px; height: 90px; right: -20px; top: -20px; }
  .theme__ico { width: 42px; height: 42px; border-radius: 12px; }
  .theme__ico svg { width: 22px; height: 22px; }
  .theme h3 { font-size: 16.5px; margin-top: 10px; }
  .theme p { font-size: 13px; margin-top: 4px; line-height: 1.55; }
  .theme .go { margin-top: 10px; font-size: 12.5px; }
  .footer { padding: 24px 0 22px; }
  .footer__top { grid-template-columns: 1fr; gap: 16px; }
  .footer .brand__logo img { height: 46px; }
  .footer__contact { border-left:0; border-top:1px solid rgba(255,255,255,.18); padding: 14px 0 0; }
  .footer__qr { border-left:0; border-top:1px solid rgba(255,255,255,.18); padding: 14px 0 0; justify-self:start; align-items:center; }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .edu__mtitle { font-size: 20px; margin-top: 12px; }
  .edu__right .edu__thumb { width: 128px; }
  .edu__title { font-size: 18.5px; }
  .edu__play { width: 54px; height: 54px; }
  .edu__play svg { width: 24px; height: 24px; }
  .edu__play--sm { width: 34px; height: 34px; }
  .edu__play--sm svg { width: 15px; height: 15px; }
  .dyn__active { grid-template-columns: 1fr; }
  .dyn__pic { aspect-ratio: 16 / 9; }
  .dyn__panel { padding: 16px 16px 14px; }
  .dyn__ptitle { font-size: 17.5px; }
  .dyn__info { padding: 10px 14px 9px; }
  .dyn__tt { font-size: 17px; padding-right: 28px; }
  .dyn__item { margin: 0 12px 9px; }
}
@media (max-width: 1080px) {
  .brand__logo img { height: 34px; }
}
@media (max-width: 560px) {
  .brand__logo { padding: 0; border-radius: 0; }
  .brand__logo img { height: 30px; }
}

/* ============================================================
   二版公安蓝版 · 清新化覆盖层（专用）
   设计思路：
   · 页头保留「深公安蓝」——白色校徽与白色菜单保持可读，稳重大气
   · 正文区改为白 / 浅紫，大量留白，弱化重色块，突出「清新」
   · 全部功能色（反诈橙 / 消防红 / 交通青）保留，仅降低面积与饱和
   ============================================================ */

/* 顶部信息条：浅底深字 */
.topbar {
  background: #f6f2fb;
  color: var(--ink-2);
  border-bottom: 1px solid #ece4f6;
}
.topbar a { color: var(--ink-2); }
.topbar a:hover { color: var(--th-700); }
.topbar .hot { color: #c0392b; font-weight: 700; }

/* 导航：深公安蓝 */
.nav {
  background: linear-gradient(100deg, #0c2340 0%, #2456b0 52%, #0c2340 100%);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 6px 20px rgba(61, 26, 91, .22);
}
.nav.scrolled {
  background: linear-gradient(100deg, #081a33 0%, #123672 52%, #081a33 100%);
  box-shadow: 0 12px 30px rgba(61, 26, 91, .32);
}
.menu > li > a::after { background: #e3b8ff; }
.menu > li > a:hover,
.menu > li.active > a,
.menu > li.has-sub:hover > a,
.menu > li.has-sub:focus-within > a,
.menu > li.has-sub.active > a { background: rgba(255, 255, 255, .14); color: #fff; }

/* 首页 Banner：宽幅校园全景（替换只需覆盖 assets/img/banner.jpg） */
.banner { position: relative; background: #eef3fb; line-height: 0; overflow: hidden; }
.banner img { display: block; width: 100%; height: auto; max-height: 420px; object-fit: cover; object-position: center 55%; }
.banner::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px;
  background: linear-gradient(to bottom, rgba(250, 247, 253, 0) 0%, #f6f9fd 100%);
  pointer-events: none;
}

/* Hero：浅色清新 */
.hero {
  background: linear-gradient(165deg, #f6f9fd 0%, #f1f5fd 58%, #faf6fc 100%);
  color: var(--ink);
  padding: 62px 0 88px;
}
.hero::before, .hero::after { display: none; }
/* 盾牌：移到左侧、标题下方，做极淡的公安蓝水印 */
.hero__shield { fill: var(--th-800); }
.hero__grid {
  opacity: 1;
  background-image:
    linear-gradient(rgba(124, 47, 176, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 47, 176, .055) 1px, transparent 1px);
}
.hero__eyebrow {
  background: #fff; border: 1px solid #e8d8f5; color: var(--th-700);
  box-shadow: 0 6px 18px rgba(61, 26, 91, .07);
}
.hero__eyebrow .dot { background: var(--th-500); box-shadow: 0 0 0 0 rgba(124, 47, 176, .55); }
.hero h1 { color: var(--ink); }
.hero h1 .accent { color: var(--th-600); }
.hero p.lead { color: var(--ink-2); }

/* Hero 按钮 */
.btn--primary {
  background: linear-gradient(135deg, #1a4fa8, #10305e);
  color: #fff;
  box-shadow: 0 14px 30px rgba(124, 47, 176, .28);
}
.btn--primary:hover { box-shadow: 0 18px 38px rgba(124, 47, 176, .36); }
.btn--ghost {
  background: #fff; color: var(--th-700); border: 1px solid #dcc6ee;
  box-shadow: 0 6px 16px rgba(61, 26, 91, .06);
}
.btn--ghost:hover { background: var(--th-soft); }

/* Hero 数据卡：白卡 + 浅紫统计块 */
.hero__panel {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 20px 48px rgba(61, 26, 91, .12);
  backdrop-filter: none; -webkit-backdrop-filter: none;
}
.hero__panel h3 { color: var(--th-700); }
.stat { background: var(--th-soft); border: 1px solid #ecdff7; }
.stat b { color: var(--th-700); }
.stat b .unit { color: var(--th-600); }
.stat span { color: var(--ink-2); }

/* 报警条：浅红底 + 深红字 */
.hero__alarm {
  background: linear-gradient(135deg, #fff5f3, #ffe8e3);
  border: 1px solid #f8d3cc;
  color: #8f2418;
}
.hero__alarm .num { color: #b3261e; }
.hero__alarm small { color: #a8574c; opacity: 1; }
.hero__alarm a {
  background: linear-gradient(135deg, #e14b3b, #b71c1c);
  color: #fff;
  box-shadow: 0 8px 18px rgba(183, 28, 28, .26);
}

/* 统计带：浅紫卡片 */
.stats-band {
  background: linear-gradient(135deg, #f6effc 0%, #eee4fa 100%);
  color: var(--ink);
  border: 1px solid #ebdcf7;
  box-shadow: 0 18px 44px rgba(61, 26, 91, .10);
}
.stats-band .b { color: var(--th-700); }
.stats-band .b .unit { color: var(--th-600); }
.stats-band .l { color: var(--ink-2); }

/* 安全主题卡：白卡 + 彩色图标片（图标为白色描边，靠色片提供对比） */
.theme {
  background: #fff; border: 1px solid var(--line); color: var(--ink);
  box-shadow: 0 10px 28px rgba(61, 26, 91, .08);
}
.theme::before { background: rgba(124, 47, 176, .05); }
/* 分变体浅色底（与原始 .theme.t-* 同权重，靠后覆盖） */
.theme.t-fraud  { background: linear-gradient(150deg, #fff9f3 0%, #ffeede 100%); border-color: #ffe0c7; }
.theme.t-fire   { background: linear-gradient(150deg, #fff7f6 0%, #ffeae7 100%); border-color: #ffd7d2; }
.theme.t-traffic{ background: linear-gradient(150deg, #f4fcfd 0%, #e6f6f8 100%); border-color: #cfebee; }
.theme.t-police { background: linear-gradient(150deg, #f9f4fd 0%, #f0e7fa 100%); border-color: #e3d3f3; }
.theme__ico { background: rgba(255, 255, 255, .95); box-shadow: 0 8px 20px rgba(61, 26, 91, .10); }
.theme.t-fraud .theme__ico  { background: linear-gradient(135deg, #ff8a3d, #ef5d0e); }
.theme.t-fire .theme__ico   { background: linear-gradient(135deg, #ef5350, #c62828); }
.theme.t-traffic .theme__ico{ background: linear-gradient(135deg, #139bb5, #0a5568); }
.theme.t-police .theme__ico { background: linear-gradient(135deg, #1a4fa8, #10305e); }
.theme h3 { color: var(--ink); }
.theme p { color: var(--ink-2); opacity: 1; }
.theme.t-fraud .go  { color: #c2570a; }
.theme.t-fire .go   { color: #b3261e; }
.theme.t-traffic .go{ color: #0a5568; }
.theme.t-police .go { color: #143d82; }

/* 安全教育区：浅紫底 */
.edu-sec { background: linear-gradient(180deg, #f2f6fc 0%, #fdfbfe 100%); }

/* 子页 hero：浅色 */
.subhero { background: linear-gradient(150deg, #f7f1fc 0%, #eef3fb 100%); color: var(--ink); }
.subhero__grid {
  opacity: .55;
  background-image:
    linear-gradient(rgba(124, 47, 176, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 47, 176, .06) 1px, transparent 1px);
}
.subhero h1 { color: var(--ink); }
.subhero p { color: var(--ink-2); }

/* 细节点缀统一为公安蓝 */
.org__card:hover { border-color: rgba(124, 47, 176, .24); }
.org__card--wide { background: linear-gradient(120deg, #faf6fe, #f1f5fd); border-color: rgba(124, 47, 176, .18); }
.dyn__active { background: linear-gradient(150deg, #ffffff 0%, #f8f2fd 100%); }
.subnav { box-shadow: 0 4px 14px rgba(61, 26, 91, .06); }
.leader:hover { border-color: rgba(124, 47, 176, .24); }

/* 移动端 Banner 保持一定视觉高度 */
@media (max-width: 640px) {
  .banner img { height: 160px; max-height: none; }
}

/* ---- Hero 右侧：快捷服务 2x2 半透明卡（图标/文字居中，参考清华保卫处） ---- */
.hero__apps { display:grid; grid-template-columns:1fr 1fr; gap:16px; align-content:center; width:100%; max-width:720px; }
.hero__app {
  position: relative; z-index: 1;
  display:flex; flex-direction:column; align-items:center; justify-content:flex-start;
  text-align:center; text-decoration:none;
  background:rgba(255,255,255,.58); border:1px solid rgba(255,255,255,.85);
  border-radius:20px; padding:22px 14px 18px;
  box-shadow:0 14px 32px rgba(12,35,64,.10);
  backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px);
  transition:transform .22s, box-shadow .22s, border-color .22s, background .22s;
}
.hero__app:hover {
  transform:translateY(-4px); background:rgba(255,255,255,.88);
  border-color:var(--th-300);
  box-shadow:0 20px 40px rgba(12,35,64,.17);
}
.hero__app-ico {
  width:62px; height:62px; border-radius:50%; margin-bottom:13px;
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 8px 20px rgba(12,35,64,.24);
}
.hero__app-ico svg { width:26px; height:26px; }
.hero__app-tx { min-width:0; }
.hero__app-tx b { display:block; font-size:17.5px; color:var(--ink); line-height:1.25; }
.hero__app-tx small { display:block; font-size:13.5px; color:var(--muted); margin-top:4px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }

/* ---- 顶栏微信公众号悬浮二维码（参考清华保卫处） ---- */
.topbar { position: relative; z-index: 1002; }
.wx-wrap {
  position: relative; display: inline-flex; align-items: center; gap: 6px;
  cursor: pointer; color: var(--th-700); padding: 4px 2px;
}
.wx-ico { width: 19px; height: 19px; transition: transform .25s, color .22s; }
.wx-wrap:hover { color: var(--th-500); }
.wx-wrap:hover .wx-ico { transform: scale(1.18) rotate(-6deg); }
/* 悬浮桥：避免鼠标移向弹层时经过空隙导致关闭 */
.wx-wrap::after {
  content: ""; position: absolute; left: -10px; right: -10px; top: 100%;
  height: 16px; display: none;
}
.wx-wrap:hover::after, .wx-wrap:focus-within::after { display: block; }
.wx-pop {
  position: absolute; top: calc(100% + 12px); right: -12px; z-index: 70;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 11px 11px 9px; box-shadow: 0 18px 44px rgba(8,23,51,.28);
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  opacity: 0; visibility: hidden; transform: translateY(10px) scale(.96);
  transition: opacity .28s ease, transform .28s ease, visibility .28s;
  pointer-events: none;
}
.wx-pop::before {
  content: ""; position: absolute; top: -6.5px; right: 26px;
  width: 12px; height: 12px; background: #fff; transform: rotate(45deg);
  border-left: 1px solid var(--line); border-top: 1px solid var(--line);
}
.wx-pop img { display: block; width: 118px; height: 118px; border-radius: 6px; background: #fff; }
.wx-pop b { font-size: 13.5px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.wx-wrap:hover .wx-pop, .wx-wrap:focus-within .wx-pop {
  opacity: 1; visibility: visible; transform: translateY(0) scale(1);
  pointer-events: auto;
}
@media (hover: none) { .wx-pop { display: none; } } /* 触屏无悬浮，隐藏弹层避免误触 */

/* ---- 顶栏搜索：点击放大镜弹出输入框 ---- */
.search-wrap { position: relative; display: inline-flex; align-items: center; }
.search-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border: 0; border-radius: 50%;
  background: rgba(26,79,168,.10); color: var(--th-700);
  cursor: pointer; transition: background .22s, transform .22s, color .22s;
}
.search-btn svg { width: 16px; height: 16px; }
.search-btn:hover { background: rgba(26,79,168,.20); color: var(--th-800); transform: scale(1.08); }
.search-wrap.open .search-btn { background: #fff; color: var(--th-700); transform: rotate(90deg); }
.search-pop {
  position: absolute; top: calc(100% + 14px); right: -6px; z-index: 70;
  width: 320px; background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 12px; box-shadow: 0 18px 44px rgba(8,23,51,.28);
  opacity: 0; visibility: hidden; transform: translateY(10px) scale(.97);
  transition: opacity .26s ease, transform .26s ease, visibility .26s;
  pointer-events: none;
}
.search-pop::before {
  content: ""; position: absolute; top: -6.5px; right: 12px;
  width: 12px; height: 12px; background: #fff; transform: rotate(45deg);
  border-left: 1px solid var(--line); border-top: 1px solid var(--line);
}
.search-wrap.open .search-pop {
  opacity: 1; visibility: visible; transform: translateY(0) scale(1); pointer-events: auto;
}
.search-form { display: flex; gap: 8px; }
.search-form input[type="text"] {
  flex: 1; min-width: 0; height: 40px; border: 1.5px solid var(--line); border-radius: 10px;
  padding: 0 12px; font-size: 15px; color: var(--ink); background: #faf8fd;
  outline: none; transition: border-color .2s, background .2s, box-shadow .2s;
}
.search-form input[type="text"]:focus {
  border-color: var(--th-500); background: #fff;
  box-shadow: 0 0 0 3px rgba(26,79,168,.12);
}
.search-form button {
  flex: 0 0 40px; height: 40px; border: 0; border-radius: 10px; cursor: pointer;
  background: linear-gradient(135deg, var(--th-600), var(--th-800)); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 14px rgba(26,79,168,.3); transition: filter .2s, transform .2s;
}
.search-form button svg { width: 17px; height: 17px; }
.search-form button:hover { filter: brightness(1.12); transform: translateY(-1px); }

/* ==== 保卫处精神标语（hero 徽章条） ==== */
.slogan { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.slogan__item {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 18px; border-radius: 999px;
  font-size: 16.5px; font-weight: 800; letter-spacing: 3px;
  color: var(--th-800);
  background: rgba(255,255,255,.62);
  border: 1px solid var(--th-300);
  box-shadow: 0 8px 20px rgba(12,35,64,.10);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.slogan__item::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; flex: none;
  background: var(--th-500); box-shadow: 0 0 8px rgba(26,79,168,.5);
}
.slogan__item:nth-child(even)::before { background: var(--th-700); }
@media (max-width: 640px) { .slogan__item { font-size: 14.5px; padding: 8px 13px; letter-spacing: 2px; } }

/* ---------- Hero v2：校园实景横幅 + 四联服务卡 ---------- */
.hero {
  background: #fff;
  padding: 0 0 64px;
  overflow: visible;
}
.hero::before, .hero::after, .hero__grid, .hero__shield { display: none !important; }
.hero__photo {
  /* 2026-11-11 下午换新横幅（用户提供 2671×1000，2.671:1）：
     按宽度铺满、底部对齐完整显示，不裁标语与人物；
     深蓝垫底色仅作加载兜底——比例修正后图片铺满全部区域，不再露出深色条 */
  height: clamp(240px, 22vw, 290px);
  background: #0b2352 url('hero_guard_banner.jpg') center bottom / 100% auto no-repeat;
  position: relative; overflow: hidden;
}
/* 深蓝横幅上的白色渐变会洗掉落款白字，改为极淡过渡，兼顾半透明服务卡 */
.hero__photo::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 110px;
  background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,.03) 60%, rgba(255,255,255,.14) 100%);
  z-index: 2; pointer-events: none;
}
/* 首页 Banner 三张循环（后台三个图片组件位分别绑定） */
.hero__slides { position: absolute; inset: 0; z-index: 1; }
.hero__slide {
  position: absolute; inset: 0; opacity: 0;
  transition: opacity .9s ease;
}
.hero__slide.is-on { opacity: 1; }
.hero__slide-img { width: 100%; height: 100%; object-fit: cover; object-position: center bottom; display: block; }
/* 本地预览占位（上线后由后台图片组件替换，占位层随之消失） */
.hero__slide.is-ph::after {
  content: attr(data-ph);
  position: absolute; inset: 0; display: grid; place-items: center;
  background: rgba(9, 26, 58, .6); color: rgba(255, 255, 255, .92);
  font-size: 17px; letter-spacing: 2px;
}
.hero__dots {
  position: absolute; left: 50%; transform: translateX(-50%); bottom: 126px;
  display: flex; gap: 8px; z-index: 3;
}
.hero__dot {
  width: 9px; height: 9px; border-radius: 999px; cursor: pointer;
  background: rgba(255, 255, 255, .45); border: 0; padding: 0;
  transition: width .3s, background .3s;
}
.hero__dot.is-on { width: 26px; background: #fff; }
@media (max-width: 880px) { .hero__dots { display: none; } }
.hero .wrap { position: relative; z-index: 3; display: block; margin-top: -96px; }
.hero__cards {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px;
}
.hcard {
  position: relative; display: flex; flex-direction: column; align-items: center;
  text-align: center; text-decoration: none;
  background: rgba(255,255,255,.64); border-radius: 10px; padding: 0 18px 22px;
  border-top: 4px solid #ef8c1f;
  box-shadow: 0 18px 44px rgba(20,40,80,.16);
  transition: transform .25s, box-shadow .25s, background .25s;
}
.hcard:hover {
  transform: translateY(-6px); background: rgba(255,255,255,.80);
  box-shadow: 0 26px 54px rgba(20,40,80,.24);
}
.hcard__ico {
  width: 64px; height: 64px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-top: -32px; margin-bottom: 14px;
  box-shadow: 0 10px 22px rgba(20,40,80,.28);
}
.hcard__ico svg { width: 30px; height: 30px; }
.hcard b { font-size: 20px; color: #14345c; letter-spacing: 1px; text-shadow: 0 1px 3px rgba(255,255,255,.95); }
.hcard small { font-size: 13.5px; color: #6f7f92; margin-top: 6px; letter-spacing: 1px; text-shadow: 0 1px 3px rgba(255,255,255,.95); }
.hcard__go {
  margin-top: 16px; display: inline-flex; align-items: center; gap: 6px;
  background: linear-gradient(135deg, #ff9f43, #ef7d15); color: #fff;
  font-size: 14px; font-weight: 700; letter-spacing: 2px;
  padding: 8px 20px; border-radius: 999px;
  transition: background .25s, gap .25s;
}
.hcard:hover .hcard__go { background: linear-gradient(135deg, #ef7d15, #d96a08); gap: 10px; }
.hcard__go i { font-style: normal; font-size: 17px; line-height: 1; }
@media (max-width: 980px) {
  .hero__cards { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .hero .wrap { margin-top: -92px; }
}
@media (max-width: 560px) {
  .hero { padding: 0 0 32px; }
  /* 四联服务卡：手机端 2×2 紧凑排布，整体缩小结石，一屏看全 */
  .hero__cards { gap: 16px; }
  .hero .wrap { margin-top: -66px; }
  .hero__photo { height: 220px; }
  .hcard { padding: 0 10px 14px; border-top-width: 3px; border-radius: 8px; }
  .hcard__ico { width: 46px; height: 46px; margin-top: -23px; margin-bottom: 8px; }
  .hcard__ico svg { width: 22px; height: 22px; }
  .hcard b { font-size: 15.5px; }
  .hcard small { font-size: 11.5px; margin-top: 3px; letter-spacing: .5px; }
  .hcard__go { margin-top: 9px; font-size: 12px; padding: 5px 14px; letter-spacing: 1px; }
  .hcard__go i { font-size: 14px; }
}

/* ---------- 二级页页头：校园实景照片背景 ---------- */
.subhero {
  background: url('subhero.jpg') center 62% / cover no-repeat;
  position: relative;
  padding: 64px 0;
}
/* 白色渐变压层：左侧浓、右侧淡，保证深色标题可读又露出照片 */
.subhero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(100deg, rgba(255,255,255,.82) 0%, rgba(255,255,255,.4) 45%, rgba(255,255,255,.08) 100%);
}
.subhero__grid { display: none !important; }
.subhero h1 { position: relative; z-index: 2; color: #12365f; }
.subhero p { position: relative; z-index: 2; color: #35547a; }

/* ============ 头部改版：安全提示走马灯移到 logo 之后，导航加高、logo 放大 ============ */
.nav .wrap { height: 78px; }
.brand__logo img { height: 64px; max-width: 420px; }
/* 走马灯：紧跟 logo 右侧 */
.navticker {
  display: flex; align-items: center; gap: 10px;
  flex: 0 1 340px; min-width: 0; margin-left: 10px; overflow: hidden;
}
.navticker .hot { color: #ff8c3a; font-weight: 700; font-size: 13.5px; white-space: nowrap; letter-spacing: 1px; }
.navticker .marquee { height: 32px; }
.navticker .marquee__track { line-height: 32px; }
.navticker .marquee__track a { font-size: 13.5px; color: inherit; margin-right: 40px; }
/* topbar 左侧走马灯移走，右侧工具区靠右 */
.topbar .wrap { justify-content: flex-end; }
/* 子页二级导航 sticky 偏移跟随新导航高度 */
.subnav { top: 78px; }
/* 首页透明态：走马灯文字转浅色 */
@media (max-width: 1180px) {
  .navticker { display: none; }
}
@media (max-width: 880px) {
  .nav .wrap { height: 64px; }
  .brand__logo img { height: 44px; }
  .subnav { top: 64px; }
}
/* 走马灯与菜单之间留出呼吸空间，菜单不压缩 */
.navticker { margin-right: 14px; }
.menu { flex: 0 0 auto; }
/* 安全提示走马灯已从头部移除，清理相关样式 */
.navticker { display: none !important; }

/* ============ 走马灯回归顶部细条（logo 上方），无「安全提示」标签 ============ */
.topbar .wrap { justify-content: space-between; }
.tb-ticker {
  flex: 1 1 auto; min-width: 0; display: flex; align-items: center;
  margin-right: 18px; overflow: hidden;
}
.tb-ticker .marquee { flex: 1; height: 38px; }
.tb-ticker .marquee__track { line-height: 38px; }
.tb-ticker .marquee__track a {
  font-size: 13.5px; color: var(--ink-2); margin-right: 48px;
  transition: color .2s;
}
.tb-ticker .marquee__track a:hover { color: var(--th-600); }
/* 首页透明态：顶部细条文字转浅色 */
@media (max-width: 880px) {
  .tb-ticker { display: none; }
}

/* 首页透明态：顶部细条文字压在亮天空上，加深投影保证可读 */

/* 透明态顶部细条：自上而下的轻微压暗，让白字在亮天空上更清晰（非色块） */

/* ==================================================================
   全站统一头部（与首页一致）：默认透明压在内容上，下滑后半透明灰
   ================================================================== */
body .topbar, body .nav {
  position: fixed; left: 0; right: 0;
  transition: transform .45s cubic-bezier(.22,.61,.36,1), background .3s ease,
              box-shadow .3s ease, border-color .3s ease;
}
body .topbar { top: 0; z-index: 1002; }
body .nav { top: 0; z-index: 1000; }
/* 透明态 */
body .topbar {
  background: transparent; border-bottom-color: transparent; box-shadow: none;
  color: rgba(255,255,255,.9); backdrop-filter: none; -webkit-backdrop-filter: none;
}
body .topbar a { color: rgba(255,255,255,.9); }
body .topbar .hot { color: #ffd27a; }
body .nav {
  background: transparent; border-bottom-color: transparent; box-shadow: none;
  backdrop-filter: none; -webkit-backdrop-filter: none;
}
/* 旧蓝色渐变状态清零（改由 body.nav-solid 统一控制） */
body .nav.scrolled {
  background: transparent; border-bottom-color: transparent; box-shadow: none;
  backdrop-filter: none; -webkit-backdrop-filter: none;
}
/* 透明态文字：白字 + 投影，压在照片/内容上都可读 */
body .nav .menu > li > a {
  color: rgba(255,255,255,.96);
  text-shadow: 0 1px 4px rgba(8,18,36,.65);
}
body .nav .menu > li > a:hover,
body .nav .menu > li.active > a,
body .nav .menu > li.has-sub:hover > a,
body .nav .menu > li.has-sub:focus-within > a,
body .nav .menu > li.has-sub.active > a {
  background: rgba(255,255,255,.16); color: #fff;
}
body .nav .menu > li > a i, body .nav .menu > li > a em { color: rgba(255,255,255,.85); }
body .nav .menu > li > a::after { background: #ffd27a; }
/* 顶部细条轻微压暗，白字更清晰 */
body .topbar::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to bottom, rgba(8,20,38,.5) 0%, rgba(8,20,38,.18) 70%, rgba(8,20,38,0) 100%);
}
/* 内页导航配色（topbar 已删，规则保留防回滚） */
body.nav-solid .topbar {
  background: rgba(26,79,168,.34);
  border-bottom-color: rgba(255,255,255,.10);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
body.nav-solid .topbar::before { display: none; }
/* 内页导航：全站统一基准色 —— 公安蓝 .34 + blur（用户指定，首页同用此色） */
body.nav-solid .nav {
  background: rgba(26,79,168,.34);
  border-bottom-color: rgba(255,255,255,.12);
  box-shadow: 0 10px 26px rgba(10,24,52,.16);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
/* 底色更透，白字保留轻投影保证可读 */
body.nav-solid .nav .menu > li > a { text-shadow: 0 1px 3px rgba(6,20,44,.55); }
/* 页面顶部让出固定头部高度；照片延伸到头部背后 */
.subhero { padding-top: 142px; }
.subnav { top: 78px; }
@media (max-width: 880px) {
  .subhero { padding-top: 118px; }
  .subnav { top: 64px; }
}

/* ==================================================================
   第一屏「保卫处风采」拼贴图组 + 动态文案面板
   ================================================================== */
.fs__collage {
  position: absolute; left: 4.5%; top: 50%; transform: translateY(-50%);
  width: 46%; height: 74%; z-index: 2;
}
.fs__shot {
  position: absolute; display: block; overflow: hidden;
  border-radius: 8px; background: #fff;
  box-shadow: 0 14px 30px rgba(12,35,64,.28);
  transition: transform .45s cubic-bezier(.22,.61,.36,1), box-shadow .35s, opacity .35s;
  animation: fsFloat 7s ease-in-out infinite;
  will-change: transform;
}
.fs__shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fs__shot-cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 8px 10px;
  font-size: 13px; font-weight: 700; letter-spacing: 2px; color: #fff;
  background: linear-gradient(to top, rgba(8,22,44,.82), rgba(8,22,44,0));
  opacity: 0; transition: opacity .3s;
}
.fs__shot:hover .fs__shot-cap, .fs__shot.is-on .fs__shot-cap { opacity: 1; }
.fs__shot:hover, .fs__shot.is-on {
  z-index: 6;
  box-shadow: 0 26px 54px rgba(12,35,64,.42);
  animation-play-state: paused;
}
.fs__shot:hover { scale: 1.1; }
.fs__shot.is-on { filter: saturate(1.05); }
.fs__collage:hover .fs__shot:not(.is-on):not(:hover) { opacity: .78; }
/* 六张拼贴的位置与各自浮动节奏 */
.fs__shot:nth-child(1) { left: 0;    top: 6%;  width: 40%; height: 30%; transform: rotate(-4deg); animation-duration: 7.2s; }
.fs__shot:nth-child(2) { left: 26%;  top: 0;    width: 33%; height: 26%; transform: rotate(2.5deg); animation-duration: 6.4s; animation-delay: -.8s; }
.fs__shot:nth-child(3) { left: 55%;  top: 10%;  width: 30%; height: 24%; transform: rotate(-1.5deg); animation-duration: 8.1s; animation-delay: -1.6s; }
.fs__shot:nth-child(4) { left: 8%;   top: 44%;  width: 31%; height: 25%; transform: rotate(2deg);   animation-duration: 7.6s; animation-delay: -2.4s; }
.fs__shot:nth-child(5) { left: 34%;  top: 38%;  width: 34%; height: 27%; transform: rotate(-2.5deg); animation-duration: 6.8s; animation-delay: -3.2s; }
.fs__shot:nth-child(6) { left: 63%;  top: 42%;  width: 29%; height: 23%; transform: rotate(3.5deg);  animation-duration: 7.9s; animation-delay: -4s; }
@keyframes fsFloat {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -9px; }
}
/* 左右箭头与圆点 */
.fs__arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 7;
  width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,.9); color: #12365f; font-size: 26px; line-height: 1;
  box-shadow: 0 6px 18px rgba(12,35,64,.24);
  transition: background .25s, transform .25s;
}
.fs__arrow:hover { background: #fff; transform: translateY(-50%) scale(1.08); }
.fs__arrow--prev { left: 1.2%; }
.fs__arrow--next { left: 51%; }
.fs__dots {
  position: absolute; left: 4.5%; bottom: 8%; z-index: 7;
  display: flex; gap: 8px; align-items: center;
}
.fs__dot {
  width: 9px; height: 9px; padding: 0; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(12,35,64,.28); transition: background .25s, transform .25s;
}
.fs__dot.is-on { background: #12365f; transform: scale(1.35); }
/* 右侧动态文案面板 */
.fs__panel {
  position: absolute; right: 7%; top: 15%; z-index: 3;
  width: 30%; max-width: 420px; text-align: left;
  opacity: 0; transform: translateY(14px);
}
.fs__panel.is-in { animation: fsPanelIn .6s cubic-bezier(.22,.61,.36,1) forwards; }
@keyframes fsPanelIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.fs__panel-tag {
  display: inline-block; padding: 5px 14px; border-radius: 999px;
  background: rgba(12,35,64,.08); border: 1px solid rgba(12,35,64,.16);
  color: #12365f; font-size: 13.5px; font-weight: 700; letter-spacing: 2px;
}
.fs__panel-title {
  margin: 14px 0 10px; font-size: clamp(22px, 2.2vw, 32px); line-height: 1.32;
  font-weight: 800; color: #102f52; letter-spacing: 1px;
}
.fs__panel-desc {
  margin: 0 0 18px; font-size: 15.5px; line-height: 1.85; color: #3c5a7d;
}
.fs__panel-go {
  display: inline-flex; align-items: center; gap: 6px;
  background: linear-gradient(135deg, #1a4fa8, #10305e); color: #fff;
  font-size: 15px; font-weight: 700; letter-spacing: 2px;
  padding: 11px 24px; border-radius: 999px; text-decoration: none;
  box-shadow: 0 12px 26px rgba(16,48,94,.26);
  transition: transform .25s, box-shadow .25s, gap .25s;
}
.fs__panel-go:hover { transform: translateY(-3px); gap: 11px; box-shadow: 0 18px 34px rgba(16,48,94,.34); }
/* 金色标语下移，作为右栏收尾 */
@media (max-width: 1100px) {
  .fs__collage { width: 54%; left: 3%; }
  .fs__arrow--next { left: 58%; }
  .fs__panel { width: 38%; right: 4%; }
}
@media (max-width: 820px) {
  .fs__collage {
    position: relative; left: 0; top: 0; transform: none;
    width: 100%; height: 300px; margin-top: 92px;
  }
  .fs__shot:nth-child(n) { width: 46%; height: 44%; }
  .fs__shot:nth-child(1) { left: 0; top: 4%; }
  .fs__shot:nth-child(2) { left: 26%; top: 0; }
  .fs__shot:nth-child(3) { left: 52%; top: 6%; }
  .fs__shot:nth-child(4) { left: 6%; top: 52%; }
  .fs__shot:nth-child(5) { left: 34%; top: 48%; }
  .fs__shot:nth-child(6) { left: 60%; top: 54%; }
  .fs__arrow { display: none; }
  .fs__dots { position: relative; left: 0; bottom: 0; margin: 14px 0 0 6px; }
  .fs__panel { position: relative; right: 0; top: 0; width: auto; max-width: none; padding: 0 24px; }
}

/* 拼贴照片加白色相框，避免底部暗边显得突兀 */
.fs__shot {
  border: 3px solid #fff;
  box-shadow: 0 12px 26px rgba(12,35,64,.26);
}
.fs__shot img { height: calc(100% - 0px); }
.fs__collage { height: 78%; top: 52%; }

/* ==================================================================
   统一内容页：列表 / 详情 / 搜索
   ================================================================== */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 26px; }
.chip {
  border: 1px solid var(--line); background: #fff; color: var(--ink-2);
  font-size: 14.5px; font-weight: 600; letter-spacing: 1px;
  padding: 8px 18px; border-radius: 999px; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.chip:hover { border-color: var(--th-500); color: var(--th-700); }
.chip.is-on { background: var(--th-600); border-color: var(--th-600); color: #fff; }
.plist { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.plist__empty { padding: 60px 0; text-align: center; color: var(--muted); font-size: 16px; }
.pcard {
  display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); text-decoration: none;
  transition: transform .25s, box-shadow .25s;
}
.pcard:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.pcard__img { display: block; height: 176px; overflow: hidden; background: var(--th-soft); }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.pcard:hover .pcard__img img { transform: scale(1.06); }
.pcard__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; }
.pcard__tag {
  align-self: flex-start; font-size: 12px; font-weight: 700; letter-spacing: 1.5px;
  color: var(--th-600); background: var(--th-soft); padding: 3px 10px; border-radius: 999px;
}
.pcard__title { font-size: 17.5px; color: var(--ink); line-height: 1.45; }
.pcard__sum {
  font-size: 13.5px; color: var(--muted); line-height: 1.7;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.pcard__date { font-size: 12.5px; color: var(--th-500); margin-top: 2px; }
/* 详情页 */
.pdetail { background: #fff; padding: 46px 0 70px; }
.pdetail__meta { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.pdetail__meta a { color: var(--th-600); font-weight: 700; }
.pdetail__meta .dot { color: var(--line); }
.pdetail__title {
  margin: 14px 0 22px; font-size: clamp(26px, 3.2vw, 40px); line-height: 1.35;
  font-weight: 800; color: var(--ink); letter-spacing: .5px;
}
.pdetail__figure { margin: 0 0 28px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.pdetail__figure img { width: 100%; display: block; }
.pdetail__body { max-width: 860px; }
.pdetail__body p { font-size: 16.5px; line-height: 2.05; color: var(--ink-2); margin: 0 0 18px; }
.pdetail__tags { display: flex; gap: 8px; margin: 26px 0 0; }
.pdetail__tags span {
  font-size: 12.5px; color: var(--th-700); background: var(--th-soft);
  padding: 4px 12px; border-radius: 999px;
}
.pdetail__nav {
  display: flex; justify-content: space-between; gap: 20px;
  margin: 34px 0 26px; padding-top: 20px; border-top: 1px solid var(--line);
}
.pdetail__nav a { font-size: 14.5px; color: var(--th-700); text-decoration: none; max-width: 46%; }
.pdetail__nav a:hover { color: var(--th-600); }
/* 搜索页 */
.psearch__form { display: flex; gap: 10px; margin-bottom: 16px; }
.psearch__form input {
  flex: 1; min-width: 0; padding: 13px 18px; font-size: 16px;
  border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink);
}
.psearch__form input:focus { outline: none; border-color: var(--th-500); }
.psearch__form button {
  border: 0; cursor: pointer; padding: 0 30px; border-radius: 999px;
  background: linear-gradient(135deg, #1a4fa8, #10305e); color: #fff; font-size: 15.5px; font-weight: 700;
}
.psearch__hint { font-size: 14.5px; color: var(--muted); margin-bottom: 22px; }
.psearch__hint b { color: var(--th-700); }
@media (max-width: 680px) {
  .plist { grid-template-columns: 1fr; }
  .pdetail__nav { flex-direction: column; gap: 10px; }
  .pdetail__nav a { max-width: 100%; }
}

/* ==================================================================
   首页中部「保卫处风采」拼贴图组组件
   ================================================================== */
.block--gallery { background: linear-gradient(180deg, #f2f6fc 0%, #f6f9fd 60%, #eef3fa 100%); }
.gal {
  display: grid; grid-template-columns: 1.08fr .92fr; gap: 46px; align-items: center;
  margin-top: 8px;
}
/* 保卫风采右侧：纯色盾牌衬于文字底下（上移重叠），轻微浮动动画 */
.gal__right { position: relative; isolation: isolate; }
.gal__shield {
  position: absolute; right: -34px; bottom: -26px;
  width: 470px; height: 470px;
  fill: var(--police-blue); opacity: .13;
  z-index: -1; pointer-events: none;
  animation: shieldFloat 9s ease-in-out infinite;
}
.gal__tabs, .gal__panel { position: relative; z-index: 1; }
@keyframes shieldFloat {
  0%, 100% { transform: translateY(0) rotate(0); }
  50%      { transform: translateY(-14px) rotate(2.4deg); }
}
@media (prefers-reduced-motion: reduce) { .gal__shield { animation: none; } }
@media (max-width: 880px) { .gal__shield { display: none; } }
.gal__left { position: relative; }
.gal__collage { position: relative; height: 430px; }
.gal__shot {
  position: absolute; display: block; overflow: hidden;
  border: 3px solid #fff; border-radius: 9px; background: #fff;
  box-shadow: 0 12px 26px rgba(12,35,64,.24);
  transition: transform .45s cubic-bezier(.22,.61,.36,1), box-shadow .35s, opacity .35s;
  animation: fsFloat 7s ease-in-out infinite;
  will-change: transform;
}
.gal__shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* 每格内部链接撑满整格（后台组件位输出 a > img + 标题 + 摘要） */
.gal__shot-link { display: block; width: 100%; height: 100%; color: inherit; }
.gal__shot-link:focus-visible { outline: 2px solid #fff; outline-offset: -4px; }
/* 标题/摘要只供右侧面板读取，视觉隐藏（屏幕阅读器仍可读） */
.is-sr-only {
  position: absolute !important; width: 1px !important; height: 1px !important;
  padding: 0 !important; margin: -1px !important; overflow: hidden !important;
  clip: rect(0 0 0 0) !important; white-space: nowrap !important; border: 0 !important;
}
.gal__shot-cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 7px 10px;
  font-size: 12.5px; font-weight: 700; letter-spacing: 2px; color: #fff;
  background: linear-gradient(to top, rgba(8,22,44,.85), rgba(8,22,44,0));
  opacity: 0; transition: opacity .3s;
}
.gal__shot:hover .gal__shot-cap, .gal__shot.is-on .gal__shot-cap { opacity: 1; }
.gal__shot:hover, .gal__shot.is-on {
  z-index: 6; box-shadow: 0 26px 54px rgba(12,35,64,.40); animation-play-state: paused;
}
.gal__shot:hover { scale: 1.1; }
.gal__collage:hover .gal__shot:not(.is-on):not(:hover) { opacity: .8; }
/* 四张拼贴的位置与各自浮动节奏（与四个二级栏目一一对应，两行两列错落） */
.gal__shot:nth-child(1) { left: 0;    top: 3%;  width: 46%; height: 41%; transform: rotate(-3.2deg); animation-duration: 7.2s; }
.gal__shot:nth-child(2) { left: 49%;  top: 0;   width: 49%; height: 38%; transform: rotate(2.4deg);  animation-duration: 6.4s; animation-delay: -.9s; }
.gal__shot:nth-child(3) { left: 3%;   top: 50%; width: 44%; height: 39%; transform: rotate(2.2deg);  animation-duration: 8.1s; animation-delay: -1.8s; }
.gal__shot:nth-child(4) { left: 47%;  top: 45%; width: 52%; height: 43%; transform: rotate(-2.6deg); animation-duration: 7.6s; animation-delay: -2.7s; }
/* 箭头与圆点 */
.gal__arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 7;
  width: 42px; height: 42px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,.94); color: #12365f; font-size: 24px; line-height: 1;
  box-shadow: 0 6px 18px rgba(12,35,64,.2);
  transition: background .25s, transform .25s;
}
.gal__arrow:hover { background: #fff; transform: translateY(-50%) scale(1.08); }
.gal__arrow--prev { left: -14px; }
.gal__arrow--next { right: -14px; }
.gal__dots { position: absolute; left: 0; bottom: -26px; display: flex; gap: 8px; align-items: center; }
.gal__dot {
  width: 9px; height: 9px; padding: 0; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(12,35,64,.25); transition: background .25s, transform .25s;
}
.gal__dot.is-on { background: #12365f; transform: scale(1.35); }
/* 右侧：板块标签 + 文案 */
.gal__tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.gal__tab {
  border: 1px solid var(--line); background: #fff; color: var(--ink-2);
  font-size: 13.5px; font-weight: 600; letter-spacing: 1px;
  padding: 6px 14px; border-radius: 999px; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.gal__tab:hover { border-color: var(--th-500); color: var(--th-700); }
.gal__tab.is-on { background: var(--th-600); border-color: var(--th-600); color: #fff; }
.gal__panel { opacity: 0; transform: translateY(14px); }
.gal__panel.is-in { animation: galPanelIn .55s cubic-bezier(.22,.61,.36,1) forwards; }
@keyframes galPanelIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.gal__tag {
  display: inline-block; padding: 5px 14px; border-radius: 999px;
  background: var(--th-soft); border: 1px solid rgba(18,54,95,.14);
  color: #12365f; font-size: 13px; font-weight: 700; letter-spacing: 2px;
}
.gal__title {
  margin: 14px 0 10px; font-size: clamp(21px, 2vw, 30px); line-height: 1.35;
  font-weight: 800; color: var(--ink); letter-spacing: .5px;
}
.gal__desc { margin: 0 0 20px; font-size: 15.5px; line-height: 1.9; color: var(--ink-2); }
.gal__go {
  display: inline-flex; align-items: center; gap: 6px;
  background: linear-gradient(135deg, #1a4fa8, #10305e); color: #fff;
  font-size: 15px; font-weight: 700; letter-spacing: 2px;
  padding: 11px 24px; border-radius: 999px; text-decoration: none;
  box-shadow: 0 12px 26px rgba(16,48,94,.24);
  transition: transform .25s, box-shadow .25s, gap .25s;
}
.gal__go:hover { transform: translateY(-3px); gap: 11px; box-shadow: 0 18px 34px rgba(16,48,94,.32); }
@media (max-width: 980px) {
  .gal { grid-template-columns: 1fr; gap: 34px; }
  .gal__collage { height: 380px; }
  .gal__arrow--prev { left: 4px; } .gal__arrow--next { right: 4px; }
}
@media (max-width: 560px) {
  .gal__collage { height: 300px; }
  .gal__shot:nth-child(n) { width: 47%; height: 43%; }
  .gal__shot:nth-child(1) { left: 0; top: 2%; }
  .gal__shot:nth-child(2) { left: 50%; top: 0; }
  .gal__shot:nth-child(3) { left: 2%; top: 52%; }
  .gal__shot:nth-child(4) { left: 48%; top: 48%; }
}

/* 拼贴微调：容器高度与圆点、标签排布（四张图两行铺满） */
.gal__collage { height: 400px; }
.gal__shot:nth-child(4) { top: 46%; height: 42%; }
.gal__dots { bottom: 22px; }
.gal__tabs { gap: 7px; }
.gal__tab { font-size: 13px; padding: 6px 12px; letter-spacing: .5px; }
/* 四个栏目标签一行排布 */
.gal__tabs { gap: 6px; }
.gal__tab { font-size: 12.5px; padding: 5px 11px; }

/* ==================================================================
   「保卫处风采」地球自转图组（左侧）
   ================================================================== */
.globe {
  position: relative; height: 430px;
  perspective: 1150px;
  display: flex; align-items: center; justify-content: center;
}
/* 球体本体 */
.globe__sphere {
  position: absolute; left: 50%; top: 50%; width: 320px; height: 320px;
  margin: -160px 0 0 -160px; border-radius: 50%;
  background:
    radial-gradient(circle at 34% 28%, #f2f7fd 0%, #dfeaf7 42%, #c2d6ea 72%, #a7bfd9 100%);
  box-shadow: inset -16px -12px 36px rgba(12,35,64,.16), 0 22px 44px rgba(12,35,64,.13);
  overflow: hidden;
}
/* 经纬线：随球体缓慢自转，强化“地球”观感 */
.globe__sphere::before,
.globe__sphere::after {
  content: ""; position: absolute; left: -20%; right: -20%; height: 62px;
  border: 1px solid rgba(18,54,95,.16); border-radius: 50%;
  top: 22%;
}
.globe__sphere::after { top: 52%; height: 92px; }
.globe__ring {
  position: absolute; inset: -6%; border-radius: 50%;
  border: 1px dashed rgba(18,54,95,.18);
  animation: globeSpin 26s linear infinite;
}
@keyframes globeSpin { from { transform: rotate(0); } to { transform: rotate(360deg); } }
/* 球体投影 */
.globe__shadow {
  position: absolute; left: 50%; bottom: 18px; width: 320px; height: 34px;
  margin-left: -160px; border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(12,35,64,.16), rgba(12,35,64,0) 70%);
}
/* 照片环绕层 */
.globe__stage {
  position: absolute; inset: 0;
  transform-style: preserve-3d;
  transform: rotateY(var(--a, 0deg));
  transition: transform 1.05s cubic-bezier(.22,.61,.36,1);
}
.globe__item {
  position: absolute; left: 50%; top: 50%;
  width: 196px; height: 258px; margin: -129px 0 0 -98px;
  display: block; overflow: hidden;
  border: 3px solid #fff; border-radius: 8px; background: #fff;
  box-shadow: 0 16px 34px rgba(12,35,64,.3);
  transform: rotateY(calc(var(--i) * 60deg)) translateZ(300px);
  backface-visibility: hidden;
  transition: box-shadow .35s, filter .35s;
  cursor: pointer;
}
.globe__item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.globe__item-cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 8px 10px;
  font-size: 13px; font-weight: 700; letter-spacing: 2px; color: #fff; text-align: center;
  background: linear-gradient(to top, rgba(8,22,44,.86), rgba(8,22,44,0));
}
.globe__item:hover { box-shadow: 0 26px 54px rgba(12,35,64,.42); }
/* 正面主图：略放大并保持不透明，两侧逐渐淡出 */
.globe__item.is-front { box-shadow: 0 30px 62px rgba(12,35,64,.4); }
.globe__item.is-side { filter: saturate(.85) brightness(.94); }
@media (max-width: 980px) {
  .globe { height: 380px; }
  .globe__item { width: 168px; height: 222px; margin: -111px 0 0 -84px; transform: rotateY(calc(var(--i) * 60deg)) translateZ(250px); }
  .globe__sphere { width: 270px; height: 270px; margin: -135px 0 0 -135px; }
}
@media (max-width: 560px) {
  .globe { height: 330px; }
  .globe__item { width: 140px; height: 186px; margin: -93px 0 0 -70px; transform: rotateY(calc(var(--i) * 60deg)) translateZ(210px); }
}

/* 地球自转细化：球体放大外露、照片带俯视倾斜、经纬线随自转漂移 */
.globe__sphere { width: 430px; height: 430px; margin: -215px 0 0 -215px; }
.globe__shadow { width: 400px; margin-left: -200px; }
.globe__sphere::before,
.globe__sphere::after {
  border-color: rgba(18,54,95,.22);
  animation: globeDrift 26s linear infinite;
}
.globe__sphere::after { animation-direction: reverse; }
@keyframes globeDrift {
  0%   { transform: translateX(-7%); }
  50%  { transform: translateX(7%); }
  100% { transform: translateX(-7%); }
}
.globe__item {
  width: 172px; height: 226px; margin: -113px 0 0 -86px;
  transform: rotateX(-7deg) rotateY(calc(var(--i) * 60deg)) translateZ(330px);
}
@media (max-width: 980px) {
  .globe__sphere { width: 340px; height: 340px; margin: -170px 0 0 -170px; }
  .globe__item { width: 150px; height: 198px; margin: -99px 0 0 -75px; transform: rotateX(-7deg) rotateY(calc(var(--i) * 60deg)) translateZ(270px); }
}
@media (max-width: 560px) {
  .globe__sphere { width: 270px; height: 270px; margin: -135px 0 0 -135px; }
  .globe__item { width: 124px; height: 164px; margin: -82px 0 0 -62px; transform: rotateX(-7deg) rotateY(calc(var(--i) * 60deg)) translateZ(215px); }
}

/* 球面“大陆”纹理，强化地球观感 */
.globe__sphere {
  background:
    radial-gradient(ellipse 52% 34% at 26% 36%, rgba(122,163,205,.42), transparent 70%),
    radial-gradient(ellipse 40% 46% at 72% 60%, rgba(122,163,205,.36), transparent 72%),
    radial-gradient(ellipse 30% 22% at 60% 24%, rgba(122,163,205,.30), transparent 74%),
    radial-gradient(circle at 34% 26%, #f4f8fd 0%, #e1ebf8 42%, #c4d8eb 72%, #a9c1da 100%);
}

/* ==================================================================
   移动端整体布局优化（≤700px 手机竖屏，2026-11-05）
   ================================================================== */
@media (max-width: 700px) {
  /* 防止个别绝对定位元素造成横向滚动 */
  body { overflow-x: hidden; }

  /* —— 首屏标语定位/字号已统一移至上方 ≤880 规则，此处不再重复定义 —— */
  .fs__logo { height: 46px; }
  .fs__menu { top: 12px; right: 12px; width: 44px; height: 44px; }
  .fs__bgdots { bottom: 14px; gap: 9px; }
  .fs__bgdots i { width: 8px; height: 8px; }

  /* —— 内页 —— */
  .subhero p { font-size: 14.5px; }
  .crumb { font-size: 13px; }
}


/* ==================================================================
   科室详情页（机构设置 → 查看全部职责）
   仅提供页面架构与后台字段占位框，内容由博达站群后台输出
   ================================================================== */
.org__more { text-decoration: none; }
.org__more:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.deptdetail { background: var(--surface); border: 1px solid var(--line); border-radius: 20px;
  box-shadow: 0 18px 46px rgba(11,61,122,.10); overflow: hidden; }
.deptdetail__head { display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  padding: 30px 34px 26px; border-bottom: 1px solid var(--line);
  background: linear-gradient(120deg, #f7faff, #ffffff 62%); }
.deptdetail__ic { flex: none; width: 60px; height: 60px; border-radius: 17px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--guard-600), var(--guard-900));
  box-shadow: 0 10px 22px rgba(11,61,122,.22); }
.deptdetail__heading { flex: 1; min-width: 220px; }
.deptdetail__heading .kicker { display: block; font-size: 12px; letter-spacing: 2px;
  color: var(--guard-600); font-weight: 800; margin-bottom: 5px; }
.deptdetail__heading h2 { font-size: 30px; line-height: 1.3; letter-spacing: .5px; }
.deptdetail__heading p { font-size: 15px; color: var(--muted); margin-top: 6px; }
.deptdetail__back { flex: none; font-size: 15px; font-weight: 700; color: var(--guard-700);
  background: var(--th-soft); border: 1px solid var(--line); border-radius: 999px;
  padding: 9px 18px; text-decoration: none; transition: background .25s, transform .25s; }
.deptdetail__back:hover { background: #dfeaf9; transform: translateX(-3px); }

.deptdetail__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: 26px 34px 6px; }
.deptdetail__fact { border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; background: #fbfcff; }
.deptdetail__label { display: inline-flex; align-items: center; gap: 8px;
  font-size: 15px; color: var(--guard-700); font-weight: 700; }
.deptdetail__value { display: block; margin-top: 10px; font-size: 19px; color: var(--ink); }
.deptdetail__value.is-empty { font-size: 15px; font-weight: 600; color: var(--muted); }

.deptdetail__sec { padding: 26px 34px 4px; }
.deptdetail__sec h3 { display: flex; align-items: center; gap: 10px; font-size: 21px; letter-spacing: .3px; }
.deptdetail__sec h3 i { flex: none; font-style: normal; width: 29px; height: 29px; border-radius: 9px;
  display: grid; place-items: center; background: var(--guard-600); color: #fff; font-size: 13px; font-weight: 800; }
.deptdetail__ph { display: flex; gap: 16px; align-items: flex-start; margin-top: 14px; padding: 22px;
  border: 1px dashed #c9d8ef; border-radius: 14px; background: #f8fbff; }
.deptdetail__ph-ic { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--th-soft); color: var(--guard-600); }
.deptdetail__ph b { font-size: 17px; }
.deptdetail__ph p { font-size: 15.5px; line-height: 1.85; color: var(--muted); margin-top: 6px; }

.deptdetail__photo { margin-top: 14px; min-height: 250px; aspect-ratio: 16 / 6;
  border: 2px dashed #c9d8ef; border-radius: 16px;
  background: repeating-linear-gradient(45deg,#f8fbff,#f8fbff 14px,#f2f7ff 14px,#f2f7ff 28px);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; }
.deptdetail__photo-ph { display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--guard-600); }
.deptdetail__photo-ph b { font-size: 18px; letter-spacing: 1px; }
.deptdetail__photo small { font-size: 14px; color: var(--muted); padding: 0 18px; line-height: 1.7; }
.deptdetail__photo img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 14px; }

.deptdetail__duty { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 12px; }
.deptdetail__duty li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 18px;
  border: 1px solid var(--line); border-radius: 12px; background: #fbfcff;
  font-size: 16.5px; line-height: 1.85; color: var(--ink-2); }
.deptdetail__duty li .n { flex: none; margin-top: 3px; width: 24px; height: 24px; border-radius: 7px;
  background: var(--guard-600); color: #fff; font-size: 13.5px; font-weight: 800; display: grid; place-items: center; }
.deptdetail__duty li p { margin: 0; }
.deptdetail__duty li.deptdetail__duty-ph { border-style: dashed; color: var(--muted); font-size: 15.5px; }
.deptdetail__note { margin: 26px 34px 32px; padding: 12px 16px; border-left: 4px solid #e8a33d;
  background: #fff8e8; border-radius: 0 10px 10px 0; font-size: 14.5px; line-height: 1.85; color: #8a6220; }

/* 博达通用 content 模板：机构设置栏目专用「科室信息」组件位。
   默认 hidden，后台填入任一字段后由 main.js 自动显示，其他栏目文章不受影响。 */
.dept-profile[hidden] { display: none !important; }
.dept-profile { margin: 0 0 24px; padding: 20px 22px; border: 1px solid var(--line);
  border-radius: 16px; background: #fbfcff; }
.dept-profile__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.dept-profile__fact { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; background: #fff; }
.dept-profile__label { display: block; font-size: 14px; font-weight: 700; color: var(--guard-700); }
.dept-profile__field { display: block; min-height: 26px; margin-top: 8px;
  font-size: 18px; color: var(--ink); line-height: 1.6; }
.dept-profile__photo { margin: 16px 0 0; min-height: 200px; border: 2px dashed #c9d8ef; border-radius: 14px;
  background: #f8fbff; display: flex; align-items: center; justify-content: center; text-align: center; padding: 14px; }
.dept-profile__photo img { max-width: 100%; max-height: 420px; border-radius: 10px; }
.dept-profile__ph { color: var(--muted); font-size: 15px; }

@media (max-width: 880px) {
  .deptdetail__head { padding: 22px 20px 20px; gap: 14px; }
  .deptdetail__ic { width: 50px; height: 50px; border-radius: 14px; }
  .deptdetail__heading h2 { font-size: 24px; }
  .deptdetail__back { margin-left: 64px; }
  .deptdetail__facts { grid-template-columns: 1fr; gap: 12px; padding: 20px 20px 4px; }
  .deptdetail__sec { padding: 22px 20px 4px; }
  .deptdetail__sec h3 { font-size: 19px; }
  .deptdetail__ph { padding: 16px; gap: 12px; }
  .deptdetail__photo { min-height: 190px; aspect-ratio: 16 / 9; }
  .deptdetail__note { margin: 22px 20px 26px; }
  .dept-profile__facts { grid-template-columns: 1fr; }
}


/* 科室介绍：调取机构设置页职责条目的编号列表 */
.deptdetail__ph--intro { display: block; padding: 16px 20px; }
.deptdetail__intro { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.deptdetail__intro li { display: flex; gap: 10px; align-items: flex-start;
  font-size: 16px; line-height: 1.8; color: var(--ink-2); }
.deptdetail__intro li .n { flex: none; margin-top: 3px; width: 23px; height: 23px; border-radius: 7px;
  background: var(--guard-600); color: #fff; font-size: 13px; font-weight: 800; display: grid; place-items: center; }
.deptdetail__intro li p { margin: 0; }
.deptdetail__intro li.deptdetail__duty-ph { color: var(--muted); font-size: 15.5px; }
@media (max-width: 880px) {
  .deptdetail__ph--intro { padding: 14px; }
  .deptdetail__intro li { font-size: 15.5px; }
}


/* ---------- 历任领导：名单已录入后的字段占位 ---------- */
.his-item__term.is-empty {
  color: var(--muted); background: #f4f7fb; border: 1px dashed var(--line);
  font-weight: 600;
}
.his-item__pending {
  margin-top: 12px; font-size: 15px; line-height: 1.8; color: var(--muted);
  padding-left: 12px; border-left: 3px solid var(--line);
}
.his-item h3 { letter-spacing: 2px; }
@media (max-width: 700px) {
  .his-item__pending { font-size: 14px; line-height: 1.7; margin-top: 9px; }
  .his-item__term.is-empty { font-size: 12.5px; padding: 2px 9px; }
}

/* ============ 首页第一屏移除后：顶部信息条常驻浅色，导航常驻 ============ */
body[data-page="home"] .topbar {
  position: static; transform: none; pointer-events: auto;
  background: #f6f2fb; color: var(--ink-2);
  border-bottom: 1px solid #ece4f6; box-shadow: none;
  backdrop-filter: none; -webkit-backdrop-filter: none;
}
body[data-page="home"] .topbar a { color: var(--ink-2); }
body[data-page="home"] .topbar .hot { color: #c0392b; }
body[data-page="home"] .topbar::before { display: none; }

/* ---------- 首页导航：页面顶部完全透明，下滑后过渡为半透明蓝玻璃 ---------- */
body[data-page="home"] .nav {
  position: sticky; top: 0; transform: none; pointer-events: auto;
  /* 2026-11-11：顶部导航完全透明，下滑后才过渡为半透明蓝玻璃 */
  background-color: transparent; background-image: none;
  border-bottom-color: transparent; box-shadow: none;
  backdrop-filter: none; -webkit-backdrop-filter: none;
  transition: background-color .35s ease, box-shadow .35s ease, border-color .35s ease;
}
/* 透明态文字：白字 + 深色投影，压在校园实景亮天空上仍可读 */
body[data-page="home"] .nav .menu > li > a {
  color: #fff;
  -webkit-text-stroke: .5px rgba(5,18,38,.6);
  text-shadow: 0 1px 2px rgba(4,14,30,.95), 0 0 8px rgba(4,14,30,.75);
}
body[data-page="home"] .nav .brand__logo {
  filter: drop-shadow(0 0 1px rgba(4,16,36,.9)) drop-shadow(0 1px 4px rgba(4,16,36,.9)) drop-shadow(0 0 12px rgba(4,16,36,.6));
}
body[data-page="home"] .nav .burger span {
  box-shadow: 0 1px 3px rgba(4,16,36,.9), 0 0 7px rgba(4,16,36,.7);
}
/* 下滑态：半透明蓝玻璃（顶部透明 → 下滑渐变为半透明），白字保留轻投影 */
body[data-page="home"] .nav.scrolled {
  /* 2026-11-11：下滑后与内页导航同色（公安蓝 .34），全站导航蓝统一 */
  background-color: rgba(26,79,168,.34);
  background-image: none;
  border-bottom-color: rgba(255,255,255,.12);
  box-shadow: 0 10px 26px rgba(10,24,52,.16);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
/* 底色更透，白字保留轻投影保证可读 */
body[data-page="home"] .nav.scrolled .menu > li > a { text-shadow: 0 1px 3px rgba(5,16,36,.6); }

/* 让校园实景照片向上延伸到透明导航背后：只延长照片，四联卡位置不变。
   display:flow-root 建立 BFC，避免首子元素负 margin 与父级外边距折叠。 */
body[data-page="home"] .hero { display: flow-root; --home-nav-h: 78px; }
/* 四联卡与下方板块的空隙压缩（原 padding-bottom 88px，用户要求减半） */
body[data-page="home"] .hero { padding-bottom: 22px; }
body[data-page="home"] .hero__photo {
  margin-top: calc(-1 * var(--home-nav-h));
  /* 按新横幅 2.671:1 比例自适应高度（1000/2671 = 37.44vw），图片完整显示；
     bottom 对齐：图占满视口可见区（元素顶部的导航补偿区在视口外），不露垫底色 */
  height: calc(37.44vw + var(--home-nav-h));
  background-position: center bottom;
  background-size: 100% auto;
}
@media (max-width: 880px) {
  body[data-page="home"] .hero { --home-nav-h: 64px; }
}
@media (max-width: 560px) {
  body[data-page="home"] .hero__photo {
    height: calc(220px + var(--home-nav-h));
    /* 窄屏按高度铺满并聚焦标语区：92% 让两行标语与落款完整，不裁字 */
    background-size: auto 100%;
    background-position: 92% bottom;
  }
}

/* ---------- 四联服务卡：跟随新版心同步收窄，桌面端两侧留白更多（手机 2×2 保持满宽） ---------- */
@media (min-width: 981px) {
  .hero__cards { width: 82%; max-width: 1080px; margin-inline: auto; }
}

/* ==================================================================
   政策法规板块（版式参照清华大学保卫部官网首页「政策法规」栏目）
   2026-11-11 三次改版：三张独立浅纹白卡 + 向左突出的公安蓝标题条
   （白色图标 / 中文大字 / 英文小字）+ 细线三角标题列表 + 下沉胶囊按钮。
   原站紫 #791cb5 与橙 #ee9640 全部替换为公安蓝 --police-blue。
   板块标题仍按上轮要求与「通知公告 · 保卫动态」一致（同行左对齐）。
   ================================================================== */
.policy-sec { background: linear-gradient(180deg, #e9f1fc 0%, #f4f8fe 55%, #ffffff 100%); }
.policy-sec .section-head { text-align: left; }
.policy-sec .section-head h2::after { left: 0; transform: none; }
.policy-sec .section-head p { margin-left: 0; margin-right: 0; }
.policy-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.policy-card {
  position: relative; display: flex; flex-direction: column;
  padding: 36px 0 46px; border-radius: 20px;
  background: radial-gradient(120% 85% at 100% 100%, rgba(26,79,168,.06), transparent 62%), #fff;
  box-shadow: 0 10px 30px rgba(16,52,110,.09);
  transition: transform .25s, box-shadow .25s;
}
.policy-card:hover { transform: translateY(-4px); box-shadow: 0 20px 42px rgba(16,52,110,.15); }
/* 政策法规三卡：每张卡右下角各一个东农校徽淡水印（装饰，不参与交互） */
.policy-card::after {
  content: ""; position: absolute; right: 10px; bottom: 6px;
  width: 168px; height: 209px;
  background: url('neau_badge.png') center bottom / contain no-repeat;
  opacity: .10; z-index: 0; pointer-events: none;
}
.policy-card > * { position: relative; z-index: 1; }
/* 向左突出卡片的标题条（清华 .title003 的紫色条 → 公安蓝） */
.policy-card__head {
  align-self: flex-start; width: 95%; margin-left: -18px; min-height: 76px;
  display: flex; align-items: center; justify-content: center; text-align: center;
  gap: 12px; padding: 12px 22px;
  border-radius: 6px; color: #fff;
  background: linear-gradient(100deg, #144593 0%, var(--police-blue) 100%);
  box-shadow: 0 8px 18px rgba(26,79,168,.20);
}
.policy-card__ico { width: 40px; height: 40px; flex: none; display: grid; place-items: center; color: #fff; }
.policy-card__ico svg { width: 32px; height: 32px; }
.policy-card__tt { text-align: center; }
.policy-card__tt b { display: block; font-size: 22px; font-weight: 800; letter-spacing: 2px; line-height: 1.25; color: #fff; }
.policy-card__tt small { display: block; font-size: 11px; letter-spacing: 1.2px; text-transform: uppercase; color: rgba(255,255,255,.88); margin-top: 3px; }
/* 标题列表：细线分隔 + 左侧小三角，兼容组件输出的 li / li>a / li>h5 */
.policy-list { list-style: none; margin: 0; padding: 10px 28px 4px; flex: 1; min-height: 210px; }
.policy-list li {
  position: relative; display: flex; align-items: center; justify-content: flex-start;
  gap: 9px; min-height: 42px; padding: 0;
  font-size: 15.5px; color: #323c50; text-align: left;
  border-bottom: 1px solid #e6eaf2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  transition: color .2s;
}
.policy-list li:last-child { border-bottom: 0; }
.policy-list li > a, .policy-list li > h5, .policy-list li > span {
  display: block; flex: 0 1 auto; padding: 13px 0; text-align: center;
  color: inherit; font-size: inherit; font-weight: inherit;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.policy-list li::before {
  content: ""; position: static; flex: none;
  border-left: 6px solid var(--police-blue); border-top: 4px solid transparent; border-bottom: 4px solid transparent;
}
.policy-list li:hover, .policy-list li:hover > a { color: var(--police-blue); }
/* 居中、略下沉的公安蓝胶囊按钮（清华 .more001 橙色按钮 → 公安蓝） */
.policy-card__more {
  position: relative; bottom: -20px; align-self: center; margin: 4px 0 0;
  padding: 9px 26px; border-radius: 999px;
  background: linear-gradient(135deg, #3a7bd5, var(--police-blue)); color: #fff;
  font-size: 14px; font-weight: 700; box-shadow: 0 8px 18px rgba(26,79,168,.26);
  transition: transform .2s, box-shadow .2s;
}
.policy-card__more:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(26,79,168,.34); }
.policy-card__more i { font-style: normal; margin-left: 6px; display: inline-block; transition: transform .2s; }
.policy-card__more:hover i { transform: translateX(3px); }
@media (max-width: 980px) {
  .policy-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
}
@media (max-width: 560px) {
  .policy-grid { grid-template-columns: 1fr; gap: 38px; }
  .policy-list { min-height: 0; padding: 6px 20px 4px; }
  .policy-card__tt b { font-size: 20px; }
  .policy-card__head { margin-left: -12px; width: 96%; }
}

/* 政策法规栏目页：标题列表架构占位（静态站本地预览用） */
.policy-page-list {
  background: #fff; border-radius: 14px; padding: 10px 26px 18px; min-height: 0;
  box-shadow: 0 14px 34px rgba(16,52,110,.09);
}
.policy-page-list li { font-size: 16px; padding: 14px 0 14px 20px; }

/* 政策法规板块标题与「通知公告 · 保卫动态」保持同一排版：英文 + 中文同行左对齐 */
.policy-sec .section-head .kicker { display: inline; }
.policy-sec .section-head h2 { display: inline-block; }

/* 新增第 9 个一级菜单后，中等桌面宽度收紧菜单，避免文字折行 */
@media (min-width: 881px) and (max-width: 1400px) {
  .brand__logo img { max-width: 240px; }
  .menu { gap: 2px; }
  .menu > li > a { padding: 7px 8px; font-size: 14px; }
  .menu > li.has-sub > a { padding-right: 22px; }
  .menu > li.has-sub > a::before { right: 11px; }
  .menu > li > a::after { left: 8px; right: 8px; }
}


/* ==================================================================
   首页形象横幅配套（2026-11-11）：深蓝底上半透明白卡文字对比度不足，
   首页四联卡白底调实；内页卡片沿用原 .64 不受影响。
   ================================================================== */
body[data-page="home"] .hcard { background: rgba(255,255,255,.90); }
body[data-page="home"] .hcard:hover { background: rgba(255,255,255,.98); }

/* 安全教育主视频：铺满卡片 + 自动播放（2026-11-24） */
.edu__left{display:flex;}
.edu__left .edu__main{flex:1 1 auto;position:relative;overflow:hidden;background:#0b1a30;}
.edu__main>table{width:100%!important;height:100%!important;border-collapse:collapse;margin:0;}
.edu__main>table td{padding:0!important;}
.edu__main #u12{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;display:block!important;}
.edu__main #u12u12{display:none!important;}
.edu__main #u12 video,.edu__main video{width:100%!important;height:100%!important;object-fit:cover;display:block;background:#0b1a30;}

/* 安全教育视频列表卡片：缩略图铺满 + 加载占位（2026-11-24） */
.edu__right .edu__thumb{background:#e6edf6;}
.edu__right .edu__thumb img{width:100%;height:100%;object-fit:cover;display:block;}
.edu__right .edu__title{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
