/* ==========================================================================
   CUIT 成都信息工程大学 人工智能学院 官网主样式表
   规范：纯CSS，无旧式table布局，响应式1200px居中，主色深蓝 #0B2545
   ========================================================================== */

:root {
  --primary-color: #0B2545;        /* 经典大学蓝/深蓝 */
  --primary-hover: #081A30;
  --primary-light: #103A68;
  --primary-bg: #F2F6FB;
  
  --accent-cyan: #0E8AC8;          /* 科技亮蓝/青色强调 */
  --accent-cyan-light: #e0f2fe;
  --accent-cyan-glow: rgba(2, 132, 199, 0.25);
  
  --accent-orange: #B7791F;        /* 小面积点缀橙色，用于置顶、重点标注 */
  --accent-orange-bg: #fff7ed;
  --accent-orange-border: #ffedd5;
  
  --text-main: #1e293b;            /* 正文主色 */
  --text-muted: #64748b;           /* 次级正文 */
  --text-light: #94a3b8;          /* 弱化标注 */
  --text-white: #ffffff;
  
  --bg-body: #FFFFFF;
  --bg-card: #ffffff;
  --border-color: #e2e8f0;
  --border-light: #f1f5f9;
  
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(11, 42, 91, 0.08), 0 2px 4px -2px rgba(11, 42, 91, 0.04);
  --shadow-lg: 0 10px 25px -5px rgba(11, 42, 91, 0.12), 0 8px 10px -6px rgba(11, 42, 91, 0.06);
  --shadow-hover: 0 12px 28px rgba(11, 42, 91, 0.14);
  
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-full: 9999px;
  
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  
  --font-heading: "PingFang SC", "Microsoft YaHei", "Heiti SC", -apple-system, sans-serif;
  --font-body: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* 基础重置 */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--bg-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1.35;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
  border: none;
}

/* 布局容器 */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.main-content {
  flex: 1 0 auto;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  background-color: var(--bg-card);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-md);
  border-bottom: 2px solid var(--primary-color);
}

.header-top {
  background: linear-gradient(90deg, #081A30 0%, #0B2545 100%);
  color: #fff;
  padding: 6px 0;
  font-size: 0.85rem;
}

.header-top-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-top-left {
  display: flex;
  align-items: center;
  gap: 16px;
  opacity: 0.9;
}

.header-top-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-top-right a {
  color: #cbd5e1;
}

.header-top-right a:hover {
  color: #fff;
  text-decoration: underline;
}

.header-main {
  padding: 14px 0;
  background: #ffffff;
}

.header-main-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

/* 标志与名称 */
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand-badge {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary-color) 0%, #0E8AC8 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -1px;
  box-shadow: 0 4px 10px rgba(11, 42, 91, 0.25);
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-univ {
  font-size: 0.95rem;
  font-weight: 600;
  color: #475569;
  letter-spacing: 0.5px;
}

.brand-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--primary-color);
  letter-spacing: 1px;
  line-height: 1.2;
}

.brand-subtitle {
  font-size: 0.72rem;
  color: var(--text-light);
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* 顶部搜索框 */
.header-search {
  flex: 0 1 320px;
}

.search-form {
  display: flex;
  align-items: center;
  background-color: #f1f5f9;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  padding: 4px 6px 4px 16px;
  transition: all var(--transition-fast);
}

.search-form:focus-within {
  border-color: var(--accent-cyan);
  background-color: #fff;
  box-shadow: 0 0 0 3px var(--accent-cyan-glow);
}

.search-form input[type="text"] {
  background: transparent;
  width: 100%;
  padding: 6px 4px;
  font-size: 0.88rem;
  color: var(--text-main);
}

.search-form button {
  background-color: var(--primary-color);
  color: #fff;
  border-radius: var(--radius-full);
  padding: 6px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color var(--transition-fast);
  white-space: nowrap;
}

.search-form button:hover {
  background-color: var(--accent-cyan);
}

/* 主导航栏 */
.nav-bar {
  background-color: var(--primary-color);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: block;
  padding: 0.5rem 0.625rem;
  color: #0B2545;
  font-weight: 600;
  font-size: 0.9375rem;
  transition: all var(--transition-fast);
  border-bottom: 3px solid transparent;
}

.nav-link:hover {
  color: #0E8AC8;
}

.nav-item.active .nav-link {
  color: #0B2545;
  background-color: transparent;
  border-bottom-color: #0E8AC8;
}

/* 移动端汉堡按钮 */
.mobile-toggle {
  display: none;
  background: transparent;
  cursor: pointer;
  padding: 10px;
  flex-direction: column;
  gap: 5px;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #fff;
  border-radius: 2px;
  transition: transform var(--transition-fast);
}

/* ==========================================================================
   Hero 轮播区域 (纯CSS渐变高科技感，禁止使用外部大图)
   ========================================================================== */
.hero-slider-section {
  position: relative;
  overflow: hidden;
  background-color: #081A30;
}

.hero-slider {
  position: relative;
  height: 440px;
  width: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease;
  display: flex;
  align-items: center;
  color: #ffffff;
  padding: 0 40px;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

/* 轮播底纹（高科技极简几何与渐变） */
.slide-bg-1 {
  background: radial-gradient(circle at 80% 20%, rgba(2, 132, 199, 0.4) 0%, transparent 60%),
              linear-gradient(135deg, #081A30 0%, #0B2545 60%, #0f172a 100%);
}

.slide-bg-2 {
  background: radial-gradient(circle at 20% 80%, rgba(14, 138, 200, 0.30) 0%, transparent 50%),
              linear-gradient(135deg, #0B2545 0%, #0369a1 70%, #082f49 100%);
}

.slide-bg-3 {
  background: radial-gradient(circle at 70% 60%, rgba(99, 102, 241, 0.35) 0%, transparent 55%),
              linear-gradient(135deg, #091e3e 0%, #1e3a8a 70%, #0E8AC8 100%);
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.hero-slide-content {
  position: relative;
  z-index: 5;
  max-width: 780px;
}

.slide-tag {
  display: inline-block;
  padding: 4px 12px;
  background-color: rgba(14, 138, 200, 0.15);
  border: 1px solid rgba(14, 138, 200, 0.35);
  color: #0E8AC8;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.hero-slide-title {
  font-size: 2.3rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 14px;
  line-height: 1.25;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-slide-desc {
  font-size: 1.1rem;
  color: #cbd5e1;
  margin-bottom: 24px;
  line-height: 1.6;
}

.hero-slide-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: linear-gradient(135deg, #0E8AC8 0%, #0369a1 100%);
  color: #fff;
  font-weight: 600;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.4);
  transition: all var(--transition-fast);
}

.hero-slide-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.6);
  background: linear-gradient(135deg, #0369a1 0%, #0E8AC8 100%);
}

/* 轮播控制按钮 */
.slider-control-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background-color: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 10;
  transition: all var(--transition-fast);
  backdrop-filter: blur(4px);
}

.slider-control-btn:hover {
  background-color: rgba(2, 132, 199, 0.9);
  border-color: #0E8AC8;
}

.slider-prev {
  left: 20px;
}

.slider-next {
  right: 20px;
}

/* 轮播指示点 */
.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: var(--radius-full);
  background-color: rgba(255, 255, 255, 0.4);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.slider-dot.active {
  width: 32px;
  background-color: #0E8AC8;
}

/* ==========================================================================
   快捷入口栏 (5个入口)
   ========================================================================== */
.quick-entry-section {
  position: relative;
  z-index: 20;
  margin-top: -30px;
  margin-bottom: 40px;
}

.quick-entry-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.quick-entry-card {
  background-color: #ffffff;
  padding: 18px 16px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--border-color);
  transition: all var(--transition-fast);
  text-decoration: none;
}

.quick-entry-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: #0E8AC8;
}

.quick-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--primary-bg);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.quick-entry-card:hover .quick-icon {
  background: var(--primary-color);
  color: #fff;
}

.quick-title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-main);
  display: block;
}

.quick-desc {
  font-size: 0.76rem;
  color: var(--text-muted);
  display: block;
}

/* ==========================================================================
   通用区块标题
   ========================================================================== */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border-color);
  position: relative;
}

.section-header::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 70px;
  height: 2px;
  background-color: var(--primary-color);
}

.section-title {
  font-size: 1.55rem;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-title-en {
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 500;
  margin-left: 8px;
  text-transform: uppercase;
}

.section-more {
  font-size: 0.88rem;
  color: var(--accent-cyan);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

.section-more:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

/* ==========================================================================
   首页新闻与通知双栏
   ========================================================================== */
.news-notice-section {
  padding: 20px 0 40px;
}

.news-notice-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 32px;
}

/* 置顶头条新闻卡片 */
.pinned-news-card {
  background-color: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 16px;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.pinned-news-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background-color: var(--accent-orange);
}

.pinned-news-card:hover {
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

.pinned-badge {
  display: inline-block;
  padding: 2px 10px;
  background-color: var(--accent-orange);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.pinned-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1.4;
  margin-bottom: 10px;
}

.pinned-title a:hover {
  color: var(--accent-cyan);
}

.pinned-summary {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 12px;
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.8rem;
  color: var(--text-light);
}

.news-date {
  color: var(--text-muted);
}

/* 新闻列表项 */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.news-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  transition: all var(--transition-fast);
}

.news-item:hover {
  background-color: #f1f5f9;
  border-color: var(--border-color);
}

.news-item-left {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
}

.news-dot {
  width: 6px;
  height: 6px;
  border-radius: var(--radius-full);
  background-color: var(--primary-light);
  flex-shrink: 0;
}

.news-item-title {
  font-size: 0.92rem;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 480px;
}

.news-item:hover .news-item-title {
  color: var(--primary-color);
  font-weight: 600;
}

.news-item-date {
  font-size: 0.82rem;
  color: var(--text-light);
  flex-shrink: 0;
  margin-left: 12px;
}

/* 通知公告列表 */
.notice-box {
  background-color: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

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

.notice-item {
  display: flex;
  gap: 14px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--border-color);
}

.notice-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.notice-date-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 50px;
  height: 52px;
  background-color: var(--primary-bg);
  border-radius: var(--radius-md);
  border: 1px solid #dbeafe;
  flex-shrink: 0;
}

.notice-day {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1;
}

.notice-year-month {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.notice-content {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.notice-title {
  font-size: 0.92rem;
  color: var(--text-main);
  line-height: 1.4;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.notice-title a:hover {
  color: var(--accent-cyan);
}

.notice-source {
  font-size: 0.75rem;
  color: var(--text-light);
}

/* ==========================================================================
   学院数据条 (已核实真实数据展示)
   ========================================================================== */
.stats-section {
  background: linear-gradient(135deg, #081A30 0%, #0B2545 60%, #0f172a 100%);
  color: #fff;
  padding: 48px 0;
  margin: 20px 0 40px;
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(2, 132, 199, 0.25) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(14, 138, 200, 0.15) 0%, transparent 40%);
  pointer-events: none;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  position: relative;
  z-index: 2;
}

.stat-item {
  text-align: center;
  padding: 10px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.stat-item:last-child {
  border-right: none;
}

.stat-number {
  font-size: 1.9rem;
  font-weight: 800;
  color: #0E8AC8;
  line-height: 1.2;
  margin-bottom: 6px;
  font-family: var(--font-heading);
}

.stat-label {
  font-size: 0.85rem;
  color: #cbd5e1;
  font-weight: 500;
}

.stat-note {
  font-size: 0.72rem;
  color: #94a3b8;
  margin-top: 4px;
}

.stats-source-tag {
  text-align: right;
  font-size: 0.75rem;
  color: #94a3b8;
  margin-top: 20px;
  position: relative;
  z-index: 2;
}

/* ==========================================================================
   特色方向 4 张卡片
   ========================================================================== */
.features-section {
  padding: 20px 0 40px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.feature-card {
  background-color: #fff;
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.feature-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-cyan));
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: #93c5fd;
}

.feature-card:hover::after {
  opacity: 1;
}

.feature-icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-full);
  background: var(--primary-bg);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 18px;
  transition: all var(--transition-fast);
}

.feature-card:hover .feature-icon-wrapper {
  background: var(--primary-color);
  color: #fff;
  box-shadow: 0 4px 12px rgba(11, 42, 91, 0.3);
}

.feature-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.feature-desc {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 16px;
  flex: 1;
}

.feature-link {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--accent-cyan);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.feature-card:hover .feature-link {
  color: var(--primary-color);
}

/* ==========================================================================
   科研与教学动态 (各4条)
   ========================================================================== */
.dual-section {
  padding: 10px 0 40px;
}

.dual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.dual-card {
  background-color: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

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

.item-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  background-color: #FFFFFF;
  border-radius: var(--radius-md);
  border: 1px solid #f1f5f9;
  transition: all var(--transition-fast);
}

.item-row:hover {
  background-color: #ffffff;
  border-color: #cbd5e1;
  box-shadow: var(--shadow-sm);
}

.item-row-title {
  font-size: 0.9rem;
  color: var(--text-main);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 400px;
}

.item-row:hover .item-row-title {
  color: var(--primary-color);
  font-weight: 600;
}

.item-row-tag {
  font-size: 0.75rem;
  padding: 2px 8px;
  background-color: var(--primary-bg);
  color: var(--primary-color);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  margin-left: 10px;
}

/* ==========================================================================
   重点实验室专属入口条
   ========================================================================== */
.lab-banner-section {
  padding: 10px 0 50px;
}

.lab-banner-card {
  background: linear-gradient(110deg, #081A30 0%, #0B2545 50%, #0369a1 100%);
  border-radius: var(--radius-lg);
  padding: 32px 40px;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.lab-banner-card::before {
  content: "";
  position: absolute;
  right: -50px;
  top: -50px;
  width: 250px;
  height: 250px;
  border-radius: var(--radius-full);
  background: radial-gradient(circle, rgba(14, 138, 200, 0.15) 0%, transparent 70%);
}

.lab-banner-info {
  max-width: 750px;
  position: relative;
  z-index: 2;
}

.lab-banner-badge {
  display: inline-block;
  padding: 4px 12px;
  background-color: rgba(14, 138, 200, 0.15);
  border: 1px solid rgba(14, 138, 200, 0.35);
  color: #0E8AC8;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  margin-bottom: 10px;
}

.lab-banner-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}

.lab-banner-desc {
  font-size: 0.92rem;
  color: #cbd5e1;
  line-height: 1.6;
}

.lab-banner-action {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  margin-left: 20px;
}

.btn-lab-enter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #0E8AC8;
  color: #081A30;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 12px rgba(14, 138, 200, 0.30);
  transition: all var(--transition-fast);
}

.btn-lab-enter:hover {
  background-color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(255, 255, 255, 0.4);
}

/* ==========================================================================
   二级页面公共组件：面包屑 & 页面题头
   ========================================================================== */
.page-banner {
  background: linear-gradient(135deg, #0A2540 0%, #103A68 100%);
  color: #fff;
  padding: 48px 0 36px;
}

.page-banner-title {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 8px;
}

.page-banner-subtitle {
  font-size: 0.95rem;
  color: #cbd5e1;
  font-weight: 400;
}

.breadcrumb-nav {
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-color);
  padding: 10px 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.breadcrumb li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb li::after {
  content: "/";
  color: var(--text-light);
}

.breadcrumb li:last-child::after {
  content: "";
}

.breadcrumb a {
  color: var(--text-muted);
}

.breadcrumb a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

.breadcrumb li:last-child {
  color: var(--primary-color);
  font-weight: 600;
}

/* 二级页面主布局 */
.page-container {
  padding: 40px 0 60px;
}

.content-card {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 30px;
}

.content-card-title {
  font-size: 1.4rem;
  color: var(--primary-color);
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 10px;
}

.content-card-title::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 20px;
  background-color: var(--accent-cyan);
  border-radius: 2px;
}

/* ==========================================================================
   学院概况 (about.html) 专属样式
   ========================================================================== */
/* 历史时间线 */
.timeline {
  position: relative;
  padding: 20px 0 20px 20px;
  margin-left: 20px;
  border-left: 3px solid #dbeafe;
}

.timeline-item {
  position: relative;
  margin-bottom: 24px;
  padding-left: 24px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -29px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: var(--radius-full);
  background-color: #ffffff;
  border: 3px solid var(--primary-color);
  transition: all var(--transition-fast);
}

.timeline-item:hover .timeline-dot {
  background-color: var(--accent-cyan);
  border-color: #ffffff;
  box-shadow: 0 0 0 4px var(--accent-cyan-glow);
}

.timeline-year {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 4px;
}

.timeline-content {
  font-size: 0.92rem;
  color: var(--text-main);
  line-height: 1.6;
}

/* 机构设置卡片（文字可搜索可点击） */
.org-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.org-card {
  background-color: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: all var(--transition-fast);
}

.org-card:hover {
  background-color: #fff;
  border-color: var(--accent-cyan);
  box-shadow: var(--shadow-md);
}

.org-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 8px;
}

.org-loc {
  display: inline-block;
  padding: 2px 8px;
  background-color: #e2e8f0;
  color: #334155;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.org-desc {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   树形机构架构图 (Org Tree)
   ========================================================================== */
.org-tree {
  margin-top: 20px;
  position: relative;
}

.org-tree-root {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.org-root-node {
  background: linear-gradient(135deg, #0B2545 0%, #163E6F 100%);
  color: #FFFFFF;
  font-size: 1.15rem;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  text-align: center;
  border: 1px solid #0B2545;
  letter-spacing: 0.5px;
}

.org-root-line {
  width: 2px;
  height: 24px;
  background-color: #94A3B8;
}

.org-tree-branches {
  display: flex;
  gap: 28px;
  position: relative;
}

/* 桌面端横向连接线：连接左右两分支 */
.org-tree-branches::before {
  content: "";
  position: absolute;
  top: 0;
  left: 25%;
  right: 25%;
  height: 2px;
  background-color: #94A3B8;
}

.org-branch {
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  padding-top: 24px;
}

/* 分支顶端垂直线 */
.org-branch::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 24px;
  background-color: #94A3B8;
  transform: translateX(-50%);
}

.org-branch-title {
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-size: 1.05rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.org-branch-admin .org-branch-title {
  background: #F0F4F8;
  border: 1px solid #CBD5E1;
  border-top: 3px solid #0B2545;
  color: #0B2545;
}

.org-branch-teaching .org-branch-title {
  background: #F0F7FC;
  border: 1px solid #BAE6FD;
  border-top: 3px solid var(--accent-cyan);
  color: #0369A1;
}

/* 垂直树枝干线 */
.org-branch-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-left: 2px solid #CBD5E1;
  padding-left: 20px;
  margin-left: 14px;
  position: relative;
}

.org-tree-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  position: relative;
  transition: all var(--transition-fast);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

/* 水平连接短线（树干连接到卡片） */
.org-tree-card::before {
  content: "";
  position: absolute;
  top: 20px;
  left: -20px;
  width: 18px;
  height: 2px;
  background-color: #CBD5E1;
}

.org-tree-card:hover {
  border-color: var(--accent-cyan);
  box-shadow: var(--shadow-md);
  transform: translateX(3px);
}

.org-tree-card .org-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 6px;
}

.org-tree-card .org-name a {
  color: var(--primary-color);
  text-decoration: none;
}

.org-tree-card .org-name a:hover {
  color: var(--accent-cyan);
  text-decoration: underline;
}

.org-tree-card .org-loc {
  display: inline-block;
  padding: 2px 8px;
  background-color: #F1F5F9;
  color: #475569;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.org-tree-card .org-desc {
  font-size: 0.85rem;
  color: #475569;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 768px) {
  .org-tree-branches {
    flex-direction: column;
    gap: 20px;
  }
  .org-tree-branches::before {
    display: none;
  }
  .org-branch {
    padding-top: 0;
  }
  .org-branch::before {
    display: none;
  }
  .org-branch-admin {
    margin-bottom: 10px;
  }
  .org-branch-items {
    margin-left: 8px;
    padding-left: 16px;
  }
  .org-tree-card::before {
    left: -16px;
    width: 14px;
  }
}

/* 师资与领导占位卡片提示 */
.placeholder-box {
  background-color: #fff7ed;
  border: 1px dashed #fdba74;
  border-radius: var(--radius-md);
  padding: 20px;
  color: #9a3412;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.placeholder-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* 现任领导卡片横排列表 */
.leader-grid {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.leader-card {
  background-color: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 30px;
  text-align: left;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 32px;
  transition: all var(--transition-fast);
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.leader-card:hover {
  border-color: var(--accent-cyan);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.leader-photo-ph,
.faculty-avatar-ph {
  width: 200px;
  height: 260px;
  min-width: 200px;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  background-color: #f1f5f9;
  border: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-sizing: border-box;
  margin: 0;
  color: #64748b;
}

.leader-photo-text {
  font-size: 1.1rem;
  font-weight: 700;
  color: #64748b;
  letter-spacing: 2px;
}

.leader-photo-sub {
  font-size: 0.8rem;
  font-weight: 400;
  color: #94a3b8;
  letter-spacing: 0.5px;
}

.leader-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  text-align: left;
  min-width: 0;
}

.leader-post {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 0 0 10px;
  text-align: left;
  letter-spacing: 0.5px;
}

.faculty-name-ph,
.leader-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 14px;
  text-align: left;
}

.leader-duty {
  font-size: 0.92rem;
  color: #334155;
  line-height: 1.8;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 4px solid var(--accent-cyan);
  border-radius: 6px;
  padding: 14px 18px;
}

.faculty-placeholder-card {
  background-color: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px 16px;
  text-align: center;
  transition: all var(--transition-fast);
}

.faculty-placeholder-card:hover {
  border-color: #94a3b8;
  box-shadow: var(--shadow-sm);
}

.faculty-title-ph {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.faculty-tag-ph {
  display: inline-block;
  padding: 2px 8px;
  background-color: #f1f5f9;
  color: #64748b;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
}

/* ==========================================================================
   新闻列表页 (news.html) 样式
   ========================================================================== */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 8px 20px;
  border-radius: var(--radius-full);
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

.filter-btn.active {
  background-color: var(--primary-color);
  color: #ffffff;
  border-color: var(--primary-color);
}

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

.news-card-item {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 20px 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-fast);
}

.news-card-item:hover {
  border-color: #93c5fd;
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.news-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.tag-category {
  display: inline-block;
  padding: 2px 8px;
  background-color: var(--primary-bg);
  color: var(--primary-color);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
}

.news-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1.4;
  margin-bottom: 8px;
}

.news-card-title a:hover {
  color: var(--accent-cyan);
}

.news-card-summary {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 12px;
}

.news-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-light);
  border-top: 1px solid #f1f5f9;
  padding-top: 10px;
}

/* ==========================================================================
   文章详情页 (article.html) 样式
   ========================================================================== */
.article-wrapper {
  max-width: 900px;
  margin: 0 auto;
  background-color: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

.article-header {
  text-align: center;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 30px;
}

.article-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1.35;
  margin-bottom: 16px;
}

.article-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.article-body {
  font-size: 1.05rem;
  color: #334155;
  line-height: 1.85;
}

.article-body p {
  margin-bottom: 20px;
  text-indent: 2em;
}

.article-body p:has(strong:only-child) {
  text-indent: 0;
}

.article-prev-next {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.92rem;
}

.article-prev-next a {
  color: var(--primary-color);
}

.article-prev-next a:hover {
  color: var(--accent-cyan);
  text-decoration: underline;
}

/* ==========================================================================
   人才培养 (majors.html) 样式
   ========================================================================== */
.major-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.major-card {
  background-color: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.major-card:hover {
  border-color: var(--accent-cyan);
  box-shadow: var(--shadow-md);
}

.major-card-badge {
  display: inline-block;
  padding: 2px 10px;
  background-color: var(--primary-bg);
  color: var(--primary-color);
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
}

.major-card-title {
  font-size: 1.35rem;
  color: var(--primary-color);
  margin-bottom: 14px;
}

.major-field-item {
  margin-bottom: 12px;
  font-size: 0.9rem;
}

.major-field-label {
  font-weight: 700;
  color: #475569;
  display: inline-block;
  min-width: 80px;
}

.major-field-val {
  color: #64748b;
}

/* ==========================================================================
   科学研究 (research.html) 样式
   ========================================================================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.team-card {
  background-color: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.team-card:hover {
  border-color: #93c5fd;
  box-shadow: var(--shadow-md);
}

.team-title {
  font-size: 1.25rem;
  color: var(--primary-color);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.team-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.platform-card {
  background-color: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.platform-title {
  font-size: 1.2rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.platform-ext-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-cyan);
  font-size: 0.88rem;
  font-weight: 600;
  margin-top: 12px;
}

.platform-ext-link:hover {
  text-decoration: underline;
  color: var(--primary-color);
}

/* ==========================================================================
   搜索页 (search.html) 样式
   ========================================================================== */
.search-box-large {
  max-width: 700px;
  margin: 0 auto 30px;
}

.search-input-group {
  display: flex;
  background: #fff;
  border: 2px solid var(--primary-color);
  border-radius: var(--radius-full);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.search-input-group input {
  flex: 1;
  padding: 14px 24px;
  font-size: 1rem;
}

.search-input-group button {
  background-color: var(--primary-color);
  color: #fff;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.search-input-group button:hover {
  background-color: var(--accent-cyan);
}

.search-stats-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 20px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.search-highlight {
  background-color: #fef08a;
  color: #854d0e;
  padding: 0 3px;
  border-radius: 2px;
  font-weight: 700;
}

.empty-search {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}

/* ==========================================================================
   404 页面规范样式 (无自动跳转)
   ========================================================================== */
.error-page-card {
  max-width: 650px;
  margin: 50px auto;
  text-align: center;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 50px 30px;
  box-shadow: var(--shadow-md);
}

.error-code {
  font-size: 6rem;
  font-weight: 900;
  color: var(--primary-color);
  line-height: 1;
  margin-bottom: 16px;
  text-shadow: 2px 2px 0 #e2e8f0;
}

.error-title {
  font-size: 1.5rem;
  color: var(--text-main);
  margin-bottom: 12px;
}

.error-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 30px;
}

.error-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 30px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--primary-color);
  color: #fff;
  padding: 10px 24px;
  border-radius: var(--radius-md);
  font-weight: 600;
  transition: all var(--transition-fast);
}

.btn-primary:hover {
  background-color: var(--accent-cyan);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: transparent;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
  padding: 10px 24px;
  border-radius: var(--radius-md);
  font-weight: 600;
  transition: all var(--transition-fast);
}

.btn-outline:hover {
  background-color: var(--primary-bg);
}

/* ==========================================================================
   统一页脚 (严格包含红线核实数据)
   ========================================================================== */
.site-footer {
  background-color: #081A30;
  color: #cbd5e1;
  padding-top: 50px;
  border-top: 4px solid var(--accent-cyan);
  font-size: 0.88rem;
  line-height: 1.7;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col-title {
  font-size: 1.08rem;
  color: #fff;
  margin-bottom: 18px;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(14, 138, 200, 0.35);
  display: inline-block;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.footer-contact-label {
  color: #94a3b8;
  flex-shrink: 0;
  font-weight: 500;
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-list a {
  color: #cbd5e1;
  transition: color var(--transition-fast);
}

.footer-links-list a:hover {
  color: #0E8AC8;
  padding-left: 4px;
}

.footer-qr-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.qr-placeholder {
  width: 110px;
  height: 110px;
  background-color: #fff;
  border-radius: var(--radius-md);
  padding: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  border: 1px solid #334155;
}

.qr-code-graphic {
  width: 90px;
  height: 90px;
  background: repeating-linear-gradient(0deg, #081A30, #081A30 4px, #fff 4px, #fff 8px);
  border: 4px solid #081A30;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  color: #081A30;
  background-color: #f1f5f9;
}

.qr-title {
  font-size: 0.85rem;
  color: #ffffff;
  font-weight: 600;
}

.qr-desc {
  font-size: 0.72rem;
  color: #94a3b8;
}

.footer-bottom {
  padding: 20px 0;
  text-align: center;
  font-size: 0.8rem;
  color: #94a3b8;
}

/* ==========================================================================
   返回顶部悬浮按钮
   ========================================================================== */
.back-to-top {
  position: fixed;
  right: 25px;
  bottom: 30px;
  width: 44px;
  height: 44px;
  background-color: var(--primary-color);
  color: #fff;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
  z-index: 999;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--accent-cyan);
  transform: translateY(-4px);
}

/* ==========================================================================
   响应式断点 (自适应平板与移动端)
   ========================================================================== */
@media (max-width: 1024px) {
  .quick-entry-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 20px;
  }
  
  .stat-item:nth-child(3) {
    border-right: none;
  }
  
  .org-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .placeholder-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .header-top-inner {
    flex-direction: column;
    gap: 4px;
    text-align: center;
  }
  
  .header-main-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  
  .header-search {
    flex: 1 1 auto;
    width: 100%;
  }
  
  /* 移动端汉堡菜单 */
  .mobile-toggle {
    display: flex;
  }
  
  .nav-container {
    flex-wrap: wrap;
    padding: 6px 20px;
  }
  
  .nav-list {
    display: none;
    flex-direction: column;
    width: 100%;
    padding: 10px 0;
  }
  
  .nav-list.open {
    display: flex;
  }
  
  .nav-link {
    padding: 12px 14px;
    border-bottom: none;
    border-left: 3px solid transparent;
  }
  
  .nav-link:hover,
  .nav-item.active .nav-link {
    border-bottom: none;
    border-left-color: #0E8AC8;
  }
  
  /* 轮播缩减 */
  .hero-slider {
    height: 360px;
  }
  
  .hero-slide {
    padding: 0 20px;
  }
  
  .hero-slide-title {
    font-size: 1.6rem;
  }
  
  .hero-slide-desc {
    font-size: 0.95rem;
  }
  
  /* 快捷入口单列/双列 */
  .quick-entry-grid {
    grid-template-columns: 1fr;
  }
  
  /* 首页新闻与通知单列 */
  .news-notice-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  /* 数据条双列 */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .stat-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 14px;
  }
  
  /* 特色方向单列 */
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  /* 科研与教学单列 */
  .dual-grid {
    grid-template-columns: 1fr;
  }
  
  /* 实验室横幅折行 */
  .lab-banner-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 24px;
  }
  
  .lab-banner-action {
    margin-left: 0;
    width: 100%;
  }
  
  .btn-lab-enter {
    width: 100%;
    justify-content: center;
  }
  
  /* 专业与团队卡片单列 */
  .major-grid,
  .team-grid,
  .platform-grid,
  .org-grid,
  .placeholder-grid {
    grid-template-columns: 1fr;
  }

  /* 现任领导卡片移动端上下排（照片在上、文字在下） */
  .leader-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .leader-card {
    flex-direction: column;
    align-items: center;
    padding: 24px 18px;
    gap: 20px;
    text-align: left;
  }

  .leader-photo-ph,
  .faculty-avatar-ph {
    width: 180px;
    height: 234px;
    min-width: 180px;
    max-width: 100%;
    margin: 0 auto;
  }

  .leader-body {
    width: 100%;
    text-align: left;
  }

  .leader-post {
    font-size: 1.2rem;
    text-align: center;
  }

  .faculty-name-ph,
  .leader-name {
    text-align: center;
    justify-content: center;
  }
  
  /* 页脚单列 */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .article-wrapper {
    padding: 20px 16px;
  }
  
  .article-title {
    font-size: 1.4rem;
  }
}

/* ==========================================================================
   新闻中心与党建之窗：悬停图片预览浮层与开关按钮样式
   ========================================================================== */
.news-preview-float {
  position: fixed;
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  background: #ffffff;
  padding: 6px;
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(11, 37, 69, 0.22), 0 4px 10px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(226, 232, 240, 0.95);
  width: 252px;
  box-sizing: border-box;
}

.news-preview-float.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.news-preview-float img {
  display: block;
  width: 240px;
  height: 150px;
  object-fit: cover;
  border-radius: 6px;
}

/* 列表上方工具栏与开关按钮 */
.news-list-toolbar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-bottom: 14px;
}

.preview-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.4;
  border-radius: 6px;
  border: 1px solid #0E8AC8;
  background-color: #0E8AC8;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(14, 138, 200, 0.25);
  user-select: none;
}

.preview-toggle:hover {
  background-color: #0B6DA0;
  border-color: #0B6DA0;
}

.preview-toggle.is-off {
  background-color: #F1F5F9;
  border-color: #CBD5E1;
  color: #475569;
  box-shadow: none;
}

.preview-toggle.is-off:hover {
  background-color: #E2E8F0;
  border-color: #94A3B8;
  color: #1E293B;
}

/* 党建之窗新闻卡片专属红色样式 */
.news-card-item.party-news-card {
  border-left: 3px solid #C53030 !important;
}

.news-card-item.party-news-card:hover {
  border-color: #FECACA !important;
  border-left-color: #991B1B !important;
  box-shadow: 0 4px 14px rgba(197, 48, 48, 0.12) !important;
}

.news-card-item.party-news-card .tag-category {
  background-color: #FEE2E2 !important;
  color: #991B1B !important;
}

.news-card-item.party-news-card .news-card-title a {
  color: #C53030 !important;
}

.news-card-item.party-news-card .news-card-title a:hover {
  color: #991B1B !important;
}

