/* ==================================================
   安阳师范学院 · 甲骨学院 全局样式
   主容器最大宽度：1400px
   技术栈：Bootstrap 5 + Swiper 7 + jQuery
   图片素材使用占位图，背景使用纯色
   ================================================== */

:root {
  /* 全局字号基准：rem 全部基于 html 的 font-size。
     下方媒体查询只需下调 --font-scale，所有 rem 字号即等比缩小 */
  --font-scale: 1;
  --primary: #7a0715;
  --primary-dark: #5a0510;
  --primary-light: #a0182a;
  --accent: #bfa87c;
  --text: #333333;
  --text-light: #666666;
  --bg: #f8f6f3;
  --white: #ffffff;
  --border: #e5e5e5;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: calc(16px * var(--font-scale));
}

body {
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg);
  margin: 0;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* 主内容容器：固定最大宽度 1400px */
.site-container {
  position:relative;
  width: 100%;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
}

.section {
  padding-top: 80px;
  padding-bottom: 40px;
}

/* ==================================================
   通用标题组件
   ================================================== */
.section-title {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.section-title::before {
  content: "";
  display: inline-block;
  width: 2.5rem;
  height: 2.5rem;
  background: url("../images/tit_i.png") no-repeat center / contain;
  flex: 0 0 auto;
}

.section-title span {
  color:var(--accent);
}

.section-title .more,
.panel-title .more {
  margin-left: auto;
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--primary);
}

.section-title .more:hover,
.panel-title .more:hover {
  color: var(--primary);
}

.section-title-light {
  color: var(--white);
}

.section-title-light::before {
  background-image: url("../images/tit_i.png");
  background-color: transparent;
  filter: brightness(0) invert(1);
}

/* ==================================================
   header
   ================================================== */
.top-header {
  background-color: var(--primary-dark);
  background-image: url("../images/header_bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--white);
  padding: 25px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--white);
}

.logo img {
  object-fit: contain;
}

.logo-text h1 {
  font-size: 1.45rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.25;
}

.logo-text span {
  display: block;
  font-size: 0.8rem;
  opacity: 0.85;
  margin-top: 2px;
}

.top-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.quick-btn {
  display: inline-block;
  background: #760008;
  color: var(--white);
  padding: 6px 12px;
  font-size: 0.9rem;
  transition: background-color 0.2s ease;
}

.quick-btn:hover {
  opacity:.9;
  color: var(--white);
}

.search-box {
  display: flex;
  background:#760008;
  overflow: hidden;
}

.search-box input {
  background-color: transparent;
  border: none;
  color: var(--white);
  padding: 6px 12px;
  outline: none;
  width: 170px;
  font-size: 0.9rem;
}

.search-box input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.search-box button,.search-box .button {
  background-color: #760008;
  border: none;
  color: var(--white);
  padding: 0 14px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background-color 0.2s ease;
  width:unset;
}

.search-box button:hover,.search-box .button:hover {
  background-color: rgba(255, 255, 255, 0.35);
}

/* header 内的汉堡按钮（移动端显示在右侧，图标改为白色） */
.top-header .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.6);
  padding: 4px 8px;
}

.top-header .navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25);
}

.top-header .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(118,0,8,0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* 移动端（<992px）：隐藏搜索框与快捷入口，仅保留汉堡按钮 */
@media (max-width: 991.98px) {
  .search-box,
  .quick-links {
    display: none !important;
  }
}

/* ==================================================
   nav
   ================================================== */
.main-nav {
  background-color: var(--primary);
}

.main-nav .navbar {
  padding: 0;
}

/* #mainMenu 当前布局：.nav.w > ul.cl > li > a（+ 嵌套 ul 子菜单） */
.main-nav .nav.w {
  width: 100%;
}

.main-nav ul.cl {
  display: flex;
  flex-wrap: wrap;
  justify-content:space-between;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav ul.cl > li {
  position: relative;
}

.main-nav ul.cl > li > a {
  display: block;
  padding: 14px 18px;
  color: var(--white);
  text-align:center;
  font-size: 1rem;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.main-nav ul.cl > li:hover > a,
.main-nav ul.cl > li > a:hover,
.main-nav ul.cl > li > a:focus {
  background-color: var(--primary-dark);
  color: var(--white);
}

/* 含二级菜单的项：文字右侧加向下箭头（线性 chevron） */
.main-nav ul.cl > li:has(> ul) > a::after {
  content: "";
  display: inline-block;
  margin-left: 6px;
  padding: 4px;
  vertical-align: middle;
  border-style: solid;
  border-color: currentColor;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg) translateY(-4px);
}

/* 子菜单（下拉） */
.main-nav ul.cl > li > ul {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 50;
  min-width: 180px;
  margin: 0;
  padding: 6px 0;
  list-style: none;
  background-color: var(--white);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  display: none;
}

.main-nav ul.cl > li > ul > li > a {
  display: block;
  padding: 9px 20px;
  color: var(--text);
  font-size: 0.9rem;
  white-space: nowrap;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.main-nav ul.cl > li > ul > li > a:hover,
.main-nav ul.cl > li > ul > li > a:focus {
  background-color: var(--bg);
  color: var(--primary);
}

/* ==================================================
   banner（Swiper 轮播）
   ================================================== */
.hero-section {
  position:relative;
}

/* 轮播不固定高度，图片按原始比例自适应（避免被原始尺寸撑得特别高、也不留空白） */
.hero-section .swiper {
  width: 100%;
  height: auto;
}

.hero-section .swiper-slide {
  position: relative;
  display: block;
  height: auto;
  overflow: hidden;
}

.hero-section .swiper-slide img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: initial;
}

.slide-bg {
  position: relative;
  z-index: 1;
}

.slide-bg img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: initial;
  opacity: 1;
}

.slide-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  padding: 0 20px;
}

.slide-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
  margin: 0;
  line-height: 1.3;
}

.hero-section .swiper .swiper-pagination-bullet {
  background-color: rgba(255, 255, 255, 0.6);
  opacity: 1;
}

.hero-section .swiper .swiper-pagination-bullet-active {
  background-color: var(--white);
}

.hero-section .swiper-button-next,
.hero-section .swiper-button-prev {
  color: var(--white);
  width: 44px;
  height: 44px;
  background-color: rgba(0, 0, 0, 0.25);
  border-radius: 50%;
}

.hero-section .swiper-button-next::after,
.hero-section .swiper-button-prev::after {
  font-size: 1.2rem;
  font-weight: 700;
}

/* ==================================================
   index01：学院动态 + 通知公告
   ================================================== */
.index01 {
  background-color: var(--white);
}

/* 左右两栏独立卡片化：标题白底 + 内容区通栏色 */
.index01-row {
  --col-pad-x: 40px;
}

.index01-col {
  padding: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* 标题白色区域：让标题不与下方通栏色块粘连 */
.index01-col .section-title.section-title-outline {
  background-color: var(--white);
  padding: 14px 0;
  margin: 0 0 0 0;
}

/* 左栏：金色通栏背景 */
.index01-col-news {
  background-color: var(--accent);
}

/* 右栏：深红通栏背景 */
.index01-col-notice {
  background-color: var(--primary);
}

/* 主图区 */
.news-feature {
  margin: 0;
  padding: 45px var(--col-pad-x) 6px;
  background-color: var(--accent);
}

.index01-col-notice .news-feature,
.notice-list-only .news-feature {
  background-color: var(--primary);
}

.news-feature a {
  display: block;
  border: 3px solid #e8d8b9;
  overflow: hidden;
}

.news-feature img {
  width: 100%;
  aspect-ratio: 3 / 1;
  object-fit: cover;
  display: block;
}

.feature-caption {
  padding-top: 12px;
  font-weight: 600;
  font-size: 1.05rem;
}

.feature-caption a:hover {
  color: var(--primary);
}

/* 标题前保留原有的图片前缀（tit_i.png），不替换 */

/* index01 标题字号与图片中视觉比例对齐 */
.index01-col .section-title {
  font-size: 1.8rem;
  margin-bottom: 0;
  gap: 0;
}

/* 新闻列表通用 */
.news-list {
  padding: 20px 50px 20px;
  flex: 1;
}

.notice-list {
  padding: 55px;
}

.news-list li {
  display: flex;
  justify-content: flex-start;
  align-items: baseline;
  padding: 13px 0;
}

.news-list li:last-child {
  border-bottom: none;
}

/* 条目前置小方块标记 */
.news-list li .dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 12px;
  background-color: var(--accent);
  flex: 0 0 auto;
  transform: translateY(1px);
}

.news-list a {
  flex: 1;
  color: var(--white);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  margin-right: 12px;
}

.notice-list a {
  color: #e8d8b9;
}

.news-list a:hover {
  color: var(--white);
  opacity: 0.85;
}

.news-list .date {
  color: var(--accent);
  font-size: 0.85rem;
  white-space: nowrap;
  flex: 0 0 auto;
}

/* 左栏（金色）列表小方块加深，让对比度更接近原图 */
.index01-col-news .news-list li .dot {
  background-color: rgba(255, 255, 255, 0.85);
}

/* 右栏（红色）小方块与文字色继承默认 */

/* ==================================================
   index02：党建思政 / 教学科研 / 团学工作
   ================================================== */
.index02 {
  background:#f5efe4 url(../images/index02_bg.jpg) no-repeat 100% bottom;
  padding-top: 220px;
  margin-top: -160px;
  padding-bottom: 70px;
}

/* 面板整体：透明背景，无卡片化样式 */
.panel {
  background-color: transparent;
  padding: 0 34px;
  height: 100%;
  box-shadow: none;
  position: relative;
}

/* 面板之间的浅色竖向分隔线（除最左列外） */
.index02 .row > .col-lg-4 + .col-lg-4 .panel::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background-color: rgba(122, 7, 21, 0.08);
}

/* 标题：左图标 + 双色文字 + 右侧"更多 +" */
.panel-title {
  font-size: 2.25rem;
  color: var(--primary);
  margin-bottom: 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  white-space: nowrap;
}

.panel-title::before {
  content: "";
  display: inline-block;
  width: 2.25rem;
  height: 2.25rem;
  background: url("../images/tit_i.png") no-repeat center / contain;
  flex: 0 0 auto;
}

/* 标题中"· 思政/科研/工作"部分用金色 */
.panel-title > em {
  font-style: normal;
  color: var(--accent);
}

/* 标题右侧"更多 +"：深红/主色，字号较小 */
.panel-title .more {
  color: var(--primary);
  font-size: 1rem;
  font-weight: 400;
}

.panel-title .more:hover {
  color: var(--primary-dark);
}

/* 列表 */
.panel-list li {
  display: flex;
  justify-content: flex-start;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: none;
}

/* 前置深红小方块 */
.panel-list li::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 14px;
  background-color: var(--primary);
  flex: 0 0 auto;
  transform: translateY(1px);
}

.panel-list a {
  flex: 1;
  color: var(--primary);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  margin-right: 10px;
  font-size: 1.02rem;
}

.panel-list a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* 设计图中不显示日期，但保留 DOM 以便日后启用 */
.panel-list .date {
  display: none;
}

/* ==================================================
   index03：实验室 · 甲骨荣光
   ================================================== */
.index03 {
  background: url("../images/index03_bg.jpg") center / cover no-repeat;
  color: var(--white);
  padding:100px 0;
}

.index03 .section-title::before {
  display:none;
}

.index03 .content {
  position:relative;
  z-index:1;
  margin-top:90px;
}

.index03 .content::before {
  content:'';
  border:1px solid var(--accent);
  width:calc(100% + 5.6rem);
  height:calc(100% + 4.5rem);
  left:50%; top:50%;
  transform:translate(-50%,-50%);
  position:absolute;
  z-index:-1;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  height: 100%;
  width:100%;
  min-height: 190px;
  background-color: var(--primary-dark);
}

.gallery-item a {
  display: block;
  height: 100%;
}

.gallery-item a > div:first-child {
  height: 100%;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* 标题遮罩：默认隐藏，hover 时覆盖图片淡入 */
.gallery-caption {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  background: linear-gradient(to top, rgba(90, 5, 16, 0.88), rgba(0, 0, 0, 0.45));
  color: var(--white);
  font-size: 0.95rem;
  text-align: center;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
}

.gallery-item:hover .gallery-caption {
  opacity: 1;
  transform: translateY(0);
}

.gallery-main {
  min-height: 410px;
}

/* 右侧 4 图容器：上下两行均分列高，与左侧主图上下边对齐 */
.gallery-side {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 100%;
}

.gallery-side .row {
  margin: 0;
}

.gallery-side .flex-1 {
  flex: 1 1 0;
  min-height: 0;
}

/* 让外层两列等高：Bootstrap row 默认 stretch 已生效，补全 col 内高度链 */
.index03 .content .row > .col-lg-6 {
  display: flex;
}

/* ==================================================
   index04：媒体关注
   ================================================== */
.index04 {
  background-color: var(--white);
}

.index04 .section-title {
  margin-bottom: 2.4rem;
}

.media-card {
  overflow: hidden;
  height: 100%;
}

.media-card > a {
  display: block;
  overflow: hidden;
}

.media-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.media-card:hover img {
  transform: scale(1.06);
}

.media-body {
  padding: 35px 2px 0;
}

/* 标题：前置深红小方块，单行省略 */
.media-body h5 {
  font-size: 1.25rem;
  line-height: 1.5;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
}

.media-body h5::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 10px;
  background-color: var(--primary);
  flex: 0 0 auto;
  transform: translateY(1px);
}

.media-body h5 a {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.media-body h5 a:hover {
  color: var(--primary);
}

/* 摘要：两行截断 */
.media-desc {
  color: #8f8f8f;
  font-size: 0.85rem;
  line-height: 1.75;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.media-date {
  color: #b0b0b0;
  font-size: 0.82rem;
}

/* ==================================================
   index05：快捷导航
   ================================================== */
.index05 {
  background-color: var(--white);
}

.index05 .content {
  padding-top:40px;
  border-top:1px solid #ad666b;
}

.quick-item {
  display: block;
  text-align: center;
  padding: 18px 10px;
  transition: transform 0.25s ease;
}

.quick-item:hover {
  transform: translateY(-4px);
}

.quick-icon {
  width: 130px;
  height: 130px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.quick-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
}

.quick-item:hover .quick-icon {
  transform: translateY(-5px);
}

.quick-label {
  font-size: 0.95rem;
  color: var(--primary);
  font-weight: 500;
  font-size:1.375rem;
}

/* ==================================================
   list-section：内页左侧栏目导航 + 右侧内容
   ================================================== */
.list-section {
  background-color: var(--white);
  padding: 55px 0 90px;
}

.list-wrap {
  display: flex;
  align-items: flex-start;
  gap: 70px;
}

/* ---------- 左侧栏目导航 ---------- */
.list-side {
  flex: 0 0 280px;
  background-color: var(--primary);
  padding: 35px 0 0 15px;
  margin-bottom:150px;
}

/* 侧栏标题：白色笔触图标 + 白色文字 */
.side-title {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-size: 2rem;
  letter-spacing: 1px;
  margin-bottom: 30px;
  margin-right:20px;
}

.side-title::before {
  content: "";
  display: inline-block;
  width: 2.4rem;
  height: 2.4rem;
  margin-top:10px;
  background: url("../images/tit_i1.png") no-repeat center / contain;
  flex: 0 0 auto;
}

/* 菜单项：金色块 + 白色文字，hover/当前项透出侧栏红色 */
.side-menu li + li {
  border-top:1px solid #d4c4a6;
}
.side-menu li:hover,
.side-menu li.active {
  border-color: var(--primary);
}
.side-menu a {
  display: block;
  padding: 2.5rem 10px;
  padding-right:20%;
  background-color: var(--accent);
  color: var(--white);
  text-align: center;
  font-size: 1rem;
  letter-spacing: 2px;
  transition: background-color 0.2s ease;
}

.side-menu a:hover,
.side-menu li.active a {
  background-color: transparent;
  color: var(--white);
}

/* ---------- 右侧内容区 ---------- */
.list-main {
  flex: 1;
  min-width: 0;
}

/* 栏目标题：深红文字 + 右侧延长细线 */
.list-title {
  display: flex;
  align-items: baseline;
  gap: 20px;
  color: var(--primary);
  font-size: 2.125rem;
  margin-bottom: 32px;
}

.list-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background-color: #bfa87c;
}

/* ---------- 文章资讯列表 ---------- */
.article-list {
  border-top: 2px solid var(--primary);
}

.article-list li {
  display: flex;
  justify-content: flex-start;
  align-items: baseline;
  padding: 20px 6px;
  border-bottom: 1px dashed #d8cdb9;
  transition: background-color 0.2s ease, padding-left 0.2s ease;
}

/* 前置深红小方块（与首页 panel-list 风格一致） */
.article-list li::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 14px;
  background-color: var(--accent);
  flex: 0 0 auto;
  transform: translateY(1px);
  transition: background-color 0.2s ease;
}

.article-list li:hover {
  background-color: #faf6ee;
  padding-left: 16px;
}

.article-list li:hover::before {
  background-color: var(--primary);
}

.article-list a {
  flex: 1;
  color: var(--text);
  font-size: 1.05rem;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  margin-right: 20px;
}

.article-list li:hover a {
  color: var(--primary);
}

.article-list .date {
  color: #a89c83;
  font-size: 0.88rem;
  white-space: nowrap;
  flex: 0 0 auto;
}

/* ---------- 列表空状态（列表无条目时自动显示，有条目时自动隐藏） ---------- */
.list-empty {
  display: none;
  padding: 70px 24px 78px;
  text-align: center;
  background-color: #fdfbf7;
  border: 1px dashed #e3dac7;
}

/* 圆形“甲”字印章图标：沿用深红主色 + 金色辅色的品牌配色 */
.list-empty-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 84px;
  margin: 0 auto 22px;
  border: 1px dashed rgba(191, 168, 124, 0.9);
  border-radius: 50%;
  background-color: rgba(191, 168, 124, 0.1);
  background-image:url("../images/icon.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  color: rgba(122, 7, 21, 0.55);
  font-family: "STKaiti", "KaiTi", "Kaiti SC", "SimSun", serif;
  font-size: 2.5rem;
  line-height: 1;
  user-select: none;
}

.list-empty-title {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 1.15rem;
}

.list-empty-desc {
  margin: 0;
  color: #a89c83;
  font-size: 0.9rem;
}

/* 无内容时：显示空状态，隐藏空列表与分页。
   :has() 为自动判定，.is-empty 为 JS 兜底（两条须分开写：
   CSS 选择器列表非容错，不支持 :has() 的浏览器会让整条规则失效） */
.list-main:not(:has(.article-list > li)) .list-empty {
  display: block;
}

.list-main:not(:has(.article-list > li)) .article-list,
.list-main:not(:has(.article-list > li)) .list-pagination,
.list-main:not(:has(.article-list > li)) .search-pagination {
  display: none;
}

/* JS 兜底：不支持 :has() 时由脚本给 .list-main 加 .is-empty */
.list-main.is-empty .list-empty {
  display: block;
}

.list-main.is-empty .article-list,
.list-main.is-empty .list-pagination,
.list-main.is-empty .search-pagination {
  display: none;
}

/* ---------- 分页（结构：p_t 总数 + p_pages 翻页区，类名 p_first/p_prev/p_no/p_next/p_last，_d 后缀为禁用/当前态） ---------- */
.list-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 45px;
  font-size: 0.92rem;
}

/* 左侧"共N条" */
.list-pagination .p_t {
  color: #a89c83;
  margin-right: 6px;
}

/* 翻页按钮区 */
.list-pagination .p_pages {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

/* 所有按钮统一盒型 */
.list-pagination .p_pages > span,
.list-pagination .p_pages > span > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 12px;
  line-height: 1;
}

.list-pagination .p_pages > span > a {
  width: 100%;
  height: 100%;
  padding: 0;
}

/* 可点击按钮（页码 p_no + 翻页 p_fun）：金色描边、深红文字 */
.list-pagination .p_no,
.list-pagination .p_fun {
  border: 1px solid #d8cdb9;
  background-color: var(--white);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.list-pagination .p_no a,
.list-pagination .p_fun a {
  color: var(--text-light);
  transition: color 0.2s ease;
}

.list-pagination .p_no:hover,
.list-pagination .p_fun:hover {
  border-color: var(--primary);
  background-color: var(--primary);
}

.list-pagination .p_no:hover a,
.list-pagination .p_fun:hover a {
  color: var(--white);
}

/* 翻页按钮（首页/上页/下页/尾页）：默认深红文字 */
.list-pagination .p_fun a {
  color: var(--primary);
}

.list-pagination .p_fun:hover a {
  color: var(--white);
}

/* 当前页 p_no_d：深红实底白字 */
.list-pagination .p_no_d {
  background-color: var(--primary);
  color: var(--white);
}

/* 禁用态 p_fun_d（首末页的首页/上页等）：浅灰不可点 */
.list-pagination .p_fun_d {
  border: 1px solid #e8e2d5;
  color: #c9c0ae;
  background-color: var(--white);
  cursor: not-allowed;
}

/* 键盘聚焦态 */
.list-pagination .p_pages a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* 小屏：按钮稍缩小、间距收紧 */
@media (max-width: 575px) {
  .list-pagination {
    gap: 10px;
    margin-top: 32px;
    font-size: 0.85rem;
  }

  .list-pagination .p_pages {
    gap: 6px;
  }

  .list-pagination .p_pages > span,
  .list-pagination .p_pages > span > a {
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
  }

  .list-pagination .p_pages > span > a {
    padding: 0;
  }
}

/* 正文段落 */
.info-content p {
  font-size: 0.95rem;
  line-height: 2;
  color: var(--text);
  text-align: justify;
  margin-bottom: 1.4em;
}

.info-content p:last-child {
  margin-bottom: 0;
}

/* ==================================================
   article-content：文章详情页（info.html）
   结构：头部（标题/浏览/作者/日期）→ 主图 → 视频 → 摘要
        → 正文 → 附件下载 → 操作按钮（打印/收藏/关闭）→ 上下篇
   ================================================== */
.article-content {
  width: 100%;
  color: var(--text);
}

/* ---------- 1. 文章头部 ---------- */
.article-head {
  padding-bottom: 20px;
  border-bottom: 1px solid #e5ddcb;
}

.article-title {
  margin: 0 0 16px;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--primary);
  text-align: center;
  word-break: break-word;
}

.article-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 24px;
  font-size: 0.85rem;
  color: #9a9083;
}

.article-meta .meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.article-meta .meta-item::before {
  content: "";
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.article-meta .meta-views::before {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23bfa87c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='M1.8 12S5.4 5.8 12 5.8 22.2 12 22.2 12 18.6 18.2 12 18.2 1.8 12 1.8 12z'/%3e%3ccircle cx='12' cy='12' r='3.2'/%3e%3c/svg%3e");
}

.article-meta .meta-author::before {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23bfa87c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3ccircle cx='12' cy='8' r='3.6'/%3e%3cpath d='M4.6 20c0-3.6 3.3-6 7.4-6s7.4 2.4 7.4 6'/%3e%3c/svg%3e");
}

.article-meta .meta-date::before {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23bfa87c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3crect x='3.5' y='5' width='17' height='15' rx='2'/%3e%3cpath d='M3.5 10h17M8 3.5v3M16 3.5v3'/%3e%3c/svg%3e");
}

.article-meta b {
  color: var(--primary);
  font-weight: 600;
}

/* ---------- 2. 主图 ---------- */
.article-figure {
  margin: 26px 0 0;
  text-align: center;
}

.article-figure img {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
  border: 1px solid #ece5d6;
  background-color: #f5f1e8;
}

.article-figure figcaption {
  margin-top: 10px;
  font-size: 0.85rem;
  color: #9a9083;
  line-height: 1.7;
}

/* ---------- 3. 视频 ---------- */
.article-video {
  margin: 26px 0 0;
}

.article-video .video-hd {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--primary);
  font-size: 1.05rem;
  font-weight: 600;
}

.article-video .video-hd svg,
.article-attach .attach-hd svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.article-video .video-box {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background-color: #1c1c1c;
  border: 1px solid #ece5d6;
}

.article-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.article-video .video-tip {
  margin-top: 8px;
  font-size: 0.82rem;
  color: #9a9083;
}

/* ---------- 4. 摘要 ---------- */
.article-summary {
  position: relative;
  margin: 26px 0 0;
  padding: 18px 22px;
  background-color: #fdfaf3;
  border: 1px solid #f0e7d3;
  border-left: 3px solid var(--accent);
}

.article-summary .summary-tag {
  display: inline-block;
  margin-right: 10px;
  padding: 1px 10px;
  background-color: var(--accent);
  color: var(--white);
  font-size: 0.8rem;
  letter-spacing: 1px;
}

.article-summary p {
  display: inline;
  margin: 0;
  font-size: 0.92rem;
  line-height: 2;
  color: #6b6255;
  text-align: justify;
}

/* ---------- 5. 正文 ---------- */
.article-body {
  margin-top: 26px;
  font-size: 1rem;
  line-height: 2.05;
  color: var(--text);
  text-align: justify;
  word-break: break-word;
}

.article-body p {
  margin: 0 0 1.35em;
  font-size: 1rem;
  line-height: 2.05;
}

.article-body p:last-child {
  margin-bottom: 0;
}

.article-body h2,
.article-body h3,
.article-body h4 {
  margin: 1.8em 0 0.9em;
  color: var(--primary);
  font-weight: 600;
  line-height: 1.6;
}

.article-body h2 { font-size: 1.25rem; }
.article-body h3 { font-size: 1.1rem; }
.article-body h4 { font-size: 1rem; }

.article-body img {
  max-width: 100%;
  height: auto;
  margin: 0.6em auto;
  border: 1px solid #ece5d6;
}

.article-body a {
  color: var(--primary);
  text-decoration: underline;
}

.article-body a:hover {
  color: var(--primary-dark);
}

.article-body ul,
.article-body ol {
  margin: 0 0 1.35em;
  padding-left: 1.6em;
  list-style: disc;
}

.article-body ol {
  list-style: decimal;
}

.article-body li {
  margin-bottom: 0.4em;
}

.article-body blockquote {
  margin: 1.4em 0;
  padding: 14px 20px;
  background-color: #faf6ee;
  border-left: 3px solid var(--accent);
  color: #6b6255;
  font-size: 0.95rem;
}

.article-body table {
  width: 100%;
  margin: 1.4em 0;
  border-collapse: collapse;
  font-size: 0.92rem;
  text-align: left;
}

.article-body th,
.article-body td {
  padding: 10px 12px;
  border: 1px solid #e5ddcb;
}

.article-body th {
  background-color: #faf6ee;
  color: var(--primary);
  font-weight: 600;
}

/* ---------- 6. 附件下载 ---------- */
.article-attach {
  margin-top: 34px;
  background-color: var(--white);
  border: 1px solid #ece5d6;
}

.article-attach .attach-hd {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  background-color: #faf6ec;
  border-bottom: 1px solid #ece5d6;
  color: var(--primary);
  font-size: 1.05rem;
  font-weight: 600;
}

.article-attach .attach-count {
  margin-left: auto;
  color: #a89c83;
  font-size: 0.82rem;
  font-weight: 400;
}

.article-attach .attach-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-top: 1px dashed #e5ddcb;
  transition: background-color 0.2s ease;
}

.article-attach .attach-list li:first-child {
  border-top: none;
}

.article-attach .attach-list li:hover {
  background-color: #fdfaf3;
}

.attach-type {
  flex: 0 0 auto;
  width: 44px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.attach-pdf { background-color: #c0392b; }
.attach-doc { background-color: #2a5db0; }
.attach-xls { background-color: #1e7a45; }
.attach-zip { background-color: #b8860b; }
.attach-file { background-color: #8b8b8b; }

.attach-info {
  flex: 1;
  min-width: 0;
}

.attach-name {
  display: block;
  color: var(--text);
  font-size: 0.95rem;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.attach-list li:hover .attach-name {
  color: var(--primary);
}

.attach-meta {
  display: block;
  margin-top: 4px;
  color: #a89c83;
  font-size: 0.8rem;
}

.attach-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  height: 34px;
  padding: 0 16px;
  border: 1px solid var(--primary);
  color: var(--primary);
  font-size: 0.85rem;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.attach-btn svg {
  width: 14px;
  height: 14px;
}

.attach-btn:hover {
  background-color: var(--primary);
  color: var(--white);
}

/* ---------- 7. 操作按钮（打印 / 收藏 / 关闭） ---------- */
.article-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.act-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 40px;
  padding: 0 22px;
  border: 1px solid #d8cdb9;
  background-color: var(--white);
  color: var(--text-light);
  font-size: 0.9rem;
  font-family: inherit;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.act-btn svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.act-btn:hover,
.act-btn:focus-visible {
  border-color: var(--primary);
  background-color: var(--primary);
  color: var(--white);
  outline: none;
}

/* 收藏选中态：实底深红 + 实心星标 */
.act-fav.is-active {
  border-color: var(--primary);
  background-color: var(--primary);
  color: var(--white);
}

.act-fav.is-active svg {
  fill: currentColor;
}

/* ---------- 8. 上下篇 ---------- */
.article-nav {
  margin-top: 34px;
  border-top: 2px solid var(--primary);
}

.article-nav a,
.article-nav .nav-none {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 13px 6px;
  border-bottom: 1px dashed #d8cdb9;
  font-size: 0.95rem;
  color: var(--text);
  transition: padding-left 0.2s ease, color 0.2s ease;
}

.article-nav .nav-label {
  flex: 0 0 auto;
  color: var(--accent);
  font-size: 0.9rem;
}

.article-nav .nav-txt {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.article-nav a:hover {
  padding-left: 14px;
  color: var(--primary);
}

.article-nav .nav-none {
  color: #b5ab98;
}

@media (max-width: 991.98px) {
  .index02 {
    margin-top:0px;
    padding-top: 60px;
    padding-bottom: 50px;
  }

  .index03 {
    padding: 55px 0;
  }

  .index03 .content {
    margin-top: 26px;
  }

  .index03 .content::before {
    width: calc(100% + 2rem);
    height: calc(100% + 1.6rem);
  }
  
  .gallery-side {
    display: flex;
    flex-wrap:wrap;
    flex-direction: row;
    gap: 1rem;
    height: unset;
  }
  
  .gallery-side .row>div {
    margin-bottom:10px;
    padding:0;
  }

  .gallery-item {
    min-height: unset;
  }

  .notice-list {
    padding: 28px 20px;
  }

  .news-list {
    padding: 16px 20px;
  }

  .list-wrap {
    flex-direction: column;
    gap: 35px;
  }

  .list-section {
    padding: 35px 0 55px;
  }

  .list-side {
    flex: 0 0 auto;
    width: 100%;
    padding: 22px 16px 26px;
    margin-bottom: 0;
    order:1;
  }

  .side-title {
    margin-bottom: 20px;
  }

  /* 侧栏菜单项：桌面用 2.5rem 上下内边距适配大卡片，移动端必须收紧 */
  .side-menu a {
    padding: 14px 10px;
    padding-right: 12px;
    letter-spacing: 1px;
  }
}

/* ==================================================
   footer
   ================================================== */
.site-footer {
  background-color: var(--primary-dark);
  background-image: url("../images/footer_bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--white);
  padding-top: 45px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 35px;
}

.footer-title {
  font-size: 1.375rem;
  margin-bottom: 16px;
}

.footer-grid p {
  margin-bottom: 6px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo img {
  height: 66px;
  object-fit: contain;
}

.footer-copy {
  font-size: 0.85rem;
  opacity: 0.85;
}

.back-top {
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);  
  color: rgba(255, 255, 255, 0.7);
  padding: 0.7rem 2rem;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background-color 0.2s ease;
}

.back-top:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

/* ==================================================
   响应式适配
   ================================================== */

/* 字号基准随屏幕下调：rem 单位全部基于 html 的 font-size（16px × --font-scale），
   缩放 --font-scale 即可让全站 rem 字号与 rem 间距等比缩小 */
@media (max-width: 1199px) {
  :root { --font-scale: 0.875; }  /* 小笔记本 / 横屏平板：基准 14px */
}

@media (max-width: 991.98px) {
  :root { --font-scale: 0.8125; } /* 竖屏平板：基准 13px */
}

@media (max-width: 767px) {
  :root { --font-scale: 0.75; }   /* 手机：基准 12px */
}

@media (max-width: 400px) {
  :root { --font-scale: 0.6875; } /* 小屏手机：基准 11px */
}

@media (max-width: 1199px) {
  .top-header { padding:20px 0; }
  .main-nav ul.cl > li > a {
    padding: 14px 12px;
  }

  .index02 {
    padding-top: 40px;
    margin-top: 0px;
  }

  .index03 {
    padding: 70px 0;
  }

  .panel-list li {padding:5px 0;}

  .notice-list {
    padding: 35px 30px;
  }

  .news-list {
    padding: 25px 45px 20px;
  }

  .news-list li { padding:10px 0; }

  .news-feature {
    padding-top: 30px;
  }

  .list-wrap {
    gap: 40px;
  }

  .list-main { width:100%;}

  .side-menu a {
    padding: 1.6rem 10px;
    padding-right: 14%;
  }
}

@media (max-width: 991.98px) {
  .navbar-toggler-icon { width:2.5rem; }
  .top-header { padding:20px 0; }

  .slide-content h2 {
    font-size: 2rem;
  }

  /* 悬浮面板定位参照 */
  .main-nav .navbar { position: relative; }

  /* 移动端：展开后悬浮在 header 下方，覆盖内容，不撑高页面 */
  .main-nav .navbar-collapse {
    position: absolute;
    left: -15px;
    right: -15px;
    top: 100%;
    z-index: 1000;
    max-height: calc(100vh - 60px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background-color: var(--primary-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
  }
  /* collapse 默认收起，.show 才显示（由 JS 切换） */
  .main-nav .navbar-collapse.collapse:not(.show) { display: none; }

  /* 移动端：菜单纵向堆叠 */
  .main-nav .nav.w {
    width: 95%;
    margin:0 auto;
    padding-bottom:25px;
  }

  .main-nav ul.cl {
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
  }

  .main-nav ul.cl > li {
    position: relative;
    width: 100%;
  }

  .main-nav ul.cl > li > a {
    padding: 13px 44px 13px 16px;  /* 右侧预留箭头空间 */
    text-align: left;
    font-size:1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .main-nav ul.cl > li:last-child > a {
    border-bottom: none;
  }

  /* 含子菜单的项：右侧绘制可指示展开状态的箭头 */
  .main-nav ul.cl > li:has(> ul) > a::after,
  .main-nav ul.cl > li.has-sub > a::after {
    content: "";
    position: absolute;
    right: 18px;
    top: 20px;
    width: 8px;
    height: 8px;
    border-right: 2px solid rgba(255, 255, 255, 0.7);
    border-bottom: 2px solid rgba(255, 255, 255, 0.7);
    transform: rotate(45deg);
    transition: transform 0.2s ease;
    pointer-events: none;
  }
  .main-nav ul.cl > li.open:has(> ul) > a::after,
  .main-nav ul.cl > li.open.has-sub > a::after {
    transform: rotate(-135deg);
    top: 24px;
  }

  /* 子菜单：移动端默认收起，点击父级 li.open 才展开（替代 hover） */
  .main-nav ul.cl > li > ul {
    position: static;
    display: none;
    width: 100%;
    min-width: 0;
    box-shadow: none;
    padding: 0 0 6px 0;
    background-color: transparent;
  }
  .main-nav ul.cl > li.open > ul { display: block; }

  .main-nav ul.cl > li > ul > li > a {
    color: var(--white);
    padding: 10px 16px 10px 34px;
    font-size: 1.15rem;
    opacity: 0.88;
  }

  .main-nav ul.cl > li > ul > li > a:hover,
  .main-nav ul.cl > li > ul > li > a:focus {
    background-color: var(--primary);
    color: var(--white);
    opacity: 1;
  }

  .gallery-main {
    min-height: 300px;
  }
  .panel-title {
    font-size: 1.5rem;
  }
  /* index02 移动端：取消面板间分隔竖线，堆叠时减小左右 padding */
  .index02 .row > .col-lg-4 + .col-lg-4 .panel::before {
    display: none;
  }

  .index02 .panel {
    padding: 0 18px;
  }

  .index03 .content {
    margin-top: 70px;
  }
  .news-list li { padding:7px 0; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 767px) {
  
  .top-header { padding:14px 0; }
  .section {
    padding-top: 28px;
    padding-bottom: 28px;
  }

  .slide-content h2 {
    font-size: 1.7rem;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .panel-title {
    font-size: 1.7rem;
  }

  .side-title {
    font-size: 1.6rem;
  }

  .list-title {
    font-size: 1.6rem;
  }

  .list-empty {
    padding: 45px 16px 50px;
  }

  .list-empty-icon {
    width: 66px;
    height: 66px;
    font-size: 2rem;
  }

  .news-list {
    padding: 15px 25px 25px;
  }

  .news-list li { padding:6px 0; }

  .footer-title {
    font-size: 1.2rem;
  }

  /* index01：移动端堆叠时左右栏无需对齐标题 padding，否则会拉开过大 */
  .index01-row {
    --col-pad-x: 18px;
  }

  .quick-icon {
    width: 72px;
    height: 72px;
  }

  .quick-icon img {
    padding: 6px;
  }

  .quick-item {
    padding: 12px 6px;
  }

  .media-card img {
    height: 180px;
  }

  .media-body {
    padding: 20px 2px 0;
  }

  .index03 .content {
    margin-top: 30px;
  }

  .index03 .content::before {
    display: none;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
}

@media (max-width: 575px) {
  .search-box input {
    width: 120px;
  }

  .news-list a,
  .panel-list a,
  .article-list a {
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .article-list li {
    padding: 14px 4px;
  }

  .article-list li:hover {
    padding-left: 4px;
  }

  .media-card img {
    height: 160px;
  }

  /* 文章详情页：小屏操作按钮与附件行适配 */
  .article-summary {
    padding: 14px 16px;
  }

  .article-actions {
    gap: 10px;
  }

  .act-btn {
    flex: 1 1 100%;
    padding: 0 12px;
  }

  .article-attach .attach-list li {
    flex-wrap: wrap;
    gap: 10px 12px;
    padding: 12px 14px;
  }

  .attach-btn {
    width: 100%;
    justify-content: center;
  }

  .article-nav a,
  .article-nav .nav-none {
    flex-direction: column;
    gap: 2px;
  }

  .article-nav .nav-txt {
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .article-nav a:hover {
    padding-left: 6px;
  }
}

/* 仅桌面端（≥992px）用 hover 展开子菜单；
   移动端改由点击 .open 控制，避免触屏点击后 :hover 粘滞导致子菜单无法收起 */
@media (min-width: 992px) {
  .main-nav ul.cl > li:hover > ul {
    display: block;
  }
  .hero-section .swiper-button-next,
  .hero-section .swiper-button-prev {
    color: var(--white);
    width: 55px;
    height: 55px;
    background-color: #760008;
    border-radius: unset;
    left:unset;
    right:0;
    top:unset;
    bottom:-27.5px;
  }
  .hero-section .swiper-button-prev {
    right:55px;
    background:#bfa87c;
  }
}

/* ==================================================
   打印适配：仅输出文章正文内容（配合“打印本页”按钮）
   ================================================== */
@media print {
  .site-header,
  .hero-section,
  .list-side,
  .list-title,
  .site-footer,
  .article-actions,
  .article-nav,
  .back-top {
    display: none !important;
  }

  .list-section {
    padding: 0 !important;
  }

  .list-wrap,
  .list-main {
    display: block !important;
  }

  .article-content {
    color: #000;
  }

  .article-title {
    color: #000;
    font-size: 18pt;
  }

  .article-body,
  .article-body p {
    font-size: 11pt;
    line-height: 1.8;
  }

  .article-video,
  .article-attach,
  .article-figure {
    break-inside: avoid;
  }

  .article-attach .attach-btn {
    display: none;
  }
}

.PrevDisabled,.NextDisabled,.this-page {
  display: inline-flex!important;
  align-items: center!important;
  justify-content: center!important;
  height: 38px!important;
  padding: 0 12px!important;
  line-height: 1!important;
  border: 1px solid #d8cdb9!important;
  background-color: #fff!important;
  transition: background-color 0.2s ease, border-color 0.2s ease!important;
}

.this-page { 
  background:var(--primary)!important; 
  color:var(--white)!important;
}

.copyright {
  font-size: 0.8rem;
  line-height: 1.5;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
}