/* ============================================================
   河北劳动关系职业学院 — 杂志编辑风首页设计系统
   主色：匠人红 #C41E3A | 科技蓝 #1E5FA8
   辅色：中兴灰 #F5F0EB | 点缀：金色 #D4A547
   ============================================================ */

/* ===== 1. CSS Variables ===== */
:root {
  --primary: #C41E3A;
  --primary-dark: #8B1528;
  --primary-light: #E84D66;
  --red-soft: #FFF0F3;
  --green: #2E7D32;
  --green-dark: #1B5E20;
  --green-soft: #E8F5E9;
  --blue: #1E5FA8;
  --blue-dark: #154A85;
  --blue-soft: #E8F0FE;
  --accent: #D4A547;
  --accent-light: #E8C36A;

  --gray-50: #FAFAF8;
  --gray-100: #F5F0EB;
  --gray-200: #E8E4DF;
  --gray-300: #D4CFC9;
  --gray-500: #8A8580;

  --text: #111;
  --text-secondary: #444;
  --text-muted: #888;
  --bg: #FAFAF8;
  --bg-warm: #F5F0EB;
  --border: #E0DDD8;

  --font-serif: "Songti SC", "SimSun", "STSong", "Noto Serif SC", serif;
  --font-sans: "PingFang SC", "Noto Sans SC", "WenQuanYi Micro Hei", sans-serif;

  --container-max: 1400px;
  --header-height: 72px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --transition-fast: 150ms ease;
  --transition-normal: 300ms ease;
  --transition-slow: 500ms ease;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.1);
  --shadow-xl: 0 12px 48px rgba(0,0,0,0.12);
}

/* ===== 2. Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; transition: color var(--transition-fast); }
a:hover { color: var(--primary); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
input, button, textarea, select { font: inherit; outline: none; }
button { cursor: pointer; border: none; background: none; }

.container { max-width: var(--container-max); margin: 0 auto; padding: 0 24px; }

/* ===== 3. Loading Overlay ===== */
.page-loading {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 400ms ease, visibility 400ms ease;
}
.page-loading.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loading-spinner {
  width: 40px; height: 40px;
  border: 3px solid var(--gray-200);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== 4. Typography ===== */
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.3; color: var(--text); }

/* ===== 5. Scroll Animations ===== */
.fade-up {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.slide-left {
  opacity: 0; transform: translateX(-30px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.slide-left.visible { opacity: 1; transform: translateX(0); }
.slide-right {
  opacity: 0; transform: translateX(30px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.slide-right.visible { opacity: 1; transform: translateX(0); }
.scale-in {
  opacity: 0; transform: scale(0.95);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.scale-in.visible { opacity: 1; transform: scale(1); }

/* Stagger delays */
.d1 { transition-delay: 0.1s !important; }
.d2 { transition-delay: 0.2s !important; }
.d3 { transition-delay: 0.3s !important; }
.d4 { transition-delay: 0.4s !important; }
.d5 { transition-delay: 0.5s !important; }

/* ===== 6. Section Labels & Headings ===== */
.sec-label {
  font-family: var(--font-sans);
  font-size: 11px; font-weight: 600; letter-spacing: 3px;
  text-transform: uppercase; color: var(--text-muted);
  margin-bottom: 8px;
}
.sec-label .dot { color: var(--primary); margin-right: 6px; }
.sec-heading {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700; line-height: 1.2;
  margin-bottom: 12px;
}
.sec-subtitle {
  font-size: 16px; color: var(--text-secondary);
  max-width: 560px; line-height: 1.7;
}
.sec-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 24px; border-bottom: 1px solid var(--border);
  padding-bottom: 16px;
}
.sec-header .label-wrap {}
.sec-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700; line-height: 1.3;
}
.sec-header h2 .en {
  display: block;
  font-family: var(--font-sans);
  font-size: 11px; font-weight: 600; letter-spacing: 3px;
  text-transform: uppercase; color: var(--text-muted);
  margin-top: 6px;
}
.sec-header .more {
  font-size: 14px; font-weight: 500; color: var(--text-muted);
  display: flex; align-items: center; gap: 4px;
  transition: color 200ms;
}
.sec-header .more .arrow { transition: transform var(--transition-normal); }
.sec-header .more:hover { color: var(--primary); }
.sec-header .more:hover .arrow { transform: translateX(4px); }

/* NEW badge */
.new-badge {
  display: inline-block; padding: 1px 6px;
  background: var(--primary); color: #fff;
  font-size: 10px; font-weight: 700; letter-spacing: 0.5px;
  border-radius: 2px; margin-left: 6px; vertical-align: middle;
}

/* ============================================
   HEADER (Fixed + Scroll Effect + Frosted Glass)
   ============================================ */
.header-wrap {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  transition: background var(--transition-normal), box-shadow var(--transition-normal);
}
/* Frosted glass overlay: blur(6px) from top to nav bottom, fading to fully
   transparent at the bottom edge */
.header-wrap::before {
  content: ''; position: absolute; top: 3px; left: 0; right: 0;
  height: var(--header-height);
  background: linear-gradient(180deg,
    rgba(255,255,255,0.12) 0%,
    rgba(255,255,255,0.08) 40%,
    rgba(255,255,255,0) 100%
  );
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 0; pointer-events: none;
}
.header-wrap.scrolled::before {
  background: #fff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.header-wrap.scrolled { background: #fff; box-shadow: 0 1px 8px rgba(0,0,0,0.08); }
/* Pages without fullscreen banner: header defaults to solid white */
body.no-banner .header-wrap::before { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
body.no-banner .header-wrap { background: #fff; box-shadow: 0 1px 8px rgba(0,0,0,0.08); }
body.no-banner .nav-item > a, body.no-banner a.nav-item { color: var(--text); text-shadow: none; }
body.no-banner .nav-item > a:hover, body.no-banner a.nav-item:hover { color: var(--primary); }
body.no-banner .nav-item.active > a, body.no-banner .nav-item > a.active, body.no-banner a.nav-item.active { color: var(--primary); }
body.no-banner .nav-item.active > a::after, body.no-banner .nav-item > a.active::after, body.no-banner a.nav-item.active::after { background: var(--primary); }
body.no-banner .nav-search-btn { color: var(--text); }
body.no-banner .nav-search-btn:hover { background: var(--gray-100); }
body.no-banner .menu-toggle { color: var(--text); }
.top-bar { width: 100%; height: 3px; background: var(--primary); position: relative; z-index: 10; }
.main-nav {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-height); padding: 0 40px;
}
.nav-center { width: 100%; max-width: var(--container-max); margin: 0 auto; }
.nav-left {
  display: flex; align-items: center; width: 100%;
  justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; flex-shrink: 0; }
.nav-logo img { height: 48px; }
/* Nav links evenly distributed across available space */
.nav-links {
  display: flex; align-items: center;
  justify-content: center;
  flex: 1; gap: 0;
}
.nav-item { position: relative; flex: 1; text-align: center; }
.nav-item > a,
a.nav-item {
  display: block; padding: 8px 4px;
  font-size: 17px; font-weight: 500;
  color: rgba(255,255,255,0.95); position: relative;
  text-shadow: 0 1px 8px rgba(0,0,0,0.3);
  letter-spacing: 2px;
  transition: color var(--transition-fast);
}
.nav-item > a:hover,
a.nav-item:hover { color: #fff; }
.header-wrap.scrolled .nav-item > a,
.header-wrap.scrolled a.nav-item { color: var(--text); text-shadow: none; }
.header-wrap.scrolled .nav-item > a:hover,
.header-wrap.scrolled a.nav-item:hover { color: var(--primary); }

/* Active state */
.nav-item.active > a,
.nav-item > a.active,
a.nav-item.active { color: #fff; }
.nav-item.active > a::after,
.nav-item > a.active::after,
a.nav-item.active::after {
  content: ''; position: absolute; bottom: 0; left: 20%; right: 20%;
  height: 2px; background: #fff;
}
.header-wrap.scrolled .nav-item.active > a,
.header-wrap.scrolled .nav-item > a.active,
.header-wrap.scrolled a.nav-item.active { color: var(--primary); }
.header-wrap.scrolled .nav-item.active > a::after,
.header-wrap.scrolled .nav-item > a.active::after,
.header-wrap.scrolled a.nav-item.active::after { background: var(--primary); }

/* Dropdown (centered under each nav item) */
.nav-dropdown {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 180px;
  background: #fff; box-shadow: var(--shadow-lg);
  border-radius: 4px; padding: 8px 0;
  opacity: 0; visibility: hidden;
  transition: all 200ms ease; z-index: 100;
}
.nav-item:hover .nav-dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav-dropdown-item > a {
  display: block; padding: 8px 16px; font-size: 17px; font-weight: 500;
  color: var(--text-secondary); transition: all 150ms;
  letter-spacing: 2px;
}
.nav-dropdown-item > a:hover { color: var(--primary); background: var(--gray-50); }

/* Sub-dropdown (3-level menu) */
.nav-sub-dropdown {
  position: absolute; left: 100%; top: 0;
  min-width: 180px;
  background: #fff; box-shadow: var(--shadow-lg);
  border-radius: 4px; padding: 8px 0;
  opacity: 0; visibility: hidden;
  transition: all 200ms ease; z-index: 101;
}
.nav-dropdown-item.has-children:hover .nav-sub-dropdown { opacity: 1; visibility: visible; }
.nav-sub-dropdown > a {
  display: block; padding: 8px 16px; font-size: 17px; font-weight: 500;
  color: var(--text-secondary); transition: all 150ms;
  letter-spacing: 2px;
}
.nav-sub-dropdown > a:hover { color: var(--primary); background: var(--gray-50); }

/* Nav search (right side) - search form floats as overlay, never displacing nav */
.nav-search {
  position: relative; display: flex; align-items: center; flex-shrink: 0;
  margin-left: 16px; z-index: 20;
}
.nav-search-btn {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.9); transition: all 200ms;
}
.nav-search-btn svg { width: 20px; height: 20px; }
.header-wrap.scrolled .nav-search-btn { color: var(--text); }
.header-wrap.scrolled .nav-search-btn:hover { background: var(--gray-100); }
/* Search form: floating overlay below the nav bar */
.nav-search-form {
  position: absolute; top: calc(var(--header-height) + 6px); right: 0;
  display: flex; align-items: center; gap: 8px;
  background: #fff;
  box-shadow: var(--shadow-lg);
  border-radius: 24px; padding: 6px 12px;
  opacity: 0; transform: translateY(-8px);
  visibility: hidden;
  transition: all 200ms ease;
  width: 260px;
  pointer-events: none;
  z-index: 100;
}
.nav-search.active .nav-search-form {
  opacity: 1; transform: translateY(0);
  visibility: visible; pointer-events: auto;
}
/* Search button stays visible when search is active (click to close) */
.nav-search.active .nav-search-btn { opacity: 0.5; }
.nav-search.active .nav-search-btn:hover { opacity: 1; }
.nav-search-form svg { width: 18px; height: 18px; color: var(--text-muted); flex-shrink: 0; }
.nav-search-form input {
  background: transparent; border: none; color: var(--text);
  font-size: 14px; width: 200px;
}
.nav-search-form input::placeholder { color: var(--text-muted); }

/* Menu toggle */
.menu-toggle {
  display: none; width: 40px; height: 40px;
  color: rgba(255,255,255,0.9);
  z-index: 30;
}
.header-wrap.scrolled .menu-toggle { color: var(--text); }

/* ============================================
   HERO BANNER
   ============================================ */
.hero-banner {
  position: relative; height: 100vh; overflow: hidden; background: #0F0F0F;
}
.hero-slides { position: relative; width: 100%; height: 100%; }
.hero-slide {
  position: absolute; inset: 0; z-index: 1;
  transform: translateX(100%);
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.hero-slide.active {
  transform: translateX(0); z-index: 2;
}
.hero-slide.prev {
  transform: translateX(-100%); z-index: 1;
}
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
/* Ken Burns focus animation on active slide */
.hero-slide.active img {
  animation: kenBurns 8s ease-out forwards;
}
@keyframes kenBurns {
  0% { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.08) translate(-1%, -0.5%); }
}
.hero-slide::before {
  content: ''; position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(90deg, rgba(0,0,0,0.5) 0%, transparent 60%);
  pointer-events: none;
}
/* Bottom dark fade for text readability */
.hero-slide::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 40%; z-index: 2; pointer-events: none;
  background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 100%);
}
/* Two-line banner text: large title + subtitle */
.slide-text {
  position: absolute; bottom: 12%; left: 8%; color: #fff;
  max-width: 800px; width: 90%; z-index: 5;
}
.slide-text h2 {
  font-size: clamp(36px, 5.5vw, 64px); font-weight: 700;
  margin-bottom: 8px; color: #fff;
  text-shadow: 0 2px 32px rgba(0,0,0,0.6); letter-spacing: 6px;
  line-height: 1.2;
}
.slide-text h2::after { display: none; }
.slide-text p {
  font-size: clamp(16px, 2vw, 24px); color: rgba(255,255,255,0.95);
  line-height: 1.6; text-shadow: 0 1px 20px rgba(0,0,0,0.5);
  letter-spacing: 4px; font-weight: 400;
}
.banner-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(0,0,0,0.25); color: #fff;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.3s;
  border: 1px solid rgba(255,255,255,0.15); z-index: 10;
}
.hero-banner:hover .banner-arrow { opacity: 0.6; }
.banner-arrow:hover { opacity: 1 !important; }
.banner-arrow svg { width: 20px; height: 20px; }
.banner-prev { left: 24px; }
.banner-next { right: 24px; }
/* Progress bar at bottom (replaces dots) */
.banner-progress {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; z-index: 10;
}
.banner-progress-track {
  width: 100%; height: 100%;
  background: rgba(255,255,255,0.15);
}
.banner-progress-fill {
  height: 100%; width: 0%;
  background: var(--primary);
  transition: none;
}
.banner-progress-fill.playing {
  animation: progressFill var(--slide-duration, 5s) linear forwards;
}
/* Slide counter indicator: "2 / 5" bottom-right */
.banner-counter {
  position: absolute; bottom: 16px; right: 80px;
  color: rgba(255,255,255,0.8); font-size: 13px; font-weight: 500;
  letter-spacing: 2px; z-index: 10;
  background: rgba(0,0,0,0.2); backdrop-filter: blur(4px);
  border-radius: 12px; padding: 4px 12px;
  transition: opacity 0.3s;
}
@keyframes progressFill {
  from { width: 0%; }
  to { width: 100%; }
}
/* Legacy dot indicators (hidden) */
.banner-indicators { display: none; }
.banner-indicator { display: none; }

/* ============================================
   QUICK EXPLORE
   ============================================ */
.quick-explore {
  position: relative; z-index: 10;
  margin-top: 24px; padding-bottom: 40px;
}
.quick-explore .label {
  font-size: 11px; font-weight: 600; letter-spacing: 3px;
  text-transform: uppercase; color: var(--text-muted);
  margin-bottom: 16px; text-align: center;
}
.explore-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px;
  background: none;
}
/* Style A — pure text */
.explore-card {
  padding: 32px 20px; border-radius: 4px;
  background: #fff; border: 1px solid var(--border);
  border-left: 3px solid transparent;
  position: relative; overflow: hidden;
  transition: transform 300ms, box-shadow 300ms, border-color 300ms;
  cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; min-height: 120px; gap: 4px;
}
.explore-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
/* 顶部彩色指示条 */
.explore-card::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 100%; height: 3px;
  transform: scaleX(0); transition: transform 400ms var(--ease);
  transform-origin: left;
}
.explore-card:hover::before { transform: scaleX(1); }
.explore-card::before { background: var(--primary); }
.explore-card:hover { border-color: var(--primary); }
.explore-card .card-num { display: none; }
.explore-card h3 {
  font-size: 16px; font-weight: 700; margin-bottom: 4px;
  transition: color 200ms;
  white-space: nowrap;
}
.explore-card:hover h3 { color: var(--primary); }
.explore-card p {
  font-size: 13px; color: var(--text-muted); line-height: 1.6;
}

/* ============================================
   NEWS SECTION: Featured carousel + sidebar + list
   ============================================ */
.news-section { padding: 48px 0; background: var(--bg); }
.sec-header .news-tabs { display: flex; gap: 0; align-items: flex-end; }
.news-tabs { display: flex; gap: 0; }
.news-tab {
  padding: 8px 16px; font-size: 13px; font-weight: 500;
  color: var(--text-muted); position: relative; cursor: pointer;
  transition: color var(--transition-fast);
}
.news-tab.active { color: var(--text); }
.news-tab.active::after {
  content: ''; position: absolute; bottom: -17px; left: 0; right: 0;
  height: 2px; background: var(--primary);
}
.news-tab:hover { color: var(--text); }
/* Tab links (学院新闻, 通知公告) */
.news-tab-link {
  padding: 8px 16px; font-size: 13px; font-weight: 500;
  color: var(--text-muted); position: relative;
  transition: color var(--transition-fast);
  text-decoration: none; cursor: pointer;
}
.news-tab-link:hover { color: var(--text); }
.news-tab-link::after {
  content: ''; position: absolute; bottom: -17px; left: 0; right: 0;
  height: 2px; background: transparent;
  transition: background var(--transition-fast);
}
.news-tab-link:hover::after { background: var(--primary); }

/* Featured carousel area */
.news-featured-wrap {
  display: grid; grid-template-columns: 1.2fr 0.8fr;
  gap: 40px; margin-bottom: 48px;
  align-items: start;
}
.featured-carousel {
  position: relative; border-radius: 2px; overflow: hidden;
  aspect-ratio: 16 / 9;
}
.featured-slide {
  position: absolute; inset: 0; opacity: 0;
  transition: opacity 0.8s ease;
}
.featured-slide.active { opacity: 1; }
.featured-slide img { width: 100%; height: 100%; object-fit: cover; }
.featured-slide .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 50%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 32px;
}
.featured-slide .overlay .badge {
  display: inline-flex; align-items: center; gap: 4px;
  width: fit-content; padding: 3px 12px;
  background: var(--primary); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; margin-bottom: 12px; border-radius: 2px;
}
.featured-slide .overlay h3 {
  font-family: var(--font-serif);
  font-size: 22px; font-weight: 700; color: #fff;
  line-height: 1.4; margin-bottom: 8px;
}
.featured-slide .overlay h3 a:hover { color: rgba(255,255,255,0.85); }
.featured-slide .overlay .meta {
  font-size: 12px; color: rgba(255,255,255,0.6);
}
.carousel-dots {
  position: absolute; bottom: 16px; right: 24px;
  display: flex; gap: 6px; z-index: 5;
}
.carousel-dot {
  width: 24px; height: 3px; border-radius: 2px;
  background: rgba(255,255,255,0.3); cursor: pointer;
  transition: all 0.3s;
}
.carousel-dot.active { background: #fff; width: 32px; }

/* Featured sidebar list (01-05) */
.featured-sidebar {
  display: flex; flex-direction: column;
  height: 100%;
}
.featured-sidebar .fs-item {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  display: flex; gap: 12px; align-items: center;
  transition: all 200ms;
  cursor: pointer;
  flex: 1 1 0;
  min-height: 0;
}
.featured-sidebar .fs-item:first-child { border-top: none; }
.featured-sidebar .fs-item:last-child { border-bottom: none; }
.featured-sidebar .fs-item:first-child { border-top: none; }
.featured-sidebar .fs-item:last-child { border-bottom: none; }
.featured-sidebar .fs-item:hover { padding-left: 8px; background: var(--gray-50); }
.featured-sidebar .fs-item .fs-num {
  font-family: var(--font-serif);
  font-size: 22px; font-weight: 700; color: var(--border);
  line-height: 1; min-width: 28px; flex-shrink: 0;
  transition: color 200ms;
}
.featured-sidebar .fs-item:hover .fs-num { color: var(--primary); }
.featured-sidebar .fs-item .fs-info { flex: 1; min-width: 0; }
.featured-sidebar .fs-item .fs-info h4 {
  font-size: 15px; font-weight: 600; line-height: 1.3;
  margin-bottom: 5px;
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
  text-overflow: ellipsis;
}
.featured-sidebar .fs-item .fs-info h4 a { position: relative; }
.featured-sidebar .fs-item .fs-info h4 a:hover::after {
  content: attr(data-full-title);
  position: absolute; left: 0; bottom: calc(100% + 8px);
  background: rgba(0,0,0,0.85); color: #fff;
  padding: 8px 12px; border-radius: 4px;
  font-size: 13px; font-weight: 400; line-height: 1.5;
  white-space: normal; max-width: 280px; width: max-content;
  pointer-events: none; z-index: 10;
}
.featured-sidebar .fs-item .fs-info h4 a:hover::before {
  content: '';
  position: absolute; left: 12px; bottom: calc(100% + 4px);
  border: 4px solid transparent; border-top-color: rgba(0,0,0,0.85);
  pointer-events: none; z-index: 10;
}
.featured-sidebar .fs-item .fs-info h4 a:hover { color: var(--primary); }
.featured-sidebar .fs-item .fs-info .fs-meta {
  font-size: 14px; color: var(--text-muted);
  display: flex; align-items: center; gap: 8px;
}
.featured-sidebar .fs-item .fs-info .fs-meta .cat {
  color: var(--text-secondary); font-weight: 500;
}
.featured-sidebar .fs-item .thumb-sm {
  width: 64px; height: 42px; border-radius: 2px; overflow: hidden; flex-shrink: 0;
}
.featured-sidebar .fs-item .thumb-sm img { width: 100%; height: 100%; object-fit: cover; }

/* News list 06-11 — two-column, with thumbnails */
.news-list-editorial {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--border);
}
.news-list-editorial .news-item-ed {
  padding: 12px 16px 12px 0;
  border-bottom: 1px solid var(--border);
  display: flex; gap: 12px; align-items: center;
  transition: background 200ms;
  min-width: 0;
  overflow: hidden;
}
.news-item-ed:hover { background: var(--bg-warm); }
.news-item-ed .num {
  font-family: var(--font-serif);
  font-size: 22px; font-weight: 700; color: var(--border);
  line-height: 1; min-width: 32px; flex-shrink: 0;
  transition: color 200ms;
}
.news-item-ed:hover .num { color: var(--primary); }
.news-item-ed .info { flex: 1; min-width: 0; }
.news-item-ed .info h4 {
  font-size: 15px; font-weight: 600; line-height: 1.3;
  margin-bottom: 4px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.news-item-ed .info h4 a:hover { color: var(--primary); }
.news-item-ed .info .meta-sm {
  font-size: 12px; color: var(--text-muted);
  display: flex; align-items: center; gap: 6px;
}
.news-item-ed .info .meta-sm .cat {
  color: var(--text-secondary); font-weight: 500;
}
.news-item-ed .thumb-sm {
  width: 80px; height: 54px; border-radius: 2px; overflow: hidden; flex-shrink: 0;
}
.news-item-ed .thumb-sm img { width: 100%; height: 100%; object-fit: cover; }

/* ============================================
   CORE BUSINESS: White cards + colored accents
   ============================================ */
.core-section {
  background: var(--bg); color: var(--text);
  padding: 48px 0; position: relative; overflow: hidden;
}
.core-section::before {
  content: ''; position: absolute; top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(196,30,58,0.04) 0%, transparent 70%);
  pointer-events: none;
}
.core-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
  margin-top: 48px; position: relative; z-index: 1;
}
.core-panel {
  padding: 40px 32px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 2px;
  position: relative; overflow: hidden;
  transition: border-color 300ms, box-shadow 300ms, transform 300ms;
}
.core-panel:hover { border-color: var(--primary); box-shadow: 0 4px 24px rgba(196,30,58,0.06); transform: translateY(-2px); }
.core-panel::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 100%; height: 3px;
  transform: scaleX(0); transition: transform 400ms var(--ease);
  transform-origin: left;
}
.core-panel:hover::before { transform: scaleX(1); }
.core-panel:nth-child(1)::before { background: var(--primary); }
.core-panel:nth-child(2)::before { background: var(--blue); }
.core-panel:nth-child(3)::before { background: var(--accent); }
.core-panel .panel-icon {
  width: 48px; height: 48px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.core-panel:nth-child(1) .panel-icon { background: var(--primary); color: #fff; }
.core-panel:nth-child(2) .panel-icon { background: var(--blue); color: #fff; }
.core-panel:nth-child(3) .panel-icon { background: var(--accent); color: #fff; }
.core-panel .panel-icon svg { width: 24px; height: 24px; }
.core-panel .panel-header { margin-bottom: 16px; }
.core-panel { text-decoration: none; color: inherit; }
.core-panel h3 {
  font-family: var(--font-serif);
  font-size: 26px; font-weight: 700; margin-bottom: 12px;
}
.core-panel .desc {
  font-size: 14px; color: var(--text-secondary);
  line-height: 1.8; margin-bottom: 24px;
}
.core-panel .stat-row {
  display: flex; gap: 20px; margin-bottom: 24px;
}
.core-panel .stat-mini {
  flex: 1; text-align: center; padding: 12px 8px;
  background: var(--bg-warm); border-radius: 4px;
}
.core-panel .stat-mini .val {
  font-family: var(--font-serif);
  font-size: 26px; font-weight: 800; line-height: 1.1;
}
.core-panel:nth-child(1) .stat-mini .val { color: var(--primary); }
.core-panel:nth-child(2) .stat-mini .val { color: var(--blue); }
.core-panel:nth-child(3) .stat-mini .val { color: var(--accent); }
.core-panel .stat-mini .lbl {
  font-size: 11px; color: var(--text-muted); margin-top: 4px;
}

/* ============================================
   COOPERATION: Asymmetric split
   ============================================ */
.coop-section {
  padding: 48px 0; background: var(--bg-warm);
}
.coop-asym {
  display: grid;
  grid-template-columns: 0.55fr 1.45fr;
  gap: 0;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.coop-side {
  background: var(--primary);
  color: #fff; padding: 40px 32px;
  display: flex; flex-direction: column; justify-content: center;
  position: relative; overflow: hidden;
}
.coop-side::after {
  content: ''; position: absolute; bottom: -60px; right: -60px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.coop-side .sec-label { color: rgba(255,255,255,0.6); }
.coop-side h3 {
  font-family: var(--font-serif);
  font-size: 28px; font-weight: 700; line-height: 1.35;
  margin-bottom: 20px;
  color: #fff;
}
.coop-side p {
  font-size: 14px; line-height: 1.9;
  color: rgba(255,255,255,0.8); margin-bottom: 12px;
}
.coop-side .btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 22px; border: 1px solid rgba(255,255,255,0.4);
  color: #fff; font-size: 14px; font-weight: 500;
  margin-top: 16px; width: fit-content;
  transition: all 200ms; border-radius: 2px;
}
.coop-side .btn-outline:hover { background: rgba(255,255,255,0.12); border-color: #fff; }
.coop-main {
  background: #fff;
  padding: 40px; display: flex; flex-direction: column;
}
.coop-main .main-illust {
  border-radius: 4px; overflow: hidden; margin-bottom: 20px;
  position: relative; cursor: pointer;
}
.coop-main .main-illust::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(193,26,37,0.15), rgba(0,70,143,0.1));
  opacity: 0; transition: opacity 300ms; pointer-events: none;
}
.coop-main .main-illust:hover::after { opacity: 1; }
.coop-main .main-illust img {
  width: 100%; aspect-ratio: 16/9; object-fit: cover;
  transition: transform 400ms cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 300ms;
}
.coop-main .main-illust:hover img { transform: scale(1.04); filter: brightness(1.05); }
.coop-main .sub-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  margin-bottom: 20px;
}
.coop-main .sub-img {
  border-radius: 4px; overflow: hidden; position: relative; cursor: pointer;
}
.coop-main .sub-img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(193,26,37,0.12), rgba(0,70,143,0.08));
  opacity: 0; transition: opacity 300ms; pointer-events: none;
}
.coop-main .sub-img:hover::after { opacity: 1; }
.coop-main .sub-img img {
  width: 100%; aspect-ratio: 16/9; object-fit: cover;
  transition: transform 400ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.coop-main .sub-img:hover img { transform: scale(1.05); }
.coop-main .partner-strip {
  display: flex; gap: 12px; flex-wrap: wrap;
  padding-top: 16px; border-top: 1px solid var(--border);
}
.partner-chip {
  display: inline-block; padding: 6px 14px; background: var(--bg-warm);
  border-radius: 3px; font-size: 12px; color: var(--text-secondary);
  border: 1px solid var(--border); text-decoration: none; cursor: pointer;
  transition: all 150ms;
}
.partner-chip:hover { border-color: var(--primary); color: var(--primary); }

/* ============================================
   ACHIEVEMENTS: Editorial mosaic grid
   ============================================ */
.achieve-section { padding: 60px 0; background: var(--bg-warm); }
.achieve-mosaic {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(80px, auto);
  gap: 16px;
}
.achieve-mosaic-item {
  position: relative; border-radius: 4px; overflow: hidden;
  cursor: pointer;
}
a.achieve-mosaic-item {
  text-decoration: none; color: inherit; display: block;
}
.achieve-mosaic-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 500ms var(--ease);
}
.achieve-mosaic-item:hover img { transform: scale(1.04); }
.achieve-mosaic-item .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 32px;
}
.achieve-mosaic-item .overlay .cat {
  font-size: 12px; font-weight: 700; color: var(--accent);
  letter-spacing: 2px; text-transform: uppercase; margin-bottom: 4px;
}
.achieve-mosaic-item .overlay h4 {
  color: #fff; font-family: var(--font-serif);
  font-size: 20px; font-weight: 700; line-height: 1.3;
}
.mosaic-1 { grid-column: 1 / 8; grid-row: 1 / 3; }
.mosaic-2 { grid-column: 8 / 13; grid-row: 1 / 2; }
.mosaic-3 { grid-column: 8 / 13; grid-row: 2 / 3; }
.mosaic-4 { grid-column: 1 / 5; grid-row: 3 / 4; }
.mosaic-5 { grid-column: 5 / 13; grid-row: 3 / 5; }
.mosaic-6 { grid-column: 1 / 5; grid-row: 4 / 5; }

/* ============================================
   STATS: Horizontal ticker
   ============================================ */
.stats-section {
  padding: 40px 0;
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-row {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 0;
}
.stat-item {
  text-align: center; padding: 24px 16px;
  position: relative;
}
.stat-item::after {
  content: ''; position: absolute; right: 0; top: 20%; bottom: 20%;
  width: 1px; background: var(--border);
}
.stat-item:last-child::after { display: none; }
.stat-item .num {
  font-family: var(--font-serif);
  font-size: 42px; font-weight: 900; color: var(--primary);
  line-height: 1; margin-bottom: 6px;
}
.stat-item .num span { font-size: 16px; font-weight: 600; color: var(--text-muted); }
.stat-item .lbl {
  font-size: 13px; color: var(--text-muted);
  letter-spacing: 1px;
}

/* ============================================
   INTERACTIVE: Icon row
   ============================================ */
.interact-section { padding: 48px 0; background: var(--bg); }
.interact-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.interact-item {
  padding: 40px 24px; text-align: center;
  background: #fff; border-radius: 4px;
  border: 1px solid var(--border);
  transition: transform 300ms, box-shadow 300ms, color 200ms;
}
.interact-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.interact-item svg {
  width: 32px; height: 32px; stroke-width: 1.5;
  margin-bottom: 16px; transition: color 200ms;
}
.interact-item:nth-child(1) svg { color: var(--primary); }
.interact-item:nth-child(2) svg { color: var(--green); }
.interact-item:nth-child(3) svg { color: var(--blue); }
.interact-item:nth-child(4) svg { color: var(--accent); }
.interact-item h4 {
  font-size: 16px; font-weight: 600; margin-bottom: 8px;
}
.interact-item p {
  font-size: 13px; color: var(--text-muted); line-height: 1.6;
}
.interact-item:hover h4 { color: var(--primary); }

/* ============================================
   FOOTER: Red gradient
   ============================================ */
.footer {
  background: linear-gradient(180deg, var(--primary-dark) 0%, #5C0E1C 100%);
  color: rgba(255,255,255,0.65);
  font-size: 14px;
}
.footer-main {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr;
  gap: 32px; padding: 20px 0 16px;
}
.footer-brand p { font-size: 12px; line-height: 1.7; color: rgba(255,255,255,0.55); }
.footer-qr-row { display: flex; gap: 12px; margin-top: 10px; }
.footer-qr-item { text-align: center; }
.footer-qr-item .qr-img {
  width: 80px; height: 80px; border-radius: 6px;
  background: rgba(255,255,255,0.08); margin-bottom: 4px;
  display: block; object-fit: cover;
}
.footer-qr-item p { font-size: 10px; color: rgba(255,255,255,0.4); margin-top: 2px; }
.footer-col h5 { color: #fff; font-size: 14px; font-weight: 600; margin-bottom: 12px; }
.footer-col ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.footer-col ul li { margin-bottom: 4px; }
.footer-col ul li a { font-size: 12px; color: rgba(255,255,255,0.5); transition: color 150ms; }
.footer-col ul li a:hover { color: #fff; }
.footer-bottom-bar {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 12px 0; display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 8px;
}
.footer-friends-inline { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.footer-friends-inline span { font-size: 12px; color: rgba(255,255,255,0.3); }
.footer-friends-inline a { font-size: 12px; color: rgba(255,255,255,0.45); transition: color 150ms; }
.footer-friends-inline a:hover { color: #fff; }
.footer-friends-inline a + a::before { content: '|'; margin: 0 6px; color: rgba(255,255,255,0.12); }
.footer-icp { font-size: 12px; color: rgba(255,255,255,0.3); }
.footer-icp a { color: rgba(255,255,255,0.4); }
.footer-icp a:hover { color: #fff; }

/* ============================================
   PAGE HERO SM (compact for sub-pages)
   ============================================ */
.page-hero-sm {
  position: relative; min-height: 180px;
  display: flex; align-items: center; justify-content: center;
  padding-top: calc(var(--header-height) + 3px + 20px);
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--blue-dark) 100%);
  overflow: hidden; text-align: center;
}
.page-hero-sm::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.05) 100%);
}
.page-hero-sm h1 {
  position: relative; z-index: 2; color: #fff;
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.5vw, 38px);
  font-weight: 700; text-shadow: 0 2px 16px rgba(0,0,0,0.3);
}

/* ============================================
   SEARCH PAGE
   ============================================ */
.search-section { padding: 48px 0; background: var(--bg); }
.search-form { margin-bottom: 32px; }
.search-input-wrap {
  display: flex; gap: 0; max-width: 600px; margin: 0 auto;
}
.search-input {
  flex: 1; padding: 12px 16px; border: 1px solid var(--border);
  border-right: none; border-radius: 4px 0 0 4px;
  font-size: 15px; background: #fff;
}
.search-input:focus { border-color: var(--primary); }
.search-btn {
  padding: 12px 28px; background: var(--primary); color: #fff;
  border: 1px solid var(--primary); border-radius: 0 4px 4px 0;
  font-size: 15px; font-weight: 500; cursor: pointer;
  transition: background 200ms;
}
.search-btn:hover { background: var(--primary-dark); }
.search-result-count {
  font-size: 14px; color: var(--text-muted); margin-bottom: 24px;
}
.search-result-count strong { color: var(--primary); font-size: 18px; }
.search-results { border-top: 1px solid var(--border); }
.search-result-item {
  padding: 24px 0; border-bottom: 1px solid var(--border);
  transition: background 200ms;
}
.search-result-item:hover { background: var(--gray-50); padding-left: 8px; }
.search-result-item h3 {
  font-size: 17px; font-weight: 600; margin-bottom: 8px; line-height: 1.4;
}
.search-result-item h3 a:hover { color: var(--primary); }
.search-result-item .summary {
  font-size: 14px; color: var(--text-secondary); line-height: 1.7;
  margin-bottom: 10px;
}
.search-result-item .meta {
  font-size: 12px; color: var(--text-muted);
  display: flex; align-items: center; gap: 12px;
}
.search-result-item .meta .channel a { color: var(--text-secondary); }
.search-result-item .meta .channel a:hover { color: var(--primary); }
.search-empty {
  text-align: center; padding: 60px 0; color: var(--text-muted);
  font-size: 15px;
}

/* ============================================
   MESSAGE BOARD PAGE
   ============================================ */
.message-section { padding: 48px 0; background: var(--bg); }
.message-wrap { max-width: 800px; margin: 0 auto; }
.message-form-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: 4px; padding: 36px; margin-bottom: 40px;
}
.message-form-card h2 {
  font-family: var(--font-serif); font-size: 22px;
  margin-bottom: 24px; padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.msg-form .form-row { margin-bottom: 20px; }
.msg-form label {
  display: block; font-size: 14px; font-weight: 500;
  margin-bottom: 6px; color: var(--text-secondary);
}
.msg-form .req { color: var(--primary); }
.msg-form input, .msg-form textarea {
  width: 100%; padding: 10px 14px; border: 1px solid var(--border);
  border-radius: 4px; font-size: 14px; background: var(--gray-50);
  transition: border-color 200ms;
}
.msg-form input:focus, .msg-form textarea:focus {
  border-color: var(--primary); outline: none; background: #fff;
}
.msg-form textarea { resize: vertical; line-height: 1.7; }
.msg-submit {
  padding: 12px 32px; background: var(--primary); color: #fff;
  border: none; border-radius: 4px; font-size: 15px; font-weight: 500;
  cursor: pointer; transition: background 200ms;
}
.msg-submit:hover { background: var(--primary-dark); }
.msg-success {
  padding: 12px 16px; margin-bottom: 20px; border-radius: 4px;
  background: #e8f5e9; color: #2e7d32; font-size: 14px;
  border: 1px solid #c8e6c9;
}
.message-list { margin-top: 40px; }
.message-list-title {
  font-family: var(--font-serif); font-size: 22px;
  margin-bottom: 24px; padding-bottom: 12px;
  border-bottom: 2px solid var(--primary);
}
.msg-item {
  padding: 24px 0; border-bottom: 1px solid var(--border);
}
.msg-item:first-child { padding-top: 0; }
.msg-item-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px; flex-wrap: wrap; gap: 8px;
}
.msg-item-info { display: flex; align-items: center; gap: 12px; }
.msg-author { font-size: 14px; font-weight: 600; color: var(--text); }
.msg-date { font-size: 12px; color: var(--text-muted); }
.msg-title {
  font-size: 14px; font-weight: 500; color: var(--text);
  background: var(--gray-100); padding: 2px 10px; border-radius: 3px;
}
.msg-content {
  font-size: 14px; line-height: 1.8; color: var(--text-secondary);
  margin-bottom: 12px;
}
.msg-reply {
  background: linear-gradient(135deg, var(--gray-50), var(--gray-100));
  padding: 14px 18px; border-radius: 6px;
  border-left: 3px solid var(--primary);
}
.reply-header { margin-bottom: 8px; }
.reply-badge {
  display: inline-block; font-size: 12px; color: var(--primary);
  font-weight: 600; background: rgba(178, 34, 37, 0.08);
  padding: 2px 10px; border-radius: 3px;
}
.reply-content { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }

/* Message List Pagination */
.message-pagination {
  display: flex; justify-content: center; align-items: center;
  gap: 8px; margin-top: 32px; padding-top: 24px;
}
.msg-page-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 36px; height: 36px; padding: 0 12px;
  font-size: 14px; border-radius: 4px; text-decoration: none;
  color: var(--text-secondary); background: #fff;
  border: 1px solid var(--border); transition: all 0.2s;
}
.msg-page-btn:hover { color: var(--primary); border-color: var(--primary); }
.msg-page-btn.active {
  background: var(--primary); color: #fff; border-color: var(--primary);
  font-weight: 600; cursor: default;
}

/* ============================================
   PAGE HERO (for channel/article pages)
   ============================================ */
.page-hero {
  position: relative; min-height: 35vh;
  display: flex; align-items: flex-end; justify-content: center;
  padding-top: calc(var(--header-height) + 3px + 20px);
  padding-bottom: 60px;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--blue) 100%);
  overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.1) 100%);
}
.page-hero-content {
  position: relative; z-index: 2; text-align: center; color: #fff;
}
.page-hero-content h1 {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700; color: #fff; margin-bottom: 8px;
  text-shadow: 0 2px 16px rgba(0,0,0,0.3);
}
.page-hero-content p {
  font-size: 16px; color: rgba(255,255,255,0.8);
  text-shadow: 0 1px 8px rgba(0,0,0,0.2);
}

/* Breadcrumb */
.page-breadcrumb {
  padding-top: calc(var(--header-height) + 3px + 16px);
  padding-bottom: 16px;
  background: var(--bg-warm);
  border-bottom: 1px solid var(--border);
  font-size: 13px; color: var(--text-muted);
}
.page-breadcrumb a { color: var(--text-secondary); transition: color 150ms; }
.page-breadcrumb a:hover { color: var(--primary); }
.page-breadcrumb .sep { margin: 0 6px; }
.page-breadcrumb .current { color: var(--text); font-weight: 500; }

/* ============================================
   CHANNEL / LIST PAGE
   ============================================ */
.channel-section { padding: 60px 0; background: var(--bg); }
.channel-wrap {
  display: grid; grid-template-columns: 1fr 300px; gap: 48px;
}

/* Article list: editorial numbered */
.channel-article-list {
  border-top: 1px solid var(--border);
}
.channel-article-item {
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  display: flex; gap: 20px; align-items: center;
  transition: background 200ms;
}
.channel-article-item:hover { background: var(--gray-50); padding-left: 8px; }
.channel-article-item .cai-num {
  font-family: var(--font-serif);
  font-size: 28px; font-weight: 700; color: var(--border);
  line-height: 1; min-width: 36px; flex-shrink: 0;
  transition: color 200ms;
}
.channel-article-item:hover .cai-num { color: var(--primary); }
.channel-article-item .cai-info { flex: 1; min-width: 0; }
.channel-article-item .cai-info h3 {
  font-size: 16px; font-weight: 600; line-height: 1.4;
  margin-bottom: 8px;
}
.channel-article-item .cai-info h3 a:hover { color: var(--primary); }
.channel-article-item .cai-info .cai-summary {
  font-size: 13px; color: var(--text-muted); line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
  margin-bottom: 8px;
}
.channel-article-item .cai-meta {
  font-size: 12px; color: var(--text-muted);
  display: flex; align-items: center; gap: 12px;
}

/* Pagination */
.pagination {
  display: flex; align-items: center; justify-content: center;
  gap: 4px; margin-top: 40px;
}
.pagination a, .pagination span {
  min-width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; border-radius: 4px;
  border: 1px solid var(--border);
  transition: all 150ms;
}
.pagination a:hover { border-color: var(--primary); color: var(--primary); }
.pagination span.active {
  background: var(--primary); color: #fff; border-color: var(--primary);
}

/* Sidebar */
.sidebar {
  position: sticky; top: 100px;
}
.sidebar-title {
  font-size: 16px; font-weight: 700;
  padding: 12px 16px;
  background: var(--primary); color: #fff;
  border-radius: 4px 4px 0 0;
  margin-bottom: 0;
}
.sidebar-link {
  display: block; padding: 12px 16px;
  font-size: 14px; color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
  background: #fff;
  transition: all 150ms;
}
.sidebar-link:hover { color: var(--primary); padding-left: 20px; }
.sidebar-link.active { color: var(--primary); font-weight: 600; background: var(--red-soft); }
.sidebar-hot { margin-top: 24px; }
.sidebar-hot .sidebar-title { background: var(--blue); }
.sidebar-hot-item {
  display: block; padding: 10px 16px;
  font-size: 13px; color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
  background: #fff;
  transition: all 150ms;
}
.sidebar-hot-item:hover { color: var(--primary); padding-left: 20px; }

/* ============================================
   ARTICLE DETAIL PAGE
   ============================================ */
.article-section { padding: 60px 0; background: var(--bg); }
.article-detail-wrap {
  display: grid; grid-template-columns: 1fr 300px; gap: 48px;
}
.article-detail {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 48px;
}
.article-header {
  border-bottom: 1px solid var(--border);
  padding-bottom: 24px; margin-bottom: 32px;
}
.article-title {
  font-family: var(--font-serif);
  font-size: 28px; font-weight: 700;
  line-height: 1.4; margin-bottom: 16px;
}
.article-meta {
  font-size: 13px; color: var(--text-muted);
  display: flex; align-items: center; gap: 16px;
  flex-wrap: wrap;
}
.article-content {
  font-size: 16px; line-height: 2;
  color: var(--text-secondary);
}
.article-content p { margin-bottom: 16px; text-indent: 2em; }
.article-content h1, .article-content h2, .article-content h3 {
  text-indent: 0; margin: 32px 0 16px;
  font-family: var(--font-serif);
}
.article-content img {
  max-width: 100%; margin: 24px auto;
  border-radius: 4px;
}
.article-content ul, .article-content ol {
  margin: 16px 0; padding-left: 2em;
}
.article-content blockquote {
  border-left: 3px solid var(--primary);
  padding: 16px 24px; margin: 24px 0;
  background: var(--gray-50);
  color: var(--text-secondary);
}
.article-content table {
  width: 100%; border-collapse: collapse;
  margin: 24px 0;
}
.article-content table th, .article-content table td {
  border: 1px solid var(--border);
  padding: 8px 12px;
}

/* Tags */
.article-tags {
  margin-top: 32px; padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.tags-label { font-size: 13px; color: var(--text-muted); }
.tag-item {
  padding: 4px 12px; border: 1px solid var(--border);
  border-radius: 20px; font-size: 12px;
  color: var(--text-secondary);
  transition: all 150ms;
}
.tag-item:hover { border-color: var(--primary); color: var(--primary); }

/* Prev/Next nav */
.article-nav {
  margin-top: 32px; padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 12px;
}
.article-nav-prev, .article-nav-next {
  font-size: 14px; color: var(--text-secondary);
  padding: 12px 16px; border: 1px solid var(--border);
  border-radius: 4px; transition: all 150ms;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.article-nav-prev:hover, .article-nav-next:hover {
  border-color: var(--primary); color: var(--primary);
}

/* ============================================
   LEADER GRID
   ============================================ */
.leader-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
}
.leader-card {
  text-align: center; padding: 32px 24px;
  background: #fff; border: 1px solid var(--border);
  border-radius: 4px;
  transition: all 300ms;
}
.leader-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.leader-photo {
  width: 120px; height: 150px; margin: 0 auto 16px;
  border-radius: 4px; overflow: hidden;
  background: var(--gray-100);
}
.leader-photo img { width: 100%; height: 100%; object-fit: cover; }
.leader-name {
  font-family: var(--font-serif);
  font-size: 20px; font-weight: 700; margin-bottom: 8px;
}
.leader-name a:hover { color: var(--primary); }
.leader-title {
  font-size: 13px; color: var(--text-muted); line-height: 1.6;
}

/* ============================================
   SINGLE PAGE
   ============================================ */
.single-page-section { padding: 60px 0; background: var(--bg); }
.single-page-wrap {
  display: grid; grid-template-columns: 1fr 300px; gap: 48px;
}
.single-page-body-wrap {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 48px;
}
.single-page-empty {
  text-align: center; padding: 60px 0;
  color: var(--text-muted); font-size: 15px;
}

/* ============================================
   GALLERY CHANNEL
   ============================================ */
.main-content-full {
  grid-column: 1 / -1;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.gallery-card {
  display: block;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  transition: all 300ms;
  text-decoration: none;
  color: inherit;
}
.gallery-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.gallery-card-img {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--gray-100);
}
.gallery-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms;
}
.gallery-card:hover .gallery-card-img img {
  transform: scale(1.05);
}
.gallery-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 300ms;
}
.gallery-card:hover .gallery-card-overlay {
  background: rgba(0, 0, 0, 0.3);
}
.gallery-zoom-icon {
  width: 32px;
  height: 32px;
  color: #fff;
  opacity: 0;
  transform: scale(0.8);
  transition: all 300ms;
}
.gallery-card:hover .gallery-zoom-icon {
  opacity: 1;
  transform: scale(1);
}
.gallery-card-info {
  padding: 16px;
}
.gallery-card-info h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.gallery-card-info p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 8px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.gallery-card-date {
  font-size: 12px;
  color: var(--text-secondary);
}

/* ============================================
   IMAGE DETAIL
   ============================================ */
.image-detail-section {
  padding: 0 0 60px;
}
.image-detail-wrap {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
}
.image-detail-main {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}
.image-detail-hero {
  width: 100%;
  background: var(--gray-100);
}
.image-detail-hero-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}
.image-detail-info {
  padding: 32px 40px;
}
.image-detail-title {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 16px;
  color: var(--text);
}
.image-detail-meta {
  font-size: 13px;
  color: var(--text-secondary);
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.image-detail-summary {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  padding: 16px 20px;
  margin-bottom: 24px;
  background: var(--gray-50);
  border-left: 3px solid var(--primary);
  border-radius: 0 4px 4px 0;
}
.image-detail-content {
  font-size: 16px;
  line-height: 1.9;
  color: var(--text);
}
.image-detail-content img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  margin: 16px 0;
}
.image-detail-content p {
  margin-bottom: 16px;
}

/* Image gallery within detail */
.image-detail-gallery {
  margin: 32px 0;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.gallery-sub-heading {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text);
}
.image-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.image-gallery-item {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 4px;
  background: var(--gray-100);
  cursor: pointer;
}
.image-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms;
}
.image-gallery-item:hover img {
  transform: scale(1.05);
}

.back-to-gallery {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.btn-back {
  display: inline-block;
  padding: 10px 24px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 14px;
  color: var(--text-secondary);
  transition: all 150ms;
}
.btn-back:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* ============================================
   DEPARTMENT NAVIGATION
   ============================================ */
.dept-nav-section {
  padding: 80px 0;
  background: #fff;
}
.dept-nav-header {
  text-align: center;
  margin-bottom: 56px;
}
.dept-nav-label {
  font-size: 13px;
  letter-spacing: 4px;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.dept-nav-title {
  font-family: var(--font-serif);
  font-size: 34px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
}
.dept-nav-divider {
  width: 48px; height: 3px;
  background: var(--primary);
  margin: 0 auto;
}
.dept-group {
  margin-bottom: 48px;
}
.dept-group:last-child {
  margin-bottom: 0;
}
.dept-group-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}
.dept-group-name {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  flex-shrink: 0;
}
.dept-group-line {
  flex: 1; height: 1px;
  background: var(--border);
}
.dept-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.dept-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px 12px;
  background: var(--bg);
  border: 1px solid transparent;
  border-radius: 6px;
  text-decoration: none;
  color: inherit;
  transition: all 300ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.dept-card:hover {
  background: #fff;
  border-color: var(--border);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.dept-card.admin:hover {
  border-color: rgba(0,70,143,0.2);
}
.dept-card-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
  line-height: 1.4;
  transition: color 200ms;
  word-break: break-word;
}
.dept-card:hover .dept-card-name {
  color: var(--primary);
}
.dept-card-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1200px) {
  .explore-grid { grid-template-columns: repeat(3, 1fr); }
  .explore-card:nth-child(4), .explore-card:nth-child(5) {
    grid-column: span 1;
  }
  .explore-card:nth-child(5) { grid-column: 2 / 3; }
  .core-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-row { grid-template-columns: repeat(3, 1fr); }
  .channel-wrap, .article-detail-wrap, .single-page-wrap, .image-detail-wrap {
    grid-template-columns: 1fr;
  }
  .sidebar { position: static; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .dept-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .news-featured-wrap { grid-template-columns: 1fr; gap: 24px; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; padding: 16px;
    box-shadow: var(--shadow-lg);
  }
  .nav-links.open .nav-item { flex: none; text-align: left; border-bottom: 1px solid var(--border); }
  .nav-links.open .nav-item > a { color: var(--text); text-shadow: none; font-size: 15px; padding: 12px 8px; }
  .menu-toggle { display: flex; align-items: center; justify-content: center; }
  .coop-asym { grid-template-columns: 1fr; }
  .coop-side { padding: 32px; }
  .explore-grid { grid-template-columns: repeat(2, 1fr); }
  .interact-row { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .achieve-mosaic { grid-template-columns: 1fr 1fr; }
  .mosaic-1, .mosaic-2, .mosaic-3, .mosaic-4, .mosaic-5, .mosaic-6 {
    grid-column: auto; grid-row: auto;
  }
  .news-featured-wrap { grid-template-columns: 1fr; height: auto; }
  .featured-carousel { aspect-ratio: 16/9; height: auto; width: 100%; }
  .featured-sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; height: auto; overflow: visible; }
  .leader-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .explore-grid { grid-template-columns: 1fr 1fr; }
  .core-grid { grid-template-columns: 1fr; }
  .news-list-editorial { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .interact-row { grid-template-columns: 1fr; gap: 12px; }
  .footer-main { grid-template-columns: 1fr; }
  .article-detail { padding: 24px; }
  .leader-grid { grid-template-columns: 1fr; }
  .featured-sidebar { grid-template-columns: 1fr; }
  .slide-text { left: 5%; max-width: 85%; bottom: 10%; }
  .slide-text h2 { font-size: 28px; letter-spacing: 3px; }
  .slide-text p { font-size: 15px; }
  .gallery-grid { grid-template-columns: 1fr; gap: 16px; }
  .image-gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .image-detail-info { padding: 24px; }
  .image-detail-title { font-size: 22px; }
  .dept-grid { grid-template-columns: repeat(3, 1fr); }
  .dept-nav-section { padding: 60px 0; }
}
@media (max-width: 480px) {
  .slide-text h2 { font-size: 22px; letter-spacing: 2px; }
  .slide-text p { font-size: 13px; letter-spacing: 2px; }
  .nav-left { gap: 0; }
  .nav-item > a, a.nav-item { font-size: 14px; letter-spacing: 1px; }
  .nav-search { display: none; }
  .core-panel { padding: 24px; }
  .article-detail { padding: 16px; }
  .article-title { font-size: 22px; }
  .dept-grid { grid-template-columns: repeat(2, 1fr); }
  .dept-card { padding: 16px 8px; }
  .dept-card-name { font-size: 13px; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .dept-card-desc { font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .dept-nav-section { padding: 48px 0; }
}

/* ============================================
   MOBILE COMPREHENSIVE REFINEMENT (<=768px)
   ============================================ */
@media (max-width: 768px) {
  /* 1. Header: 去掉磨砂玻璃，纯白实底让 logo 清晰显示 */
  html, body { overflow-x: hidden !important; }
  .container { width: 100% !important; max-width: none !important; padding: 0 16px; box-sizing: border-box !important; }
  .header-wrap { left: 0; right: 0; width: 100% !important; }
  .header-wrap::before {
    background: #fff !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-bottom: 1px solid var(--gray-200) !important;
  }
  .nav-logo img { height: 36px; }

  /* 菜单按钮：白底 header 上需要深色 */
  .menu-toggle { color: var(--text) !important; }

  /* 1b. Banner: 宽度等宽，高度按图片 4:3 比例等比缩小 */
  .hero-banner {
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 4 / 3;
    margin-top: calc(var(--header-height) + 3px);
  }
  .hero-slides { position: relative; }

  /* 1c. 快速探索卡片：取消负边距，不遮挡 banner */
  .quick-explore { margin-top: 0 !important; overflow: hidden; }

  /* 2. 快速探索卡片：移动端改为垂直列表 */
  .explore-grid { grid-template-columns: 1fr !important; gap: 10px; }
  .explore-card {
    padding: 16px 20px;
    min-height: auto;
    flex-direction: row;
    justify-content: flex-start;
    text-align: left;
    gap: 12px;
    grid-column: auto !important;
    grid-row: auto !important;
  }
  .explore-card h3 { margin-bottom: 0; font-size: 15px; white-space: normal; }
  .explore-card p { font-size: 12px; }
  .explore-card .card-num { display: none; }
  .explore-card:hover .card-num { color: var(--primary); }
  .explore-card::before {
    width: 3px; height: 100%; top: 0; left: 0;
    transform: scaleY(0); transform-origin: top;
  }
  .explore-card:hover::before { transform: scaleY(1); }

  /* 3. 新闻动态：标题和标签竖向排列，标签横向滚动不换行 */
  .sec-header {
    flex-direction: column; align-items: flex-start;
    gap: 8px; padding-bottom: 12px;
  }
  .sec-header .news-tabs {
    overflow-x: auto; -webkit-overflow-scrolling: touch;
    gap: 0; width: 100%; padding-bottom: 4px;
  }
  .news-tabs { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .news-tab, .news-tab-link {
    padding: 6px 12px; font-size: 12px; white-space: nowrap; flex-shrink: 0;
  }
  .news-tab.active::after, .news-tab-link::after { bottom: -13px; }

  /* 4. 新闻轮播底部叠加加深，文字更清晰 */
  .featured-slide .overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 40%, transparent 70%);
  }
  .featured-slide .overlay h3 { font-size: 16px; }
  .featured-slide .overlay .badge { font-size: 10px; padding: 2px 8px; }

  /* 5. 新闻区域统一样式 — 01-11 看起来像同一个列表 */
  .news-featured-wrap { display: block !important; grid-template-columns: none !important; gap: 0 !important; margin-bottom: 0 !important; }
  .featured-carousel { aspect-ratio: 16/9; height: auto; overflow: hidden; width: 100% !important; }
  .featured-carousel img { width: 100%; height: 100%; object-fit: cover; }
  .featured-sidebar {
    display: flex; flex-direction: column; height: auto;
    border-top: none; margin-top: 0;
  }
  /* 01-05 与 06-11 统一样式 */
  .featured-sidebar .fs-item {
    padding: 12px 0; gap: 12px; align-items: center;
    border-bottom: 1px solid var(--border);
    min-height: auto;
    flex: none !important;
    overflow: hidden;
  }
  .featured-sidebar .fs-item .fs-num {
    font-family: var(--font-serif);
    font-size: 18px; font-weight: 700; color: var(--border);
    line-height: 1; min-width: 28px; flex-shrink: 0;
  }
  .featured-sidebar .fs-item .fs-info {
    flex: 1; min-width: 0;
  }
  .featured-sidebar .fs-item .fs-info h4 {
    font-size: 14px; font-weight: 600; line-height: 1.3;
    margin-bottom: 4px;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  }
  .featured-sidebar .fs-item .fs-info .fs-meta {
    font-size: 12px; color: var(--text-muted);
    display: flex; align-items: center; gap: 6px;
  }
  .featured-sidebar .fs-item .fs-info .fs-meta .cat {
    color: var(--text-secondary); font-weight: 500;
  }
  .featured-sidebar .fs-item .thumb-sm {
    width: 70px; height: 48px; border-radius: 2px;
    overflow: hidden; flex-shrink: 0;
  }
  .featured-sidebar .fs-item .thumb-sm img { width: 100%; height: 100%; object-fit: cover; }
  /* 05 底部横线，与 06 之间无缝连接 */
  .featured-sidebar .fs-item:last-child { border-bottom: 1px solid var(--border); }

  /* 6. 核心业务：图标和标题同行，减小间距 */
  .core-section { padding: 32px 0; }
  .core-grid { gap: 12px; margin-top: 24px; }
  .core-panel { padding: 16px; }
  .core-panel .panel-icon {
    width: 40px; height: 40px; margin-bottom: 0; margin-right: 12px; flex-shrink: 0;
  }
  .core-panel .panel-icon svg { width: 20px; height: 20px; }
  .core-panel .panel-header { display: flex; align-items: center; }
  .core-panel h3 { font-size: 18px; margin-bottom: 8px; }
  .core-panel .desc { font-size: 13px; margin-bottom: 12px; line-height: 1.6; }

  /* 7. 匠心成果：移动端单列，图片比例统一 */
  .achieve-section { padding: 32px 0; }
  .achieve-mosaic { grid-template-columns: 1fr; gap: 10px; }
  .achieve-mosaic-item { aspect-ratio: 16/9; }
  .achieve-mosaic-item .overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.2) 50%, transparent 80%);
    padding: 16px;
  }
  .achieve-mosaic-item .overlay h4 { font-size: 16px; }
  .achieve-mosaic-item .overlay .cat { font-size: 11px; }

  /* 校企合作：移动端单列 */
  .coop-asym { grid-template-columns: 1fr; }
  .coop-side { padding: 24px; }
  .coop-side h3 { font-size: 22px; }
  .coop-side p { font-size: 13px; }
  .coop-main { padding: 20px; }
  .coop-main .sub-row { grid-template-columns: 1fr 1fr; }

  /* 统计数据：移动端 2 列 */
  .stats-section { padding: 24px 0; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .stat-item { padding: 16px 12px; }
  .stat-item .num { font-size: 32px; }
  .stat-item .lbl { font-size: 12px; }

  /* 院系导航：移动端紧凑化 */
  .dept-nav-section { padding: 32px 0; }
  .dept-nav-title { font-size: 24px; }
  .dept-group { margin-bottom: 24px; }
  .dept-group-header { margin-bottom: 16px; }
  .dept-group-name { font-size: 18px; }
  .dept-grid { gap: 8px; }

  /* 互动服务：移动端 2 列 */
  .interact-section { padding: 32px 0; }
  .interact-row { grid-template-columns: 1fr 1fr; gap: 10px; }
  .interact-item { padding: 20px 12px; }
  .interact-item svg { width: 28px; height: 28px; margin-bottom: 12px; }
  .interact-item h4 { font-size: 14px; margin-bottom: 4px; }
  .interact-item p { font-size: 12px; line-height: 1.4; }

  /* 通用：移动端 section 标题 */
  .sec-heading { font-size: 24px; margin-bottom: 8px; }
  .sec-label { font-size: 10px; letter-spacing: 2px; }

  /* Footer QR 调整 */
  .footer-qr-item .qr-img { width: 64px; height: 64px; }

  /* News list 06-11 移动端优化 — 与 01-05 统一 */
  .news-list-editorial { gap: 0; border-top: none; }
  .news-item-ed .num { font-size: 18px; min-width: 28px; }
  .news-item-ed .info h4 { font-size: 14px; }
  .news-item-ed .thumb-sm { width: 70px; height: 48px; }

  /* Leader grid */
  .leader-grid { grid-template-columns: 1fr; gap: 16px; }
  .leader-card { padding: 20px 16px; }

  /* Page hero for sub-pages */
  .page-hero-sm { min-height: 120px; }
  .page-hero-sm h1 { font-size: 22px; }

  /* Footer 底部备案信息两行显示 */
  .footer-bottom-bar { flex-direction: column; gap: 6px; text-align: center; }
  .footer-icp { white-space: normal; font-size: 12px; }
  .footer-copyright { font-size: 12px; color: rgba(255,255,255,0.3); }

  /* 容器内边距 */
  .container { padding: 0 16px; }

  /* Article detail */
  .article-section { padding: 32px 0; }
  .article-detail { padding: 20px; }
  .article-title { font-size: 20px; }
  .article-content { font-size: 15px; line-height: 1.8; }
  .article-content p { text-indent: 2em; margin-bottom: 12px; }

  /* Single page */
  .single-page-section { padding: 32px 0; }
  .single-page-body-wrap { padding: 24px; }

  /* Channel article list */
  .channel-section { padding: 32px 0; }
  .channel-article-item { padding: 16px 0; }
  .channel-article-item .cai-num { font-size: 22px; min-width: 28px; }
  .channel-article-item .cai-info h3 { font-size: 15px; }

  /* Sidebar */
  .sidebar { position: static; margin-bottom: 24px; }

  /* ===== Mobile overflow protection for all sub-pages ===== */
  /* Grid layouts: force single column, width constrained */
  .channel-wrap, .article-detail-wrap, .single-page-wrap, .image-detail-wrap {
    display: block !important;
    grid-template-columns: none !important;
    gap: 0 !important;
  }
  /* Main content areas: constrain width */
  .main-content, .article-detail, .single-page-body, .image-detail-info {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  /* Article content: prevent images/tables from overflowing */
  .article-content img,
  .article-content table,
  .article-content pre,
  .article-content video {
    max-width: 100% !important;
    height: auto !important;
  }
  .article-content {
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    word-break: break-all !important;
  }
  /* Page hero: constrain width */
  .page-hero { width: 100% !important; box-sizing: border-box !important; }
  .page-hero-content { width: 100% !important; padding: 0 16px !important; box-sizing: border-box !important; }
  .page-hero-content h1 { font-size: 22px !important; }
  .page-hero-content p { font-size: 14px !important; }
  /* Breadcrumb: allow wrapping */
  .page-breadcrumb { width: 100% !important; box-sizing: border-box !important; }
  .page-breadcrumb .container { display: flex; flex-wrap: wrap; align-items: center; gap: 2px; }
  /* Channel section */
  .channel-section { width: 100% !important; }
  /* Article section */
  .article-section { width: 100% !important; }
  /* Article nav: prev/next links */
  .article-nav { display: flex; flex-direction: column; gap: 8px; }
  .article-nav a { font-size: 14px !important; white-space: normal !important; word-break: break-all !important; }
  /* Article tags */
  .article-tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
  .article-tags .tag-item { font-size: 12px !important; padding: 4px 10px !important; }
  /* Message list mobile */
  .msg-item-header { flex-direction: column; align-items: flex-start !important; }
  .message-list-title { font-size: 18px !important; }
  .msg-page-btn { min-width: 32px !important; height: 32px !important; padding: 0 8px !important; font-size: 13px !important; }
  .message-pagination { flex-wrap: wrap !important; }
}
