/* ==========================================================================
   泉州华光职业学院 · 数智商贸学院（原商学院）
   设计语言：「数智新潮 · 商贸脉动」
   深海军蓝基底 × 数智蓝青渐变 × 活力橙点缀
   ========================================================================== */

:root {
  /* 色板 */
  --navy: #0b1e45;
  --navy-deep: #071430;
  --navy-soft: #15295a;
  --blue: #1b4fd8;
  --blue-bright: #2f6bff;
  --cyan: #2ad4ea;
  --cyan-soft: rgba(42, 212, 234, 0.16);
  --orange: #ff7a2e;
  --orange-soft: rgba(255, 122, 46, 0.14);
  --bg: #f5f8fc;
  --card: #ffffff;
  --ink: #1c2b3a;
  --ink-soft: #52627a;
  --ink-faint: #8a97ab;
  --line: #e3eaf4;

  /* 字体 */
  --font-display: "ZCOOL QingKe HuangYou", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-num: "Sora", "Noto Sans SC", sans-serif;

  /* 布局 */
  --container: 1200px;
  --radius: 10px;
  --shadow-card: 0 8px 26px rgba(11, 30, 69, 0.08);
  --shadow-hover: 0 18px 42px rgba(11, 30, 69, 0.16);
  --grad-blue: linear-gradient(120deg, var(--blue) 10%, var(--cyan) 90%);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 15px; line-height: 1.75; color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; transition: color 0.25s var(--ease); }
a:hover { color: var(--blue); }
img { display: block; max-width: 100%; }
ul, ol { list-style: none; }
.container { width: min(var(--container), calc(100% - 40px)); margin-inline: auto; }

/* ============================== 顶部信息条 ============================== */
.topbar {
  background: var(--navy-deep);
  color: rgba(230, 240, 255, 0.72); font-size: 12.5px; letter-spacing: 0.04em;
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 34px; }
.topbar .date { display: flex; align-items: center; gap: 8px; font-family: var(--font-num); font-size: 12px; }
.topbar .date::before {
  content: ""; width: 6px; height: 6px; background: var(--cyan);
  transform: rotate(45deg); flex: none; box-shadow: 0 0 8px rgba(42, 212, 234, 0.9);
}
.topbar-links { display: flex; align-items: center; gap: 18px; }
.topbar-links a:hover { color: var(--cyan); }
.topbar-links .sep { width: 1px; height: 10px; background: rgba(255, 255, 255, 0.18); }

/* ============================== 页眉 ============================== */
.site-header {
  background: var(--card);
  background-image: radial-gradient(circle at 92% 0%, rgba(42, 212, 234, 0.1), transparent 30%);
  position: relative;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 0 20px; }

.brand { display: flex; align-items: center; gap: 18px; min-width: 0; }
.emblem {
  width: 64px; height: 64px; flex: none; position: relative;
  background: var(--grad-blue); border-radius: 16px;
  display: grid; place-items: center;
  box-shadow: 0 8px 18px rgba(27, 79, 216, 0.35), inset 0 0 0 2px rgba(255, 255, 255, 0.35);
}
.emblem span {
  font-family: var(--font-display); font-size: 32px; color: #fff;
  text-shadow: 0 2px 6px rgba(7, 20, 48, 0.35);
}
.emblem::after {
  content: ""; position: absolute; width: 14px; height: 14px; right: -3px; bottom: -3px;
  background: var(--orange); border-radius: 4px; border: 3px solid var(--card);
}
.brand-text .school {
  font-size: 12px; letter-spacing: 0.4em; color: var(--ink-faint);
  margin-bottom: 3px; padding-left: 0.4em;
}
.brand-text h1 {
  font-family: var(--font-display); font-weight: 400;
  font-size: 31px; letter-spacing: 0.08em; color: var(--navy); line-height: 1.2;
  display: flex; align-items: center; gap: 12px; white-space: nowrap;
}
.brand-text h1 .tag {
  font-family: var(--font-body); font-size: 11px; font-weight: 500; letter-spacing: 0.12em;
  color: var(--blue); background: rgba(27, 79, 216, 0.08);
  border: 1px solid rgba(27, 79, 216, 0.25); border-radius: 999px; padding: 2px 10px;
}
.brand-text .en {
  font-family: var(--font-num); font-size: 11px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--ink-faint); margin-top: 3px;
}

.header-search { flex: none; }
.header-search form {
  display: flex; align-items: center; width: 252px;
  border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden;
  background: var(--card); transition: all 0.3s var(--ease);
}
.header-search form:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(27, 79, 216, 0.14);
}
.header-search input {
  flex: 1; min-width: 0; border: 0; outline: 0; background: none;
  padding: 9px 16px; font-size: 13px; color: var(--ink);
}
.header-search input::placeholder { color: var(--ink-faint); }
.header-search button {
  flex: none; border: 0; cursor: pointer; width: 46px; height: 40px;
  background: var(--grad-blue); color: #fff;
  display: grid; place-items: center;
}
.search-glass { width: 14px; height: 14px; border: 2px solid currentColor; border-radius: 50%; position: relative; transform: rotate(45deg); }
.search-glass::after { content: ""; position: absolute; right: -6px; top: 8px; width: 7px; height: 2px; background: currentColor; }

/* ============================== 主导航 ============================== */
.main-nav {
  position: relative; z-index: 50;
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  box-shadow: 0 6px 20px rgba(7, 20, 48, 0.3);
}
.main-nav::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--cyan) 40%, var(--orange) 75%, var(--blue));
  background-size: 300% 100%; animation: navline 9s linear infinite;
}
@keyframes navline { from { background-position: 0% 0; } to { background-position: 300% 0; } }
.nav-list { display: flex; align-items: stretch; }
.nav-item { flex: 1; position: relative; }
.nav-item > a {
  display: block; text-align: center; padding: 15px 4px 13px;
  color: rgba(235, 243, 255, 0.92); font-size: 16px; font-weight: 500;
  letter-spacing: 0.08em; position: relative;
}
.nav-item > a::after {
  content: ""; position: absolute; left: 50%; bottom: 6px; transform: translateX(-50%) scaleX(0);
  width: 26px; height: 3px; border-radius: 2px;
  background: var(--grad-blue); transition: transform 0.3s var(--ease);
}
.nav-item + .nav-item::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 1px; height: 16px; background: rgba(255, 255, 255, 0.14);
}
.nav-item:hover > a, .nav-item.active > a { color: var(--cyan); }
.nav-item:hover > a::after, .nav-item.active > a::after { transform: translateX(-50%) scaleX(1); }
.nav-item.active > a { text-shadow: 0 0 14px rgba(42, 212, 234, 0.55); }

.dropdown {
  position: absolute; top: 100%; left: 50%; transform: translate(-50%, 12px);
  min-width: 168px; background: var(--card); border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: 0 22px 46px rgba(7, 20, 48, 0.2);
  padding: 8px 0; border-top: 3px solid var(--cyan);
  opacity: 0; visibility: hidden;
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease), visibility 0.28s;
}
.nav-item:hover .dropdown, .nav-item:focus-within .dropdown {
  opacity: 1; visibility: visible; transform: translate(-50%, 0);
}
.dropdown a {
  display: flex; align-items: center; gap: 9px;
  padding: 9.5px 22px; font-size: 13.5px; color: var(--ink-soft); white-space: nowrap;
}
.dropdown a::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%;
  background: var(--blue); opacity: 0.4; flex: none; transition: all 0.2s;
}
.dropdown a:hover { background: rgba(27, 79, 216, 0.06); color: var(--blue); }
.dropdown a:hover::before { opacity: 1; box-shadow: 0 0 6px rgba(27, 79, 216, 0.8); }

.nav-toggle { display: none; }

/* ============================== 轮播图 ============================== */
.hero-carousel { position: relative; overflow: hidden; background: var(--navy-deep); }
.carousel-track { position: relative; height: 470px; }
.carousel-slide {
  position: absolute; inset: 0; opacity: 0; z-index: 1;
  transition: opacity 1.1s var(--ease); pointer-events: none;
}
.carousel-slide.active { opacity: 1; z-index: 2; pointer-events: auto; }
.carousel-slide img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.07); transition: transform 7s linear;
}
.carousel-slide.active img { transform: scale(1); }
.carousel-slide::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 20, 48, 0.62) 0%, rgba(7, 20, 48, 0.18) 46%, transparent 70%),
    linear-gradient(180deg, transparent 55%, rgba(7, 20, 48, 0.5) 100%);
}
.carousel-caption {
  position: absolute; inset: 0; z-index: 3; display: flex; align-items: center;
  color: #fff; pointer-events: none;
}
.caption-inner { max-width: 640px; }
.caption-kicker {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-num); font-size: 12.5px; font-weight: 600;
  letter-spacing: 0.34em; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 14px;
  padding: 5px 16px 5px 14px; border: 1px solid rgba(42, 212, 234, 0.5);
  border-radius: 999px; background: rgba(7, 20, 48, 0.4); backdrop-filter: blur(4px);
}
.caption-kicker::before { content: ""; width: 7px; height: 7px; background: var(--cyan); border-radius: 50%; box-shadow: 0 0 10px var(--cyan); }
.carousel-caption h2 {
  font-family: var(--font-display); font-weight: 400;
  font-size: 44px; letter-spacing: 0.1em; line-height: 1.35;
  text-shadow: 0 4px 24px rgba(7, 20, 48, 0.6);
}
.carousel-caption p {
  margin-top: 12px; font-size: 15px; letter-spacing: 0.12em;
  color: rgba(240, 247, 255, 0.9); text-shadow: 0 2px 10px rgba(7, 20, 48, 0.5);
}

.carousel-dots { position: absolute; right: calc((100% - min(var(--container), 100% - 40px)) / 2); bottom: 24px; z-index: 4; display: flex; gap: 10px; }
.carousel-dots button {
  width: 36px; height: 4px; border: 0; cursor: pointer; border-radius: 2px;
  background: rgba(255, 255, 255, 0.35); position: relative; overflow: hidden; transition: background 0.3s;
}
.carousel-dots button.active { background: rgba(255, 255, 255, 0.38); }
.carousel-dots button.active::after {
  content: ""; position: absolute; inset: 0; width: 0;
  background: var(--grad-blue); animation: dot-progress 6s linear forwards;
}
@keyframes dot-progress { from { width: 0; } to { width: 100%; } }

.carousel-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 4;
  width: 46px; height: 46px; border-radius: 50%; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.38); background: rgba(7, 20, 48, 0.4);
  color: #fff; font-size: 18px; display: grid; place-items: center;
  backdrop-filter: blur(4px); opacity: 0; transition: opacity 0.35s var(--ease), background 0.3s;
}
.hero-carousel:hover .carousel-arrow { opacity: 1; }
.carousel-arrow:hover { background: var(--blue); border-color: var(--blue); }
.carousel-arrow.prev { left: 26px; }
.carousel-arrow.next { right: 26px; }

/* ============================== 章节标题 ============================== */
.section { padding: 52px 0 6px; }
.sec-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.sec-title { display: flex; align-items: center; gap: 16px; }
.sec-title .idx {
  font-family: var(--font-num); font-weight: 800; font-size: 30px; line-height: 1;
  background: var(--grad-blue); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent; letter-spacing: 0.02em;
}
.sec-title .texts { display: flex; flex-direction: column; }
.sec-title .zh {
  font-family: var(--font-display); font-weight: 400; font-size: 27px;
  letter-spacing: 0.1em; color: var(--navy); line-height: 1.25;
}
.sec-title .en {
  font-family: var(--font-num); font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.3em; text-transform: uppercase; color: var(--ink-faint);
}
.sec-title::after { content: none; }
.sec-head .rule { flex: 1; height: 2px; background: linear-gradient(90deg, var(--line) 0%, transparent 100%); margin: 0 6px; border-radius: 2px; position: relative; }
.sec-head .rule::before {
  content: ""; position: absolute; left: 0; top: 0; width: 64px; height: 2px;
  background: var(--grad-blue); border-radius: 2px;
}
.sec-more {
  flex: none; display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-num); font-size: 12.5px; font-weight: 600; letter-spacing: 0.14em;
  color: var(--ink-faint); padding: 7px 16px; border: 1.5px solid var(--line);
  border-radius: 999px; transition: all 0.3s var(--ease);
}
.sec-more:hover { color: var(--blue); border-color: var(--blue); background: rgba(27, 79, 216, 0.05); }
.sec-more .arrow { transition: transform 0.3s var(--ease); }
.sec-more:hover .arrow { transform: translateX(3px); }

/* ============================== 专业矩阵 ============================== */
.majors-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-bottom: 6px; }
.major-card {
  position: relative; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px 22px 22px;
  box-shadow: var(--shadow-card); overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s;
}
.major-card::before {
  content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 3px;
  background: var(--grad-blue); transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.major-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-hover); border-color: rgba(27, 79, 216, 0.35); }
.major-card:hover::before { transform: scaleX(1); }
.major-card .icon-chip {
  width: 54px; height: 54px; border-radius: 14px; margin-bottom: 16px;
  background: var(--grad-blue); color: #fff; display: grid; place-items: center;
  box-shadow: 0 8px 16px rgba(27, 79, 216, 0.28);
  transition: transform 0.4s var(--ease);
}
.major-card:hover .icon-chip { transform: rotate(-6deg) scale(1.06); }
.major-card.warm .icon-chip { background: linear-gradient(120deg, var(--orange), #ffb02e); box-shadow: 0 8px 16px rgba(255, 122, 46, 0.3); }
.major-card.warm::before { background: linear-gradient(90deg, var(--orange), #ffb02e); }
.major-card svg { width: 28px; height: 28px; }
.major-card h3 { font-size: 16.5px; font-weight: 700; letter-spacing: 0.04em; color: var(--navy); }
.major-card .desc { font-size: 12.5px; color: var(--ink-soft); margin-top: 7px; line-height: 1.7; }
.major-card .link {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 12px;
  font-family: var(--font-num); font-size: 11.5px; font-weight: 600; letter-spacing: 0.12em;
  color: var(--blue); opacity: 0.85;
}
.major-card .link:hover { opacity: 1; gap: 9px; }

/* ---------- 02 产教融合 · 深蓝分隔展区（明暗交替，区隔前后浅色板块） ---------- */
.bridge-zone {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(ellipse 70% 120% at 8% -30%, rgba(42, 212, 234, 0.16), transparent 55%),
    radial-gradient(ellipse 55% 110% at 96% 130%, rgba(255, 122, 46, 0.12), transparent 55%),
    linear-gradient(140deg, #0a1838 0%, #0e2452 52%, #142c63 100%);
}
.bridge-zone::before {
  content: ""; position: absolute; inset: 0; opacity: 0.5;
  background-image:
    linear-gradient(rgba(42, 212, 234, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(42, 212, 234, 0.05) 1px, transparent 1px);
  background-size: 34px 34px;
}
.bridge-zone::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: linear-gradient(90deg, transparent 4%, var(--blue) 25%, var(--cyan) 50%, var(--orange) 78%, transparent 96%);
}
.bridge-zone .container { position: relative; }
.bridge-zone .sec-title .zh { color: #fff; }
.bridge-zone .sec-title .en { color: rgba(225, 238, 255, 0.58); }
.bridge-zone .sec-head .rule { background: linear-gradient(90deg, rgba(225, 238, 255, 0.22), transparent 100%); }
.bridge-zone .sec-head .rule::before { background: linear-gradient(90deg, var(--cyan), var(--orange)); }
.bridge-zone .sec-more { color: rgba(225, 238, 255, 0.82); border-color: rgba(225, 238, 255, 0.32); }
.bridge-zone .sec-more:hover { color: var(--cyan); border-color: var(--cyan); background: rgba(42, 212, 234, 0.08); }
.bridge-zone .bridge-card {
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 30px rgba(4, 12, 30, 0.4);
}
.bridge-zone .bridge-card:hover { box-shadow: 0 22px 48px rgba(4, 12, 30, 0.55); }

/* ============================== 板块分隔带 ============================== */
.sec-divider { display: flex; align-items: center; gap: 18px; padding: 2px 0 10px; }
.sec-divider::before, .sec-divider::after { content: ""; flex: 1; height: 1px; }
.sec-divider::before { background: linear-gradient(90deg, transparent, rgba(27, 79, 216, 0.3)); }
.sec-divider::after { background: linear-gradient(270deg, transparent, rgba(42, 212, 234, 0.42)); }
.sec-divider .mark {
  width: 9px; height: 9px; border-radius: 2px; transform: rotate(45deg);
  background: var(--grad-blue); box-shadow: 0 0 0 4px rgba(27, 79, 216, 0.08);
}

/* ============================== 新闻 / 团学 / 党建三栏 ============================== */
.news-tri { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
/* 网格子项默认 min-width:auto 会被内部不换行标题撑宽，导致整行超出容器 */
.news-tri > *, .bridge-strip > *, .grid-2 > *, .grid-3 > *, .majors-grid > * { min-width: 0; }
/* 三栏等高：卡片纵向撑满，列表区占满剩余高度 */
.news-tri .col-card { display: flex; flex-direction: column; }
.news-tri .col-card ul { flex: 1; }

/* 新闻中心主栏 */
.news-main .featured {
  position: relative; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-card); display: block;
}
.news-main .featured img { width: 100%; height: 250px; object-fit: cover; transition: transform 0.8s var(--ease); }
.news-main .featured:hover img { transform: scale(1.05); }
.news-main .featured .cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 20px 14px;
  background: linear-gradient(180deg, transparent, rgba(7, 20, 48, 0.85)); color: #fff;
}
.news-main .featured .cap .tag {
  font-family: var(--font-num); font-size: 10.5px; font-weight: 700; letter-spacing: 0.2em;
  color: var(--cyan); text-transform: uppercase;
}
.news-main .featured .cap h3 {
  font-size: 17px; font-weight: 700; line-height: 1.55; margin-top: 4px;
}
.news-main .featured:hover .cap h3 { color: var(--cyan); }

/* 新闻中心主栏小幻灯片（学院动态最新有图文章，样式同 .featured，加箭头/圆点） */
.news-main .featured-placeholder {
  height: 250px; border-radius: var(--radius);
  background: linear-gradient(135deg, var(--cyan-soft), rgba(27, 79, 216, .12));
}
.news-carousel {
  position: relative; height: 250px; border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-card); background: var(--navy-soft);
}
.news-carousel-track { position: relative; height: 100%; }
.news-carousel-slide { position: absolute; inset: 0; opacity: 0; pointer-events: none; transition: opacity .55s var(--ease); }
.news-carousel-slide.active { opacity: 1; pointer-events: auto; }
.news-carousel-slide img { width: 100%; height: 100%; object-fit: cover; }
.news-carousel-slide .cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 20px 14px;
  background: linear-gradient(180deg, transparent, rgba(7, 20, 48, .85)); color: #fff;
}
.news-carousel-slide .cap .tag {
  font-family: var(--font-num); font-size: 10.5px; font-weight: 700; letter-spacing: 0.2em;
  color: var(--cyan); text-transform: uppercase;
}
.news-carousel-slide .cap h3 { font-size: 17px; font-weight: 700; line-height: 1.55; margin-top: 4px; }
.news-carousel-arrow {
  position: absolute; top: 50%; z-index: 3;
  width: 30px; height: 30px; border: 0; border-radius: 50%;
  transform: translateY(-50%); cursor: pointer;
  color: #fff; background: rgba(7, 20, 48, .46);
  font-size: 17px; line-height: 1;
  opacity: 0; transition: opacity .25s var(--ease), background .25s;
}
.news-carousel:hover .news-carousel-arrow, .news-carousel:focus-within .news-carousel-arrow { opacity: 1; }
.news-carousel-arrow:hover, .news-carousel-arrow:focus-visible { background: var(--blue); }
.news-carousel-arrow.prev { left: 12px; }
.news-carousel-arrow.next { right: 12px; }
.news-carousel-dots { position: absolute; right: 16px; bottom: 14px; z-index: 3; display: flex; gap: 6px; }
.news-carousel-dots button { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50%; cursor: pointer; background: rgba(255, 255, 255, .58); }
.news-carousel-dots button.active { width: 20px; border-radius: 999px; background: #fff; }

.news-main .rows { margin-top: 6px; }
.nrow {
  display: flex; align-items: center; gap: 14px;
  padding: 12.5px 8px; border-bottom: 1px dashed var(--line);
  transition: background 0.25s;
}
.nrow:last-child { border-bottom: 0; }
.nrow:hover { background: rgba(27, 79, 216, 0.05); }
.nrow .dot {
  flex: none; width: 7px; height: 7px; border-radius: 50%;
  background: var(--blue); opacity: 0.5; transition: all 0.25s;
}
.nrow:hover .dot { opacity: 1; box-shadow: 0 0 8px rgba(27, 79, 216, 0.8); }
.nrow h3 {
  flex: 1; min-width: 0; font-size: 14.5px; font-weight: 500;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.nrow:hover h3 { color: var(--blue); }
.nrow .time { flex: none; font-family: var(--font-num); font-size: 12px; color: var(--ink-faint); }

/* 三栏小卡（教学科研 / 青春团学 / 党建之窗） */
.col-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-card); overflow: hidden; position: relative;
}
.col-card .band { height: 4px; }
.col-card.c-blue .band { background: var(--grad-blue); }
.col-card.c-orange .band { background: linear-gradient(90deg, var(--orange), #ffb02e); }
.col-card.c-navy .band { background: linear-gradient(90deg, var(--navy), var(--cyan)); }
.col-card .head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px 12px;
}
.col-card .head h3 {
  display: flex; align-items: center; gap: 10px;
  font-size: 17px; font-weight: 700; color: var(--navy); letter-spacing: 0.06em;
}
.col-card .head h3::before {
  content: ""; width: 10px; height: 10px; border-radius: 3px; transform: rotate(45deg);
}
.col-card.c-blue .head h3::before { background: var(--blue); box-shadow: 0 0 10px rgba(27, 79, 216, 0.5); }
.col-card.c-orange .head h3::before { background: var(--orange); box-shadow: 0 0 10px rgba(255, 122, 46, 0.5); }
.col-card.c-navy .head h3::before { background: var(--navy); box-shadow: 0 0 10px rgba(11, 30, 69, 0.5); }
.col-card .head .more { font-family: var(--font-num); font-size: 11px; font-weight: 600; letter-spacing: 0.14em; color: var(--ink-faint); }
.col-card .head .more:hover { color: var(--blue); }
.col-card ul { padding: 2px 20px 14px; }
.col-card li { border-bottom: 1px dashed var(--line); }
.col-card li:last-child { border-bottom: 0; }
.col-card li a {
  display: block; padding: 10.5px 0 10.5px 15px; font-size: 13.5px; color: var(--ink-soft);
  position: relative; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.col-card li a::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); opacity: 0.7;
}
.col-card li a:hover { color: var(--blue); }
.col-card.c-blue li a:hover { color: var(--blue); }
.col-card.c-orange li a:hover { color: var(--orange); }

/* ============================== 产教融合 & 就业 ============================== */
.bridge-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.bridge-card {
  display: flex; align-items: center; gap: 18px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 24px; box-shadow: var(--shadow-card);
  transition: all 0.35s var(--ease); position: relative; overflow: hidden;
}
.bridge-card::after {
  content: ""; position: absolute; right: -26px; top: -26px; width: 84px; height: 84px;
  border-radius: 50%; background: var(--cyan-soft); transition: transform 0.4s var(--ease);
}
.bridge-card:nth-child(2)::after { background: var(--orange-soft); }
.bridge-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.bridge-card:hover::after { transform: scale(1.5); }
.bridge-card .glyph {
  flex: none; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; position: relative; z-index: 1;
  background: var(--grad-blue); color: #fff; box-shadow: 0 8px 18px rgba(27, 79, 216, 0.3);
}
.bridge-card:nth-child(2) .glyph { background: linear-gradient(120deg, var(--orange), #ffb02e); box-shadow: 0 8px 18px rgba(255, 122, 46, 0.32); }
.bridge-card:nth-child(3) .glyph { background: linear-gradient(120deg, var(--navy), var(--navy-soft)); box-shadow: 0 8px 18px rgba(11, 30, 69, 0.32); }
.bridge-card svg { width: 26px; height: 26px; }
.bridge-card .t { font-size: 16.5px; font-weight: 700; color: var(--navy); position: relative; z-index: 1; }
.bridge-card .d { font-size: 12.5px; color: var(--ink-soft); margin-top: 2px; position: relative; z-index: 1; }

/* ============================== 内页横幅 ============================== */
.page-banner {
  background:
    radial-gradient(ellipse 70% 150% at 88% -40%, rgba(42, 212, 234, 0.22), transparent 60%),
    linear-gradient(115deg, var(--navy-deep) 15%, var(--navy) 55%, var(--navy-soft));
  color: #fff; padding: 44px 0 40px; position: relative; overflow: hidden;
}
.page-banner::before {
  content: ""; position: absolute; inset: 0; opacity: 0.45;
  background-image:
    linear-gradient(rgba(42, 212, 234, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(42, 212, 234, 0.05) 1px, transparent 1px);
  background-size: 34px 34px;
}
.page-banner::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--cyan) 45%, var(--orange));
}
.page-banner .container { position: relative; }
.page-banner .crumb {
  font-size: 12.5px; letter-spacing: 0.12em; color: rgba(225, 238, 255, 0.68); margin-bottom: 14px;
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.page-banner .crumb a:hover { color: var(--cyan); }
.page-banner .crumb .sep { color: rgba(225, 238, 255, 0.4); }
.page-banner .crumb b { color: var(--cyan); font-weight: 500; }
.page-banner h2 {
  font-family: var(--font-display); font-weight: 400; font-size: 32px;
  letter-spacing: 0.14em; display: flex; align-items: baseline; gap: 16px;
}
.page-banner h2 .en {
  font-family: var(--font-num); font-size: 12px; font-weight: 600;
  letter-spacing: 0.3em; text-transform: uppercase; color: var(--cyan);
}

/* ============================== 列表页布局 ============================== */
.page-layout { display: grid; grid-template-columns: 250px 1fr; gap: 30px; padding: 40px 0 60px; align-items: start; }

.side-nav { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-card); position: sticky; top: 24px; }
.side-nav h3 {
  background: linear-gradient(120deg, var(--blue), var(--navy));
  color: #fff; font-size: 17px; font-weight: 700; letter-spacing: 0.2em;
  text-align: center; padding: 17px 0 15px;
}
.side-nav h3::after { content: ""; display: block; width: 44px; height: 2px; margin: 9px auto 0; background: var(--cyan); border-radius: 2px; }
.side-nav a {
  display: flex; align-items: center; gap: 10px;
  padding: 13.5px 26px; font-size: 14.5px; color: var(--ink-soft);
  border-bottom: 1px dashed var(--line); letter-spacing: 0.05em;
}
.side-nav a:last-child { border-bottom: 0; }
.side-nav a::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); opacity: 0.5; flex: none; transition: all 0.25s;
}
.side-nav a:hover { background: rgba(27, 79, 216, 0.05); color: var(--blue); padding-left: 31px; }
.side-nav a.on { background: rgba(27, 79, 216, 0.07); color: var(--blue); font-weight: 700; }
.side-nav a.on::before { background: var(--blue); opacity: 1; box-shadow: 0 0 8px rgba(27, 79, 216, 0.7); }

.side-hot {
  margin-top: 24px; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-card); overflow: hidden;
}
.side-hot h4 {
  display: flex; align-items: center; gap: 9px; padding: 15px 22px 12px;
  font-size: 15.5px; font-weight: 700; color: var(--navy);
}
.side-hot h4::before { content: ""; width: 8px; height: 8px; border-radius: 2px; transform: rotate(45deg); background: var(--orange); }
.side-hot ol { padding: 0 22px 16px; }
.side-hot li { display: flex; gap: 11px; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.side-hot li:last-child { border-bottom: 0; }
.side-hot .rank {
  flex: none; width: 20px; height: 20px; border-radius: 5px; margin-top: 2px;
  font-family: var(--font-num); font-size: 11px; font-weight: 700;
  display: grid; place-items: center; background: var(--bg); color: var(--ink-faint);
}
.side-hot li:nth-child(-n+3) .rank { background: var(--grad-blue); color: #fff; }
.side-hot li a {
  font-size: 12.8px; color: var(--ink-soft); line-height: 1.55;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.side-hot li:hover a { color: var(--blue); }

.list-main { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 30px 30px; box-shadow: var(--shadow-card); }
.list-row {
  display: flex; gap: 24px; padding: 22px 8px; border-bottom: 1px dashed var(--line);
  transition: background 0.25s;
}
.list-row:hover { background: rgba(27, 79, 216, 0.04); }
.list-row .thumb { flex: none; width: 176px; height: 112px; border-radius: 8px; overflow: hidden; }
.list-row .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.list-row:hover .thumb img { transform: scale(1.07); }
.list-row .body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.list-row h3 {
  font-size: 17px; font-weight: 600; letter-spacing: 0.01em; line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
}
.list-row:hover h3 { color: var(--blue); }
.list-row .summary {
  font-size: 13.5px; color: var(--ink-soft); margin-top: 8px; line-height: 1.8;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.list-row .meta {
  margin-top: auto; display: flex; align-items: center; gap: 16px;
  font-size: 12px; color: var(--ink-faint); letter-spacing: 0.05em; padding-top: 10px;
}
.list-row .meta .cat {
  color: var(--blue); background: rgba(27, 79, 216, 0.08);
  padding: 1px 10px; border-radius: 999px; font-weight: 500;
}
.list-row .meta .cat.orange { color: var(--orange); background: var(--orange-soft); }
.list-row .datecol { flex: none; width: 64px; text-align: center; padding-top: 4px; }
.list-row .datecol .d { font-family: var(--font-num); font-weight: 800; font-size: 30px; color: var(--blue); line-height: 1.1; }
.list-row .datecol .y { font-family: var(--font-num); font-size: 12px; color: var(--ink-faint); letter-spacing: 0.05em; }

.pagination { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 30px 0 14px; font-size: 13.5px; }
.pagination a, .pagination .cur {
  min-width: 38px; height: 38px; padding: 0 10px; display: grid; place-items: center;
  border: 1.5px solid var(--line); border-radius: 8px; background: var(--card);
  color: var(--ink-soft); transition: all 0.25s var(--ease); font-family: var(--font-num);
}
.pagination a:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }
.pagination .cur { background: var(--grad-blue); border-color: transparent; color: #fff; box-shadow: 0 6px 14px rgba(27, 79, 216, 0.35); }
.pagination .info { font-size: 12.5px; color: var(--ink-faint); margin-left: 14px; letter-spacing: 0.05em; }

/* ============================== 详情页 ============================== */
.article-layout { display: grid; grid-template-columns: 1fr 320px; gap: 30px; padding: 40px 0 64px; align-items: start; }
.article-main { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 44px 52px; box-shadow: var(--shadow-card); }
.article-main .cat-line {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-num); font-size: 11.5px; font-weight: 700;
  letter-spacing: 0.26em; text-transform: uppercase; color: var(--blue); margin-bottom: 16px;
}
.article-main .cat-line::before { content: ""; width: 26px; height: 2px; background: var(--grad-blue); border-radius: 2px; }
.article-main h2.article-title { font-size: 27px; font-weight: 900; line-height: 1.6; letter-spacing: 0.02em; color: var(--navy); }
.article-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 22px;
  margin: 20px 0 26px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  font-size: 12.5px; color: var(--ink-faint); letter-spacing: 0.05em;
}
.article-meta b { font-weight: 500; color: var(--ink-soft); }
.article-meta .views { margin-left: auto; }
.article-prose { font-size: 15.5px; line-height: 2.05; letter-spacing: 0.02em; }
.article-prose p { margin-bottom: 1.3em; text-align: justify; text-indent: 2em; }
.article-prose figure { margin: 2em 0; text-align: center; }
.article-prose figure img {
  width: 88%; margin-inline: auto; border-radius: 8px;
  box-shadow: var(--shadow-card); border: 1px solid var(--line);
}
.article-prose figcaption { margin-top: 10px; font-size: 12.5px; color: var(--ink-faint); letter-spacing: 0.08em; }
.article-prose .quote {
  text-indent: 0; margin: 1.8em 0; padding: 18px 24px; position: relative;
  background: rgba(27, 79, 216, 0.05); border-radius: 8px;
  font-size: 15px; color: var(--navy); line-height: 1.95;
}
.article-prose .quote::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: var(--grad-blue); border-radius: 4px;
}
.sign-off { margin-top: 30px; text-align: right; font-size: 13px; color: var(--ink-faint); line-height: 2.1; }

.pn-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--line); }
.pn-nav a {
  display: block; padding: 14px 20px; background: var(--bg);
  border: 1px solid var(--line); border-radius: 8px;
  font-size: 13.5px; color: var(--ink-soft); transition: all 0.3s var(--ease);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pn-nav a b {
  display: block; font-family: var(--font-num); font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--blue); margin-bottom: 4px;
}
.pn-nav a:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); background: var(--card); box-shadow: var(--shadow-card); }
.pn-nav .next { text-align: right; }

.aside-block { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-card); margin-bottom: 26px; overflow: hidden; }
.aside-block h4 {
  display: flex; align-items: center; gap: 10px;
  font-size: 16px; font-weight: 700; color: var(--navy);
  padding: 16px 22px 14px; border-bottom: 1px solid var(--line);
}
.aside-block h4::before { content: ""; width: 8px; height: 16px; border-radius: 2px; background: var(--grad-blue); }
.aside-block ul { padding: 8px 22px 14px; }
.aside-block li { border-bottom: 1px dashed var(--line); }
.aside-block li:last-child { border-bottom: 0; }
.aside-block li a {
  display: block; padding: 11px 0 11px 15px; font-size: 13.5px; color: var(--ink-soft);
  position: relative; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.aside-block li a::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); opacity: 0.6;
}
.aside-block li a:hover { color: var(--blue); }
.hot-card { padding: 20px 22px; display: block; }
.hot-card img { width: 100%; height: 148px; object-fit: cover; border-radius: 8px; }
.hot-card h5 { margin-top: 12px; font-size: 14.5px; font-weight: 600; line-height: 1.6; color: var(--ink); }
.hot-card:hover h5 { color: var(--blue); }
.hot-card .time { font-family: var(--font-num); font-size: 11.5px; color: var(--ink-faint); margin-top: 6px; display: block; }

/* ============================== 搜索页 ============================== */
.search-hero {
  background:
    radial-gradient(ellipse 75% 160% at 12% -50%, rgba(42, 212, 234, 0.22), transparent 55%),
    linear-gradient(115deg, var(--navy-deep), var(--navy) 55%, var(--navy-soft));
  padding: 52px 0 88px; position: relative; overflow: hidden;
}
.search-hero::before {
  content: ""; position: absolute; inset: 0; opacity: 0.5;
  background-image:
    linear-gradient(rgba(42, 212, 234, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(42, 212, 234, 0.05) 1px, transparent 1px);
  background-size: 34px 34px;
}
.search-hero .container { position: relative; }
.search-hero h2 {
  font-family: var(--font-display); font-weight: 400; font-size: 30px;
  letter-spacing: 0.18em; color: #fff; text-align: center; margin-bottom: 26px;
}
.search-hero .big-search {
  width: min(680px, 100%); margin-inline: auto; display: flex;
  border-radius: 999px; overflow: hidden; border: 2px solid rgba(42, 212, 234, 0.65);
  box-shadow: 0 20px 50px rgba(4, 12, 30, 0.5);
}
.search-hero input {
  flex: 1; min-width: 0; border: 0; outline: 0; background: var(--card);
  padding: 16px 30px; font-size: 15px;
}
.search-hero button {
  flex: none; border: 0; cursor: pointer; padding: 0 44px;
  background: var(--grad-blue); color: #fff;
  font-family: var(--font-display); font-size: 17px; letter-spacing: 0.3em;
  transition: filter 0.25s;
}
.search-hero button:hover { filter: brightness(1.12); }
.search-hot { margin-top: 18px; text-align: center; font-size: 12.5px; letter-spacing: 0.08em; color: rgba(225, 238, 255, 0.7); }
.search-hot a {
  display: inline-block; margin: 0 7px; padding: 2px 14px;
  border: 1px solid rgba(225, 238, 255, 0.3); border-radius: 999px; transition: all 0.25s;
}
.search-hot a:hover { background: rgba(42, 212, 234, 0.12); border-color: var(--cyan); color: var(--cyan); }

.search-body { padding-bottom: 66px; }
.search-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-card); margin-top: -46px; position: relative; z-index: 2;
  padding: 26px 32px 34px;
}
.result-bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 14px; padding-bottom: 18px; border-bottom: 2px solid var(--blue);
}
.result-bar .count { font-size: 14px; color: var(--ink-soft); }
.result-bar .count b { font-family: var(--font-num); color: var(--blue); font-size: 20px; margin: 0 3px; }
.result-bar .count em { font-style: normal; color: var(--orange); font-weight: 700; }
.sort-tabs { display: flex; gap: 4px; }
.sort-tabs a {
  padding: 7px 18px; font-size: 13px; letter-spacing: 0.08em; color: var(--ink-soft);
  border-radius: 999px; border: 1px solid transparent; transition: all 0.25s;
}
.sort-tabs a:hover { color: var(--blue); border-color: rgba(27, 79, 216, 0.35); }
.sort-tabs a.on { background: var(--grad-blue); color: #fff; box-shadow: 0 6px 14px rgba(27, 79, 216, 0.3); }

.result-item { padding: 24px 4px; border-bottom: 1px dashed var(--line); }
.result-item:last-of-type { border-bottom: 0; }
.result-item .cat {
  display: inline-block; font-size: 11px; letter-spacing: 0.16em; color: var(--blue);
  background: rgba(27, 79, 216, 0.08); padding: 2px 12px 3px; border-radius: 999px; margin-bottom: 10px; font-weight: 500;
}
.result-item h3 { font-size: 17.5px; font-weight: 600; line-height: 1.6; }
.result-item h3 a:hover { color: var(--blue); }
.result-item mark { background: none; color: var(--orange); font-weight: 700; border-bottom: 2px solid rgba(255, 122, 46, 0.4); }
.result-item .summary {
  font-size: 13.5px; color: var(--ink-soft); margin-top: 10px; line-height: 1.95;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.result-item .r-meta { margin-top: 12px; font-size: 12px; color: var(--ink-faint); letter-spacing: 0.05em; display: flex; gap: 18px; flex-wrap: wrap; font-family: var(--font-num); }
.result-item .r-meta span::before { content: "·"; margin-right: 8px; color: var(--cyan); }
.result-item .r-meta span:first-child::before { content: none; }

.empty-tip { text-align: center; padding: 46px 0; color: var(--ink-faint); }
.empty-tip .glyph-big {
  width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 50%;
  border: 2px dashed var(--cyan); display: grid; place-items: center;
  font-family: var(--font-display); font-size: 28px; color: var(--blue);
}

/* ============================== 页脚 ============================== */
.site-footer { margin-top: auto; }
.footer-main {
  background:
    radial-gradient(ellipse 50% 90% at 95% 10%, rgba(42, 212, 234, 0.1), transparent 55%),
    linear-gradient(160deg, var(--navy-deep), var(--navy));
  color: rgba(222, 233, 250, 0.75); padding: 46px 0 32px; position: relative; overflow: hidden;
  border-top: 1px solid rgba(42, 212, 234, 0.3);
}
.footer-main::before {
  content: ""; position: absolute; inset: 0; opacity: 0.4;
  background-image:
    linear-gradient(rgba(42, 212, 234, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(42, 212, 234, 0.04) 1px, transparent 1px);
  background-size: 34px 34px;
}
.footer-main .container { position: relative; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.15fr; gap: 40px; }
.footer-brand .fb-name { font-family: var(--font-display); font-size: 21px; letter-spacing: 0.1em; color: #fff; }
.footer-brand .fb-en { font-family: var(--font-num); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.55; margin: 5px 0 18px; }
.footer-brand .slogan {
  font-size: 14px; letter-spacing: 0.14em; color: rgba(235, 243, 255, 0.9);
  border-left: 3px solid var(--cyan); padding-left: 14px; line-height: 2;
}
.footer-col h5 {
  font-size: 14px; letter-spacing: 0.22em; color: #fff; font-weight: 500;
  margin-bottom: 16px; display: flex; align-items: center; gap: 8px;
}
.footer-col h5::before { content: ""; width: 14px; height: 2px; background: var(--cyan); border-radius: 2px; }
.footer-col a { display: block; padding: 4.5px 0; font-size: 13px; opacity: 0.85; }
.footer-col a:hover { color: var(--cyan); opacity: 1; }
.footer-contact { font-size: 13px; line-height: 2.15; opacity: 0.9; }
.footer-contact .tel { font-family: var(--font-num); font-size: 20px; font-weight: 700; color: var(--cyan); letter-spacing: 0.04em; }
.footer-bottom {
  border-top: 1px solid rgba(225, 238, 255, 0.14); margin-top: 34px; padding-top: 18px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 10px; font-size: 12px; letter-spacing: 0.04em; opacity: 0.6;
}
.flink { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 6px 0; font-size: 12px; opacity: 0.8; }
.flink a { padding: 0 10px; border-right: 1px solid rgba(255, 255, 255, 0.16); }
.flink a:last-child { border-right: 0; }
.flink a:hover { color: var(--cyan); opacity: 1; }

/* ============================== 返回顶部 ============================== */
.back-top {
  position: fixed; right: 26px; bottom: 30px; z-index: 90;
  width: 44px; height: 44px; border-radius: 12px; cursor: pointer;
  border: 1.5px solid var(--line); background: var(--card); color: var(--blue);
  display: grid; place-items: center; font-size: 16px; box-shadow: var(--shadow-card);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: all 0.35s var(--ease);
}
.back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top:hover { background: var(--grad-blue); color: #fff; border-color: transparent; }

/* ============================== 滚动浮现 ============================== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }

/* ============================== 响应式 ============================== */
@media (max-width: 1080px) {
  .majors-grid { grid-template-columns: repeat(2, 1fr); }
  .news-tri { grid-template-columns: 1fr 1fr; }
  .news-tri .news-main { grid-column: 1 / -1; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .bridge-strip { grid-template-columns: 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .carousel-track { height: 400px; }
}

@media (max-width: 860px) {
  .page-layout { grid-template-columns: 1fr; }
  .side-nav { position: static; }
  .header-search { display: none; }
  .brand-text .school { display: none; }
  .brand-text h1 { font-size: 23px; }
  .brand-text h1 .tag { display: none; }
  .topbar-inner { justify-content: center; }
  .topbar-links { display: none; }
  .carousel-track { height: 320px; }
  .carousel-caption h2 { font-size: 27px; }
  .carousel-caption p { font-size: 12.5px; }
  .carousel-arrow { display: none; }
  .carousel-dots { right: auto; left: 50%; transform: translateX(-50%); }

  .nav-toggle {
    display: grid; place-items: center; position: absolute; top: -52px; right: 16px;
    width: 42px; height: 38px; cursor: pointer; color: var(--navy);
    background: var(--card); border-radius: 8px; box-shadow: var(--shadow-card);
  }
  .nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
    display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px;
    position: relative; transition: transform 0.3s;
  }
  .nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
  .nav-toggle span::before { top: -6px; }
  .nav-toggle span::after { top: 6px; }
  .main-nav.open .nav-toggle span { background: transparent; }
  .main-nav.open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
  .main-nav.open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

  .nav-list { display: none; flex-direction: column; padding: 8px 0 14px; }
  .main-nav.open .nav-list { display: flex; }
  .nav-item + .nav-item::before { display: none; }
  .nav-item > a { text-align: left; padding: 12px 20px; }
  .dropdown {
    position: static; transform: none; opacity: 1; visibility: visible;
    background: rgba(255, 255, 255, 0.07); border-top: 0; border-radius: 0;
    box-shadow: none; padding: 0; min-width: 100%;
  }
  .dropdown a { color: rgba(225, 238, 255, 0.8); padding-left: 38px; }
  .dropdown a::before { background: var(--cyan); }
  .dropdown a:hover { background: rgba(255, 255, 255, 0.07); color: var(--cyan); }

  .article-main { padding: 30px 24px; }
  .list-row .thumb { width: 120px; height: 84px; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .sec-head { flex-wrap: wrap; }
}

@media (max-width: 560px) {
  .majors-grid { grid-template-columns: 1fr; }
  .news-tri { grid-template-columns: 1fr; }
  .quick-grid { grid-template-columns: 1fr 1fr; }
  .list-row .summary { display: none; }
  .pn-nav { grid-template-columns: 1fr; }
  .page-banner h2 { font-size: 24px; }
  .sec-title .zh { font-size: 22px; }
}

/* ============================== 通用两栏网格 ============================== */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; align-items: start; }

/* ============================== 通用三栏网格 ============================== */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.grid-3 .col-card { display: flex; flex-direction: column; }
.grid-3 .col-card ul { flex: 1; }

/* ============================== 正文图片自适应（后台富文本） ============================== */
.article-prose img { max-width: 100%; height: auto; margin-inline: auto; }
.article-prose p img { display: block; }
.article-prose .sign-off, .sign-off { margin-top: 30px; padding-top: 18px; border-top: 1px dashed var(--line); font-size: 13.5px; color: var(--ink-faint); line-height: 2; }

/* ============================== 分页组件（ThinkPHP 分页器适配） ============================== */
.pagination ul.pagination {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: 10px; list-style: none; margin: 0; padding: 0;
}
.pagination ul.pagination li { display: flex; list-style: none; }
.pagination ul.pagination li a,
.pagination ul.pagination li span {
  min-width: 38px; height: 38px; padding: 0 10px;
  display: grid; place-items: center;
  border: 1.5px solid var(--line); background: var(--card); border-radius: 8px;
  color: var(--ink-soft); font-family: var(--font-num); font-size: 13.5px; font-weight: 600;
  transition: all 0.25s var(--ease);
}
.pagination ul.pagination li a:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }
.pagination ul.pagination li.active span {
  background: var(--grad-blue); border-color: transparent; color: #fff;
  box-shadow: 0 6px 14px rgba(27, 79, 216, 0.35);
}
.pagination ul.pagination li.disabled span { opacity: 0.45; }

/* ============================== 图集列表（picture / album） ============================== */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding: 22px 4px 8px; }
.gallery-item {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: all 0.35s var(--ease);
}
.gallery-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); border-color: rgba(27, 79, 216, 0.3); }
.gallery-item .pic { display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.gallery-item .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.gallery-item:hover .pic img { transform: scale(1.06); }
.gallery-item .cap {
  padding: 11px 14px; font-size: 13.5px; line-height: 1.6; color: var(--ink-soft);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.gallery-item:hover .cap { color: var(--blue); }
.photo-figure { margin: 0; text-align: center; }
.photo-figure img { margin-inline: auto; border-radius: var(--radius); }
.photo-note { margin-top: 18px; font-size: 14px; color: var(--ink-soft); line-height: 2; }

@media (max-width: 1080px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 860px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .gallery-grid { grid-template-columns: 1fr; } }
@media (max-width: 860px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }
