﻿/* ================================================================
   subpage.css — 子页面通用样式
   适用：about.html / system.html / projects.html /
         activities.html / news.html
   
   结构说明：
     .sub-banner      顶部横幅（带背景图 + 暗色蒙层）
     .sub-main        主内容区域
     .sub-container   两列布局：左侧边栏 + 右侧正文
     .sub-sidebar     左侧导航面板
     .sub-content     右侧正文内容
     .sub-section     每个内容块
   ================================================================ */

/* ====== 子页面通用基础 ====== */

/* 确保 Logo 区域可以点击跳转首页 */
.nav-logo a {
  display: flex;            /* 让 <a> 包裹整个 Logo 区域 */
  align-items: center;
  gap: 10px;
  text-decoration: none;
}


/* ====== 顶部 Banner ====== */

/* Banner 容器：相对定位，让背景图、蒙层、文字可以叠放 */
.sub-banner {
  position: relative;
  height: 240px;            /* Banner 高度（比首页 Hero 矮一些） */
  overflow: hidden;
  margin-top: 0;            /* 紧贴导航栏 */
}

/* 背景图层：绝对定位铺满整个 Banner */
.sub-banner-bg {
  position: absolute;
  inset: 0;                 /* inset:0 = top:0; right:0; bottom:0; left:0 全覆盖 */
  background-size: cover;   /* 背景图铺满，保持比例 */
  background-position: center; /* 居中显示 */
  transform: scale(1.05);   /* 稍微放大，留出滚动视差的余量 */
}

/* 蒙层：深色半透明遮罩，让文字更清晰 */
.sub-banner-overlay {
  position: absolute;
  inset: 0;
  background: rgba(60, 20, 10, 0.65); /* 深棕红色蒙层，与品牌色呼应 */
}

/* 文字内容层：绝对定位在蒙层之上 */
.sub-banner-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  padding-top: 56px;        /* 留出导航栏高度 */
}

/* Banner 标题 */
.sub-banner-content h1 {
  font-size: 32px;
  font-family: "STSong","SimSun","宋体",serif; /* 宋体，更显文化气息 */
  font-weight: bold;
  letter-spacing: 6px;
  margin: 0 0 6px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4); /* 轻微阴影，提升层次感 */
}

/* Banner 英文副标题 */
.sub-banner-en {
  font-size: 13px;
  letter-spacing: 4px;
  color: rgba(255,255,255,0.65);
  margin: 0 0 14px;
}

/* 面包屑导航：首页 › 当前页 */
.sub-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(255,255,255,0.7);
}

.sub-breadcrumb a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color .2s;
}

.sub-breadcrumb a:hover {
  color: #fff;
}

.sub-breadcrumb span {
  color: rgba(255,255,255,0.5);
}


/* ====== 主内容区 ====== */

/* sub-main：页面主区域，浅米黄背景，上下留白 */
.sub-main {
  background: #faf8f3;
  min-height: 60vh;         /* 最小高度，确保短内容页面不会太空 */
  padding: 40px 0 60px;
}

/* sub-container：两列布局容器 */
.sub-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  gap: 32px;
  align-items: flex-start;
}


/* ====== 侧边导航 ====== */

/* sidebar：固定宽度 200px，吸附在左侧 */
.sub-sidebar {
  flex: 0 0 200px;          /* 不放大不缩小，固定 200px 宽 */
  position: sticky;         /* 吸附效果：滚动时侧边栏跟着走 */
  top: 72px;                /* 距离视口顶部 72px（导航栏高度 + 留白） */
}

/* 侧边栏顶部标题块 */
.sidebar-title {
  background: #8b1a1a;      /* 品牌红底 */
  color: #fff;
  font-size: 15px;
  font-family: "STSong","宋体",serif;
  font-weight: bold;
  letter-spacing: 2px;
  padding: 12px 16px;
  margin-bottom: 0;
}

/* 侧边栏链接列表 */
.sidebar-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  border: 1px solid #e0d8cc; /* 边框 */
  border-top: none;           /* 顶部已有红色标题块，不重复加线 */
  background: #fff;
}

.sidebar-nav li a {
  display: block;
  padding: 11px 16px;
  font-size: 13px;
  color: #555;
  text-decoration: none;
  border-left: 3px solid transparent; /* 默认左侧线透明 */
  border-bottom: 1px solid #f0ece4;   /* 每项底部分隔线 */
  transition: all .2s;
}

/* 最后一项不加底部线 */
.sidebar-nav li:last-child a {
  border-bottom: none;
}

/* 鼠标悬停 / 当前选中项 */
.sidebar-nav li a:hover,
.sidebar-nav li a.active {
  border-left-color: #8b1a1a; /* 左侧红色高亮线 */
  background: #fef8f6;         /* 极淡红背景 */
  color: #8b1a1a;              /* 文字变红 */
}


/* ====== 正文内容区 ====== */

/* sub-content：右侧主内容，自动撑满剩余宽度 */
.sub-content {
  flex: 1;                  /* 占满剩余空间 */
  min-width: 0;             /* 防止 flex 子项超出父容器宽度 */
}

/* 每个内容块 */
.sub-section {
  background: #fff;
  border-radius: 2px;
  padding: 28px 32px;
  margin-bottom: 24px;
  border: 1px solid #ede8df;
}

/* 内容块标题行（图标 + 中文标题 + 英文副标题） */
.sub-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f0ece4; /* 标题下方分隔线 */
}

/* 正文段落 */
.sub-text-block p {
  color: #555;
  font-size: 14px;
  line-height: 1.9;
  margin-bottom: 12px;
}

.sub-text-block p:last-child {
  margin-bottom: 0;
}

/* 图片块 */
.sub-img-block {
  margin-top: 20px;
  border-radius: 2px;
  overflow: hidden;
}

.sub-img-block img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

/* 图注 */
.img-caption {
  font-size: 12px;
  color: #999;
  text-align: center;
  padding: 8px 0 0;
  margin: 0;
}


/* ====== 研究方向卡片 (about.html) ====== */

/* 四方向 2×2 网格排列 */
.direction-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 列 */
  gap: 16px;
}

/* 每张方向卡片 */
.direction-card {
  background: #fdf9ee;       /* 淡黄底 */
  border: 1px solid #e8dece;
  border-top: 3px solid #8b1a1a; /* 顶部红色强调线 */
  padding: 18px 16px;
  border-radius: 2px;
}

/* 序号 */
.direction-num {
  font-size: 22px;
  font-weight: bold;
  color: #d4a44a;            /* 金黄色序号，文化感强 */
  font-family: "Georgia",serif;
  margin-bottom: 8px;
}

/* 方向卡片标题 */
.direction-card h3 {
  font-size: 14px;
  font-weight: bold;
  color: #333;
  margin: 0 0 8px;
}

/* 方向卡片描述 */
.direction-card p {
  font-size: 12px;
  color: #666;
  line-height: 1.8;
  margin: 0;
}


/* ====== 团队成员卡片 (about.html) ====== */

/* 两列网格 */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

/* 每张成员卡片 */
.team-card {
  display: flex;
  gap: 14px;
  padding: 16px;
  border: 1px solid #ede8df;
  border-radius: 2px;
  background: #fff;
  transition: box-shadow .2s;
}

.team-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* 成员头像（文字替代，圆形背景） */
.team-avatar {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: #8b1a1a;
  color: #fff;
  border-radius: 50%;         /* 圆形 */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-family: "STSong","宋体",serif;
  font-weight: bold;
}

.team-name {
  font-size: 15px;
  font-weight: bold;
  color: #333;
  margin-bottom: 2px;
}

.team-title {
  font-size: 11px;
  color: #8b1a1a;
  margin-bottom: 6px;
}

.team-info p {
  font-size: 12px;
  color: #666;
  line-height: 1.7;
  margin: 0;
}


/* ====== 荣誉成果时间线 (about.html) ====== */

.honor-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.honor-item {
  display: flex;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid #f0ece4;
  position: relative;
}

.honor-item:last-child {
  border-bottom: none;
}

/* 年份标签 */
.honor-year {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: #8b1a1a;
  color: #fff;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: bold;
  line-height: 1.3;
  text-align: center;
}

.honor-detail strong {
  display: block;
  font-size: 14px;
  color: #333;
  margin-bottom: 6px;
}

.honor-detail p {
  font-size: 13px;
  color: #666;
  line-height: 1.8;
  margin: 0;
}


/* ====== 文件列表 (system.html) ====== */

.doc-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* 单个文件条目 */
.doc-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: #faf8f3;
  border: 1px solid #ede8df;
  border-left: 3px solid #8b1a1a; /* 左侧红色强调线 */
  border-radius: 2px;
  transition: background .2s;
}

.doc-item:hover {
  background: #fef8f6;
}

/* 文件图标 */
.doc-icon {
  font-size: 20px;
  flex-shrink: 0;
}

.doc-info {
  flex: 1;
}

.doc-title {
  font-size: 14px;
  color: #333;
  font-weight: 500;
  margin-bottom: 4px;
}

.doc-meta {
  font-size: 11px;
  color: #999;
}

/* 文件查看按钮 */
.doc-btn {
  flex-shrink: 0;
  padding: 4px 14px;
  background: #8b1a1a;
  color: #fff;
  font-size: 12px;
  border-radius: 2px;
  text-decoration: none;
  transition: background .2s;
}

.doc-btn:hover {
  background: #a02020;
}


/* ====== 奖励表格 (system.html) ====== */

.reward-table-wrap {
  overflow-x: auto;          /* 横向滚动，适配窄屏 */
}

.reward-table {
  width: 100%;
  border-collapse: collapse; /* 合并相邻单元格边框 */
  font-size: 13px;
}

.reward-table th {
  background: #8b1a1a;
  color: #fff;
  padding: 10px 14px;
  text-align: left;
  font-weight: 500;
}

.reward-table td {
  padding: 10px 14px;
  border-bottom: 1px solid #ede8df;
  color: #555;
}

/* 偶数行浅背景，增加可读性（斑马纹） */
.reward-table tbody tr:nth-child(even) {
  background: #faf8f3;
}

.reward-table tbody tr:hover {
  background: #fef8f6;
}


/* ====== 课题统计块 (projects.html) ====== */

/* 四格统计数字展示 */
.proj-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.proj-stat-item {
  text-align: center;
  padding: 20px 12px;
  background: #fdf9ee;
  border: 1px solid #e8dece;
  border-top: 3px solid #8b1a1a;
  border-radius: 2px;
}

.proj-stat-num {
  font-size: 36px;
  font-weight: bold;
  color: #8b1a1a;
  font-family: "Georgia",serif;
  line-height: 1;
  margin-bottom: 6px;
}

.proj-stat-label {
  font-size: 12px;
  color: #888;
}

/* 课题表格 */
.proj-table-wrap {
  overflow-x: auto;
}

.proj-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.proj-table th {
  background: #f5f0e8;
  color: #555;
  padding: 10px 14px;
  text-align: left;
  font-weight: 600;
  border-bottom: 2px solid #8b1a1a; /* 表头底部红线 */
}

.proj-table td {
  padding: 10px 14px;
  border-bottom: 1px solid #ede8df;
  color: #555;
  vertical-align: middle;
}

.proj-table tbody tr:hover {
  background: #fef8f6;
}

/* 状态标签 */
.status-badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 2px;
  font-size: 11px;
  font-weight: 500;
}

.status-active {
  background: #fff2f2;
  color: #8b1a1a;
  border: 1px solid #f4c2c2;
}

.status-done {
  background: #f2f7f2;
  color: #3a7a3a;
  border: 1px solid #b8d8b8;
}

/* 校级课题卡片列表 */
.proj-card-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.proj-list-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: #faf8f3;
  border: 1px solid #ede8df;
  border-radius: 2px;
  transition: background .2s;
}

.proj-list-card:hover {
  background: #fef8f6;
}

/* 级别徽章 */
.proj-list-level {
  flex-shrink: 0;
  padding: 3px 10px;
  background: #8b1a1a;
  color: #fff;
  font-size: 11px;
  border-radius: 2px;
  white-space: nowrap;
}

.proj-list-title {
  font-size: 14px;
  color: #333;
  font-weight: 500;
  margin-bottom: 4px;
}

.proj-list-meta {
  font-size: 11px;
  color: #999;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* 课题申报步骤 */
.apply-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.apply-step {
  display: flex;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid #f0ece4;
}

.apply-step:last-child {
  border-bottom: none;
}

.step-num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: #8b1a1a;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: bold;
  font-family: "Georgia",serif;
}

.step-detail strong {
  display: block;
  font-size: 14px;
  color: #333;
  margin-bottom: 4px;
}

.step-detail p {
  font-size: 13px;
  color: #666;
  line-height: 1.8;
  margin: 0;
}


/* ====== 学术活动卡片 (activities.html) ====== */

.event-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.event-card {
  display: flex;
  gap: 20px;
  padding: 18px;
  background: #faf8f3;
  border: 1px solid #ede8df;
  border-radius: 2px;
  transition: box-shadow .2s;
}

.event-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* 即将举办的活动卡片 — 左侧红色边框强调 */
.event-upcoming {
  border-left: 3px solid #8b1a1a;
}

/* 日期方块 */
.event-date-box {
  flex-shrink: 0;
  width: 56px;
  background: #8b1a1a;
  color: #fff;
  text-align: center;
  padding: 8px 4px;
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

/* 已举办活动的日期方块用灰色 */
.event-past {
  background: #888;
}

.event-month {
  font-size: 11px;
  letter-spacing: 1px;
  opacity: 0.85;
}

.event-day {
  font-size: 26px;
  font-weight: bold;
  font-family: "Georgia",serif;
  line-height: 1;
}

.event-year {
  font-size: 10px;
  opacity: 0.7;
}

/* 活动标签 */
.event-tags {
  display: flex;
  gap: 6px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.event-tag {
  padding: 2px 8px;
  background: #fff2f2;
  color: #8b1a1a;
  border: 1px solid #f4c2c2;
  font-size: 11px;
  border-radius: 2px;
}

/* 已举办标签用灰色 */
.tag-done {
  background: #f2f2f2;
  color: #888;
  border-color: #ddd;
}

.event-title {
  font-size: 16px;
  color: #333;
  font-weight: bold;
  margin: 0 0 8px;
}

.event-desc {
  font-size: 13px;
  color: #666;
  line-height: 1.8;
  margin: 0 0 10px;
}

.event-info {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: #888;
  flex-wrap: wrap;
}

/* 讲座列表 */
.lecture-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.lecture-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid #f0ece4;
}

.lecture-item:last-child {
  border-bottom: none;
}

.lecture-num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: #f5f0e8;
  color: #8b1a1a;
  border: 1px solid #e8dece;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: bold;
}

.lecture-info {
  flex: 1;
}

.lecture-title {
  font-size: 14px;
  color: #333;
  font-weight: 500;
  margin-bottom: 4px;
}

.lecture-meta {
  display: flex;
  gap: 12px;
  font-size: 11px;
  color: #999;
  flex-wrap: wrap;
}


/* ====== 新闻页专属样式 (news.html) ====== */

/* 置顶大图新闻 */
.news-featured-card {
  display: flex;
  gap: 20px;
  margin-bottom: 28px;
  background: #faf8f3;
  border: 1px solid #ede8df;
  border-radius: 2px;
  overflow: hidden;
}

.news-featured-img {
  flex: 0 0 360px;
  position: relative;
  height: 220px;
  overflow: hidden;
}

.news-featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.news-featured-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #8b1a1a;
  color: #fff;
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 2px;
}

.news-featured-body {
  flex: 1;
  padding: 20px 20px 20px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news-featured-title {
  font-size: 18px;
  color: #333;
  font-weight: bold;
  margin: 8px 0 12px;
  line-height: 1.5;
}

.news-featured-body p {
  font-size: 13px;
  color: #666;
  line-height: 1.8;
  margin: 0 0 16px;
  flex: 1;
}

/* 新闻列表（图文并排） */
.news-full-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.news-list-item {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid #f0ece4;
}

.news-list-item:last-child {
  border-bottom: none;
}

.news-list-img {
  flex: 0 0 160px;
  height: 110px;
  overflow: hidden;
  border-radius: 2px;
}

.news-list-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s;
}

.news-list-img:hover img {
  transform: scale(1.05);
}

.news-list-body h3 {
  font-size: 15px;
  color: #333;
  font-weight: bold;
  margin: 8px 0 8px;
  line-height: 1.5;
}

.news-list-body p {
  font-size: 12px;
  color: #777;
  line-height: 1.8;
  margin: 0 0 10px;
}

/* 简洁新闻列表（只有日期 + 标题） */
.simple-news-list {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #f0ece4;
  border-radius: 4px;
  padding: 8px 16px;
  margin-bottom: 20px;
}

.simple-news-item {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 6px 0;
  border-bottom: 1px solid #f0ece4;
  transition: background .15s;
}

.simple-news-item:last-child {
  border-bottom: none;
}

.simple-news-item:hover {
  background: #fdf9f5;
}

/* 日期区：靠左 */
.simple-news-date {
  flex-shrink: 0;
  width: 100px;
  position: relative;
  display: flex;
  align-items: center;
}

.simple-news-date span {
  font-size: 12px;
  color: #999;
  font-family: "Georgia", serif;
  padding-left: 12px;
}

/* 左侧装饰小圆点 */
.simple-news-date::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #d4a44a;
  opacity: 0.5;
}

/* 日期标题分隔竖线 */
.simple-news-item::after {
  content: "";
  display: block;
  width: 1px;
  height: 16px;
  background: #e0d8cc;
  flex-shrink: 0;
  margin: 0 12px;
}

/* 标题区：靠右 */
.simple-news-title {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
}

.simple-news-title a {
  font-size: 14px;
  color: #444;
  text-decoration: none;
  transition: color .15s;
  line-height: 1.5;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: block;
  max-width: 100%;
}

.simple-news-title a:hover {
  color: #8b1a1a;
}

@media (max-width: 768px) {
  .simple-news-list {
    padding: 6px 12px;
  }

  .simple-news-date {
    width: 86px;
  }

  .simple-news-date span {
    padding-left: 10px;
    font-size: 11px;
  }

  .simple-news-item::after {
    margin: 0 8px;
  }

  .simple-news-title a {
    font-size: 13px;
  }
}


/* ================================================================
   移动端适配：子页面
   ================================================================ */

@media (max-width: 768px) {

  /* Banner 高度缩小 */
  .sub-banner {
    height: 160px;
  }

  .sub-banner-content {
    padding-top: 48px;
  }

  .sub-banner-content h1 {
    font-size: 22px;
    letter-spacing: 4px;
  }

  .sub-banner-en {
    font-size: 11px;
  }

  .sub-breadcrumb {
    font-size: 11px;
  }

  /* 主内容区上下留白缩小 */
  .sub-main {
    padding: 20px 0 40px;
  }

  /* 容器：左右留白缩小，纵向排列（侧边栏到正文上方） */
  .sub-container {
    padding: 0 14px;
    flex-direction: column; /* 移动端改为纵向：侧边栏在上，正文在下 */
    gap: 16px;
  }

  /* 侧边栏：取消固定宽度，铺满宽度；取消 sticky */
  .sub-sidebar {
    flex: none;
    width: 100%;
    position: static; /* 移动端不吸附，正常流排布 */
  }

  /* 侧边栏链接水平滚动（代替纵向列表） */
  .sidebar-nav {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .sidebar-nav::-webkit-scrollbar {
    display: none;
  }

  .sidebar-nav li a {
    white-space: nowrap;
    border-bottom: none;
    border-left: none;
    border-bottom: 2px solid transparent;
    padding: 10px 14px;
  }

  .sidebar-nav li a:hover,
  .sidebar-nav li a.active {
    border-left: none;
    border-bottom-color: #8b1a1a;
    background: #fef8f6;
  }

  /* 内容区 section */
  .sub-section {
    padding: 18px 16px;
  }

  /* 研究方向：2列 → 1列 */
  .direction-grid {
    grid-template-columns: 1fr;
  }

  /* 团队成员：2列 → 1列 */
  .team-grid {
    grid-template-columns: 1fr;
  }

  /* 课题统计：4列 → 2列 */
  .proj-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  /* 事件卡片：改为纵向堆叠 */
  .event-card {
    flex-direction: column;
    gap: 12px;
  }

  .event-date-box {
    flex-direction: row;
    width: auto;
    padding: 6px 12px;
    gap: 6px;
    align-self: flex-start;
  }

  .event-day {
    font-size: 18px;
  }

  .event-month {
    font-size: 12px;
  }

  /* 新闻置顶：图文变纵向 */
  .news-featured-card {
    flex-direction: column;
  }

  .news-featured-img {
    flex: none;
    width: 100%;
    height: 180px;
  }

  .news-featured-body {
    padding: 16px;
  }

  .news-featured-title {
    font-size: 16px;
  }

  /* 新闻列表：图片缩小 */
  .news-list-img {
    flex: 0 0 110px;
    height: 80px;
  }

  .news-list-body h3 {
    font-size: 13px;
  }

}

/* ================================================================
   新闻详情页专属样式 (news_show.html)
   ================================================================ *//* ================================================================
   新闻详情页专属样式 (news_show.html)
   ================================================================ */

/* 文章标题 */
.article-title {
  font-size: 22px;
  font-weight: bold;
  color: #333;
  line-height: 1.5;
  margin: 0 0 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #eee;
}

/* 文章元信息 */
.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 20px;
  font-size: 12px;
  color: #999;
  margin-bottom: 24px;
}

.article-tag {
  display: inline-block;
  padding: 2px 10px;
  background: #8b1a1a;
  color: #fff;
  border-radius: 2px;
  font-size: 11px;
}

.article-date,
.article-source,
.article-views {
  white-space: nowrap;
}

/* 文章正文 */
.article-body {
  font-size: 15px;
  color: #444;
  line-height: 2;
  margin-bottom: 28px;
}

.article-body p {
  margin: 0 0 18px;
  text-indent: 2em;
}

/* 正文配图 */
.article-img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 20px auto;
  border-radius: 2px;
}

.article-img-caption {
  text-align: center;
  font-size: 12px;
  color: #999;
  margin-top: -12px;
  margin-bottom: 20px;
  text-indent: 0;
}

/* 文章关键词 */
.article-keywords {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 16px 0;
  margin-bottom: 24px;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.kw-label {
  font-size: 12px;
  color: #999;
}

.kw-item {
  display: inline-block;
  padding: 3px 12px;
  font-size: 12px;
  color: #8b1a1a;
  background: #fef8f6;
  border: 1px solid #f0d8d8;
  border-radius: 12px;
  text-decoration: none;
  transition: all .15s;
}

.kw-item:hover {
  background: #8b1a1a;
  color: #fff;
}

/* 上下篇导航 */
.article-pager {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.article-prev,
.article-next {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  background: #faf8f5;
  border: 1px solid #eee;
  border-radius: 4px;
  text-decoration: none;
  transition: all .15s;
}

.article-prev:hover,
.article-next:hover {
  background: #fef8f6;
  border-color: #d4a44a;
}

.pager-label {
  font-size: 11px;
  color: #999;
}

.pager-title {
  font-size: 13px;
  color: #555;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 768px) {
  .article-title {
    font-size: 18px;
    margin-bottom: 12px;
    padding-bottom: 12px;
  }

  .article-meta {
    font-size: 11px;
    gap: 4px 12px;
    margin-bottom: 20px;
  }

  .article-body {
    font-size: 14px;
    line-height: 1.9;
  }

  .article-body p {
    margin-bottom: 14px;
  }

  .article-pager {
    flex-direction: column;
    gap: 10px;
  }
}

/* ================================================================
   分页组件覆盖样式 (覆盖 pagination.css)
   ================================================================ */

/* 分页外层容器 */
.page-box {
  margin-top: 16px;
  padding-top: 12px;
  text-align: center;
}

/* digg 分页内层 */
.digg {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: center;
}

/* 分页中的文字（共X记录等） */
.digg span,
.digg .disabled {
  font-size: 12px;
  color: #999;
  padding: 5px 10px;
  white-space: nowrap;
}

/* 分页链接 */
.digg a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  font-size: 13px;
  color: #666;
  text-decoration: none;
  border: 1px solid #ddd;
  border-radius: 3px;
  background: #fff;
  transition: all .15s;
}

.digg a:hover {
  color: #8b1a1a;
  border-color: #8b1a1a;
  background: #fef8f6;
}

/* 当前页码 */
.digg span.current,
.digg .current {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  font-size: 13px;
  color: #fff;
  background: #8b1a1a;
  border: 1px solid #8b1a1a;
  border-radius: 3px;
  font-weight: bold;
}

/* 上一页 / 下一页 按钮 */
.digg a:first-child,
.digg a:last-child,
.digg span:first-child,
.digg span:last-child {
  padding: 0 12px;
}

@media (max-width: 768px) {
  .page-box {
    margin-top: 12px;
  }

  .digg a,
  .digg span.current,
  .digg .current {
    min-width: 26px;
    height: 26px;
    padding: 0 6px;
    font-size: 12px;
  }

  .digg span,
  .digg .disabled {
    font-size: 11px;
    padding: 4px 6px;
  }
}
