/* ==========================================================================
   洛阳理工学院 电力电气工程学院 — 官网样式表
   设计令牌 / 布局 / 组件
   ========================================================================== */

:root {
  /* 品牌色 */
  --navy: #0b3c74;
  --navy-d: #072a51;
  --navy-l: #16579f;
  --navy-tint: #eaf0f8;
  --gold: #c19230;
  --gold-l: #ddb45c;
  --gold-tint: #fdf6e6;
  --cyan: #13909b;
  --red: #b0202a;

  /* 中性色 */
  --bg: #f3f5f9;
  --card: #ffffff;
  --t1: #1b2437;
  --t2: #57647a;
  --t3: #8a95a7;
  --line: #e4e9f2;
  /* 图片衬底色：等比缩放完整显示时，留白区域呈现为柔和的「相框底」 */
  --img-mat: #eef2f8;

  /* 尺寸 */
  --maxw: 1240px;
  --radius: 10px;
  --radius-s: 6px;
  --shadow: 0 2px 10px rgba(11, 60, 116, 0.06);
  --shadow-md: 0 6px 20px rgba(11, 60, 116, 0.10);
  --shadow-lg: 0 14px 38px rgba(11, 60, 116, 0.15);

  --font-sans: "PingFang SC", "HarmonyOS Sans SC", "Hiragino Sans GB", "Microsoft YaHei",
    "Source Han Sans SC", "Noto Sans SC", system-ui, -apple-system, sans-serif;
  --font-serif: "Songti SC", "Source Han Serif SC", "Noto Serif SC", "STSong", "SimSun", serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.75;
  color: var(--t1);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; transition: color .2s; }
a:hover { color: var(--navy-l); }
img { max-width: 100%; display: block; border: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5 { margin: 0; font-weight: 600; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.clearfix::after { content: ""; display: block; clear: both; }
/* 网格子项允许收缩，防止大图/长标题把轨道撑出视口 */
.cols-2 > *, .cols-3 > *, .cols-4 > *, .news-grid > *,
.layout > *, .card-grid > *, .party-cards > * { min-width: 0; }

/* ---------- 顶部工具栏 ---------- */
.topbar {
  background: var(--navy-d);
  color: rgba(255, 255, 255, .78);
  font-size: 13px;
  height: 36px;
  line-height: 36px;
}
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; }
.topbar a { color: rgba(255, 255, 255, .78); }
.topbar a:hover { color: var(--gold-l); }
.topbar .tb-right { display: flex; gap: 18px; align-items: center; }
.topbar .tb-search {
  display: flex; align-items: center; gap: 6px;
  background: rgba(255, 255, 255, .1);
  border-radius: 20px; padding: 0 12px; height: 26px;
}
.topbar .tb-search input {
  background: transparent; border: 0; outline: 0; color: #fff; width: 130px; font-size: 13px;
}
.topbar .tb-search input::placeholder { color: rgba(255, 255, 255, .5); }
.topbar .tb-search svg { width: 14px; height: 14px; fill: rgba(255, 255, 255, .7); }

/* ---------- 页头 ---------- */
.site-header {
  background: linear-gradient(120deg, #0d4585 0%, #0b3c74 45%, #0a305c 100%);
  position: relative;
  overflow: hidden;
}
.site-header::after {
  content: "";
  position: absolute; right: -60px; top: -80px; width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(193, 146, 48, .22), transparent 68%);
  pointer-events: none;
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 150px; gap: 24px; position: relative; z-index: 2;
}
.brand { display: flex; align-items: center; gap: 16px; }
.brand .emblem {
  width: 86px; height: 86px; flex: none; border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #2a6cb8, #0a325e);
  border: 2px solid rgba(193, 146, 48, .75);
  display: grid; place-items: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
}
.brand .emblem svg { width: 46px; height: 46px; }
/* 后台「品牌标识」中上传的自定义院徽 */
.brand .brand-logo {
  height: 86px; max-width: 460px; flex: none; object-fit: contain;
  filter: drop-shadow(0 3px 10px rgba(0, 0, 0, .28));
}
.brand-text h1 {
  font-family: var(--font-serif);
  font-size: 30px; letter-spacing: 2px; color: #fff; line-height: 1.25;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .22);
}
.brand-text .en {
  display: block; font-size: 11.5px; letter-spacing: .6px; color: rgba(255, 255, 255, .62);
  font-family: var(--font-sans); font-weight: 400; margin-top: 4px; text-transform: uppercase;
}
.brand-text .slogan {
  display: inline-block; margin-top: 7px; font-size: 13px; letter-spacing: 5px;
  color: var(--gold-l); border-top: 1px solid rgba(193, 146, 48, .4); padding-top: 5px;
}
.header-extra { text-align: right; color: rgba(255, 255, 255, .8); font-size: 13px; line-height: 1.9; }
.header-extra .tel { font-size: 20px; color: #fff; font-weight: 600; letter-spacing: .5px; }
.header-extra .tel span { font-size: 12px; color: rgba(255, 255, 255, .6); font-weight: 400; margin-right: 6px; }

/* 页头右侧：联系方式 / 地址；隐藏顶部提示栏后搜索框移入此处 */
.header-right { margin-left: auto; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.header-search {
  display: flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 20px; padding: 0 15px; height: 34px;
}
.header-search svg { width: 15px; height: 15px; fill: rgba(255, 255, 255, .72); }
.header-search input {
  background: transparent; border: 0; outline: 0; color: #fff;
  width: 170px; font-size: 13.5px; font-family: inherit;
}
.header-search input::placeholder { color: rgba(255, 255, 255, .55); }

/* 隐藏学院名称后，留在页头的标语单独呈现 */
.brand-text.no-name { display: flex; align-items: center; flex: none; }
.brand-text.no-name .slogan { margin-top: 0; padding-top: 0; border-top: 0; font-size: 17px; letter-spacing: 6px; white-space: nowrap; }

/* ---------- 主导航 ---------- */
.mainnav { background: linear-gradient(180deg, #0e4485, #072a51); border-top: 1px solid rgba(255, 255, 255, .1); position: relative; z-index: 30; }
.mainnav .wrap { display: flex; align-items: stretch; }
.mainnav .nav-item { position: relative; flex: 1; text-align: center; }
.mainnav .nav-item > a {
  display: block; color: #fff; font-size: 16.5px; letter-spacing: 1px;
  padding: 15px 6px 17px; position: relative; font-weight: 500;
}
.mainnav .nav-item > a::after {
  content: ""; position: absolute; left: 50%; bottom: 8px; transform: translateX(-50%);
  width: 0; height: 2px; background: var(--gold-l); transition: width .28s ease;
}
.mainnav .nav-item:hover > a { background: rgba(221,180,92,.15); color: #ffe9c4; }
.mainnav .nav-item:hover > a::after, .mainnav .nav-item.active > a::after { width: 34px; }
.mainnav .nav-item.active > a { background: rgba(221,180,92,.28); color: #ffe1a1; }

.dropdown {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 168px; background: #fff; border-radius: 0 0 var(--radius-s) var(--radius-s);
  box-shadow: var(--shadow-lg); padding: 6px 0; opacity: 0; visibility: hidden;
  transition: all .22s ease; z-index: 40; border-top: 3px solid var(--gold);
}
.mainnav .nav-item:hover .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown a {
  display: block; padding: 9px 20px; font-size: 14.5px; color: var(--t1); white-space: nowrap; text-align: left;
}
.dropdown a:hover { background: var(--navy-tint); color: var(--navy); padding-left: 26px; }

.nav-toggle { display: none; }

/* ---------- 轮播 ---------- */
.hero { position: relative; height: 460px; overflow: hidden; background: var(--navy-d); }
.hero-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease;
  background-size: cover; background-position: center;
}
.hero-slide.on { opacity: 1; }
.hero-slide::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(6, 30, 58, .82) 0%, rgba(6, 30, 58, .45) 48%, rgba(6, 30, 58, .1) 100%);
}
.hero-inner {
  position: relative; z-index: 3; height: 100%; box-sizing: border-box;
  display: flex; align-items: flex-start; padding-top: 114px;
}
/* 文字区随容器定宽，不随标题字数伸缩，保证各张轮播文字位置一致 */
.hero-inner > .wrap { width: 100%; }
.hero-copy { max-width: 640px; color: #fff; }
/* 副标题标签：短横线 + 文字（与 wb01 一致，不再使用「学院要闻」胶囊标签） */
.hero-copy .hero-tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; letter-spacing: 3px;
  color: var(--cyan); margin-bottom: 18px;
}
.hero-copy .hero-tag::before { content: ""; width: 34px; height: 2px; background: var(--cyan); }
.hero-copy h2 {
  font-family: var(--font-serif); font-size: 46px; line-height: 1.25; letter-spacing: 3px;
  margin-bottom: 22px; text-shadow: 0 3px 14px rgba(0, 0, 0, .35);
}
.hero-copy .hero-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(120deg, var(--cyan), var(--navy-l));
  color: #fff; font-weight: 600; font-size: 15px; letter-spacing: 2px;
  padding: 12px 30px; border-radius: 40px;
  box-shadow: 0 10px 26px rgba(19, 144, 155, .32);
  transition: transform .22s, box-shadow .22s;
}
.hero-copy .hero-cta:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 16px 36px rgba(19, 144, 155, .42); }

.hero-dots { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 5; }
.hero-dots i {
  width: 30px; height: 3px; background: rgba(255, 255, 255, .38); cursor: pointer; transition: all .3s;
}
.hero-dots i.on { background: var(--gold-l); width: 48px; }
.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .4);
  background: rgba(0, 0, 0, .2); color: #fff; cursor: pointer; display: grid; place-items: center;
  opacity: 0; transition: opacity .3s;
}
.hero:hover .hero-arrow { opacity: 1; }
.hero-arrow:hover { background: var(--gold); border-color: var(--gold); }
.hero-arrow.prev { left: 24px; }
.hero-arrow.next { right: 24px; }

/* ---------- 快捷入口 ---------- */
.quickbar { background: #fff; box-shadow: var(--shadow); position: relative; z-index: 10; }
.quickbar .wrap { display: grid; grid-template-columns: repeat(6, 1fr); }
.quick-item {
  display: flex; align-items: center; gap: 12px; padding: 20px 10px; justify-content: center;
  border-right: 1px solid var(--line); transition: all .25s;
}
.quick-item:last-child { border-right: 0; }
.quick-item:hover { background: var(--navy-tint); }
.quick-item .ic {
  width: 40px; height: 40px; border-radius: 10px; background: var(--navy-tint);
  display: grid; place-items: center; flex: none; transition: all .25s;
}
.quick-item:hover .ic { background: var(--navy); }
.quick-item .ic svg { width: 21px; height: 21px; fill: var(--navy); transition: fill .25s; }
.quick-item:hover .ic svg { fill: #fff; }
.quick-item b { display: block; font-size: 15px; font-weight: 500; color: var(--t1); }
.quick-item small { display: block; font-size: 11.5px; color: var(--t3); letter-spacing: .3px; }

/* ---------- 数据概览 ---------- */
.statsbar {
  background: linear-gradient(120deg, #0b3c74, #0a2f5c 60%, #123f70);
  padding: 34px 0; position: relative; overflow: hidden;
}
.statsbar::before {
  content: ""; position: absolute; left: -40px; bottom: -90px; width: 320px; height: 320px;
  border: 40px solid rgba(255, 255, 255, .04); border-radius: 50%;
}
.statsbar .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; position: relative; }
.stat { text-align: center; color: #fff; border-right: 1px solid rgba(255, 255, 255, .14); }
.stat:last-child { border-right: 0; }
.stat .num { font-size: 40px; font-weight: 700; color: var(--gold-l); line-height: 1.1; letter-spacing: 1px; font-family: var(--font-serif); }
.stat .num span { font-size: 16px; margin-left: 4px; color: rgba(255, 255, 255, .75); font-family: var(--font-sans); font-weight: 400; }
.stat .lbl { font-size: 14.5px; color: rgba(255, 255, 255, .8); letter-spacing: 2px; margin-top: 6px; }

/* ---------- 通用区块 ---------- */
.section { padding: 52px 0 10px; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 26px; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.sec-title { position: relative; padding-left: 16px; }
.sec-title::before {
  content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 4px;
  background: linear-gradient(180deg, var(--navy), var(--navy-l)); border-radius: 2px;
}
.sec-title h2 { font-family: var(--font-serif); font-size: 26px; letter-spacing: 2px; color: var(--navy); line-height: 1.3; }
.sec-title .en { display: block; font-size: 11.5px; letter-spacing: 2px; color: var(--gold); text-transform: uppercase; margin-top: 3px; }
.more-link { font-size: 13.5px; color: var(--t3); display: inline-flex; align-items: center; gap: 5px; padding-bottom: 4px; }
.more-link:hover { color: var(--navy); }
.more-link::after {
    content: "›";
    font-size: 20px;
    line-height: 1;
    position: relative;
    top: -4px;
}

/* ---------- 板块背景主题（首页板块整块底色，用于区分视觉层次） ----------
   浅色渐变 + 缓动光斑，突出「变化与活力」，同时保证正文与卡片对比度。 */
.section.sec-tint { position: relative; overflow: hidden; }
.section.sec-tint > .wrap { position: relative; z-index: 1; }
.sec-tint--vitality { background: linear-gradient(120deg, #e9f4ff 0%, #eefaf5 40%, #fff6ea 100%); }
.sec-tint--warm { background: linear-gradient(120deg, #fff2e6 0%, #fff8f2 52%, #ffeef1 100%); }
.sec-tint--mist { background: linear-gradient(120deg, #f1f5fb 0%, #edf4fb 50%, #f7fafd 100%); }
.sec-tint--electric { background: linear-gradient(115deg, #e9f0ff 0%, #eef7ff 45%, #e6fbff 100%); }
.sec-tint--forest { background: linear-gradient(120deg, #edf7ee 0%, #f3faf3 50%, #eef8f2 100%); }
.sec-tint--sunset { background: linear-gradient(120deg, #fff0e8 0%, #fff4f3 45%, #fdeaf3 100%); }
.sec-tint--violet { background: linear-gradient(120deg, #f4efff 0%, #f7f2ff 50%, #fdf0fb 100%); }
.sec-tint--ocean { background: linear-gradient(120deg, #eaf7fa 0%, #edf9f6 50%, #eef4fb 100%); }
.sec-tint--graphite { background: linear-gradient(120deg, #f2f4f6 0%, #f6f7f8 50%, #eef1f4 100%); }
.sec-tint-orb {
  position: absolute; border-radius: 50%; pointer-events: none; opacity: .5;
  filter: blur(46px); animation: orbFloat 18s ease-in-out infinite alternate;
}
.sec-tint-orb.o1 { width: 320px; height: 320px; left: -70px; top: -90px; background: #9cc8ff; }
.sec-tint-orb.o2 { width: 260px; height: 260px; right: 6%; bottom: -100px; background: #ffd39b; animation-delay: -6s; }
.sec-tint-orb.o3 { width: 220px; height: 220px; right: -50px; top: -50px; background: #9ae7c9; animation-delay: -11s; }
.sec-tint--warm .sec-tint-orb.o1 { background: #ffc98f; }
.sec-tint--warm .sec-tint-orb.o2 { background: #ffb3c1; }
.sec-tint--warm .sec-tint-orb.o3 { background: #ffd9a8; }
.sec-tint--mist .sec-tint-orb.o1 { background: #b8cbee; }
.sec-tint--mist .sec-tint-orb.o2 { background: #cfe0f3; }
.sec-tint--mist .sec-tint-orb.o3 { background: #dfe9f6; }
.sec-tint--electric .sec-tint-orb.o1 { background: #a9c2ff; }
.sec-tint--electric .sec-tint-orb.o2 { background: #9fe6ff; }
.sec-tint--electric .sec-tint-orb.o3 { background: #c9d6ff; }
.sec-tint--forest .sec-tint-orb.o1 { background: #b7e4bf; }
.sec-tint--forest .sec-tint-orb.o2 { background: #d6efc4; }
.sec-tint--forest .sec-tint-orb.o3 { background: #a9dcc6; }
.sec-tint--sunset .sec-tint-orb.o1 { background: #ffb98f; }
.sec-tint--sunset .sec-tint-orb.o2 { background: #ffc6d6; }
.sec-tint--sunset .sec-tint-orb.o3 { background: #ffd9b0; }
.sec-tint--violet .sec-tint-orb.o1 { background: #c9b6ff; }
.sec-tint--violet .sec-tint-orb.o2 { background: #e3c8ff; }
.sec-tint--violet .sec-tint-orb.o3 { background: #bcd0ff; }
.sec-tint--ocean .sec-tint-orb.o1 { background: #9fdbe6; }
.sec-tint--ocean .sec-tint-orb.o2 { background: #b6e8dd; }
.sec-tint--ocean .sec-tint-orb.o3 { background: #b8cdee; }
.sec-tint--graphite .sec-tint-orb.o1 { background: #cdd5dd; }
.sec-tint--graphite .sec-tint-orb.o2 { background: #dfe4e9; }
.sec-tint--graphite .sec-tint-orb.o3 { background: #c4ccd5; }
/* 自定义配色：光斑取自定义色的浅色版（内联变量），始终与底色同色系 */
.sec-tint--custom .sec-tint-orb.o1 { background: var(--orb1, #9cc8ff); }
.sec-tint--custom .sec-tint-orb.o2 { background: var(--orb2, #ffd39b); }
.sec-tint--custom .sec-tint-orb.o3 { background: var(--orb3, #9ae7c9); }
@keyframes orbFloat {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(26px, -20px, 0) scale(1.09); }
}

/* ---------- 变换多页型（首页 flip 模板） ----------
   每页内容绝对定位叠放，高度由首屏副本撑开 → 板块尺寸恒定，只在页间切换。 */
.flip-ctrl { display: flex; align-items: center; gap: 10px; padding-bottom: 2px; }
.flip-ctrl .more-link { padding-bottom: 0; margin-left: 6px; }
.flip-btn {
  width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); background: var(--card);
  color: var(--t2); font-size: 17px; line-height: 1; cursor: pointer; display: inline-flex;
  align-items: center; justify-content: center; transition: all .2s ease;
}
.flip-btn:hover:not(:disabled) { border-color: var(--navy-l); color: var(--navy-l); background: #f2f7ff; }
.flip-btn:disabled { opacity: .35; cursor: default; }
.flip-dots { display: flex; align-items: center; gap: 6px; }
.flip-dot {
  width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  background: var(--line-2, #d5dce8); transition: width .25s ease, background .25s ease;
}
.flip-dot.on { width: 18px; border-radius: 4px; background: var(--navy-l); }

.flip-stage { position: relative; perspective: 1400px; }
.flip-ghost { visibility: hidden; pointer-events: none; }
.flip-page {
  position: absolute; inset: 0; opacity: 0; visibility: hidden; pointer-events: none;
  transform-style: preserve-3d; will-change: transform, opacity;
}
.flip-page.is-active { opacity: 1; visibility: visible; pointer-events: auto; z-index: 2; }
.flip-page.is-leaving { opacity: 1; visibility: visible; z-index: 1; }

@keyframes fxBlindsIn {
  from { -webkit-mask-size: 0% 100%; mask-size: 0% 100%; opacity: .35; }
  to { -webkit-mask-size: 100% 100%; mask-size: 100% 100%; opacity: 1; }
}
.flip-page.fx-blinds.in {
  -webkit-mask-image: repeating-linear-gradient(90deg, #000 0 44px, transparent 44px 56px);
  mask-image: repeating-linear-gradient(90deg, #000 0 44px, transparent 44px 56px);
  animation: fxBlindsIn .78s ease-out both;
}
.flip-page.fx-blinds.out { animation: fxFadeOut .32s ease both; }

@keyframes fxFadeIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes fxFadeOut { from { opacity: 1; } to { opacity: 0; } }
.flip-page.fx-fade.in { animation: fxFadeIn .5s ease both; }
.flip-page.fx-fade.out { animation: fxFadeOut .4s ease both; }

@keyframes fxSlideIn { from { opacity: 0; transform: translateX(64px); } to { opacity: 1; transform: none; } }
@keyframes fxSlideOut { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateX(-64px); } }
.flip-page.fx-slide.in { animation: fxSlideIn .55s cubic-bezier(.2, .8, .3, 1) both; }
.flip-page.fx-slide.out { animation: fxSlideOut .55s cubic-bezier(.2, .8, .3, 1) both; }
.flip-page.fx-slide.rev.in { animation-name: fxSlideInRev; }
.flip-page.fx-slide.rev.out { animation-name: fxSlideOutRev; }
@keyframes fxSlideInRev { from { opacity: 0; transform: translateX(-64px); } to { opacity: 1; transform: none; } }
@keyframes fxSlideOutRev { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateX(64px); } }

@keyframes fxZoomIn { from { opacity: 0; transform: scale(.9); } to { opacity: 1; transform: none; } }
@keyframes fxZoomOut { from { opacity: 1; transform: none; } to { opacity: 0; transform: scale(1.04); } }
.flip-page.fx-zoom.in { animation: fxZoomIn .5s ease both; }
.flip-page.fx-zoom.out { animation: fxZoomOut .5s ease both; }

/* ---------- 溶解：四周雾化 + 抖动网点（模拟像素颗粒散开） ---------- */
@keyframes fxDissolveIn {
  0%   { opacity: 0; filter: blur(12px) brightness(1.14) saturate(.85); transform: scale(1.025); }
  45%  { opacity: .6; filter: blur(6px) brightness(1.08); }
  100% { opacity: 1; filter: blur(0) brightness(1); transform: none; }
}
@keyframes fxDissolveOut {
  0%   { opacity: 1; filter: blur(0); transform: none; }
  100% { opacity: 0; filter: blur(12px) brightness(1.1); transform: scale(.985); }
}
.flip-page.fx-dissolve.in { animation: fxDissolveIn .78s cubic-bezier(.3, .1, .4, 1) both; }
.flip-page.fx-dissolve.out { animation: fxDissolveOut .5s ease both; }
.flip-page.fx-dissolve.in::after {
  content: ""; position: absolute; inset: 0; z-index: 6; pointer-events: none;
  background-image:
    repeating-linear-gradient(0deg, rgba(40, 60, 90, .5) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(40, 60, 90, .5) 0 1px, transparent 1px 3px);
  animation: fxDissolveGrain .78s steps(9) both;
}
@keyframes fxDissolveGrain {
  0% { opacity: 0; }
  16% { opacity: .5; }
  62% { opacity: .28; }
  100% { opacity: 0; }
}

/* ---------- 涟漪：圆心向外扩散显现，配一圈扩散的涟漪环 ---------- */
@keyframes fxRippleIn {
  from { -webkit-mask-size: 0% 0%; mask-size: 0% 0%; opacity: .4; transform: scale(1.008); }
  to   { -webkit-mask-size: 100% 100%; mask-size: 100% 100%; opacity: 1; transform: none; }
}
.flip-page.fx-ripple.in {
  -webkit-mask-image: radial-gradient(circle farthest-corner, #000 0 97%, transparent 100%);
  mask-image: radial-gradient(circle farthest-corner, #000 0 97%, transparent 100%);
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center; mask-position: center;
  animation: fxRippleIn .82s cubic-bezier(.22, .72, .3, 1) both;
}
.flip-page.fx-ripple.out { animation: fxFadeOut .34s ease both; }
.flip-page.fx-ripple.in::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 26px; height: 26px;
  margin: -13px 0 0 -13px; border-radius: 50%; pointer-events: none; z-index: 6;
  border: 2px solid rgba(31, 90, 160, .38);
  animation: fxRippleRing .82s cubic-bezier(.2, .7, .3, 1) both;
}
@keyframes fxRippleRing {
  from { transform: scale(.4); opacity: .7; }
  to { transform: scale(44); opacity: 0; }
}

/* ---------- 故障：信号干扰式闪切，画面抖动 + 青/品红错位色带 ---------- */
@keyframes fxGlitchIn {
  0%   { opacity: 0; transform: translate(16px, 0) skewX(-4deg); filter: saturate(1.7); }
  8%   { opacity: 1; transform: translate(-11px, 2px) skewX(3deg); }
  16%  { transform: translate(9px, -2px) skewX(-2.2deg); }
  25%  { transform: translate(-6px, 1px) skewX(1.6deg); }
  35%  { transform: translate(4px, 0) skewX(-1deg); }
  47%  { transform: translate(-2px, 0) skewX(.5deg); }
  62%  { transform: translate(1px, 0); }
  100% { transform: none; filter: none; }
}
.flip-page.fx-glitch.in { animation: fxGlitchIn .62s linear both; }
.flip-page.fx-glitch.out { animation: fxFadeOut .3s ease both; }
.flip-page.fx-glitch.in::before,
.flip-page.fx-glitch.in::after {
  content: ""; position: absolute; inset: 0; z-index: 6; pointer-events: none;
  mix-blend-mode: screen; opacity: 0;
}
.flip-page.fx-glitch.in::before {
  background: linear-gradient(rgba(0, 225, 255, .16), rgba(0, 225, 255, .16));
  animation: fxGlitchBandA .62s steps(1, end) both;
}
.flip-page.fx-glitch.in::after {
  background: linear-gradient(rgba(255, 60, 180, .13), rgba(255, 60, 180, .13));
  animation: fxGlitchBandB .62s steps(1, end) both;
}
@keyframes fxGlitchBandA {
  0%   { opacity: 0; clip-path: inset(12% 0 74% 0); transform: translateX(-12px); }
  8%   { opacity: 1; }
  16%  { opacity: 0; clip-path: inset(58% 0 22% 0); transform: translateX(14px); }
  24%  { opacity: 1; clip-path: inset(34% 0 48% 0); transform: translateX(-9px); }
  32%  { opacity: 0; }
  40%  { opacity: .9; clip-path: inset(74% 0 8% 0); transform: translateX(7px); }
  50%, 100% { opacity: 0; }
}
@keyframes fxGlitchBandB {
  0%   { opacity: 0; clip-path: inset(66% 0 16% 0); transform: translateX(11px); }
  12%  { opacity: 1; }
  20%  { opacity: 0; clip-path: inset(8% 0 82% 0); transform: translateX(-13px); }
  28%  { opacity: .9; clip-path: inset(46% 0 38% 0); transform: translateX(8px); }
  38%  { opacity: 0; }
  46%  { opacity: .8; clip-path: inset(22% 0 64% 0); transform: translateX(-6px); }
  54%, 100% { opacity: 0; }
}

/* ---------- 聚光：暗场中一束探照光斑横扫，扫过之处画面亮起 ---------- */
@keyframes fxSpotPage {
  0%   { opacity: 0; filter: brightness(.35); }
  30%  { opacity: 1; filter: brightness(.72); }
  55%  { filter: brightness(1.1); }
  100% { opacity: 1; filter: none; }
}
.flip-page.fx-spotlight.in { animation: fxSpotPage .85s ease both; }
.flip-page.fx-spotlight.out { animation: fxFadeOut .34s ease both; }
.flip-page.fx-spotlight.in::after {
  content: ""; position: absolute; inset: -6% -22%; z-index: 6; pointer-events: none;
  background: radial-gradient(circle 250px at 50% 46%,
    rgba(255, 250, 230, .16) 0 18%, transparent 42%,
    rgba(10, 26, 50, .34) 66%, rgba(10, 26, 50, .5) 100%);
  animation: fxSpotSweep .8s cubic-bezier(.45, .1, .3, 1) both;
}
@keyframes fxSpotSweep {
  0%   { transform: translateX(-34%); opacity: 1; }
  72%  { opacity: .85; }
  100% { transform: translateX(34%); opacity: 0; }
}

/* ---------- 棱镜：白光经棱镜色散为光谱色带，铺展后收敛归真 ---------- */
@keyframes fxPrismIn {
  0%   { opacity: 0; filter: saturate(2.1) hue-rotate(38deg) blur(7px); transform: scaleX(1.02); }
  50%  { opacity: 1; filter: saturate(1.4) hue-rotate(14deg) blur(2px); }
  100% { opacity: 1; filter: none; transform: none; }
}
.flip-page.fx-prism.in { animation: fxPrismIn .76s cubic-bezier(.25, .65, .3, 1) both; }
.flip-page.fx-prism.out { animation: fxFadeOut .34s ease both; }
.flip-page.fx-prism.in::after {
  content: ""; position: absolute; inset: 0; z-index: 6; pointer-events: none;
  mix-blend-mode: screen; background-size: 260% 100%;
  background-image: linear-gradient(100deg,
    rgba(255, 70, 70, .2) 10%, rgba(255, 165, 40, .2) 24%, rgba(255, 228, 60, .2) 37%,
    rgba(60, 220, 120, .2) 51%, rgba(60, 165, 255, .2) 65%, rgba(155, 80, 255, .2) 79%, transparent 91%);
  animation: fxPrismSweep .74s cubic-bezier(.4, .2, .3, 1) both;
}
@keyframes fxPrismSweep {
  0%   { background-position: 118% 0; opacity: .95; }
  100% { background-position: -62% 0; opacity: 0; }
}

/* ---------- 接力：页面淡入整体承接，卡片自下而上逐个弹入 ---------- */
@keyframes fxStaggerPage { 0% { opacity: 0; } 22% { opacity: 1; } 100% { opacity: 1; } }
@keyframes fxPopIn {
  0%   { opacity: 0; transform: translateY(22px) scale(.94); }
  62%  { opacity: 1; transform: translateY(-3px) scale(1.012); }
  100% { opacity: 1; transform: none; }
}
.flip-page.fx-stagger.in { animation: fxStaggerPage 1.2s linear both; }
.flip-page.fx-stagger.out { animation: fxFadeOut .3s ease both; }
.flip-page.fx-stagger.in .card-grid > * { animation: fxPopIn .5s cubic-bezier(.2, .8, .3, 1) both; }
.flip-page.fx-stagger.in .card-grid > *:nth-child(1) { animation-delay: .05s; }
.flip-page.fx-stagger.in .card-grid > *:nth-child(2) { animation-delay: .11s; }
.flip-page.fx-stagger.in .card-grid > *:nth-child(3) { animation-delay: .17s; }
.flip-page.fx-stagger.in .card-grid > *:nth-child(4) { animation-delay: .23s; }
.flip-page.fx-stagger.in .card-grid > *:nth-child(5) { animation-delay: .29s; }
.flip-page.fx-stagger.in .card-grid > *:nth-child(6) { animation-delay: .35s; }
.flip-page.fx-stagger.in .card-grid > *:nth-child(7) { animation-delay: .41s; }
.flip-page.fx-stagger.in .card-grid > *:nth-child(8) { animation-delay: .47s; }
.flip-page.fx-stagger.in .card-grid > *:nth-child(9) { animation-delay: .53s; }
.flip-page.fx-stagger.in .card-grid > *:nth-child(10) { animation-delay: .59s; }
.flip-page.fx-stagger.in .card-grid > *:nth-child(11) { animation-delay: .65s; }
.flip-page.fx-stagger.in .card-grid > *:nth-child(n + 12) { animation-delay: .71s; }

/* ---------- 涡流：旋转 + 透视卷入，伴随旋涡光影 ---------- */
@keyframes fxShimmerIn {
  from { opacity: 0; filter: brightness(1.55) saturate(.85); transform: scale(.99); }
  60%  { opacity: .95; filter: brightness(1.12); }
  to   { opacity: 1; filter: none; transform: none; }
}
.flip-page.fx-shimmer.in { animation: fxShimmerIn .68s ease-out both; }
.flip-page.fx-shimmer.out { animation: fxFadeOut .34s ease both; }
.flip-page.fx-shimmer.in::after {
  content: ""; position: absolute; inset: 0; z-index: 6; pointer-events: none;
  background-image: linear-gradient(104deg, transparent 32%, rgba(255, 216, 150, .55) 43%, rgba(255, 255, 255, .95) 50%, rgba(255, 216, 150, .5) 57%, transparent 68%);
  background-size: 240% 100%;
  animation: fxSheen .84s cubic-bezier(.35, .6, .35, 1) both;
}
@keyframes fxSheen {
  0% { background-position: -75% 0; opacity: .95; }
  70% { opacity: .8; }
  100% { background-position: 175% 0; opacity: 0; }
}

/* ---------- 涡流：旋转 + 透视卷入，伴随旋涡光影 ---------- */
@keyframes fxVortexIn {
  0%   { opacity: 0; transform: perspective(900px) rotate(-13deg) rotateX(16deg) scale(.72); filter: blur(5px); }
  60%  { opacity: .92; filter: blur(1.2px); }
  100% { opacity: 1; transform: none; filter: none; }
}
@keyframes fxVortexOut {
  0%   { opacity: 1; transform: none; filter: none; }
  100% { opacity: 0; transform: perspective(900px) rotate(14deg) rotateX(-12deg) scale(1.22); filter: blur(6px); }
}
.flip-page.fx-vortex.in { animation: fxVortexIn .8s cubic-bezier(.2, .65, .3, 1) both; }
.flip-page.fx-vortex.out { animation: fxVortexOut .58s ease-in both; }
.flip-page.fx-vortex.rev.in { animation-name: fxVortexInRev; }
@keyframes fxVortexInRev {
  0%   { opacity: 0; transform: perspective(900px) rotate(13deg) rotateX(16deg) scale(.72); filter: blur(5px); }
  60%  { opacity: .92; filter: blur(1.2px); }
  100% { opacity: 1; transform: none; filter: none; }
}
.flip-page.fx-vortex.in::after {
  content: ""; position: absolute; inset: -12%; z-index: 6; pointer-events: none;
  background-image: conic-gradient(from 0deg,
    rgba(31, 90, 160, .18), transparent 22%, rgba(31, 90, 160, .1) 46%,
    transparent 68%, rgba(31, 90, 160, .16) 88%, rgba(31, 90, 160, .18));
  animation: fxVortexSwirl .8s ease-out both;
}
@keyframes fxVortexSwirl {
  0% { transform: rotate(0deg) scale(.55); opacity: .95; }
  100% { transform: rotate(200deg) scale(1.25); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .sec-tint-orb { animation: none; }
  .flip-page[class*="fx-"]::after,
  .flip-page[class*="fx-"]::before { display: none !important; }
  .flip-page.fx-blinds.in, .flip-page.fx-zoom.in, .flip-page.fx-zoom.out,
  .flip-page.fx-glitch.in, .flip-page.fx-glitch.out,
  .flip-page.fx-spotlight.in, .flip-page.fx-spotlight.out,
  .flip-page.fx-prism.in, .flip-page.fx-prism.out,
  .flip-page.fx-stagger.in, .flip-page.fx-stagger.out,
  .flip-page.fx-dissolve.in, .flip-page.fx-dissolve.out,
  .flip-page.fx-ripple.in,
  .flip-page.fx-shimmer.in, .flip-page.fx-vortex.in, .flip-page.fx-vortex.out {
    animation: fxFadeIn .3s ease both;
  }
  .flip-page.fx-ripple.in { -webkit-mask-image: none; mask-image: none; }
  .flip-page.fx-stagger.in .card-grid > * { animation: none !important; }
}

.cols { display: grid; gap: 40px; }
.cols-1 { grid-template-columns: 1fr; }
.cols-2 { grid-template-columns: 1fr 1fr; }
.cols-3 { grid-template-columns: 2fr 1fr; }
.cols-4 { grid-template-columns: 1.35fr 1fr; }
.cols-3eq { grid-template-columns: 1.2fr 1fr 1fr; }
/* 首页「学院新闻 + 公告通知」专用的加宽比例：新闻列约占 2/3，标题尽量完整显示 */
.cols-news { grid-template-columns: 2fr 1fr; }

/* ---------- 新闻（大图 + 列表） ---------- */
.news-grid { display: grid; grid-template-columns: 300px 1fr; gap: 26px; }
.news-leads { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.news-lead { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--card); }
.news-lead .thumb { height: 150px; background: var(--img-mat); overflow: hidden; display: flex; align-items: center; justify-content: center; }
/* 图片完整显示：等比缩放留白，不裁切 */
.news-lead .thumb img { width: 100%; height: 100%; object-fit: contain; }
.news-lead:hover .thumb img { filter: brightness(1.04); }
.news-lead .body { padding: 13px 16px 15px; }
.news-lead h3 { font-size: 16px; line-height: 1.55; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-lead:hover h3 { color: var(--navy-l); }
.news-lead p { margin: 0; font-size: 13.5px; color: var(--t2); line-height: 1.75; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.news-list li { display: flex; gap: 14px; padding: 13px 0; border-bottom: 1px dashed var(--line); align-items: flex-start; }
.news-list li:last-child { border-bottom: 0; }
.news-list .nbody { flex: 1; min-width: 0; }
/* 标题最多两行：加宽后大多数一行放得下，过长的自动折到第二行再截断 */
.news-list h4 { font-size: 15.5px; font-weight: 500; line-height: 1.6; margin-bottom: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-list li:hover h4 { color: var(--navy-l); }
.news-list .np { font-size: 13px; color: var(--t3); line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-list .nd { font-size: 13px; color: var(--t3); font-family: "Times New Roman", serif; white-space: nowrap; padding-top: 2px; }
.badge-top {
  display: inline-block; font-size: 11px; color: #fff; background: var(--red);
  border-radius: 3px; padding: 0 5px; line-height: 17px; vertical-align: 2px; margin-right: 6px;
  font-weight: 400; letter-spacing: 0;
}

/* ---------- 通知公告（日期徽章） ---------- */
.notice-list li { display: flex; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line); align-items: center; }
.notice-list li:last-child { border-bottom: 0; }
.notice-date {
  width: 58px; flex: none; text-align: center; background: var(--navy-tint);
  border-radius: var(--radius-s); padding: 5px 0; transition: all .25s;
}
.notice-date b { display: block; font-size: 20px; color: var(--navy); line-height: 1.1; font-family: "Times New Roman", serif; }
.notice-date span { font-size: 11px; color: var(--t3); }
.notice-list li:hover .notice-date { background: var(--navy); }
.notice-list li:hover .notice-date b, .notice-list li:hover .notice-date span { color: #fff; }
.notice-list .nt { flex: 1; font-size: 15px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.notice-list li:hover .nt { color: var(--navy-l); }

/* ---------- 卡片列表（党建 / 学术） ---------- */
.card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.card-grid.g3 { grid-template-columns: repeat(3, 1fr); }
.card-grid.g4 { grid-template-columns: repeat(4, 1fr); }
.a-card {
  background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  border: 1px solid var(--line); transition: transform .28s ease, box-shadow .28s ease; display: flex; flex-direction: column;
}
.a-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.a-card .thumb { height: 156px; overflow: hidden; background: var(--img-mat); display: flex; align-items: center; justify-content: center; }
.a-card .thumb img { width: 100%; height: 100%; object-fit: contain; }
.a-card:hover .thumb img { filter: brightness(1.04); }
.a-card .body { padding: 15px 17px 17px; flex: 1; display: flex; flex-direction: column; }
.a-card h4 { font-size: 15.5px; font-weight: 500; line-height: 1.6; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.a-card:hover h4 { color: var(--navy-l); }
.a-card .desc { font-size: 13px; color: var(--t2); line-height: 1.75; flex: 1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.a-card .meta { font-size: 12.5px; color: var(--t3); margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--line); display: flex; justify-content: space-between; }
.a-card.noimg .body { padding: 18px; }
.a-card.noimg h4 { font-size: 16px; }

/* ---------- 紧凑小图卡片（学术交流选「小卡片型」时的 2×2 四宫格） ---------- */
.card-grid.compact { gap: 12px; }
.a-card.sm .thumb { height: 96px; }
.a-card.sm .body { padding: 10px 13px 11px; }
.a-card.sm h4 { font-size: 14px; line-height: 1.55; margin-bottom: 0; -webkit-line-clamp: 2; }
.a-card.sm .meta { margin-top: 8px; padding-top: 7px; font-size: 11.5px; }
.a-card.sm.noimg .body { padding: 12px 13px; }

/* ---------- 小卡片（首页 minicard 模板）----------
   只保留标题 + 日期，去掉配图与摘要，单卡高度约为图片卡片的一半；
   列宽按容器自适应（每列不小于 200px），条目多时自动多列排布。 */
.mini-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.mini-card {
  display: flex; flex-direction: column; gap: 10px; min-width: 0; min-height: 92px;
  padding: 14px 16px 12px; background: var(--card); border: 1px solid var(--line);
  border-radius: 10px; box-shadow: var(--shadow); border-left: 3px solid var(--navy-l);
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}
.mini-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.mini-card h4 {
  font-size: 14.5px; font-weight: 500; line-height: 1.55; color: var(--t1); margin: 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.mini-card:hover h4 { color: var(--navy-l); }
.mini-card .mm {
  margin-top: auto; display: flex; align-items: center; gap: 10px;
  font-size: 12px; color: var(--t3);
}
.mini-card .mm span + span { position: relative; padding-left: 11px; }
.mini-card .mm span + span::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 3px; height: 3px;
  margin-top: -1.5px; border-radius: 50%; background: var(--line-2, #d8dee8);
}

/* ---------- 小图片列表（首页 thumb 模板）----------
   每行一张小图 + 标题，标题最多两行，不显示摘要与日期；图片缺省时留浅色占位块。 */
.thumb-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.thumb-list li + li { border-top: 1px solid var(--line); }
.thumb-list .tl-item { display: flex; gap: 14px; align-items: center; padding: 14px 0; }
.thumb-list li:first-child .tl-item { padding-top: 2px; }
.thumb-list .tl-thumb {
  flex: 0 0 128px; width: 128px; height: 84px; border-radius: 8px; overflow: hidden;
  background: var(--img-mat); display: flex; align-items: center; justify-content: center;
}
.thumb-list .tl-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.thumb-list .tl-item:hover .tl-thumb img { transform: scale(1.05); }
.thumb-list h4 {
  flex: 1; min-width: 0; margin: 0; font-size: 15px; font-weight: 500; line-height: 1.65; color: var(--t1);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.thumb-list .tl-item:hover h4 { color: var(--navy-l); }

/* ---------- 党建品牌专区 ---------- */
.party-zone {
  background: linear-gradient(115deg, #8e1620 0%, #a81f2a 42%, #7d1119 100%);
  padding: 44px 0; position: relative; overflow: hidden; color: #fff;
}
.party-zone::before, .party-zone::after {
  content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .09);
}
.party-zone::before { width: 460px; height: 460px; right: -140px; top: -160px; }
.party-zone::after { width: 300px; height: 300px; right: 40px; bottom: -180px; }
.party-zone .wrap { position: relative; z-index: 2; }
.party-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; flex-wrap: wrap; gap: 14px; }
.party-head .pt h2 { font-family: var(--font-serif); font-size: 30px; letter-spacing: 6px; color: #fff; }
.party-head .pt .en { font-size: 11.5px; letter-spacing: 3px; color: rgba(255, 224, 156, .85); text-transform: uppercase; margin-top: 5px; }
.party-head .pt p { margin: 8px 0 0; font-size: 14px; color: rgba(255, 255, 255, .72); }
.party-head .pt-line { width: 60px; height: 3px; background: var(--gold-l); border-radius: 2px; margin-top: 12px; }
.party-head .more-link { color: rgba(255, 255, 255, .8); }
.party-head .more-link:hover { color: #fff; }
.party-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.party-cards .a-card { border: 0; background: rgba(255, 255, 255, .97); }
.party-cards .a-card h4 { color: var(--t1); }
.party-cards .a-card:hover h4 { color: var(--red); }
.party-cards .a-card .meta { color: var(--t3); }

/* ---------- 人才培养 / 师资 网格 ---------- */
.profile-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 20px; box-shadow: var(--shadow); transition: all .28s; position: relative; overflow: hidden;
}
.profile-card::before {
  content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--gold)); transform: scaleX(0); transform-origin: left; transition: transform .35s;
}
.profile-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.profile-card:hover::before { transform: scaleX(1); }
.profile-card .pc-icon {
  width: 46px; height: 46px; border-radius: 12px; background: var(--navy-tint);
  display: grid; place-items: center; margin-bottom: 14px;
}
.profile-card .pc-icon svg { width: 24px; height: 24px; fill: var(--navy); }
.profile-card h4 { font-size: 16px; line-height: 1.55; margin-bottom: 8px; }
.profile-card:hover h4 { color: var(--navy-l); }
.profile-card p { font-size: 13px; color: var(--t2); line-height: 1.8; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.profile-card .pc-more { margin-top: 12px; font-size: 12.5px; color: var(--gold); }

/* ---------- 友情链接 ---------- */
.links-bar { padding: 32px 0; background: #fff; border-top: 1px solid var(--line); margin-top: 42px; }
.links-bar .lb-title { font-size: 15px; color: var(--t2); margin-bottom: 14px; letter-spacing: 1px; }
.links-bar .lb-list { display: flex; flex-wrap: wrap; gap: 12px; }
.links-bar .lb-list a {
  font-size: 13.5px; color: var(--t2); border: 1px solid var(--line); border-radius: 3px;
  padding: 7px 16px; background: #fbfcfe; transition: all .22s;
}
.links-bar .lb-list a:hover { border-color: var(--navy); color: #fff; background: var(--navy); }

/* ---------- 页脚 ---------- */
.site-footer { background: #0a2544; color: rgba(255, 255, 255, .68); padding: 42px 0 0; font-size: 13.5px; }
.foot-main { display: grid; grid-template-columns: 1.4fr 1fr 1fr 178px; gap: 34px; padding-bottom: 30px; }
.foot-col h4 { color: #fff; font-size: 15.5px; margin-bottom: 16px; font-weight: 500; letter-spacing: 1px; position: relative; padding-bottom: 10px; }
.foot-col h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 28px; height: 2px; background: var(--gold); }
.foot-col p { margin: 0 0 8px; line-height: 1.9; }
.foot-col ul li { margin-bottom: 9px; }
.foot-col ul a { color: rgba(255, 255, 255, .68); }
.foot-col ul a:hover { color: var(--gold-l); }
.foot-qr { text-align: center; }
.foot-qr .qr-box { background: #fff; padding: 7px; border-radius: 6px; display: inline-block; }
.foot-qr .qr-box img, .foot-qr .qr-box svg { width: 112px; height: 112px; display: block; object-fit: contain; }
.foot-qr .qr-cap { display: block; margin-top: 10px; font-size: 12.5px; }
/* 书记院长电子信箱入口 */
.foot-qr .mbox-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 18px; padding: 9px 10px; border-radius: 6px;
  border: 1px solid rgba(193, 146, 48, .45); background: rgba(255, 255, 255, .045);
  color: rgba(255, 255, 255, .85); font-size: 12.5px; line-height: 1.35;
  transition: border-color .2s, background .2s, color .2s;
}
.foot-qr .mbox-btn:hover { border-color: var(--gold); background: rgba(193, 146, 48, .14); color: #fff; }
.foot-qr .mbox-btn .mbox-ico {
  flex: none; width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(193, 146, 48, .2);
}
.foot-qr .mbox-btn .mbox-ico svg { width: 13px; height: 13px; fill: var(--gold-l); }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 16px 0; text-align: center; font-size: 12.5px; color: rgba(255, 255, 255, .5); line-height: 1.9; }
.foot-bottom a { color: rgba(255, 255, 255, .5); }
.foot-bottom a:hover { color: var(--gold-l); }

/* ---------- 内页：横幅 ---------- */
.page-banner {
  height: 210px; background-size: cover; background-position: center; position: relative;
  display: flex; align-items: center; transition: height .35s ease;
}
.page-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 36, 68, .85), rgba(7, 36, 68, .35)); }
.page-banner .wrap { position: relative; z-index: 2; color: #fff; }
.page-banner h1 { font-family: var(--font-serif); font-size: 34px; letter-spacing: 3px; }
.page-banner .en { font-size: 12px; letter-spacing: 3px; text-transform: uppercase; color: rgba(255, 255, 255, .6); margin-top: 6px; }

.breadcrumb { background: #fff; border-bottom: 1px solid var(--line); font-size: 13.5px; color: var(--t3); }
.breadcrumb .wrap { display: flex; align-items: center; gap: 8px; height: 46px; }
.breadcrumb a:hover { color: var(--navy); }
.breadcrumb .sep { color: var(--t3); }
.breadcrumb .cur { color: var(--navy); }

/* ---------- 内页：两栏 ---------- */
.page-body { padding: 34px 0 56px; }
.layout { display: grid; grid-template-columns: 236px 1fr; gap: 32px; align-items: start; }

.side-menu { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; position: sticky; top: 16px; }
.side-menu .sm-head {
  background: linear-gradient(120deg, var(--navy), var(--navy-d)); color: #fff;
  padding: 18px 22px; font-size: 18px; letter-spacing: 2px; font-family: var(--font-serif);
}
.side-menu .sm-head small { display: block; font-size: 10.5px; letter-spacing: 1.5px; color: rgba(255, 255, 255, .55); font-family: var(--font-sans); text-transform: uppercase; margin-top: 3px; }
.side-menu ul li a { display: block; padding: 13px 22px; font-size: 15px; color: var(--t1); border-bottom: 1px solid var(--line); position: relative; }
.side-menu ul li a::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--gold); transform: scaleY(0); transition: transform .25s; }
.side-menu ul li a:hover { background: var(--navy-tint); color: var(--navy); padding-left: 28px; }
.side-menu ul li a.on { background: var(--navy-tint); color: var(--navy); font-weight: 500; }
.side-menu ul li a.on::before { transform: scaleY(1); }

.side-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; margin-top: 20px; }
.side-card h4 { font-size: 15.5px; color: var(--navy); padding-bottom: 11px; border-bottom: 1px solid var(--line); margin-bottom: 12px; }
.side-card p { margin: 0 0 8px; font-size: 13px; color: var(--t2); line-height: 1.85; }

.panel { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px 30px 30px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; border-bottom: 2px solid var(--line); padding-bottom: 14px; margin-bottom: 8px; }
.panel-head h2 { font-family: var(--font-serif); font-size: 22px; color: var(--navy); letter-spacing: 2px; }
.panel-head .ph-en { font-size: 11px; letter-spacing: 2px; color: var(--gold); text-transform: uppercase; }
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin: 16px 0 4px; }
.filter-bar a { font-size: 13.5px; padding: 5px 15px; border-radius: 16px; background: var(--bg); color: var(--t2); }
.filter-bar a:hover, .filter-bar a.on { background: var(--navy); color: #fff; }

/* ---------- 列表条目 ---------- */
.art-list li { padding: 17px 0; border-bottom: 1px dashed var(--line); display: flex; gap: 18px; }
.art-list li:last-child { border-bottom: 0; }
.art-list .athumb {
  width: 168px; height: 104px; border-radius: var(--radius-s); overflow: hidden; flex: none;
  background: var(--img-mat); display: flex; align-items: center; justify-content: center;
}
.art-list .athumb img { width: 100%; height: 100%; object-fit: contain; }
.art-list li:hover .athumb img { filter: brightness(1.04); }
.art-list .abody { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.art-list h3 { font-size: 17px; font-weight: 500; line-height: 1.55; margin-bottom: 8px; }
.art-list li:hover h3 { color: var(--navy-l); }
.art-list .asum { font-size: 13.5px; color: var(--t2); line-height: 1.8; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; flex: 1; }
.art-list .ameta { font-size: 12.5px; color: var(--t3); margin-top: 10px; display: flex; gap: 18px; flex-wrap: wrap; }
.art-list .ameta .dot { color: var(--t3); }

/* ---------- 列表页：卡片型（封面图在上，参考人员卡片版式） ---------- */
.art-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 10px; }
.art-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column;
  transition: transform .28s ease, box-shadow .28s ease;
}
.art-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.art-card .ac-img {
  aspect-ratio: 16 / 10; background: var(--img-mat); overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.art-card .ac-img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.art-card:hover .ac-img img { filter: brightness(1.04); }
.art-card .ac-ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.art-card .ac-ph svg { width: 46px; height: 46px; fill: #c3cfe2; }
.art-card .ac-body { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.art-card h3 {
  font-size: 16.5px; font-weight: 500; line-height: 1.55; color: var(--t1);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.art-card:hover h3 { color: var(--navy-l); }
.art-card .ac-sum {
  margin: 8px 0 0; font-size: 13px; color: var(--t2); line-height: 1.8; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.art-card .ac-meta {
  margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--line);
  font-size: 12px; color: var(--t3); display: flex; gap: 14px; flex-wrap: wrap;
}

/* ---------- 列表页：宫格型（纯图图集） ---------- */
.art-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 10px; }
.gal-item {
  position: relative; display: block; aspect-ratio: 4 / 3; border-radius: var(--radius-s);
  overflow: hidden; background: var(--img-mat); box-shadow: var(--shadow);
}
.gal-item img { width: 100%; height: 100%; object-fit: contain; display: block; }
.gal-item:hover img { filter: brightness(1.04); }
.gal-item .gal-ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.gal-item .gal-ph svg { width: 40px; height: 40px; fill: #c3cfe2; }
.gal-item .gal-cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 12px 10px;
  font-size: 13px; line-height: 1.5; color: #fff;
  background: linear-gradient(transparent, rgba(7, 26, 51, .78));
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* ---------- 列表页：公告型（日期徽章紧凑列表） ---------- */
.notice-rows { margin-top: 8px; }
.notice-rows li { border-bottom: 1px solid var(--line); }
.notice-rows li:last-child { border-bottom: 0; }
.notice-rows a { display: flex; align-items: center; gap: 16px; padding: 12px 6px; border-radius: var(--radius-s); transition: background .2s; }
.notice-rows a:hover { background: var(--navy-tint); }
.notice-rows .nr-date {
  flex: none; width: 64px; height: 54px; border-radius: var(--radius-s); background: var(--navy-tint);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--navy); transition: background .25s, color .25s;
}
.notice-rows .nr-date b { font-family: var(--font-serif); font-size: 20px; line-height: 1.1; }
.notice-rows .nr-date i { font-style: normal; font-size: 10.5px; letter-spacing: .5px; opacity: .8; }
.notice-rows a:hover .nr-date { background: var(--navy); color: #fff; }
.notice-rows .nr-title {
  flex: 1; min-width: 0; font-size: 15.5px; line-height: 1.6; color: var(--t1);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.notice-rows a:hover .nr-title { color: var(--navy-l); }
.notice-rows .nr-go { flex: none; color: var(--t3); font-size: 18px; }

@media (max-width: 1100px) {
  .art-cards { grid-template-columns: repeat(2, 1fr); }
  .art-gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .art-cards { grid-template-columns: 1fr; }
  .art-gallery { grid-template-columns: repeat(2, 1fr); }
  .art-list .athumb { width: 118px; height: 84px; }
}

.pager { display: flex; justify-content: center; align-items: center; gap: 7px; margin-top: 28px; flex-wrap: wrap; }
.pager a, .pager span {
  min-width: 36px; height: 36px; padding: 0 11px; border: 1px solid var(--line); border-radius: 4px;
  display: inline-flex; align-items: center; justify-content: center; font-size: 14px; color: var(--t2); background: #fff;
}
.pager a:hover { border-color: var(--navy); color: var(--navy); }
.pager .cur { background: var(--navy); border-color: var(--navy); color: #fff; }
.pager .dis { opacity: .45; cursor: not-allowed; }
.pager .pinfo { border: 0; color: var(--t3); font-size: 13px; }

/* ---------- 首页师资队伍（带照片的紧凑条目） ---------- */
.faculty-mini { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.fac-item {
  display: flex; gap: 11px; align-items: center; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius-s); padding: 10px;
  transition: transform .26s ease, box-shadow .26s ease, border-color .26s ease;
}
.fac-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #cddcef; }
.fac-item .f-photo {
  width: 54px; height: 70px; flex: none; border-radius: 4px; overflow: hidden;
  background: var(--img-mat);
  display: flex; align-items: center; justify-content: center;
}
.fac-item .f-photo img { width: 100%; height: 100%; object-fit: contain; }
.fac-item .f-photo .ph { font-family: var(--font-serif); font-size: 24px; color: var(--navy); opacity: .42; line-height: 1; }
.fac-item .f-photo svg { width: 26px; height: 26px; fill: var(--navy); opacity: .42; }
.fac-item .f-body { min-width: 0; display: flex; flex-direction: column; }
.fac-item .f-body b { font-size: 15px; color: var(--t1); line-height: 1.4; }
.fac-item .f-body em { font-style: normal; font-size: 12.5px; color: #8a6a17; margin-top: 2px; }
.fac-item .f-body i {
  font-style: normal; font-size: 12px; color: var(--t3); line-height: 1.65; margin-top: 4px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* ---------- 人员条目卡片（现任领导等） ---------- */
.member-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(198px, 1fr));
  gap: 22px; margin-top: 6px;
}
/* 首页人员型板块：全宽下固定 4 列，避免卡片过碎 */
.home-members { grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 14px; }
@media (max-width: 1100px) { .home-members { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .home-members { grid-template-columns: repeat(2, 1fr); } }
.member-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); transition: transform .28s ease, box-shadow .28s ease;
}
.member-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.member-card .m-photo {
  aspect-ratio: 3 / 4; background: var(--img-mat);
  overflow: hidden; display: flex; align-items: center; justify-content: center;
}
.member-card .m-photo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.member-card:hover .m-photo img { filter: brightness(1.04); }
.member-card .m-photo .ph {
  font-family: var(--font-serif); font-size: 44px; color: var(--navy); opacity: .38; line-height: 1;
}
.member-card .m-photo .ph.icon svg { width: 54px; height: 54px; fill: var(--navy); }
.member-card .m-body { padding: 15px 16px 18px; }
.member-card .m-name {
  font-size: 17.5px; font-weight: 600; color: var(--navy); letter-spacing: 1.5px;
  font-family: var(--font-serif); text-align: center;
}
.member-card .m-title {
  margin-top: 7px; text-align: center; font-size: 13px; color: #8a6a17;
  background: var(--gold-tint); border: 1px solid #f0e3c4; border-radius: 20px;
  display: inline-block; padding: 1px 12px; width: 100%;
}
.member-card .m-duty {
  margin: 10px 0 0; font-size: 13px; color: var(--t2); line-height: 1.8; text-align: justify;
}
.member-card .m-bio {
  margin: 8px 0 0; padding-top: 8px; border-top: 1px dashed var(--line);
  font-size: 12.5px; color: var(--t3); line-height: 1.75;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.member-card[data-mem] { cursor: pointer; }

/* ---------- 人员完整信息弹窗 ---------- */
.member-modal-mask {
  position: fixed; inset: 0; z-index: 200; display: none;
  background: rgba(10, 22, 44, .55); backdrop-filter: blur(3px);
}
.member-modal-mask.on { display: flex; align-items: center; justify-content: center; padding: 24px; }
.member-modal {
  position: relative; background: var(--card); border-radius: 14px; box-shadow: var(--shadow-lg);
  width: min(720px, 100%); max-height: 88vh; overflow: auto;
  display: grid; grid-template-columns: 240px 1fr;
  animation: mmIn .26s cubic-bezier(.34, 1.3, .64, 1);
}
@keyframes mmIn { from { opacity: 0; transform: translateY(18px) scale(.97); } to { opacity: 1; transform: none; } }
.member-modal .mm-x {
  position: absolute; top: 10px; right: 12px; width: 34px; height: 34px;
  border: 0; background: transparent; font-size: 24px; line-height: 1; color: var(--t3);
  cursor: pointer; border-radius: 8px; z-index: 2;
}
.member-modal .mm-x:hover { background: var(--red-tint); color: var(--red); }
.member-modal .mm-photo {
  background: var(--img-mat);
  display: flex; align-items: center; justify-content: center; overflow: hidden; min-height: 300px;
}
.member-modal .mm-photo img { width: 100%; height: 100%; object-fit: contain; }
.member-modal .mm-photo .ph { font-family: var(--font-serif); font-size: 76px; color: var(--navy); opacity: .38; }
.member-modal .mm-photo .ph.icon svg { width: 76px; height: 76px; fill: var(--navy); }
.member-modal .mm-body { padding: 30px 30px 26px; }
.member-modal .mm-name {
  font-family: var(--font-serif); font-size: 24px; font-weight: 600;
  color: var(--navy); letter-spacing: 2px;
}
.member-modal .mm-title {
  display: inline-block; margin-top: 10px; font-size: 13.5px; color: #8a6a17;
  background: var(--gold-tint); border: 1px solid #f0e3c4; border-radius: 20px; padding: 3px 16px;
}
.member-modal .mm-duty {
  margin: 16px 0 0; font-size: 14px; color: var(--t2); line-height: 1.9;
  padding-bottom: 14px; border-bottom: 1px dashed var(--line);
}
.member-modal .mm-bio { margin-top: 14px; font-size: 14px; color: var(--t1); line-height: 2; }
/* 简介逐段渲染：每段首行缩进 2 字符（与公文排版一致） */
.member-modal .mm-bio p { margin: 0 0 6px; text-indent: 2em; text-align: justify; }
.member-modal .mm-bio p:last-child { margin-bottom: 0; }
.member-modal .mm-research {
  margin: 12px 0 0; font-size: 14px; color: var(--t2); line-height: 1.9;
}
.member-modal .mm-research span {
  display: inline-block; margin-right: 10px; padding: 1px 8px; border-radius: 3px;
  font-size: 12px; color: var(--navy);
  background: rgba(31, 90, 160, .08); border: 1px solid rgba(31, 90, 160, .16);
}

@media (max-width: 640px) {
  .member-modal { grid-template-columns: 1fr; }
  .member-modal .mm-photo { min-height: 0; height: 300px; }
  .member-modal .mm-body { padding: 20px 20px 22px; }
}

/* ---------- 详情页 ---------- */
.article-head { border-bottom: 1px solid var(--line); padding-bottom: 18px; margin-bottom: 26px; }
.article-head h1 { font-size: 27px; line-height: 1.55; text-align: center; font-weight: 600; color: var(--t1); font-family: var(--font-serif); }
.article-head .sub { text-align: center; font-size: 15px; color: var(--t2); margin-top: 10px; }
.article-meta {
  display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; font-size: 13px; color: var(--t3); margin-top: 16px;
}
.article-meta span { display: inline-flex; align-items: center; gap: 5px; }
.article-meta svg { width: 14px; height: 14px; fill: var(--t3); flex: none; }
/* 2026-10-30 只隐藏空的「发布：」项（组件输出顺序：1来源 2时间 3发布 4阅读），其余全保留 */
.article-meta span:nth-child(3) { display: none; }
/* 正文排版（.article-content）统一定义于 /css/richtext.css —— 与后台编辑器共用，确保所见即所得 */

.attachments { margin-top: 30px; padding: 16px 20px; background: var(--bg); border-radius: var(--radius-s); }
.attachments h4 { font-size: 15px; margin-bottom: 10px; color: var(--navy); }
.attachments li { padding: 6px 0; font-size: 14px; }

.article-foot { margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 14px; color: var(--t2); }
.article-foot a {max-width: 46%;overflow: hidden;text-overflow: ellipsis;white-space: normal;}
.related { margin-top: 34px; }
.related h3 { font-size: 17px; color: var(--navy); margin-bottom: 14px; padding-left: 12px; border-left: 3px solid var(--gold); }
.related li { padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 14.5px; }
.related li:last-child { border-bottom: 0; }
.related li span { color: var(--t3); font-size: 13px; float: right; }

/* ---------- 搜索结果 / 空状态 ---------- */
.empty { text-align: center; padding: 70px 20px; color: var(--t3); }
.empty svg { width: 54px; height: 54px; fill: var(--line); margin-bottom: 14px; }
.empty p { margin: 0; font-size: 14.5px; }

.skel { background: linear-gradient(90deg, #eef1f6 25%, #f7f9fc 50%, #eef1f6 75%); background-size: 200% 100%; animation: skel 1.3s infinite; border-radius: 6px; }
@keyframes skel { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ---------- 返回顶部 ---------- */
.to-top {
  position: fixed; right: 26px; bottom: 32px; width: 44px; height: 44px; border-radius: 8px;
  background: var(--navy); color: #fff; display: grid; place-items: center; cursor: pointer;
  box-shadow: var(--shadow-md); opacity: 0; visibility: hidden; transition: all .3s; z-index: 99; border: 0;
}
.to-top.on { opacity: 1; visibility: visible; }
.to-top:hover { background: var(--gold); }

/* ---------- 响应式 ---------- */
@media (max-width: 1100px) {
  .cols-3, .cols-4, .cols-3eq, .cols-news { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 300px 1fr; }
  .party-cards { grid-template-columns: repeat(2, 1fr); }
  .quickbar .wrap { grid-template-columns: repeat(3, 1fr); }
  .quick-item:nth-child(3) { border-right: 0; }
  .foot-main { grid-template-columns: 1fr 1fr; }

  /* 页头：院徽随屏宽收一档 */
  .site-header .wrap { min-height: 128px; }
  .brand .emblem { width: 70px; height: 70px; }
  .brand .emblem svg { width: 38px; height: 38px; }
  .brand .brand-logo { height: 64px; max-width: 360px; }
  .brand-text.no-name .slogan { font-size: 15px; letter-spacing: 4px; }
}

@media (max-width: 820px) {
  .topbar { display: none; }
  .site-header .wrap { min-height: 104px; }
  .brand { gap: 10px; }
  .brand .emblem { width: 54px; height: 54px; }
  .brand .emblem svg { width: 30px; height: 30px; }
  .brand .brand-logo { height: 52px; max-width: 300px; }
  .brand-text h1 { font-size: 20px; letter-spacing: 1px; }
  .brand-text .en { display: none; }
  .brand-text .slogan { font-size: 11px; letter-spacing: 3px; }
  .brand-text.no-name .slogan { font-size: 12.5px; letter-spacing: 2px; }
  .header-extra { display: none; }
  .header-right { display: none; }

  .nav-toggle {
    display: flex; align-items: center; gap: 8px; color: #fff; background: rgba(255, 255, 255, .12);
    border: 0; border-radius: 6px; padding: 9px 14px; font-size: 15px; cursor: pointer; margin: 12px 0;
  }
  .mainnav .wrap { display: block; padding: 0; }
  .mainnav .nav-item { text-align: left; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .mainnav .nav-item > a { padding: 13px 20px; font-size: 15.5px; }
  .mainnav .nav-item > a::after { display: none; }
  .dropdown {
    position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none;
    min-width: 0; padding: 0 0 8px; border-top: 0; background: rgba(0, 0, 0, .16); border-radius: 0;
  }
  .dropdown a { color: rgba(255, 255, 255, .82); padding: 9px 34px; font-size: 14px; }
  .dropdown a:hover { background: rgba(255, 255, 255, .1); color: #fff; }
  .mainnav .nav-collapsed .nav-item { display: none; }
  .mainnav .nav-collapsed .nav-item.active { display: block; }

  .hero { height: 320px; }
  .hero-inner { padding-top: 64px; }
  .hero-copy h2 { font-size: 27px; letter-spacing: 1px; }
  .hero-copy .hero-tag { font-size: 12px; letter-spacing: 2px; }
  .hero-copy .hero-cta { padding: 10px 24px; font-size: 14px; }
  .hero-arrow { display: none; }

  .quickbar .wrap { grid-template-columns: repeat(2, 1fr); }
  .quick-item { border-bottom: 1px solid var(--line); }
  .quick-item:nth-child(odd) { border-right: 1px solid var(--line); }
  .quick-item:nth-child(even) { border-right: 0; }

  .statsbar .wrap { grid-template-columns: repeat(2, 1fr); gap: 22px 0; }
  .stat:nth-child(2) { border-right: 0; }
  .stat .num { font-size: 30px; }

  .section { padding: 34px 0 6px; }
  .cols { gap: 26px; }
  .cols-2, .cols-3, .cols-4, .cols-news, .news-grid, .layout { grid-template-columns: 1fr; }
  .news-grid .news-lead .thumb { height: 170px; }
  .card-grid, .card-grid.g3, .card-grid.g4, .party-cards { grid-template-columns: 1fr; }
  .mini-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
  .thumb-list .tl-thumb { flex-basis: 104px; width: 104px; height: 70px; }
  .thumb-list h4 { font-size: 14.5px; line-height: 1.6; }
  .mini-card { min-height: 84px; padding: 12px 13px 10px; }
  .mini-card h4 { font-size: 14px; }

  .side-menu { position: static; }
  .side-menu ul { display: flex; flex-wrap: wrap; }
  .side-menu ul li { flex: 1 0 33.33%; }
  .side-menu ul li a { padding: 11px 12px; text-align: center; border-right: 1px solid var(--line); font-size: 13.5px; }
  .side-menu ul li a:hover { padding-left: 12px; }

  .panel { padding: 18px 16px 22px; }
  .article-head h1 { font-size: 21px; }
  .art-list li { flex-direction: column; gap: 12px; }
  .art-list .athumb { width: 100%; height: 170px; }

  .foot-main { grid-template-columns: 1fr; gap: 24px; }
  .foot-qr { text-align: left; }
  .foot-qr .mbox-btn { display: inline-flex; justify-content: flex-start; }
  .to-top { right: 14px; bottom: 20px; }
}

/* 小屏手机：院徽一行、标语另起一行，避免横向溢出 */
@media (max-width: 480px) {
  .site-header .wrap { min-height: 96px; }
  .brand { gap: 6px 10px; flex-wrap: wrap; }
  .brand .brand-logo { height: 46px; max-width: 74vw; }
  .brand-text { flex: 1 1 100%; }
  .brand-text.no-name .slogan { font-size: 12.5px; letter-spacing: 2px; }

  /* 人员卡片：窄屏两列，避免卡片过窄 */
  .member-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .member-card .m-body { padding: 11px 11px 14px; }
  .member-card .m-name { font-size: 16px; letter-spacing: 1px; }
  .member-card .m-title { font-size: 12px; padding: 1px 6px; }
  .member-card .m-duty { font-size: 12.5px; }
  .member-card .m-bio { display: none; }
}

/* ==========================================================================
   站内搜索（高级检索）
   ========================================================================== */
.adv-search {
  background: linear-gradient(180deg, #f7f9fc, #fff);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px 14px;
  margin: 8px 0 20px;
}
.adv-search .as-grid {
  display: grid;
  grid-template-columns: 2fr 1.1fr 1.1fr .85fr .85fr;
  gap: 12px 14px;
}
.adv-search .as-f { display: block; min-width: 0; }
.adv-search .as-lbl {
  display: block; font-size: 12.5px; color: var(--t3);
  letter-spacing: .5px; margin-bottom: 5px;
}
.adv-search .as-inp {
  width: 100%; height: 38px; padding: 0 11px; border: 1px solid var(--line);
  border-radius: var(--radius-s); background: #fff; color: var(--t1); outline: 0;
  transition: border-color .18s, box-shadow .18s;
}
.adv-search .as-inp:focus { border-color: var(--navy-l); box-shadow: 0 0 0 3px rgba(22, 87, 159, .10); }
.adv-search .as-line {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px;
  margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line);
}
.adv-search .as-line .as-lbl { margin: 0; }
.adv-search .as-lbl-2 { margin-left: 10px !important; }
.adv-search .as-checks { display: flex; gap: 6px; }
.adv-search .as-checks label {
  display: inline-flex; align-items: center; gap: 5px; padding: 5px 11px;
  border: 1px solid var(--line); border-radius: 20px; background: #fff;
  font-size: 13px; color: var(--t2); cursor: pointer; transition: all .18s;
}
.adv-search .as-checks label:hover { border-color: var(--navy-l); color: var(--navy); }
.adv-search .as-checks input { accent-color: var(--navy-l); width: 13px; height: 13px; margin: 0; }
.adv-search .as-checks label:has(input:checked) {
  border-color: var(--navy-l); background: var(--navy-tint); color: var(--navy); font-weight: 600;
}
.adv-search .as-sel-sm { width: auto; min-width: 108px; height: 34px; font-size: 13px; }
.adv-search .as-btns { margin-left: auto; display: flex; gap: 8px; }
.adv-search .as-btn {
  height: 34px; padding: 0 20px; border: 0; border-radius: 18px; cursor: pointer;
  background: var(--navy); color: #fff; font-size: 13.5px; letter-spacing: 1px; transition: all .18s;
}
.adv-search .as-btn:hover { background: var(--navy-l); }
.adv-search .as-btn.ghost { background: #fff; color: var(--t2); border: 1px solid var(--line); }
.adv-search .as-btn.ghost:hover { border-color: var(--navy-l); color: var(--navy); }
.adv-search .as-tip { margin-top: 10px; font-size: 12.5px; color: var(--t3); line-height: 1.7; }

.sr-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap; margin: 2px 0 6px;
}
.sr-total { font-size: 13.5px; color: var(--t2); }
.sr-total b { color: var(--red); font-size: 16px; margin: 0 2px; }
.sr-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.sr-tags span {
  font-size: 12px; color: var(--t2); background: var(--navy-tint);
  border-radius: 4px; padding: 3px 9px; line-height: 1.6;
}
.sr-tags b { color: var(--navy); font-weight: 600; }
.sr-list .ameta .sr-hit { color: var(--gold); }
mark.kw { background: #fff1c2; color: #7a4b00; padding: 0 1px; border-radius: 2px; }

@media (max-width: 1000px) {
  .adv-search .as-grid { grid-template-columns: 1fr 1fr; }
  .adv-search .as-f-kw { grid-column: 1 / -1; }
  .adv-search .as-btns { margin-left: 0; }
}
@media (max-width: 640px) {
  .adv-search .as-grid { grid-template-columns: 1fr; }
  .adv-search .as-f-kw { grid-column: auto; }
  .adv-search .as-lbl-2 { margin-left: 0 !important; }
}
@media (max-width: 820px) {
  .side-card { display: none; }
}

/* ---------- 站群「简单检索」组件外观适配（贴合页头胶囊设计） ---------- */
.header-right #divu0 { display: flex; align-items: center; height: 34px;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22);
  border-radius: 20px; padding: 0 6px 0 14px; box-sizing: border-box; }
.header-right #appu0 .qwss {
  height: 32px !important; margin: 0 !important; padding: 0 !important;
  background: transparent !important; border: 0 !important; outline: none;
  color: #fff !important; width: 170px !important; min-width: 0 !important;
  max-width: none !important; font-size: 13.5px; font-family: inherit;
  border-radius: 0 !important; }
.header-right #appu0 .qwss::placeholder { color: rgba(255,255,255,.55); }
.header-right #appu0 .tj {
  height: 24px !important; min-width: 0 !important; width: auto !important;
  margin: 0 !important; padding: 0 12px !important;
  background: rgba(255,255,255,.18) !important; border: 0 !important;
  border-radius: 12px !important; color: #fff !important;
  font-size: 12.5px; letter-spacing: 2px; text-indent: 2px;
  cursor: pointer; transition: background .2s, color .2s; }
.header-right #appu0 .tj:hover { background: #d4b45c !important; color: #123 !important; }

/* 2026-11-01 新院标（校名|竖线|圆标+院名，比例6.46:1）加宽 max-width，避免被旧的460px压矮 */
.brand .brand-logo { max-width: 680px; }
@media (max-width: 1100px) { .brand .brand-logo { max-width: 500px; } }
@media (max-width: 820px)  { .brand .brand-logo { max-width: 410px; } }

/* 标语缩小 + 与院标英文字母底边对齐 */
.site-header .brand { align-items: flex-end; }
.site-header .brand .brand-text.no-name { align-items: flex-end; }
.site-header .brand .brand-text .slogan {
  font-size: 15px !important; letter-spacing: 3px !important;
  line-height: 1; margin-bottom: 12px;
}
@media (max-width: 1100px) { .site-header .brand .brand-text .slogan { margin-bottom: 9px; } }
@media (max-width: 820px) {
  .site-header .brand .brand-text .slogan { font-size: 12px !important; letter-spacing: 2px !important; margin-bottom: 7.5px; }
}
@media (max-width: 480px) {
  .site-header .brand .brand-text .slogan { margin-bottom: 0; }
}