/* ============================================================
   武汉·产教融合创新发展论坛 - 全站样式（首页/列表页/文章页共用）
   ============================================================ */

/* ============================================================
   武汉软件工程职业学院（武汉开放大学）产教融合论坛
   设计语言：现代瑞士网格 · 会展风
   主色：#286bcf ｜ 校网风格：紫蓝渐变 #6a11cb → #2575fc
   辅助强调：橙 #fd6631 ｜ 红 #d00b2b ｜ 金 #e5a816 ｜ 青 #0ea5a4
   ============================================================ */

:root {
  --primary: #286bcf;
  --primary-dark: #1e56ab;
  --primary-deep: #153a75;
  --primary-soft: #eaf1fc;
  --accent: #ff8a3d;
  --accent-soft: #fff3e9;
  --violet: #6a11cb;
  --blue: #2575fc;
  --red: #d00b2b;
  --gold: #e5a816;
  --teal: #0ea5a4;
  --grad-main: linear-gradient(120deg, #6a11cb 0%, #2575fc 100%);
  --grad-main-soft: linear-gradient(120deg, rgba(106, 17, 203, 0.10), rgba(37, 117, 252, 0.10));
  --grad-warm: linear-gradient(120deg, #fd6631 0%, #ff8a3d 100%);
  --grad-deep: linear-gradient(150deg, #1b0e60 0%, #3d1284 55%, #173f9c 100%);
  --ink: #16233b;
  --muted: #5b6b85;
  --line: #e4eaf5;
  --bg: #ffffff;
  --bg-soft: #f5f8fd;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 10px rgba(21, 58, 117, 0.06);
  --shadow-md: 0 10px 30px rgba(21, 58, 117, 0.10);
  --shadow-lg: 0 24px 60px rgba(21, 58, 117, 0.16);
  --font-cn: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
  --font-en: "Lexend", "Noto Sans SC", sans-serif;
  --nav-h: 72px;
  --container: 1400px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-cn);
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img { max-width: 100%; }
button { font-family: inherit; cursor: pointer; }

::selection { background: var(--primary); color: #fff; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- 顶部搜索（下划线样式） ---------- */
.masthead-search {
  display: flex;
  align-items: center;
  background: transparent;
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.42);
  transition: border-color 0.2s;
  margin-left: auto;
  flex-shrink: 0;
}
.masthead-search:focus-within {
  border-bottom-color: #ffd8bd;
}
.masthead-search input {
  border: none;
  outline: none;
  padding: 8px 6px;
  width: 118px;
  font-size: 13px;
  font-family: inherit;
  color: #fff;
  background: transparent;
}
.masthead-search input::placeholder { color: rgba(255, 255, 255, 0.62); }
.masthead-search button {
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  transition: color 0.2s;
}
.masthead-search button:hover { color: #fff; }

/* ---------- 顶部导航条（校网风格紫蓝渐变通栏：logo + 导航 + 搜索） ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: none;
  box-shadow: 0 4px 20px rgba(84, 18, 178, 0.12);
}
/* ===== 上层：Logo + 搜索 ===== */
.topbar-top {
  background: #f8f9ff;
  border-bottom: 1px solid #eef1f7;
}
.topbar-top-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 18px;
  height: 84px;
  padding: 0 24px;
  position: relative;
}
.topbar-top-inner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/bg-texture.png") no-repeat left center / 100% auto;
  opacity: 1;
  pointer-events: none;
  z-index: 0;
}
.topbar-top-inner > * { position: relative; z-index: 1; }
.topbar-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.topbar-logo img {
  height: 48px;
  width: auto;
  display: block;
}
/* 搜索框 - 白底主题 */
.topbar-top .masthead-search {
  border-bottom-color: var(--line);
  margin-left: auto;
}
.topbar-top .masthead-search:focus-within { border-bottom-color: var(--primary); }
.topbar-top .masthead-search input { color: var(--ink); }
.topbar-top .masthead-search input::placeholder { color: #aab4c4; }
.topbar-top .masthead-search button { color: var(--muted); }
.topbar-top .masthead-search button:hover { color: var(--primary); }
/* ===== 下层：导航菜单 ===== */
.topbar-nav {
  position: relative;
  background: linear-gradient(120deg, #550fa8 0%, #6a11cb 38%, #2575fc 100%);
  box-shadow: 0 4px 20px rgba(84, 18, 178, 0.25);
}
.topbar-nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  height: 54px;
  padding: 0 24px;
}
.nav-menu {
  position: static;
  left: auto;
  top: auto;
  transform: none;
  display: flex;
  align-items: center;
  gap: 0;
  flex: 1;
  justify-content: space-between;
}
.nav-menu > li {
  position: relative;
}
.nav-menu > li > a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 40px;
  padding: 0 14px;
  font-size: 18px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  border-radius: 6px;
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
}
.nav-menu > li > a:hover { color: #fff; background: rgba(255, 255, 255, 0.15); }
.nav-menu > li > a.active {
  background: var(--grad-warm);
  color: #fff;
  font-weight: 700;
  padding: 0 30px;
  box-shadow: 0 4px 12px rgba(253, 102, 49, 0.42);
}
.nav-menu .caret { transition: transform 0.25s; opacity: 0.75; }
.nav-menu li:hover .caret { transform: rotate(180deg); }

/* 下拉菜单 */
.dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translate(-50%, 10px);
  min-width: 168px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s, transform 0.22s, visibility 0.22s;
  z-index: 10;
}
.nav-menu li:hover .dropdown,
.nav-menu li:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.dropdown a {
  display: block;
  padding: 9px 14px;
  font-size: 14.5px;
  border-radius: 9px;
  color: var(--muted);
  text-align: left;
  transition: all 0.18s;
}
.dropdown a:hover {
  color: var(--primary);
  background: var(--primary-soft);
  padding-left: 20px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  border-radius: 10px;
}
.nav-toggle:hover { background: rgba(0, 0, 0, 0.06); }
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 5px auto;
  border-radius: 2px;
  transition: all 0.25s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero 主视觉 ---------- */
.hero {
  position: relative;
  max-width: 100%;
  overflow: hidden;
}
.hero-banner {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 21 / 9;
  max-height: 500px;
  object-fit: cover;
}


/* ---------- 章节标题 ---------- */
.section { padding: 50px 0 88px; }
.section.alt {
  position: relative;
  background: #eef3fb;
}
.section.alt::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/hero-bg.jpg") center / cover no-repeat;
  opacity: 0.1;
  pointer-events: none;
}
.section.alt > .container { position: relative; }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
}
.section-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}
.section-kicker::before {
  content: "";
  width: 34px;
  height: 2px;
  background: linear-gradient(90deg, #fd6631, #e5a816);
  border-radius: 2px;
}
.section-title {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  line-height: 1.3;
}
.section-title .idx {
  font-family: var(--font-en);
  color: rgba(40, 107, 207, 0.18);
  font-size: 0.9em;
  margin-right: 10px;
}
.section-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--primary);
  padding: 9px 20px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: #fff;
  transition: all 0.2s;
  white-space: nowrap;
}
.section-more:hover {
  border-color: var(--primary);
  background: var(--primary-soft);
  gap: 12px;
}

/* 媒体关注（蓝色背景区） */
.section.alt .tool-card.tinted { background: #fff; }
/* 会议工具卡片：顶部渐变条 + 文件类型图标 + 彩色徽章 */
.section.alt .tool-card {
  position: relative;
  overflow: hidden;
  border: none;
  box-shadow: 0 14px 36px rgba(13, 40, 100, 0.14);
  padding: 16px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.section.alt .tool-card h3 { padding: 20px 0 0; flex-shrink: 0; }
.section.alt .tool-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #6a11cb 0%, #2575fc 55%, #fd6631 100%);
}
.section.alt .tool-card ul {
  gap: 2px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}
.section.alt .tool-card ul li a {
  padding: 11px 12px;
  border-bottom: none;
  border-radius: 12px;
}
.section.alt .tool-card ul li a::before {
  content: "";
  width: 36px;
  height: 36px;
  border-radius: 10px;
  flex-shrink: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 19px;
  transition: transform 0.2s;
}
.section.alt .tool-card ul li a:hover::before { transform: scale(1.1); }
/* DOCX 蓝色 */
.section.alt .tool-card ul li:nth-child(1) a::before {
  background-color: rgba(40, 107, 207, 0.13);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23286bcf' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='M16 2v4M8 2v4M3 10h18'/%3E%3C/svg%3E");
}
.section.alt .tool-card ul li:nth-child(2) a::before {
  background-color: rgba(106, 17, 203, 0.12);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236a11cb' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E");
}
/* DOCX 蓝色 */
.section.alt .tool-card ul li:nth-child(3) a::before {
  background-color: rgba(40, 107, 207, 0.13);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23286bcf' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 2v6h6'/%3E%3Cpath d='M9 13h6M9 17h4'/%3E%3C/svg%3E");
}
/* PPTX 橙色 */
.section.alt .tool-card ul li:nth-child(4) a::before {
  background-color: rgba(253, 102, 49, 0.14);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fd6631' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='11' rx='1.5'/%3E%3Cpath d='M12 15v4M8.5 21h7'/%3E%3C/svg%3E");
}
/* PDF 红色 */
.section.alt .tool-card ul li:nth-child(5) a::before {
  background-color: rgba(208, 11, 43, 0.11);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d00b2b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 2v6h6'/%3E%3Cpath d='M9 15l2 2 4-4'/%3E%3C/svg%3E");
}
/* 类型徽章配色 */
.section.alt .tool-card ul li:nth-child(1) a .ext { color: #286bcf; background: rgba(40, 107, 207, 0.10); padding: 3px 8px; border-radius: 6px; }
.section.alt .tool-card ul li:nth-child(2) a .ext { color: #6a11cb; background: rgba(106, 17, 203, 0.10); padding: 3px 8px; border-radius: 6px; }
.section.alt .tool-card ul li:nth-child(3) a .ext { color: #286bcf; background: rgba(40, 107, 207, 0.10); padding: 3px 8px; border-radius: 6px; }
.section.alt .tool-card ul li:nth-child(4) a .ext { color: #e05a1a; background: rgba(253, 102, 49, 0.13); padding: 3px 8px; border-radius: 6px; }
.section.alt .tool-card ul li:nth-child(5) a .ext { color: #c23048; background: rgba(208, 11, 43, 0.10); padding: 3px 8px; border-radius: 6px; }
/* 悬停行效果 */
.section.alt .tool-card ul li a:hover {
  background: linear-gradient(120deg, rgba(40, 107, 207, 0.08), rgba(106, 17, 203, 0.06));
  color: var(--primary);
  padding-left: 16px;
}

/* ---------- 论坛动态 / 专家论谈（竖条标题 + 头条卡片） ---------- */
.block-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}
.block-grid > .block { min-width: 0; }
.block-head {
  display: flex;
  align-items: baseline;
  padding-bottom: 14px;
  margin-bottom: 26px;
  border-bottom: 2px solid var(--primary);
}
.block-head h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 27px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: 0.02em;
  position: relative;
  padding-bottom: 12px;
}
/* 标题下方矩形色块（与线条同色，仅覆盖标题前4字宽度） */
.block-head h2::after {
  content: "";
  position: absolute;
  left: -2px;
  bottom: -15px;
  width: 4.45em;
  height: 8px;
  background: var(--primary);
  border-radius: 5px;
}
.block-head .bar { display: none; }
.block-head .sub {
  font-size: 16px;
  font-weight: 400;
  color: #9aa7bd;
  letter-spacing: 0.02em;
}
.block-card {
  background: #fff;
  border: 1px solid #e9eef6;
  border-radius: 10px;
  padding: 26px 36px 12px;
  box-shadow: 0 2px 12px rgba(21, 58, 117, 0.05);
}
.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid #eef2f8;
}
.card-head h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18.5px;
  font-weight: 700;
  color: var(--ink);
}
.card-head .bar {
  width: 4px;
  height: 17px;
  border-radius: 2px;
  background: linear-gradient(180deg, #6a11cb, #2575fc);
}
.card-more {
  font-size: 14px;
  color: #9aa7bd;
  transition: color 0.2s;
  white-space: nowrap;
}
.card-more:hover { color: var(--primary); }

.top-story {
  display: block;
  padding: 24px 0 20px;
  border-bottom: 1px dashed #e9eef6;
}
.top-story h3 {
  font-size: 23px;
  font-weight: 800;
  line-height: 1.55;
  color: var(--ink);
  margin-bottom: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.2s;
}
.top-story:hover h3 { color: var(--primary); }
.top-story .t-label { color: #c23a3a; }
.top-story .ts-thumb {
  display: block;
  margin-bottom: 14px;
  overflow: hidden;
  position: relative;
}
.top-story .ts-thumb img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  max-height: 352px;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.35s ease;
}
.top-story:hover .ts-thumb img { transform: scale(1.05); }
.top-story .ts-meta {
  display: flex;
  gap: 34px;
  font-size: 14px;
  color: #9aa7bd;
}
.block-list li a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 2px;
  border-bottom: 1px dashed #e9eef6;
}
.block-list li:last-child a { border-bottom: none; }
.block-list li a::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--primary);
  flex-shrink: 0;
}
.block-list li a .t {
  flex: 1;
  min-width: 0;
  font-size: 16.5px;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.2s;
}
.block-list li a:hover .t { color: var(--primary); }
.block-list li a .d {
  flex-shrink: 0;
  font-family: var(--font-en);
  font-size: 14px;
  color: #9aa7bd;
}

/* ---------- 媒体关注 + 会议工具（双列） ---------- */
.dual-col {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: stretch;
}
.dual-col-equal { grid-template-columns: unset; }
.dual-col-left, .dual-col-right {
  display: flex;
  flex-direction: column;
}
.col-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
  flex-shrink: 0;
}
.dual-col-right .tool-stack { flex: 1; }
.dual-col-right .tool-card { height: 100%; }
.media-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 10px;
  border-bottom: 1px solid var(--line);
  border-radius: 12px;
  transition: background 0.2s, padding 0.2s;
}
.media-item:hover { background: var(--primary-soft); padding-left: 16px; }
.media-item .src {
  flex-shrink: 0;
  min-width: 92px;
  text-align: center;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--primary-dark);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px 10px;
}
.media-item:hover .src { background: var(--grad-main); border-color: transparent; color: #fff; }
.media-item h4 {
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.55;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s;
}
.media-item:hover h4 { color: var(--primary); }
.media-item .mdate {
  flex-shrink: 0;
  font-family: var(--font-en);
  font-size: 13px;
  color: var(--muted);
}

/* ---------- 校企供需 ---------- */
.supply-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.supply-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 18px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: transform 0.22s, box-shadow 0.22s, border-color 0.22s;
}
.supply-item:hover {
  transform: translateY(-3px);
  border-color: rgba(40, 107, 207, 0.35);
  box-shadow: 0 8px 24px rgba(13, 40, 100, 0.10);
}
.supply-tag {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  letter-spacing: 0.04em;
}
.supply-tag.tag-need {
  color: #e05a1a;
  background: rgba(253, 102, 49, 0.12);
}
.supply-tag.tag-supply {
  color: #286bcf;
  background: rgba(40, 107, 207, 0.12);
}
.supply-item h4 {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink);
  transition: color 0.2s;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.supply-item:hover h4 { color: var(--primary); }
.supply-item .supply-meta {
  font-size: 12.5px;
  color: var(--muted);
}

/* 工具卡片 */
.tool-stack { display: flex; flex-direction: column; gap: 20px; height: 100%; }
.tool-stack .tool-card { flex: 1; display: flex; flex-direction: column; }
.tool-stack .tool-card > h3 { flex-shrink: 0; }
.tool-stack .tool-card > ul {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}
.tool-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s;
}
.tool-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.tool-card.tinted { background: linear-gradient(150deg, rgba(106, 17, 203, 0.08), rgba(37, 117, 252, 0.07) 45%, #fff 78%); }
.tool-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  padding: 20px 0 0;
  margin-bottom: 14px;
}
.tool-card h3 .dot {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--accent);
}
.tool-card ul li a {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  padding: 9px 4px;
  font-size: 14px;
  color: var(--ink);
  border-bottom: 1px dashed var(--line);
  transition: color 0.2s, padding 0.2s;
}
.tool-card ul li a .ext { margin-left: auto; }
.tool-card ul li:last-child a { border-bottom: none; }
.tool-card ul li a:hover { color: var(--primary); padding-left: 8px; }
.tool-card ul li a .ext {
  font-family: var(--font-en);
  font-size: 11px;
  color: var(--accent);
  font-weight: 600;
}
.tool-card ul li a .tool-open {
  margin-left: auto;
  padding: 3px 12px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  background: #286bcf;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  line-height: 1.4;
}
.qr-row { display: flex; align-items: center; gap: 18px; }
.qr-box {
  width: 96px;
  height: 96px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.qr-text { font-size: 13.5px; color: var(--muted); line-height: 1.7; }
.qr-text strong { color: var(--ink); display: block; font-size: 14.5px; margin-bottom: 4px; }

/* ---------- 历届回顾（时间轴） ---------- */
.archive-timeline {
  position: relative;
  padding-left: 34px;
}
.archive-timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--primary);
  border-radius: 2px;
  box-sizing: border-box;
}
.archive-item {
  position: relative;
  padding: 14px 0 26px;
}
.archive-item::before {
  content: "";
  position: absolute;
  left: -32px;
  top: 24px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  border: 3.5px solid var(--primary);
  box-sizing: border-box;
  transition: all 0.25s;
}
.archive-item:hover::before {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 0 6px rgba(255, 138, 61, 0.18);
}
.archive-item .year {
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 4px;
}
.archive-item h4 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
  transition: color 0.2s;
}
.archive-item:hover h4 { color: var(--primary); }
.archive-item p { font-size: 13.5px; color: var(--muted); max-width: 640px; }
.archive-wrap {
  display: block;
}

.side-contact li {
  display: flex;
  gap: 10px;
  padding: 6px 0;
  font-size: 13.5px;
  color: var(--muted);
}
.side-contact li strong { color: var(--ink); font-weight: 600; }

/* ---------- 页脚 ---------- */
.footer {
  background: var(--primary-deep);
  color: rgba(255, 255, 255, 0.78);
}
.footer-main {
  display: grid;
  grid-template-columns: 1fr 1.5fr auto;
  gap: 56px;
  padding: 44px 0 32px;
  align-items: start;
}
.f-right { display: flex; flex-direction: column; gap: 18px; }
.f-qrcode { display: flex; justify-content: flex-end; margin-top: 14px; }
.qr-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.qr-frame {
  width: 140px;
  height: 140px;
  padding: 6px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
  position: relative;
}
.qr-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 6px;
}
.qr-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 14px;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.qr-label {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.55);
  white-space: nowrap;
  letter-spacing: 0.04em;
}
.f-line { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.f-line h4 { margin-bottom: 0; white-space: nowrap; }
.footer-inline { display: flex; flex-wrap: wrap; row-gap: 8px; }
.footer-inline li + li::before {
  content: "|";
  margin: 0 12px;
  color: rgba(255, 255, 255, 0.22);
}
.footer-inline li a { padding: 0; }
.footer-inline li a::before { display: none; }
.footer h4 {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer h4::before {
  content: "";
  width: 4px;
  height: 16px;
  border-radius: 2px;
  background: linear-gradient(180deg, #fd6631, #e5a816);
}
.footer-links li a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  padding: 5px 0;
  transition: color 0.2s, gap 0.2s;
}
.footer-links li a::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  transition: background 0.2s;
}
.footer-links li a:hover { color: #fff; gap: 12px; }
.footer-links li a:hover::before { background: var(--accent); }
.footer-units li {
  font-size: 13.5px;
  padding: 6px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.14);
  display: flex;
  gap: 8px;
}
.footer-units li:last-child { border-bottom: none; }
.footer-units .role {
  flex-shrink: 0;
  font-size: 12px;
  color: var(--accent);
  border: 1px solid rgba(255, 138, 61, 0.45);
  border-radius: 6px;
  padding: 0 8px;
  height: 22px;
  line-height: 20px;
  margin-top: 2px;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 20px 0;
  font-size: 12.5px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

/* ---------- 返回顶部 ---------- */
.back-top {
  position: fixed;
  right: 28px;
  bottom: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  display: grid;
  place-items: center;
  color: var(--primary);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.25s;
  z-index: 90;
}
.back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top:hover { background: var(--grad-main); color: #fff; border-color: transparent; }

/* ============================================================
   列表页 / 详情页 共用
   ============================================================ */

/* 页头横幅（子页面） */
.page-hero {
  position: relative;
  background: url("../images/page-hero-bg.jpg") center / cover no-repeat, linear-gradient(135deg, #2e6ed2 0%, #3a7ee2 55%, #609cee 100%);
  color: #fff;
  overflow: hidden;
  min-height: 275px;
}
.page-hero.no-bg {
  background: linear-gradient(135deg, #4a0e9e 0%, #6a11cb 45%, #2575fc 100%);
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(120deg, rgba(74, 14, 158, 0.60) 0%, rgba(106, 17, 203, 0.34) 45%, rgba(37, 117, 252, 0.22) 100%),
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: auto, 48px 48px, 48px 48px;
  mask-image: radial-gradient(ellipse 80% 100% at 80% 0%, #000 20%, transparent 70%);
}
.page-hero .container { position: relative; padding-top: 64px; padding-bottom: 64px; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  opacity: 0.85;
margin-bottom:10px
}
.breadcrumb a:hover { opacity: 1; text-decoration: underline; }
.breadcrumb .sep { opacity: 0.5; }
.page-hero h1 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; }
.page-hero .sub {
  margin-top: 10px;
  font-size: 15px;
  opacity: 0.78;
  max-width: 640px;
}

/* 详情页面包屑（白底） */
.breadcrumb-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 28px 0 0;
  font-size: 13.5px;
  color: var(--muted);
}
.breadcrumb-bar a { transition: color 0.2s; }
.breadcrumb-bar a:hover { color: var(--primary); }
.breadcrumb-bar .sep { opacity: 0.5; }

/* 主体两栏 */
main { background: #fcfeff; }
.main-layout {
  background: #fff;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  padding: 64px 20px 0px;
  align-items: start;
}

/* 侧边栏 */
.sidebar { display: flex; flex-direction: column; gap: 24px; }
.side-block {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.side-block > h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 700;
  padding-bottom: 14px;
  margin-bottom: 8px;
  border-bottom: 2px solid var(--primary-soft);
}
.side-block > h3::before {
  content: "";
  width: 4px;
  height: 16px;
  border-radius: 2px;
  background: var(--primary);
}
.side-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 12px;
  font-size: 14.5px;
  color: var(--muted);
  border-radius: 10px;
  transition: all 0.18s;
}
.side-nav a .cnt {
  font-family: var(--font-en);
  font-size: 12px;
  opacity: 0.6;
}
.side-nav a:hover { color: var(--primary); background: var(--primary-soft); }
.side-nav a.active {
  color: #fff;
  background: var(--grad-main);
  font-weight: 600;
  box-shadow: 0 6px 16px rgba(94, 32, 203, 0.35);
}
.side-nav a.active .cnt { opacity: 0.9; }
.side-list li a {
  display: block;
  padding: 10px 2px;
  font-size: 14px;
  color: var(--muted);
  border-bottom: 1px dashed var(--line);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.2s;
}
.side-list li:last-child a { border-bottom: none; }
.side-list li a:hover { color: var(--primary); }
.side-list li a .d {
  font-family: var(--font-en);
  font-size: 12px;
  color: #a5b3ca;
  margin-right: 8px;
}

/* 列表页条目 */
.list-item {
  display: block;
  padding: 22px 12px;
  border-bottom: 1px solid var(--line);
  border-radius: 14px;
  transition: background 0.2s;
}
.list-item:hover { background: var(--primary-soft); }
.list-item .li-row {
  display: flex;
  align-items: baseline;
  gap: 24px;
}
.list-item .li-row h3 {
  flex: 1;
  min-width: 0;
  font-size: 18.5px;
  font-weight: 700;
  line-height: 1.55;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.2s;
}
.list-item .li-row h3::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
  margin-right: 12px;
  vertical-align: 2px;
}
.list-item:hover .li-row h3 { color: var(--primary); }
.list-item .li-row .li-date {
  flex-shrink: 0;
  font-family: var(--font-en);
  font-size: 13.5px;
  color: var(--muted);
}
.list-item p {
  margin-top: 8px;
  padding-left: 19px;
  font-size: 14px;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
/* 分页 */
.pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 48px;
}
.pagination a, .pagination span {
  min-width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  font-family: var(--font-en);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--muted);
  transition: all 0.2s;
  padding: 0 14px;
}
.pagination a:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}
.pagination .cur {
  background: var(--grad-main);
  border-color: transparent;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(94, 32, 203, 0.35);
}
.pagination .disabled { opacity: 0.4; pointer-events: none; }

/* ---------- 详情页 ---------- */
.article { max-width: 860px; margin: 0 auto; }
.article-head { text-align: center; padding-bottom: 34px; border-bottom: 1px solid var(--line); margin-bottom: 40px; }
.article-head h1 {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  line-height: 1.5;
  margin-bottom: 20px;
}
.article-meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 28px;
  font-size: 13.5px;
  color: var(--muted);
}
.article-meta span { display: inline-flex; align-items: center; gap: 7px; }
.article-meta svg { color: var(--primary); }
.article-body { font-size: 16.5px; line-height: 2; color: #2b3a55; }
.article-body p { margin-bottom: 22px; text-indent: 2em; }
.article-body h2 {
  font-size: 21px;
  font-weight: 700;
  color: var(--ink);
  margin: 38px 0 18px;
  line-height: 1.5;
  padding-left: 13px;
  border-left: 4px solid transparent;
  border-image: linear-gradient(180deg, #6a11cb, #2575fc) 1;
}
.article-body blockquote {
  margin: 28px 0;
  padding: 0 24px;
  font-size: 15.5px;
  color: var(--muted);
  border-left: 2px solid var(--line);
}
.article-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 44px;
margin-top:22px;
}
.article-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: 14px;
  color: var(--muted);
  transition: all 0.2s;
}
.article-nav a:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-soft); }
.article-nav a .dir {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--grad-main);
  color: #fff;
  display: grid;
  place-items: center;
  transition: background 0.2s;
}
.article-nav a:hover .dir { background: var(--grad-warm); }
.article-nav a.next { justify-content: flex-end; text-align: right; }
.article-nav a span.t {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 相关阅读 */
.related { margin-top: 56px;  max-width: 860px;
    margin: 0 auto 88px;
}
.related h2 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.related h2::before {
  content: "";
  width: 4px;
  height: 18px;
  border-radius: 2px;
  background: var(--accent);
}
.related ul li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 4px;
  font-size: 14.5px;
  color: var(--muted);
  border-bottom: 1px dashed var(--line);
  transition: color 0.2s, padding 0.2s;
}
.related ul li a::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}
.related ul li a:hover { color: var(--primary); padding-left: 10px; }
.related ul li a .d { margin-left: auto; font-family: var(--font-en); font-size: 12.5px; color: #a5b3ca; flex-shrink: 0; }

/* ---------- 动效 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .footer-main { grid-template-columns: 1fr 1fr; gap: 36px; }
  .dual-col { grid-template-columns: 1fr; }
  .dual-col-right { margin-top: 32px; }
  .main-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
}

@media (max-width: 1560px) {
  .topbar-logo img { height: 34px; }
  .nav-menu { gap: 0; }
  .nav-menu > li > a { padding: 0 10px; font-size: 16px; }
}

@media (max-width: 860px) {
  .topbar-top-inner { flex-wrap: wrap; height: auto; padding: 10px 18px; gap: 12px; }
  .topbar-logo img { height: 28px; max-width: 58vw; }
  .nav-toggle { display: block !important; margin-left: 0; }
  .masthead-search { margin-left: auto; }
  /* 防 iOS Safari 聚焦输入框时自动放大页面（<16px 会触发 zoom） */
  .masthead-search input { font-size: 16px; }
  .nav-menu { display: none; }
  /* 移动端默认隐藏整条渐变导航条，点击汉堡按钮后（.topbar 加 .nav-open）再展开 */
  .topbar-nav { display: none; }
  .topbar.nav-open .topbar-nav { display: block; }
  .topbar.nav-open .topbar-nav-inner { display: block; height: auto; padding: 0; }
  .topbar .mobile-open {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    position: static;
    background: transparent;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
    padding: 10px 16px 18px;
    gap: 2px;
    max-height: 70vh;
    overflow-y: auto;
    z-index: 1000;
  }
  .topbar .mobile-open > li { text-align: left; }
  /* 防御：若 CMS 输出的导航组件自带一层 .nav-menu 嵌套，展开时内层也必须显示 */
  .topbar .mobile-open .nav-menu {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    position: static;
  }
  .topbar .mobile-open > li > a {
    justify-content: flex-start;
    height: auto;
    padding: 13px 14px;
    border-radius: 10px;
  }
  /* 触屏无 hover，二级菜单默认展开为缩进列表 */
  .topbar .mobile-open .dropdown {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border: none;
    padding: 0 0 4px 18px;
    background: transparent;
    display: block;
  }
  .topbar .mobile-open li:hover .dropdown { display: block; }
  .topbar .mobile-open .caret { display: none; }
  .topbar .mobile-open .dropdown a { color: rgba(255, 255, 255, 0.82); }
  .topbar .mobile-open .dropdown a:hover { color: #fff; background: rgba(255, 255, 255, 0.14); }
  .archive-wrap { grid-template-columns: 1fr; }
  .block-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 36px; }
  /* 头条标题由单行截断改为两行 */
  .top-story h3 {
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }
}

@media (max-width: 640px) {
  .footer-main { grid-template-columns: 1fr; gap: 32px; padding: 48px 0 36px; }
  .container { padding: 0 18px; }
  .article-nav { grid-template-columns: 1fr; }
}

.view { display: none; }
#view-home { display: block; }

/* ===== Hero 轮播（Swiper 组件版） ===== */
.hero .swiper-container { width: 100%; }
.hero .swiper-slide { width: 100%; }
.hero .swiper-slide img.hero-banner { width: 100%; height: auto; display: block; }
.hero .swiper-pagination { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; z-index: 5; }
.hero .swiper-pagination-bullet { display: inline-block; width: 10px; height: 10px; margin: 0 5px; border-radius: 50%; background: rgba(255,255,255,.55); cursor: pointer; transition: all .3s; }
.hero .swiper-pagination-bullet-active { width: 26px; border-radius: 5px; background: #fff; }

/* ===== 系统分页栏样式覆盖（p_pages 结构 v3：外层class=pb_sys_pageinfo） ===== */
.pb_sys_pageinfo { margin: 48px 0 0 !important; padding: 0 !important; background: none !important; border: none !important; text-align: center !important; line-height: 1 !important; }
.pb_sys_pageinfo .p_pages { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; }

/* 按钮外框：画在外层 span 上（裸 a 也兼容） */
.pb_sys_pageinfo .p_pages > span, .pb_sys_pageinfo .p_pages > a {
  min-width: 44px !important; height: 44px; box-sizing: border-box;
  display: inline-flex !important; align-items: center; justify-content: center;
  border-radius: 12px !important; border: 1px solid #e4eaf5 !important; background: #fff !important;
  font-family: "Lexend", "Noto Sans SC", sans-serif !important; font-size: 14.5px !important; font-weight: 500 !important;
  color: #5b6b85 !important; margin: 0 !important; padding: 0 !important;
  text-decoration: none !important; line-height: 1 !important; transition: all .2s; cursor: pointer;
}
/* 纯文字按钮（当前页/禁用态无内层a，自己撑 padding） */
.pb_sys_pageinfo .p_pages > span.p_no_d, .pb_sys_pageinfo .p_pages > span.p_fun_d { padding: 0 14px !important; }
/* 内层链接：撑满父按钮，不产生第二重盒子 */
.pb_sys_pageinfo .p_pages > span > a {
  display: inline-flex !important; align-items: center; justify-content: center;
  height: 100% !important; padding: 0 14px !important; margin: 0 !important;
  border: none !important; background: none !important; box-shadow: none !important;
  color: inherit !important; font: inherit !important; text-decoration: none !important; line-height: 1 !important;
}
/* 可点按钮悬停 */
.pb_sys_pageinfo .p_pages > span.p_fun:hover, .pb_sys_pageinfo .p_pages > span.p_no:hover, .pb_sys_pageinfo .p_pages > a:hover {
  border-color: #286bcf !important; color: #286bcf !important; transform: translateY(-2px);
}
/* 当前页：紫蓝渐变高亮 */
.pb_sys_pageinfo .p_pages > span.p_no_d {
  background: linear-gradient(120deg, #6a11cb 0%, #2575fc 100%) !important;
  border-color: transparent !important; color: #fff !important; font-weight: 700 !important;
  box-shadow: 0 6px 16px rgba(94,32,203,.35); cursor: default;
}
/* 禁用态（首页/上页/下页/尾页不可点） */
.pb_sys_pageinfo .p_pages > span.p_fun_d { opacity: .4 !important; cursor: not-allowed !important; }
.article-body,
.article-body p,
.article-body span{
    font-family: var(--font-cn) !important;
    margin-bottom: 22px !important;
    text-indent: 2em !important;
    font-size: 16.5px !important;
    line-height: 2 !important;
    color: #2b3a55 !important;
}
.nav-prev,.nav-next{
      min-width: 0;
}

/* ============================================================
   响应式增强补丁
   ============================================================ */

/* 列表页主体容器（替代原内联 padding，便于媒体查询覆盖） */
.main-layout--list { padding-bottom: 88px; }

/* 861~1100px：导航过渡断点，防止栏目较多时溢出 */
@media (max-width: 1100px) and (min-width: 861px) {
  .nav-menu > li > a { font-size: 14.5px; padding: 0 8px; }
  .nav-menu > li > a.active { padding: 0 18px; }
}

@media (max-width: 1080px) {
  /* 列表标题由单行截断改为两行，减少手机端信息损失 */
  .list-item .li-row h3 {
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }
}

@media (max-width: 640px) {
  .main-layout { padding: 36px 0 8px; }
  .main-layout--list { padding-bottom: 48px; }
  .page-hero { min-height: 0; }
  .page-hero .container { padding: 36px 18px; }
  .section { padding: 44px 0 56px; }
  .block-card { padding: 18px 16px 8px; }
  .block-head h2 { font-size: 22px; }
  .block-head .sub { font-size: 13px; }
  .col-head { flex-wrap: wrap; align-items: flex-start; }
  .list-item { padding: 16px 8px; }
  /* 标题+日期不再挤一行：日期掉到标题下方 */
  .list-item .li-row { flex-wrap: wrap; gap: 4px 12px; }
  .list-item .li-row .li-date { flex-basis: 100%; padding-left: 19px; font-size: 12.5px; }
  .media-item { gap: 12px; padding: 14px 6px; }
  .media-item .src { min-width: 74px; font-size: 11.5px; padding: 5px 6px; }
  /* 页脚二维码：小屏缩小尺寸、改为左对齐与上方内容对齐 */
  .f-qrcode { justify-content: flex-start; margin-top: 0; }
  .qr-card { flex-direction: row; gap: 14px; align-items: center; }
  .qr-frame { width: 92px; height: 92px; padding: 4px; border-radius: 10px; }
  .qr-frame img { border-radius: 4px; }
  .qr-label { font-size: 11.5px; }
  /* 详情页正文手机端排版：收紧行高、取消首行缩进 */
  .article-body, .article-body p, .article-body span {
    font-size: 16px !important;
    line-height: 1.9 !important;
    text-indent: 0 !important;
  }
  .back-top { right: 16px; bottom: calc(20px + env(safe-area-inset-bottom)); width: 42px; height: 42px; }
}

/* ===== 触摸与显示细节优化 ===== */
/* 去掉 iOS/安卓点击链接时的灰色闪块 */
a, button { -webkit-tap-highlight-color: transparent; }
/* 首屏外图片延迟渲染（现代浏览器），contain-intrinsic-size 防止无尺寸图片塌陷 */
img { content-visibility: auto; contain-intrinsic-size: auto 300px; }
/* iPhone 刘海屏：返回顶部按钮避开底部安全区（桌面端；640px 值见上方媒体查询） */
@media (min-width: 641px) {
  .back-top { bottom: calc(32px + env(safe-area-inset-bottom)); }
}

/* ===== 详情页正文防溢出（覆盖 CMS 编辑器发布的内联固定宽度） ===== */
.article-body img, .article-body video, .article-body iframe {
  max-width: 100% !important;
  height: auto !important;
}
.article-body table {
  width: 100% !important;
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.article-body td, .article-body th { min-width: 0; }
.article-body p, .article-body div, .article-body section { max-width: 100% !important; }

/* ===== 历届回顾：六宫格（左右各3篇） ===== */
.archive-grid-six {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 48px;
  position: relative;
}

/* 中间竖直分隔线（可选，保持时间轴感） */
.archive-grid-six::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--primary);
  border-radius: 2px;
  box-sizing: border-box;
}

.archive-col {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

/* 左侧列：时间轴在左 */
.archive-col:first-child {
  padding-left: 34px;
}
.archive-col:first-child .archive-item::before {
  left: -32px;
}

/* 右侧列：时间轴在右（镜像） */
.archive-col:last-child {
  padding-right: 0;
  padding-left: 34px;
}
.archive-col:last-child .archive-item {
  text-align: right;
  padding-right: 34px;
}
.archive-col:last-child .archive-item::before {
    left: -32px;
}
.archive-col:last-child .archive-item .year {
  text-align: right;
}
.archive-col:last-child .archive-item p {
  margin-left: auto;
}

/* 复用原有时间轴样式，微调 */
.archive-grid-six .archive-item {
  position: relative;
  padding: 14px 0 26px;
}
.archive-grid-six .archive-item::before {
  content: "";
  position: absolute;
  top: 24px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  border: 3.5px solid var(--primary);
  box-sizing: border-box;
  transition: all 0.25s;
}
.archive-grid-six .archive-item:hover::before {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 0 6px rgba(255, 138, 61, 0.18);
}
.archive-grid-six .archive-item .year {
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 4px;
}
.archive-grid-six .archive-item h4 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
  transition: color 0.2s;
}
.archive-grid-six .archive-item:hover h4 {
  color: var(--primary);
}
.archive-grid-six .archive-item p {
  font-size: 13.5px;
  color: var(--muted);
  max-width: 640px;
}

/* 移动端：上下排列 */
@media (max-width: 860px) {
  .archive-grid-six {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .archive-grid-six::before {
    display: none;
  }
  .archive-col:first-child,
  .archive-col:last-child {
    padding-left: 34px;
    padding-right: 0;
  }
  .archive-col:last-child .archive-item {
    text-align: left;
    padding-right: 0;
    padding-left: 0;
  }
  .archive-col:last-child .archive-item::before {
    left: -32px;
    right: auto;
  }
  .archive-col:last-child .archive-item .year {
    text-align: left;
  }
  .archive-col:last-child .archive-item p {
    margin-left: 0;
  }
}
.archive-col h4,.archive-col p,.archive-col div{
    text-align: left !important;
}

/* ============================================================
   04 校企供需（供需报道 + 供需清单）
   ============================================================ */
/* 两列等宽卡片 */
.supply-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 36px;
  align-items: stretch;
}
.supply-grid > .block-card { min-width: 0; }

/* alt 浅蓝底上让卡片更有层次 */
.section.alt .supply-grid .block-card {
  border: none;
  box-shadow: 0 14px 36px rgba(13, 40, 100, 0.10);
}
/* 标题列表与卡片头的间距 */
.supply-grid .block-list { padding-top: 10px; }

@media (max-width: 1080px) {
  .supply-grid { grid-template-columns: 1fr; }
}
/* ---------- 校企供需·左右差异化（新增 class：bd-card / qd-card / qd-list，不影响旧样式） ---------- */
/* 左列·供需报道：橙色点缀（竖条 + 小方块符号） */
.supply-grid .bd-card .card-head .bar {
  background: linear-gradient(180deg, #fd6631, #e5a816);
}
.supply-grid .bd-card .block-list li a::before {
  background: var(--accent);
}
.supply-grid .bd-card .block-list li a:hover .t {
  color: #e05a1a;
}

/* 右列·供需清单：卡片顶部渐变条 + 序号徽章清单 */
.supply-grid .qd-card {
  position: relative;
  overflow: hidden;
}
.supply-grid .qd-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #6a11cb 0%, #2575fc 55%, #fd6631 100%);
}
.supply-grid .qd-list {
  counter-reset: qd;
  padding-top: 10px;
}
.qd-list li a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 6px;
  border-bottom: 1px dashed #e9eef6;
  border-radius: 10px;
  transition: background 0.2s, padding 0.2s;
}
.qd-list li:last-child a { border-bottom: none; }
.qd-list li a::before {
  counter-increment: qd;
  content: counter(qd, decimal-leading-zero);
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-en);
  font-size: 13.5px;
  font-weight: 700;
  color: #fff;
  background: var(--grad-main);
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(94, 32, 203, 0.28);
  transition: background 0.2s, transform 0.2s;
}
.qd-list li a:hover {
  background: var(--primary-soft);
  padding-left: 12px;
}
.qd-list li a:hover::before {
  background: var(--grad-warm);
  transform: scale(1.08);
}
.qd-list li a .t {
  flex: 1;
  min-width: 0;
  font-size: 16.5px;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.2s;
}
.qd-list li a:hover .t { color: var(--primary); }
.qd-list li a .d {
  flex-shrink: 0;
  font-family: var(--font-en);
  font-size: 14px;
  color: #9aa7bd;
}

/* 供需报道：纯自动滚动容器 */
.supply-grid .bd-card .block-list {
   max-height: 299.4px;    /* 必须小于内容高度，否则不滚 */
  overflow-y: hidden;         /* 不用 auto，杜绝手动滚动 */
  overflow-x: hidden;
  scrollbar-width: none;      /* Firefox 隐藏滚动条 */
  -ms-overflow-style: none;   /* 旧 Edge/IE */
  overscroll-behavior: contain;
}
.supply-grid .bd-card .block-list::-webkit-scrollbar {
  width: 0;
  height: 0;
}

/* ============================================================
   供需报道：对齐 v3 设计稿（圆点 + 标题/日期双行布局）
   仅作用于 .bd-card，不影响论坛动态/专家论坛的 .block-list
   ============================================================ */
/* 每条：圆点 + 标题（第一行），日期（第二行） */
.supply-grid .bd-card .block-list li a {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0 10px;
  padding: 11px 0;
  border-bottom: 1px dashed #e9eef6;
}
.supply-grid .bd-card .block-list li:last-child a { border-bottom: none; }

/* 彩色圆点：蓝 / 青 / 橙 循环 */
.supply-grid .bd-card .block-list li a::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #286bcf;
  flex-shrink: 0;
  margin-top: 7px;
}
.supply-grid .bd-card .block-list li:nth-child(3n+2) a::before { background: #0ea5a5; }
.supply-grid .bd-card .block-list li:nth-child(3n)   a::before { background: #e05a1a; }

/* 标题：第一行，单行省略 */
.supply-grid .bd-card .block-list li a .t {
  flex: 1;
  min-width: 0;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.2s;
}
.supply-grid .bd-card .block-list li a:hover .t { color: var(--primary); }

/* 日期：独占第二行，与标题左对齐（圆点6px + 间距10px） */
.supply-grid .bd-card .block-list li a .d {
  flex-basis: 100%;
  padding-left: 16px;
  margin-top: 3px;
  font-size: 11.5px;
  color: #9aa7bd;
}

/* 自动滚动容器：新行高约 66px，正好显示 5 条 */
.supply-grid .bd-card .block-list {
  max-height: 331px;
}

/* ============================================================
   供需清单：对齐 v3 设计稿（企业需求 / 高校供给 tab 切换）
   ============================================================ */
/* 卡片头：tabs 替代原标题，去掉下边框 */
.qd-card .qd-head {
  border-bottom: none;
  padding-bottom: 0;
  gap: 12px;
}

/* tab 胶囊按钮组 */
.supply-tabs {
  display: inline-flex;
  background: #f2f5fb;
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
}
.supply-tab {
  padding: 5px 16px;
  font-size: 12.5px;
  font-weight: 600;
  border-radius: 999px;
  color: #6b7a96;
  cursor: pointer;
  border: none;
  background: transparent;
  font-family: inherit;
  transition: all 0.2s;
}
.supply-tab.active {
  background: #fff;
  color: #2575fc;
  box-shadow: 0 2px 6px rgba(37, 117, 252, 0.18);
}

/* 面板显隐 + 切换动画 */
.qd-panels { padding-top: 6px; }
.qd-panel { display: none; }
.qd-panel.active {
  display: block;
  animation: fadeInTab 0.22s ease;
}
@keyframes fadeInTab {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* 供需清单卡片：固定高度，切换 tab 时卡片高度不跳动（与左卡 5 条对齐） */
.supply-grid .qd-card {
  height: 424px;
  display: flex;
  flex-direction: column;
}
.qd-card .qd-panels {
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

/* 面板内列表：序号徽章 → 圆点，标题/日期双行（与供需报道一致） */
.qd-card .qd-list li a {
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0 10px;
  padding: 11px 0;
  border-radius: 0;
}
.qd-card .qd-list li a::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #e05a1a;
  box-shadow: none;
  margin-top: 7px;
}
/* 高校供给：青色圆点 */
.qd-card .qd-panel[data-list="supply"] .qd-list li a::before { background: #0ea5a5; }
/* 去掉旧的整行 hover 背景/位移，避免日期对齐跳动 */
.qd-card .qd-list li a:hover {
  background: none;
  padding-left: 0;
}
.qd-card .qd-list li a .t {
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.5;
}
.qd-card .qd-list li a .d {
  flex-basis: 100%;
  padding-left: 16px;
  margin-top: 3px;
  font-size: 11.5px;
}
.qd-more { display: none; }
.qd-more.active { display: inline; }