/* ==========================================================================
   贵州财经大学西密歇根学院 · 纯静态样式表（完全复刻当前 React 网站视觉与排版）
   主题：贵财红（主色 #A31715，深红 #7D100E，金黄 #CA8A04）
   ========================================================================== */

:root {
  --youth-red: #A31715;
  --youth-red-deep: #7D100E;
  --youth-red-light: #fbeeed;
  --youth-gold: #CA8A04;
  --text-dark: #1f2937;
  --text-gray: #4b5563;
  --text-light: #9ca3af;
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --border-color: #e5e7eb;
  --border-dark: #d1d5db;
  --font-serif: "Noto Serif SC", "Songti SC", "SimSun", Georgia, serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  color: var(--text-dark);
  background-color: var(--bg-page);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
}

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   1. 顶部动态跑马灯欢迎条（非首页）
   ========================================================================== */
.welcome-marquee-bar {
  position: relative;
  height: 28px;
  overflow: hidden;
  background: linear-gradient(135deg, #1a0a0a 0%, #3d0c0b 30%, #A31715 60%, #7D100E 80%, #1a0a0a 100%);
  color: #fff;
  display: flex;
  align-items: center;
  z-index: 60;
}
.welcome-marquee-track {
  display: flex;
  white-space: nowrap;
  animation: marquee-scroll 22s linear infinite;
}
.welcome-marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding-right: 32px;
  font-size: 13px;
}
.welcome-marquee-item .diamond {
  color: #facc15;
  font-size: 9px;
}
.welcome-marquee-item .text-zh {
  font-family: var(--font-serif);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-shadow: 0 0 10px rgba(250, 204, 21, 0.6);
}
.welcome-marquee-item .text-en {
  font-family: Georgia, serif;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.1em;
}
@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==========================================================================
   2. 头部品牌区域（首页透明悬浮在轮播上；非首页带旗杆实景图）
   ========================================================================== */
/* ---------- 首页专属 Header：绝对定位于顶部，完全透明浮在 Hero 轮播大图上 ---------- */
.home-hero-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: transparent;
  pointer-events: auto;
}
.home-hero-header .header-main {
  padding: 16px 0 10px;
}
.home-hero-header .header-logo img {
  height: 84px;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.45));
}
.home-hero-header .tool-link.text-white {
  color: #ffffff;
  font-weight: 500;
  text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}
.home-hero-header .tool-link.text-white:hover {
  color: #fca5a5;
}
.home-search-form {
  background: rgba(255, 255, 255, 0.22) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.45) !important;
}
.home-search-form input {
  color: #ffffff !important;
}
.home-search-form input::placeholder {
  color: rgba(255, 255, 255, 0.75) !important;
}
.home-search-form button {
  background: rgba(163, 23, 21, 0.85) !important;
}
.home-search-form button:hover {
  background: #A31715 !important;
}

/* 首页悬浮透明主导航行 */
.home-nav-bar {
  width: 100%;
  background: transparent;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.home-nav-list .main-nav-item > a {
  color: #ffffff !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.55);
  font-size: 16px;
  font-weight: 500;
  padding: 12px 14px;
  transition: all 0.25s;
}
.home-nav-list .main-nav-item > a:hover {
  color: #fecaca !important;
  background: rgba(255, 255, 255, 0.12);
}
.home-nav-list .main-nav-item.active > a {
  color: #ffffff !important;
  font-weight: 700;
  background: rgba(163, 23, 21, 0.65);
}

/* ---------- 非首页 Header：带旗杆实景图融合背景 ---------- */
.site-header {
  position: relative;
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
  z-index: 40;
  overflow: hidden;
}
.header-flagpole-bg {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 52%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.6) 25%, rgba(0,0,0,0.9) 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.6) 25%, rgba(0,0,0,0.9) 100%);
}
.header-flagpole-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
  opacity: 0.85;
}
.site-header .header-main {
  position: relative;
  z-index: 10;
}
.header-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
}
.header-logo img {
  height: 80px;
  width: auto;
  object-fit: contain;
}
.header-tools {
  display: flex;
  align-items: center;
  gap: 16px;
}
.header-tools .tool-link {
  font-size: 14px;
  color: var(--youth-red-deep);
  font-weight: 500;
  white-space: nowrap;
}
.header-tools .tool-link:hover {
  color: var(--youth-red);
}
.header-search-form {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid rgba(163, 23, 21, 0.35);
  border-radius: 9999px;
  padding: 2px 4px 2px 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.header-search-form:focus-within {
  border-color: var(--youth-red);
  box-shadow: 0 0 0 3px rgba(163, 23, 21, 0.12);
}
.header-search-form input {
  border: none;
  outline: none;
  background: transparent;
  font-size: 13px;
  color: var(--text-dark);
  width: 170px;
}
.header-search-form input::placeholder {
  color: rgba(163, 23, 21, 0.45);
}
.header-search-form button {
  background: var(--youth-red);
  color: #fff;
  border: none;
  outline: none;
  border-radius: 9999px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
}
.header-search-form button:hover {
  background: var(--youth-red-deep);
}

/* 移动端汉堡切换按钮 */
.menu-toggle-btn {
  display: none;
  background: none;
  border: 1px solid var(--border-color);
  padding: 6px 10px;
  border-radius: 4px;
  font-size: 18px;
  cursor: pointer;
  color: var(--youth-red-deep);
}

/* ==========================================================================
   3. 全站主导航栏（常驻贵财红铺满整行横幅，桌面端居中对齐）
   ========================================================================== */
.main-nav-bar {
  width: 100%;
  background: linear-gradient(90deg, #8B1210 0%, #A31715 50%, #8B1210 100%);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  position: relative;
  z-index: 45;
}
.main-nav-container {
  display: flex;
  align-items: center;
  height: 48px;
}
.main-nav-list {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  width: 100%;
  height: 100%;
}
.main-nav-item {
  position: relative;
  flex: 1;
  display: flex;
}
.main-nav-item > a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: rgba(255, 255, 255, 0.92);
  font-size: 15px;
  font-weight: 500;
  padding: 0 6px;
  white-space: nowrap;
  letter-spacing: 0.5px;
  position: relative;
  transition: background 0.2s, color 0.2s;
}
.main-nav-item > a:hover,.main-nav-item #current{
  background: rgba(0, 0, 0, 0.2);
  color: #ffffff;
  font-weight: 600;
}
.main-nav-item #current::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 12px;
  right: 12px;
  height: 3px;
  background: var(--youth-gold);
  border-radius: 3px 3px 0 0;
}


/* 下拉二级菜单（白底带红顶条） */
.main-nav-item .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 160px;
  background: #ffffff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  border-top: 3px solid var(--youth-red);
  border-radius: 0 0 6px 6px;
  padding: 6px 0;
  z-index: 100;
}
.main-nav-item:hover .sub-menu {
  display: block;
}
.main-nav-item .sub-menu a {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  color: var(--text-dark);
  border-bottom: 1px solid #f3f4f6;
  white-space: nowrap;
  text-align: left;
}
.main-nav-item .sub-menu a:last-child {
  border-bottom: none;
}
.main-nav-item .sub-menu a:hover {
  background: var(--youth-red-light);
  color: var(--youth-red);
}

/* ==========================================================================
   4. 首页 Hero 轮播（直接从整个页面最顶部开始）
   ========================================================================== */
.hero-carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 1900 / 780;
  min-height: 480px;
  max-height: 820px;
  overflow: hidden;
  background: #0f172a;
  margin-top: 0;
  z-index: 1;
}
.hero-carousel .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  animation: hero-fade 20s infinite;
}
.hero-carousel .slide:nth-child(1) { animation-delay: 0s; }
.hero-carousel .slide:nth-child(2) { animation-delay: 5s; }
.hero-carousel .slide:nth-child(3) { animation-delay: 10s; }
.hero-carousel .slide:nth-child(4) { animation-delay: 15s; }
.hero-carousel .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-carousel .carousel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.5) 100%);
  pointer-events: none;
}
@keyframes hero-fade {
  0%   { opacity: 0; }
  4%   { opacity: 1; }
  25%  { opacity: 1; }
  29%  { opacity: 0; }
  100% { opacity: 0; }
}

/* ==========================================================================
   5. 首页核心卡片排版（复刻 React HomePage）
   ========================================================================== */
/* ---------- 首页 Hero 轮播下方直接接正文，无额外背景 ---------- */
.home-main-sections {
  background: transparent;
  padding: 40px 0 60px;
}

/* 通用白色圆角卡片 */
.wmi-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  margin-bottom: 32px;
}
.wmi-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--youth-red-deep);
  color: #ffffff;
  padding: 14px 24px;
}
.wmi-card-header.navy {
  background: #1e3a5f;
}
.wmi-card-header .title-group {
  display: flex;
  align-items: center;
  gap: 10px;
}
.wmi-card-header .icon-box {
  width: 32px;
  height: 32px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}
.wmi-card-header h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1px;
}
.wmi-card-header .more-link {
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.wmi-card-header .more-link:hover {
  color: #ffffff;
}

/* 板块 A：学院要闻（左 1.15 : 右 1 网格） */
.college-news-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 28px;
  padding: 24px 28px;
}
.news-poster {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 6px;
  overflow: hidden;
  background: #0f172a;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.news-poster .poster-slides {
  position: relative;
  width: 100%;
  height: 100%;
}
.news-poster .poster-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  /* 纯 CSS 自动轮播：6 张 × 5s = 30s 一轮，即使 JS 被站群系统剥离也照常切换 */
  animation: poster-cycle 30s infinite;
}
.news-poster .poster-slide:nth-child(1) { animation-delay: 0s; }
.news-poster .poster-slide:nth-child(2) { animation-delay: 5s; }
.news-poster .poster-slide:nth-child(3) { animation-delay: 10s; }
.news-poster .poster-slide:nth-child(4) { animation-delay: 15s; }
.news-poster .poster-slide:nth-child(5) { animation-delay: 20s; }
.news-poster .poster-slide:nth-child(6) { animation-delay: 25s; }
/* 鼠标悬停整个轮播区时暂停（与 React 网站行为一致） */
.news-poster:hover .poster-slide {
  animation-play-state: paused;
}
@keyframes poster-cycle {
  0%     { opacity: 0; }
  1.67%  { opacity: 1; }  /* 0.5s 淡入 */
  15%    { opacity: 1; }
  16.67% { opacity: 0; }  /* 5s 处淡出，与下一张交叉溶解 */
  100%   { opacity: 0; }
}
.news-poster .poster-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}
.news-poster:hover .poster-slide img {
  transform: scale(1.04);
}
.news-poster .poster-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 65%, transparent 100%);
  color: #ffffff;
  padding: 34px 18px 32px;
  font-size: 15px;
  font-weight: 500;
  z-index: 2;
  pointer-events: none;
}

/* 右上角日期徽标 */
.news-poster .poster-date-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 4px;
  padding: 6px 10px;
  text-align: center;
  z-index: 3;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  pointer-events: none;
}
.news-poster .poster-date-badge .pd-m {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #1f2937;
  line-height: 1.1;
}
.news-poster .poster-date-badge .pd-y {
  display: block;
  font-size: 11px;
  color: #6b7280;
  margin-top: 2px;
  font-family: var(--font-serif);
}

/* 底部轮播指示器圆点 */
.news-poster .poster-dots {
  position: absolute;
  bottom: 10px;
  left: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 3;
}
.news-poster .poster-dots .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  /* 圆点高亮与图片切换由同一套 30s CSS 动画同步驱动 */
  animation: dot-cycle 30s infinite;
}
.news-poster .poster-dots .dot:nth-child(1) { animation-delay: 0s; }
.news-poster .poster-dots .dot:nth-child(2) { animation-delay: 5s; }
.news-poster .poster-dots .dot:nth-child(3) { animation-delay: 10s; }
.news-poster .poster-dots .dot:nth-child(4) { animation-delay: 15s; }
.news-poster .poster-dots .dot:nth-child(5) { animation-delay: 20s; }
.news-poster .poster-dots .dot:nth-child(6) { animation-delay: 25s; }
.news-poster:hover .poster-dots .dot {
  animation-play-state: paused;
}
@keyframes dot-cycle {
  0%, 15% {
    width: 18px;
    border-radius: 4px;
    background: var(--youth-red);
  }
  17%, 100% {
    width: 7px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.55);
  }
}

/* 右下角页码显示 02 / 06 */
.news-poster .poster-count {
  position: absolute;
  bottom: 10px;
  right: 16px;
  font-family: var(--font-serif);
  font-size: 12px;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.45);
  padding: 3px 8px;
  border-radius: 3px;
  z-index: 3;
}

/* 右侧单列日历徽章新闻列表 */
.calendar-news-list {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
}
.calendar-news-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 10px;
  border-radius: 6px;
  border-bottom: 1px dashed #e5e7eb;
  transition: background 0.2s, transform 0.2s;
}
.calendar-news-item:last-child {
  border-bottom: none;
}
.calendar-news-item:hover {
  background: rgba(163, 23, 21, 0.04);
  transform: translateX(4px);
}
.calendar-badge {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(163, 23, 21, 0.35);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.calendar-badge .badge-top {
  height: 35%;
  background: var(--youth-red);
  color: #ffffff;
  font-size: 9px;
  font-weight: 700;
  line-height: 16px;
  letter-spacing: 0.5px;
}
.calendar-badge .badge-bottom {
  height: 65%;
  background: #ffffff;
  color: var(--youth-red-deep);
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 700;
  line-height: 30px;
}
.calendar-news-text {
  flex: 1;
  min-width: 0;
}
.calendar-news-text .item-title {
  display: block;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-dark);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.calendar-news-item:hover .item-title {
  color: var(--youth-red);
}
.calendar-news-text .item-desc {
  display: block;
  font-size: 12px;
  color: var(--text-light);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-top: 2px;
}
.calendar-news-item .arrow {
  flex-shrink: 0;
  color: #cbd5e1;
  font-size: 14px;
  transition: transform 0.2s, color 0.2s;
}
.calendar-news-item:hover .arrow {
  color: var(--youth-red);
  transform: translateX(2px);
}

/* 板块 B：下半部两列等高卡片（通知公告 + 影像西密） */
.home-twin-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

/* 通知公告圆点列表 */
.bullet-notice-list {
  padding: 16px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: calc(100% - 60px);
}
.bullet-notice-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed #e5e7eb;
}
.bullet-notice-item:last-child {
  border-bottom: none;
}
.bullet-notice-item .bullet {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--youth-red);
  flex-shrink: 0;
}
.bullet-notice-item a {
  flex: 1;
  min-width: 0;
  font-size: 14px;
  color: var(--text-dark);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.bullet-notice-item a:hover {
  color: var(--youth-red);
}
.bullet-notice-item .date {
  font-family: var(--font-serif);
  font-size: 12.5px;
  color: var(--text-light);
  flex-shrink: 0;
}

/* 影像西密四宫格 */
.photo-gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 18px 24px;
}
.photo-gallery-card {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 6px;
  overflow: hidden;
  background: #e2e8f0;
  display: block;
}
.photo-gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.photo-gallery-card:hover img {
  transform: scale(1.08);
}
.photo-gallery-card .photo-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 65%, transparent 100%);
  color: #ffffff;
  padding: 20px 10px 6px;
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ==========================================================================
   6. 栏目页排版（专属横幅 + 左侧 260px 导航 + 右侧白底内容区）
   ========================================================================== */
.column-banner {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: linear-gradient(135deg, #C0211F 0%, #A31715 50%, #7D100E 100%);
}
.column-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.column-banner .banner-mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
}
.column-banner .banner-text {
  position: absolute;
  bottom: 24px;
  left: 0;
  right: 0;
}
.column-banner h1 {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 2px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}
.column-banner .banner-breadcrumb {
  margin-top: 6px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
}
.column-banner .banner-breadcrumb a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* 栏目双列布局 */
.column-page-layout {
  padding: 40px 0 60px;
}
.column-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  align-items: start;
}

/* 左侧 260px 栏目侧边栏（红顶白底卡片） */
.column-sidebar {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.column-sidebar .sidebar-head {
  background: var(--youth-red-deep);
  color: #ffffff;
  padding: 16px 20px;
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1px;
}
.column-sidebar .sidebar-nav {
  padding: 8px 0;
}
.column-sidebar .sidebar-nav li a {
  display: block;
  padding: 12px 22px;
  font-size: 14px;
  color: var(--text-dark);
  border-left: 3px solid transparent;
  transition: all 0.2s;
}
.column-sidebar .sidebar-nav li a:hover {
  color: var(--youth-red);
  background: var(--youth-red-light);
}
.column-sidebar .sidebar-nav li.active a {
  color: var(--youth-red);
  background: var(--youth-red-light);
  border-left-color: var(--youth-red);
  font-weight: 600;
}

/* 右侧白底内容卡片 */
.column-content-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 32px;
  min-height: 520px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.content-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid var(--youth-red);
  padding-bottom: 12px;
  margin-bottom: 24px;
}
.content-header-bar h2 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--youth-red-deep);
}
.content-header-bar .breadcrumb-text {
  font-size: 13px;
  color: var(--text-light);
}

/* 栏目文章列表（经典 li.xwlist 结构，完美兼容博达站群） */
.article-list {
  display: flex;
  flex-direction: column;
}
.article-list li.xwlist {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 13px 4px;
  border-bottom: 1px dashed var(--border-color);
  gap: 16px;
  transition: background 0.15s;
}
.article-list li.xwlist:hover {
  background: rgba(163, 23, 21, 0.02);
}
.article-list li.xwlist .xwlist_title {
  flex: 1;
  min-width: 0;
  font-size: 15px;
  color: var(--text-dark);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.article-list li.xwlist .xwlist_title:hover {
  color: var(--youth-red);
}
.article-list li.xwlist .xwlist_time {
  font-family: var(--font-serif);
  font-size: 13px;
  color: var(--text-light);
  flex-shrink: 0;
}

/* 分页器（居中简洁） */
.pagination-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
}
.pagination-bar a,
.pagination-bar span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  padding: 0 10px;
  font-size: 13px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  color: var(--text-gray);
  background: #fff;
}
.pagination-bar a:hover {
  border-color: var(--youth-red);
  color: var(--youth-red);
}
.pagination-bar .current {
  background: var(--youth-red);
  border-color: var(--youth-red);
  color: #fff;
  font-weight: 600;
}

/* 文章详情页排版 */
.article-detail-view {
  max-width: 900px;
  margin: 0 auto;
}
.detail-title {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 700;
  color: var(--youth-red-deep);
  text-align: center;
  line-height: 1.4;
  margin-bottom: 16px;
}
.detail-meta {
  display: flex;
  justify-content: center;
  gap: 20px;
  font-size: 13px;
  color: var(--text-light);
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 28px;
}
.detail-body {
  font-size: 16px;
  line-height: 1.9;
  color: #374151;
}
.detail-body p {
  margin-bottom: 18px;
  text-indent: 2em;
}
.detail-body img {
  margin: 24px auto;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* ==========================================================================
   7. 全站贵财红页脚（校徽 + 联系信息 + 友情链接下拉 + 微信二维码 + 备案）
   ========================================================================== */
.site-footer {
  background: linear-gradient(135deg, #7D100E 0%, #A31715 50%, #7D100E 100%);
  color: #ffffff;
  padding: 48px 0 24px;
  margin-top: 40px;
  position: relative;
  overflow: hidden;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1.3fr 1fr;
  gap: 36px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.footer-info .footer-logo-img {
  height: 60px;
  width: auto;
  margin-bottom: 18px;
  filter: brightness(0) invert(1);
}
.footer-info p {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.9;
}
.footer-links-col h4,
.footer-qr-col h4 {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 14px;
  color: #ffffff;
  letter-spacing: 0.5px;
}
.footer-select-box {
  margin-bottom: 12px;
}
.footer-select-box label {
  display: block;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 4px;
}
.footer-select-box select {
  width: 100%;
  padding: 8px 12px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(0, 0, 0, 0.25);
  color: #ffffff;
  font-size: 13px;
  outline: none;
}
.footer-select-box select option {
  background: #ffffff;
  color: var(--text-dark);
}
.footer-qr-col {
  text-align: center;
}
.footer-qr-col img {
  width: 110px;
  height: 110px;
  border-radius: 6px;
  margin: 0 auto 8px;
  background: #ffffff;
  padding: 4px;
}
.footer-qr-col p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.85);
}
.footer-bottom {
  text-align: center;
  padding-top: 20px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.8;
}

/* ==========================================================================
   8. 浮动挂件（返回顶部）
   ========================================================================== */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 30px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--youth-red);
  color: #ffffff;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 4px 12px rgba(163, 23, 21, 0.35);
  cursor: pointer;
  z-index: 99;
  transition: transform 0.2s, background 0.2s;
}
.back-to-top:hover {
  background: var(--youth-red-deep);
  transform: translateY(-3px);
}

/* ==========================================================================
   9. 响应式适配（移动端）
   ========================================================================== */
@media (max-width: 992px) {
  .menu-toggle-btn { display: block; }
  .header-tools { display: none; }
  
  .main-nav-bar {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--youth-red-deep);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
  }
  .main-nav-bar.open { display: block; }
  .main-nav-container { height: auto; }
  .main-nav-list { flex-direction: column; }
  .main-nav-item { width: 100%; }
  .main-nav-item > a {
    justify-content: flex-start;
    padding: 12px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .main-nav-item .sub-menu {
    position: static;
    transform: none;
    background: rgba(0, 0, 0, 0.2);
    box-shadow: none;
    border-top: none;
    border-radius: 0;
  }
  .main-nav-item .sub-menu a {
    padding-left: 36px;
    color: rgba(255, 255, 255, 0.85);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .college-news-layout { grid-template-columns: 1fr; }
  .home-twin-cards { grid-template-columns: 1fr; }
  .column-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 24px; text-align: left; }
  .footer-qr-col { text-align: left; }
  .footer-qr-col img { margin: 0 0 8px 0; }
}