@charset "utf-8";

:root {
  --brand: #9B1D2C;
  --brand-dark: #7A1420;
  --brand-bright: #B4100A;
  --brand-soft: #FBF4F5;
  --accent: #D49B27;
  --sidebar-bg: #F2EFEF;
  --bg-page: #FFFFFF;
  --bg-band: #F8F7F7;
  --border: #E5E1E1;
  --text-main: #2A2626;
  --text-muted: #666060;
  --text-light: #948E8E;
  --container-width: 1200px;
  --shadow-sm: 0 2px 10px rgba(45, 16, 20, 0.06);
  --shadow-md: 0 8px 24px rgba(45, 16, 20, 0.10);
  --font-sans: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", Georgia, serif;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-main);
  background: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

img {
  max-width: 100%;
  border: 0;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.wrap {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 16px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

/* ==================== 1. 顶部品牌横幅（对标 wqgroup .head + 川大红主题） ==================== */
.site-header {
  background: linear-gradient(120deg, var(--brand-dark) 0%, var(--brand) 52%, #AD2232 100%);
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.site-header::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 82% 35%, rgba(255, 255, 255, 0.08) 0, rgba(255, 255, 255, 0.08) 120px, transparent 121px),
    radial-gradient(circle at 90% 80%, rgba(212, 155, 39, 0.12) 0, rgba(212, 155, 39, 0.12) 90px, transparent 91px),
    linear-gradient(135deg, transparent 48%, rgba(255, 255, 255, 0.03) 49%, rgba(255, 255, 255, 0.03) 51%, transparent 52%);
  background-size: auto, auto, 42px 42px;
  pointer-events: none;
}

.header-inner {
  position: relative;
  z-index: 2;
  min-height: 118px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.header-scu-logo {
  height: 54px;
  width: auto;
  display: block;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.header-divider {
  width: 1px;
  height: 46px;
  background: rgba(255, 255, 255, 0.35);
  flex-shrink: 0;
}

.header-title-group {
  min-width: 0;
}

.header-title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 1.2;
  color: #FFFFFF;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.22);
}

.header-subtitle {
  margin: 6px 0 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.86);
  letter-spacing: 0.4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.header-image-mode {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.header-image-mode img {
  height: 76px;
  width: auto;
  object-fit: contain;
}

.header-utility {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  flex-shrink: 0;
}

.header-top-links {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
}

.header-top-links a:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

.header-top-links .sep {
  opacity: 0.45;
}

.header-search {
  display: flex;
  align-items: center;
  width: 276px;
  height: 36px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 25px;
  padding: 0 6px 0 16px;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.header-search:focus-within {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.65);
}

.header-search input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 0;
  outline: none;
  color: #FFFFFF;
  font-size: 13px;
  font-family: var(--font-sans);
}

.header-search input::placeholder {
  color: rgba(255, 255, 255, 0.72);
}

.header-search button {
  width: 32px;
  height: 26px;
  border: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.28);
  background: transparent;
  color: #FFFFFF;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-left: 6px;
}

.mobile-menu-btn {
  display: none;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  padding: 7px 12px;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
}

.menu-bars {
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
  width: 15px;
  height: 11px;
}

.menu-bars span {
  display: block;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.mobile-menu-btn.is-open .menu-bars span:nth-child(1) {
  transform: translateY(4.5px) rotate(45deg);
}

.mobile-menu-btn.is-open .menu-bars span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.is-open .menu-bars span:nth-child(3) {
  transform: translateY(-4.5px) rotate(-45deg);
}

.mobile-nav-search-wrap,
.nav-sub-toggle {
  display: none;
}

.nav-item-row {
  display: contents;
}

/* ==================== 2. 主导航栏（白底 60px + 下拉菜单 + 末格团队管理系统） ==================== */
.site-nav {
  background: #FFFFFF;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  position: relative;
  z-index: 60;
}

.nav-list {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
}

.nav-item {
  flex: 1;
  position: relative;
  text-align: center;
}

.nav-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 60px;
  padding: 0 8px;
  font-size: 16px;
  font-weight: 500;
  color: #2C2727;
  border-bottom: 4px solid transparent;
  white-space: nowrap;
}

.nav-item:hover .nav-link,
.nav-item.active .nav-link {
  color: var(--brand);
  border-bottom-color: var(--brand);
  font-weight: 700;
}

.nav-item.nav-system .nav-link {
  color: var(--brand);
  font-weight: 600;
  background: linear-gradient(to bottom, #FFFFFF, #FDF6F7);
}

.nav-item.nav-system:hover .nav-link {
  background: var(--brand);
  color: #FFFFFF;
  border-bottom-color: var(--accent);
}

.nav-ext-icon {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  opacity: 0.85;
}

.nav-submenu {
  display: none;
  position: absolute;
  top: 60px;
  left: 0;
  min-width: 100%;
  width: max-content;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-top: 2px solid var(--brand);
  box-shadow: var(--shadow-md);
  z-index: 80;
}

.nav-item:hover .nav-submenu,
.nav-item:focus-within .nav-submenu {
  display: block;
}

.nav-submenu a {
  display: block;
  padding: 0 18px;
  height: 44px;
  line-height: 44px;
  font-size: 14px;
  color: #333;
  text-align: center;
  border-bottom: 1px solid #F3F0F0;
  white-space: nowrap;
}

.nav-submenu li:last-child a {
  border-bottom: 0;
}

.nav-submenu a:hover {
  background: var(--brand);
  color: #FFFFFF;
}

/* ==================== 3. 首页模块 ==================== */
.hero-section {
  background: #1A1415;
  position: relative;
}

.hero-carousel {
  position: relative;
  width: 100%;
  height: 460px;
  overflow: hidden;
}

.hero-slides {
  display: flex;
  height: 100%;
  transition: transform 0.65s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.hero-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  position: relative;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  display: block;
}

.hero-caption-overlay {
  position: absolute;
  inset: auto 0 0 0;
  background: linear-gradient(to top, rgba(20, 8, 10, 0.82) 0%, rgba(20, 8, 10, 0.35) 65%, transparent 100%);
  padding: 46px 0 34px;
  color: #FFFFFF;
}

.hero-caption-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 16px;
}

.hero-caption-inner h2 {
  margin: 0 0 6px;
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 1px;
}

.hero-caption-inner p {
  margin: 0;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.88);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 54px;
  border: 0;
  background: rgba(24, 10, 12, 0.45);
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  z-index: 15;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
}

.hero-arrow:hover {
  background: var(--brand);
}

.hero-prev { left: 18px; }
.hero-next { right: 18px; }

.hero-dots {
  position: absolute;
  right: 24px;
  bottom: 24px;
  z-index: 16;
  display: flex;
  gap: 8px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: all 0.25s ease;
}

.hero-dot.active {
  width: 26px;
  border-radius: 5px;
  background: var(--accent);
}

/* 通用板块标题栏（对标 wqgroup .tit） */
.section-block {
  padding: 46px 0;
}

.section-block.band-gray {
  background: var(--bg-band);
  border-top: 1px solid #EFEBEB;
  border-bottom: 1px solid #EFEBEB;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.section-head h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  color: #1F1A1A;
  padding-left: 16px;
  border-left: 4px solid var(--brand);
  line-height: 1.25;
}

.section-head .sub-en {
  font-size: 13px;
  color: var(--text-light);
  font-weight: 400;
  margin-left: 10px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.section-more {
  font-size: 14px;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.section-more:hover {
  color: var(--brand);
}

/* 首页模块2：团队动态双栏（对标 wqgroup .tddt） */
.home-news-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 28px;
  align-items: stretch;
}

.home-news-slider {
  position: relative;
  height: 400px;
  overflow: hidden;
  background: #1B1516;
}

.home-news-slides {
  display: flex;
  height: 100%;
  transition: transform 0.5s ease;
}

.home-news-slide {
  flex: 0 0 100%;
  height: 100%;
  position: relative;
  display: block;
}

.home-news-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.home-news-slide:hover img {
  transform: scale(1.04);
}

.home-news-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 58px;
  background: rgba(18, 12, 13, 0.72);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  padding: 0 90px 0 20px;
  font-size: 15px;
}

.home-news-caption span {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.dt-badge {
  position: absolute;
  right: 14px;
  bottom: 0;
  width: 68px;
  height: 76px;
  background: var(--brand);
  color: #FFFFFF;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 5;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.25);
}

.dt-badge::before {
  content: "";
  position: absolute;
  top: 0;
  left: -8px;
  border-bottom: 10px solid var(--brand-dark);
  border-left: 8px solid transparent;
}

.dt-badge .day {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.1;
}

.dt-badge .ym {
  font-size: 12px;
  opacity: 0.9;
  margin-top: 2px;
}

.news-slider-dots {
  position: absolute;
  left: 20px;
  bottom: 66px;
  z-index: 6;
  display: flex;
  gap: 6px;
}

.news-slider-dots button {
  width: 9px;
  height: 9px;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.75);
  cursor: pointer;
}

.news-slider-dots button.active {
  background: var(--brand);
  width: 22px;
}

.home-news-feed {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.home-news-pinned {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 6px;
}

.home-news-pinned h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.45;
  color: var(--brand);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.home-news-pinned h3::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--brand);
  margin-top: 9px;
  flex-shrink: 0;
}

.home-news-pinned p {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-news-list li {
  border-bottom: 1px solid #ECE8E8;
}

.home-news-list li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 48px;
  font-size: 15px;
  color: #2B2525;
}

.home-news-list li a:hover {
  color: var(--brand);
}

.home-news-list .title {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.home-news-list .date {
  flex-shrink: 0;
  font-size: 13px;
  color: var(--text-light);
}

/* 首页模块3：团队简介与核心指标（对标 wqgroup .tddesc + 红色 L 形折角） */
.home-intro-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 44px;
  align-items: center;
}

.home-intro-text p {
  margin: 0 0 22px;
  font-size: 15px;
  line-height: 1.95;
  color: #443E3E;
  text-align: justify;
  text-indent: 2em;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-bottom: 24px;
}

.stat-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-top: 3px solid var(--brand);
  padding: 12px 8px;
  text-align: center;
}

.stat-card .num {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--brand);
  line-height: 1.2;
}

.stat-card .unit {
  font-size: 12px;
  color: var(--text-muted);
  margin-left: 2px;
}

.stat-card .lbl {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

.btn-offset-red {
  display: inline-block;
  padding: 10px 28px;
  background: var(--brand);
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 5px 5px 0 rgba(155, 29, 44, 0.24);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn-offset-red:hover {
  background: var(--brand-dark);
  transform: translate(2px, 2px);
  box-shadow: 3px 3px 0 rgba(155, 29, 44, 0.35);
}

.intro-photo-frame {
  position: relative;
  padding: 0 14px 14px 0;
}

.intro-photo-frame::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 68%;
  height: 70%;
  border-right: 12px solid var(--brand);
  border-bottom: 12px solid var(--brand);
  z-index: 1;
  pointer-events: none;
}

.intro-photo-frame img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
  box-shadow: var(--shadow-md);
}

/* 首页模块4：四大研究方向 */
.research-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.research-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-top: 3px solid var(--brand);
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-top-color 0.25s ease;
}

.research-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-top-color: var(--accent);
}

.research-card-idx {
  font-family: var(--font-serif);
  font-size: 13px;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 8px;
}

.research-card h3 {
  margin: 0 0 10px;
  font-size: 17px;
  line-height: 1.4;
  color: #1F1A1A;
}

.research-card p {
  margin: 0 0 14px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--text-muted);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag-pill {
  font-size: 12px;
  padding: 2px 9px;
  background: var(--brand-soft);
  color: var(--brand);
  border: 1px solid rgba(155, 29, 44, 0.16);
}

/* 首页模块5：师资风采快览 */
.faculty-strip-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.faculty-mini-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  text-align: center;
  padding: 16px 12px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.faculty-mini-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.faculty-mini-card .avatar {
  width: 112px;
  height: 146px;
  margin: 0 auto 12px;
  overflow: hidden;
  border: 1px solid #EAE5E5;
}

.faculty-mini-card .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.45s ease;
}

.faculty-mini-card:hover .avatar img {
  transform: scale(1.06);
}

.faculty-mini-card .name {
  font-size: 16px;
  font-weight: 700;
  color: #231E1E;
}

.faculty-mini-card .role {
  font-size: 12.5px;
  color: var(--text-muted);
  margin-top: 3px;
}

.faculty-mini-card .badge {
  display: inline-block;
  margin-top: 6px;
  font-size: 11.5px;
  padding: 1px 8px;
  background: var(--brand-soft);
  color: var(--brand);
}

/* ==================== 4. 子页面双栏框架（严格对标 wqgroup.scu.edu.cn/tdcy1/tdfzr.htm） ==================== */
.subpage-body {
  background: #FAF9F9;
  padding: 26px 0 56px;
  min-height: 620px;
}

.culm-wrap {
  display: flex;
  align-items: flex-start;
  gap: 26px;
}

.culm-sidebar {
  width: 224px;
  flex-shrink: 0;
  background: #FFFFFF;
  border: 1px solid var(--border);
}

.culm-sidebar-title {
  margin: 0;
  background: var(--brand);
  color: #FFFFFF;
  font-size: 20px;
  font-weight: 500;
  padding: 18px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  letter-spacing: 1px;
}

.culm-sidebar-title svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.culm-menu {
  background: var(--sidebar-bg);
  padding: 6px 0 24px;
}

.culm-menu li {
  margin: 0 16px;
  border-bottom: 1px solid #DDD6D6;
}

.culm-menu li:last-child {
  border-bottom: 0;
}

.culm-menu li a {
  display: block;
  padding: 13px 10px;
  font-size: 15px;
  color: #363030;
  text-align: center;
  position: relative;
}

.culm-menu li a:hover {
  color: var(--brand);
}

.culm-menu li a.cur {
  color: var(--brand);
  font-weight: 700;
  background: #FFFFFF;
  margin: 4px -16px;
  padding-left: 22px;
  padding-right: 16px;
  border-left: 4px solid var(--brand);
}

.sidebar-contact-box {
  padding: 16px;
  background: #FFFFFF;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.75;
}

.sidebar-contact-box h4 {
  margin: 0 0 8px;
  font-size: 14px;
  color: var(--brand);
  border-bottom: 1px solid #EFEBEB;
  padding-bottom: 6px;
}

.culm-main {
  flex: 1;
  min-width: 0;
  background: #FFFFFF;
  border: 1px solid var(--border);
  padding: 18px 34px 40px;
}

.location-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.location-title {
  margin: 0;
  font-size: 21px;
  font-weight: 700;
  color: var(--brand);
  padding-left: 12px;
  border-left: 4px solid var(--brand);
  line-height: 1.25;
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 13px;
  color: var(--text-light);
}

.breadcrumb a:hover {
  color: var(--brand);
}

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

/* ==================== 5. 团队成员：PI（对标 tdfzr.htm）、研究人员（tdjs.htm）、学生 ==================== */
.pi-hero-card {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  padding: 22px 24px;
  background: #FCF9F9;
  border: 1px solid #EDE5E5;
  margin-bottom: 26px;
}

.pi-portrait-box {
  width: 172px;
  flex-shrink: 0;
  text-align: center;
}

.pi-portrait-box img {
  width: 172px;
  height: 224px;
  object-fit: cover;
  object-position: center top;
  border: 3px solid #FFFFFF;
  box-shadow: var(--shadow-sm);
  display: block;
}

.pi-meta-table {
  flex: 1;
  min-width: 0;
}

.pi-meta-name {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px dashed #DFD6D6;
}

.pi-meta-name h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 26px;
  color: #1F1A1A;
}

.pi-meta-name .pi-title-tag {
  font-size: 14px;
  color: var(--brand);
  font-weight: 600;
}

.pi-kv-list {
  display: grid;
  gap: 8px;
  font-size: 15px;
}

.pi-kv-row {
  display: flex;
  gap: 8px;
  line-height: 1.65;
}

.pi-kv-row .k {
  flex-shrink: 0;
  width: 84px;
  font-weight: 700;
  color: #3D3535;
}

.pi-kv-row .v {
  color: #2B2626;
}

/* 对标 tdfzr.htm 的双方块图标小标题 */
.section-badge-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  color: var(--brand);
  margin: 26px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #EFEBEB;
}

.dual-square-icon {
  position: relative;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.dual-square-icon::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 11px;
  height: 11px;
  background: var(--brand);
}

.dual-square-icon::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 10px;
  height: 10px;
  background: var(--accent);
}

.academic-prose {
  font-size: 15.5px;
  line-height: 1.95;
  color: #2E2929;
}

.academic-prose p {
  margin: 0 0 14px;
  text-align: justify;
  text-indent: 2em;
}

.academic-prose ul {
  margin: 10px 0 16px 24px;
  list-style: disc;
}

.academic-prose li {
  margin-bottom: 6px;
}

.timeline-list {
  border-left: 2px solid rgba(155, 29, 44, 0.25);
  margin: 10px 0 20px 8px;
  padding-left: 18px;
}

.timeline-list li {
  position: relative;
  margin-bottom: 10px;
  font-size: 15px;
  line-height: 1.7;
}

.timeline-list li::before {
  content: "";
  position: absolute;
  left: -23px;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  border: 2px solid #FFFFFF;
  box-shadow: 0 0 0 1px var(--brand);
}

/* 研究人员横向卡片（对标 wqgroup .leader-list） */
.leader-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.leader-card {
  display: flex;
  gap: 24px;
  padding: 20px;
  border: 1px solid var(--border);
  background: #FFFFFF;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.leader-card:hover {
  border-color: rgba(155, 29, 44, 0.35);
  box-shadow: var(--shadow-md);
}

.leader-photo {
  width: 136px;
  height: 182px;
  flex-shrink: 0;
  overflow: hidden;
  border: 1px solid #EAE4E4;
}

.leader-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.45s ease;
}

.leader-card:hover .leader-photo img {
  transform: scale(1.06);
}

.leader-body {
  flex: 1;
  min-width: 0;
}

.leader-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 8px;
}

.leader-head h3 {
  margin: 0;
  font-size: 20px;
  color: #1F1A1A;
}

.leader-head .role {
  font-size: 14px;
  color: #555;
  font-weight: 500;
}

.leader-head .honor {
  font-size: 12px;
  padding: 2px 9px;
  background: var(--brand-soft);
  color: var(--brand);
  border: 1px solid rgba(155, 29, 44, 0.2);
}

.leader-summary {
  margin: 0 0 12px;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--text-muted);
  text-align: justify;
}

.leader-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.btn-link-red {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--brand);
}

.btn-link-red:hover {
  text-decoration: underline;
}

/* 培养学生名录 */
.group-photo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin: 18px 0 28px;
}

.group-photo-card {
  border: 1px solid var(--border);
  background: #FAF9F9;
  padding: 10px;
  text-align: center;
}

.group-photo-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  cursor: zoom-in;
}

.group-photo-card .cap {
  margin-top: 8px;
  font-size: 13.5px;
  color: var(--text-muted);
}

.cohort-box {
  margin-bottom: 24px;
  border: 1px solid var(--border);
  padding: 18px 20px;
}

.cohort-box h4 {
  margin: 0 0 6px;
  font-size: 16.5px;
  color: var(--brand);
}

.cohort-box .desc {
  margin: 0 0 14px;
  font-size: 13.5px;
  color: var(--text-muted);
}

.student-chips {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
}

.student-chip {
  padding: 10px 12px;
  background: #FAF8F8;
  border: 1px solid #EAE4E4;
  border-left: 3px solid var(--brand);
}

.student-chip .sname {
  font-weight: 700;
  font-size: 14.5px;
  color: #241F1F;
}

.student-chip .sdeg {
  font-size: 12px;
  color: var(--brand);
  margin-left: 6px;
}

.student-chip .saward {
  font-size: 12.5px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ==================== 6. 团队动态列表（对标 wqgroup tddt.htm）与文章详情 ==================== */
.wq-news-list li {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid #EAE5E5;
}

.wq-date-box {
  width: 88px;
  height: 92px;
  flex-shrink: 0;
  background: #F6F1F1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.wq-date-box .day {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 700;
  color: var(--brand);
  line-height: 1.1;
}

.wq-date-box .ym {
  font-size: 13px;
  color: var(--text-light);
  margin-top: 4px;
}

.wq-news-list li:hover .wq-date-box {
  background: var(--brand);
}

.wq-news-list li:hover .wq-date-box .day,
.wq-news-list li:hover .wq-date-box .ym {
  color: #FFFFFF;
}

.wq-news-thumb {
  width: 158px;
  height: 104px;
  flex-shrink: 0;
  overflow: hidden;
  border: 1px solid #EAE4E4;
}

.wq-news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.wq-news-list li:hover .wq-news-thumb img {
  transform: scale(1.06);
}

.wq-news-info {
  flex: 1;
  min-width: 0;
}

.wq-news-info h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.45;
  color: #1F1A1A;
}

.wq-news-info h3 a:hover {
  color: var(--brand);
}

.wq-news-info .summary {
  margin: 0 0 8px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.wq-news-info .meta {
  font-size: 12.5px;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 12px;
}

.cat-badge {
  display: inline-block;
  padding: 1px 8px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 12px;
}

/* 文章详情页 */
.article-header {
  text-align: center;
  padding-bottom: 18px;
  margin-bottom: 24px;
  border-bottom: 1px solid #EAE5E5;
}

.article-header h1 {
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 1.45;
  color: #1D1818;
}

.article-meta {
  font-size: 13px;
  color: var(--text-light);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
}

.article-body {
  font-size: 16px;
  line-height: 1.95;
  color: #2B2626;
}

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

.article-body h2,
.article-body h3 {
  margin: 22px 0 12px;
  color: var(--brand);
  font-size: 18px;
}

.article-body img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 14px auto;
  cursor: zoom-in;
}

/* 保留兼容原有文章内嵌多图排版类 */
.img-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 18px 0;
}

.img-row img {
  width: 100%;
  height: 290px;
  object-fit: cover;
  margin: 0 !important;
  border-radius: 3px;
}

.portrait-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 18px auto;
  max-width: 720px;
}

.portrait-row img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  margin: 0 !important;
  border-radius: 3px;
}

.photo-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 24px 0;
}

.photo-item {
  border: 1px solid #EAE4E4;
  background: #FAF9F9;
  padding: 8px;
  text-align: center;
}

.photo-frame {
  width: 100%;
  height: 210px;
  background: #F0EDED;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.photo-frame img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  margin: 0 !important;
}

.photo-name {
  margin-top: 8px;
  font-size: 13px;
  color: #444;
}

.article-pager {
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 14px;
}

.article-pager a:hover {
  color: var(--brand);
}

/* ==================== 7. 科研条件设备网格 & 论文列表 ==================== */
.equipment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.equipment-card {
  border: 1px solid var(--border);
  background: #FFFFFF;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.equipment-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.equipment-thumb {
  height: 210px;
  background: #F6F3F3;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.equipment-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: zoom-in;
  transition: transform 0.45s ease;
}

.equipment-card:hover .equipment-thumb img {
  transform: scale(1.05);
}

.equipment-info {
  padding: 12px 14px;
}

.equipment-info .cat {
  font-size: 11.5px;
  color: var(--brand);
  margin-bottom: 4px;
}

.equipment-info h4 {
  margin: 0 0 6px;
  font-size: 15px;
  color: #231E1E;
}

.equipment-info p {
  margin: 0;
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.55;
}

.paper-group-card {
  margin-bottom: 24px;
  border: 1px solid var(--border);
  padding: 18px 22px;
}

.paper-group-card h3 {
  margin: 0 0 14px;
  font-size: 17px;
  color: var(--brand);
  padding-bottom: 8px;
  border-bottom: 1px solid #EFEBEB;
}

.paper-ol {
  margin: 0;
  padding-left: 20px;
  list-style: decimal;
}

.paper-ol li {
  margin-bottom: 12px;
  font-size: 14.5px;
  line-height: 1.75;
  color: #2B2626;
}

.paper-meta-line {
  font-size: 12.5px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ==================== 8. 分页与双层川大红页脚 ==================== */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}

.pagination button {
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  border: 1px solid var(--border);
  background: #FFFFFF;
  color: #333;
  cursor: pointer;
  font-size: 14px;
}

.pagination button.active,
.pagination button:hover:not(:disabled) {
  background: var(--brand);
  border-color: var(--brand);
  color: #FFFFFF;
}

.pagination button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.site-footer {
  background: var(--brand);
  color: #FFFFFF;
  margin-top: 0;
}

.footer-upper {
  padding: 36px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-upper-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-brand img {
  height: 48px;
  width: auto;
}

.footer-brand-divider {
  width: 1px;
  height: 38px;
  background: rgba(255, 255, 255, 0.38);
}

.footer-brand-name {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1px;
}

.footer-brand-sub {
  font-size: 12.5px;
  opacity: 0.85;
  margin-top: 2px;
}

.footer-links-block h4 {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 600;
  color: #FFFFFF;
}

.footer-links-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 14px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.9);
}

.footer-links-row a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.footer-links-row .vbar {
  display: inline-block;
  width: 1px;
  height: 12px;
  background: rgba(255, 255, 255, 0.4);
}

.footer-lower {
  background: var(--brand-dark);
  padding: 16px 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
}

.footer-lower-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 24px;
}

.footer-admin-entry {
  color: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 2px 10px;
  border-radius: 3px;
  font-size: 12px;
}

.footer-admin-entry:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #FFFFFF;
}

/* ==================== 9. 灯箱与全站搜索弹窗 ==================== */
.scu-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 10, 11, 0.78);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.scu-modal-backdrop.open {
  display: flex;
}

.lightbox-box {
  position: relative;
  max-width: 92vw;
  max-height: 90vh;
  text-align: center;
}

.lightbox-box img {
  max-width: 100%;
  max-height: 82vh;
  object-fit: contain;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.lightbox-caption {
  margin-top: 10px;
  color: #FFFFFF;
  font-size: 14px;
}

.modal-close-btn {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 0;
  background: var(--brand);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
}

.search-modal-card {
  width: 100%;
  max-width: 720px;
  max-height: 82vh;
  background: #FFFFFF;
  border-top: 4px solid var(--brand);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.search-modal-head {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
}

.search-modal-head input {
  flex: 1;
  height: 38px;
  padding: 0 14px;
  border: 1px solid #D8D0D0;
  font-size: 14px;
  outline: none;
}

.search-modal-head input:focus {
  border-color: var(--brand);
}

.search-modal-head button {
  height: 38px;
  padding: 0 18px;
  border: 0;
  background: var(--brand);
  color: #fff;
  cursor: pointer;
}

.search-modal-results {
  padding: 16px 20px;
  overflow-y: auto;
}

.search-hit {
  display: block;
  padding: 12px 10px;
  border-bottom: 1px solid #EFEBEB;
}

.search-hit:hover {
  background: var(--brand-soft);
}

.search-hit .type {
  display: inline-block;
  font-size: 11.5px;
  padding: 1px 7px;
  background: var(--brand);
  color: #fff;
  margin-right: 8px;
}

.search-hit .title {
  font-weight: 600;
  color: #221D1D;
}

.search-hit .snippet {
  margin-top: 4px;
  font-size: 13px;
  color: var(--text-muted);
}

/* ==================== 9.5 视频展播与富文本视频组件 ==================== */
.video-showcase-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.video-main-panel {
  background: #1A1214;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

.scu-video-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #120B0D;
  overflow: hidden;
}

.scu-video-stage video,
.scu-video-stage iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  background: #000000;
}

.video-stage-meta {
  padding: 16px 20px;
  background: #FFFFFF;
  border-top: 3px solid var(--brand);
  flex: 1;
}

.video-stage-meta-top {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 6px;
}

.video-stage-meta h3 {
  margin: 0 0 6px;
  font-size: 18px;
  color: #1F1A1A;
  line-height: 1.4;
}

.video-stage-meta p {
  margin: 0;
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.65;
}

.video-playlist {
  border: 1px solid var(--border);
  background: #FFFFFF;
  display: flex;
  flex-direction: column;
}

.video-playlist-head {
  padding: 12px 16px;
  background: var(--brand);
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.video-playlist-items {
  flex: 1;
  overflow-y: auto;
  max-height: 410px;
}

.video-playlist-item {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #EFEBEB;
  background: #FFFFFF;
  padding: 12px 14px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.video-playlist-item:last-child {
  border-bottom: 0;
}

.video-playlist-item:hover {
  background: var(--brand-soft);
}

.video-playlist-item.active {
  background: var(--brand-soft);
  border-left: 4px solid var(--brand);
}

.video-thumb-box {
  position: relative;
  width: 118px;
  height: 68px;
  flex-shrink: 0;
  background: #201618;
  overflow: hidden;
  border-radius: 3px;
}

.video-thumb-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-duration-tag {
  position: absolute;
  right: 4px;
  bottom: 4px;
  background: rgba(0, 0, 0, 0.72);
  color: #FFFFFF;
  font-size: 11px;
  padding: 1px 5px;
  border-radius: 2px;
}

.video-item-info {
  flex: 1;
  min-width: 0;
}

.video-item-info .vtitle {
  font-size: 14px;
  font-weight: 600;
  color: #231E1E;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.video-playlist-item.active .vtitle {
  color: var(--brand);
}

.video-item-info .vmeta {
  margin-top: 5px;
  font-size: 12px;
  color: var(--text-light);
  display: flex;
  gap: 8px;
  align-items: center;
}

.video-filter-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.video-filter-btn {
  padding: 6px 14px;
  border: 1px solid var(--border);
  background: #FFFFFF;
  color: #444;
  font-size: 13.5px;
  cursor: pointer;
}

.video-filter-btn.active,
.video-filter-btn:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: #FFFFFF;
}

.video-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 26px;
}

.video-grid-card {
  border: 1px solid var(--border);
  background: #FFFFFF;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.video-grid-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(155, 29, 44, 0.4);
}

.video-grid-card.active {
  border-color: var(--brand);
  box-shadow: 0 0 0 1px var(--brand);
}

.video-grid-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #1B1214;
  overflow: hidden;
}

.video-grid-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-play-pill {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(155, 29, 44, 0.85);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  padding-left: 3px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.video-grid-body {
  padding: 12px 14px;
}

.video-grid-body h4 {
  margin: 6px 0 6px;
  font-size: 15px;
  color: #221D1D;
  line-height: 1.45;
}

.video-grid-body p {
  margin: 0;
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* 富文本内嵌视频组件 */
.scu-video-embed {
  margin: 18px auto;
  border: 1px solid var(--border);
  background: #FAF8F8;
  padding: 10px;
  max-width: 820px;
}

.scu-video-embed-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
}

.scu-video-embed-frame video,
.scu-video-embed-frame iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

.scu-video-embed .video-caption {
  margin-top: 8px;
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
}

.article-hero-video {
  margin: 0 auto 24px;
  border: 1px solid var(--border);
  background: #FAF8F8;
  padding: 10px;
}

.article-hero-video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
}

.article-hero-video-frame video,
.article-hero-video-frame iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

.video-tag-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 1px 7px;
  background: #231618;
  color: #F8DF9B;
  font-size: 11.5px;
  border-radius: 2px;
}

.academic-prose,
.article-body,
.paper-ol,
.pi-kv-row .v {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.academic-prose table,
.article-body table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.ach-highlights-grid {
  grid-template-columns: repeat(4, 1fr);
  margin-top: 26px;
}

.footer-contact-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 12px;
}

.footer-sep {
  opacity: 0.45;
}

.footer-copy-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.scu-back-top {
  position: fixed;
  right: 16px;
  bottom: 22px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  background: rgba(155, 29, 44, 0.9);
  color: #FFFFFF;
  font-size: 18px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.22);
  cursor: pointer;
  z-index: 75;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.scu-back-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* ==================== 9.6 自定义功能模块通用样式 ==================== */
.custom-block-section {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid #EFEBEB;
}

.custom-cards-grid {
  display: grid;
  grid-template-columns: repeat(var(--custom-cols, 3), 1fr);
  gap: 18px;
  margin-top: 14px;
}

.custom-card-item {
  border: 1px solid var(--border);
  background: #FFFFFF;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.custom-card-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.custom-card-thumb {
  background: #F6F3F3;
  height: 190px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.custom-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.custom-card-body {
  padding: 12px 14px;
}

.custom-card-body h4 {
  margin: 0 0 6px;
  font-size: 15.5px;
  color: #231E1E;
}

.custom-card-body p {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.65;
}

.custom-gallery-grid {
  display: grid;
  grid-template-columns: repeat(var(--custom-cols, 3), 1fr);
  gap: 14px;
  margin-top: 14px;
}

.custom-gallery-item {
  border: 1px solid var(--border);
  background: #FAF9F9;
  padding: 8px;
  text-align: center;
}

.custom-gallery-item img {
  width: 100%;
  height: 210px;
  object-fit: contain;
  display: block;
  cursor: zoom-in;
}

.custom-gallery-item .cap {
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--text-muted);
}

.custom-links-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}

.custom-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  border: 1px solid var(--brand);
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 600;
  font-size: 14px;
}

.custom-link-btn:hover {
  background: var(--brand);
  color: #FFFFFF;
}

.module-disabled-box {
  padding: 48px 20px;
  text-align: center;
  color: var(--text-muted);
  background: #FAF8F8;
  border: 1px dashed var(--border);
}

/* ==================== 10. 响应式适配 ==================== */
@media (max-width: 1024px) {
  .home-news-grid,
  .home-intro-grid,
  .video-showcase-grid {
    grid-template-columns: 1fr;
  }
  .video-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .research-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .faculty-strip-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .equipment-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 860px) {
  .header-inner {
    min-height: 68px;
    padding: 10px 0;
    gap: 10px;
  }
  .header-brand {
    gap: 10px;
    flex: 1;
  }
  .header-scu-logo {
    height: 40px;
  }
  .header-divider {
    height: 30px;
  }
  .header-utility {
    display: none;
  }
  .mobile-menu-btn {
    display: inline-flex;
    flex-shrink: 0;
    font-weight: 600;
    font-size: 13.5px;
    padding: 7px 11px;
  }
  .header-title {
    font-size: 19px;
    letter-spacing: 0.5px;
  }
  .header-subtitle {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 11px;
    margin-top: 2px;
  }
  .header-image-mode img {
    height: 44px;
    max-width: 44vw;
  }
  .site-nav {
    display: none;
    box-shadow: 0 10px 26px rgba(24, 10, 12, 0.14);
    border-bottom: 2px solid var(--brand);
  }
  .site-nav.mobile-open {
    display: block;
  }
  .mobile-nav-search-wrap {
    display: block;
    padding: 12px 0 8px;
    border-bottom: 1px solid #F0EBEB;
  }
  .mobile-nav-search {
    display: flex;
    gap: 8px;
  }
  .mobile-nav-search input {
    flex: 1;
    min-width: 0;
    height: 38px;
    padding: 0 12px;
    border: 1px solid #DDD5D5;
    border-radius: 6px;
    font-size: 14px;
    background: #FAF8F8;
    font-family: var(--font-sans);
    outline: none;
  }
  .mobile-nav-search input:focus {
    border-color: var(--brand);
    background: #FFFFFF;
  }
  .mobile-nav-search button {
    height: 38px;
    padding: 0 16px;
    border: 0;
    border-radius: 6px;
    background: var(--brand);
    color: #FFFFFF;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    flex-shrink: 0;
  }
  .nav-list {
    flex-direction: column;
    padding-bottom: 6px;
  }
  .nav-item {
    text-align: left;
  }
  .nav-item-row {
    display: flex;
    align-items: stretch;
    border-bottom: 1px solid #EFEBEB;
  }
  .nav-link {
    flex: 1;
    height: 48px;
    justify-content: flex-start;
    padding: 0 8px;
    border-bottom: 0;
    font-size: 15.5px;
  }
  .nav-item:hover .nav-link,
  .nav-item.active .nav-link {
    border-bottom-color: transparent;
  }
  .nav-sub-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    border: 0;
    border-left: 1px solid #F3EEEE;
    background: transparent;
    color: #666;
    cursor: pointer;
    flex-shrink: 0;
  }
  .nav-sub-toggle svg {
    transition: transform 0.2s ease;
  }
  .nav-item.sub-open .nav-sub-toggle svg {
    transform: rotate(180deg);
    color: var(--brand);
  }
  .nav-item .nav-submenu,
  .nav-item:hover .nav-submenu,
  .nav-item:focus-within .nav-submenu {
    display: none;
    position: static;
    width: 100%;
    min-width: 0;
    border: 0;
    box-shadow: none;
  }
  .nav-item.sub-open .nav-submenu {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding: 10px 8px;
    background: #FAF7F7;
    border-bottom: 1px solid #ECE6E6;
  }
  .nav-submenu li:last-child a {
    border-bottom: 1px solid #E6DEDE;
  }
  .nav-submenu a {
    height: 36px;
    line-height: 34px;
    padding: 0 10px;
    border: 1px solid #E6DEDE;
    border-radius: 5px;
    background: #FFFFFF;
    text-align: center;
    font-size: 13px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .nav-item.nav-system {
    margin: 10px 0 8px;
  }
  .nav-item.nav-system .nav-item-row {
    border-bottom: 0;
  }
  .nav-item.nav-system .nav-link {
    justify-content: center;
    background: var(--brand);
    color: #FFFFFF;
    border-radius: 6px;
    height: 44px;
    font-weight: 600;
  }
  .subpage-body {
    padding: 12px 0 34px;
    min-height: auto;
  }
  .culm-wrap {
    flex-direction: column;
    gap: 12px;
  }
  .sidebar-contact-box {
    display: none;
  }
  .culm-sidebar {
    width: 100%;
    border-radius: 6px;
    overflow: hidden;
  }
  .culm-sidebar-title {
    font-size: 15.5px;
    padding: 10px 14px;
    justify-content: flex-start;
    gap: 8px;
  }
  .culm-sidebar-title svg {
    width: 18px;
    height: 18px;
  }
  .culm-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 10px 12px;
    background: #FFFFFF;
  }
  .culm-menu::-webkit-scrollbar {
    display: none;
  }
  .culm-menu li {
    margin: 0;
    border: 0;
    flex-shrink: 0;
  }
  .culm-menu li a {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    font-size: 13.5px;
    border-radius: 18px;
    background: #F5F1F1;
    color: #3D3535;
    white-space: nowrap;
  }
  .culm-menu li a.cur {
    margin: 0;
    padding: 6px 14px;
    border: 0;
    background: var(--brand);
    color: #FFFFFF;
    font-weight: 600;
  }
  .culm-main {
    width: 100%;
    padding: 16px 14px 28px;
    border-radius: 6px;
  }
  .location-bar {
    padding-bottom: 10px;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 6px 12px;
  }
  .location-title {
    font-size: 18px;
  }
  .section-block {
    padding: 28px 0;
  }
  .section-head {
    margin-bottom: 16px;
  }
  .section-head h2 {
    font-size: 19px;
    padding-left: 11px;
  }
  .hero-carousel {
    height: 260px;
  }
  .hero-arrow {
    width: 32px;
    height: 38px;
    font-size: 18px;
  }
  .hero-prev { left: 8px; }
  .hero-next { right: 8px; }
  .hero-caption-overlay {
    padding: 28px 0 16px;
  }
  .hero-caption-inner h2 {
    font-size: 18px;
  }
  .hero-caption-inner p {
    font-size: 12.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .hero-dots {
    right: 12px;
    bottom: 8px;
  }
  .home-news-slider {
    height: 260px;
  }
  .home-news-caption {
    height: 44px;
    font-size: 13.5px;
    padding: 0 70px 0 12px;
  }
  .dt-badge {
    width: 54px;
    height: 60px;
    right: 10px;
  }
  .dt-badge .day {
    font-size: 20px;
  }
  .dt-badge .ym {
    font-size: 11px;
  }
  .news-slider-dots {
    left: 12px;
    bottom: 50px;
  }
  .home-news-list li a {
    height: auto;
    min-height: 44px;
    padding: 8px 0;
  }
  .home-intro-grid {
    gap: 22px;
  }
  .intro-photo-frame {
    padding: 0 8px 8px 0;
  }
  .intro-photo-frame::after {
    border-right-width: 8px;
    border-bottom-width: 8px;
  }
  .intro-photo-frame img {
    height: auto;
    max-height: 240px;
    aspect-ratio: 16 / 10;
  }
  .ach-highlights-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .pi-hero-card,
  .leader-card {
    flex-direction: column;
    align-items: center;
    text-align: left;
    padding: 15px;
    gap: 16px;
  }
  .pi-portrait-box {
    width: 132px;
  }
  .pi-portrait-box img {
    width: 132px;
    height: 172px;
  }
  .pi-meta-table {
    width: 100%;
  }
  .pi-meta-name {
    justify-content: center;
  }
  .pi-kv-row {
    font-size: 14px;
  }
  .pi-kv-row .k {
    width: 74px;
  }
  .leader-photo {
    width: 114px;
    height: 150px;
  }
  .leader-head {
    justify-content: center;
  }
  .equipment-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .equipment-thumb {
    height: 150px;
  }
  .equipment-info {
    padding: 9px 10px;
  }
  .equipment-info h4 {
    font-size: 13.5px;
    line-height: 1.35;
  }
  .equipment-info p {
    font-size: 11.5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .group-photo-grid,
  .img-row,
  .portrait-row,
  .video-card-grid,
  .custom-cards-grid {
    grid-template-columns: 1fr;
  }
  .group-photo-card img,
  .img-row img,
  .portrait-row img {
    height: auto;
    max-height: 280px;
  }
  .photo-gallery,
  .custom-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .photo-frame,
  .custom-gallery-item img {
    height: 150px;
  }
  .article-header h1 {
    font-size: 19px;
  }
  .article-body {
    font-size: 15px;
    line-height: 1.85;
  }
  .article-pager {
    flex-direction: column;
    gap: 8px;
  }
  .scu-modal-backdrop {
    padding: 12px;
  }
  .modal-close-btn {
    top: 8px;
    right: 8px;
  }
  .footer-upper {
    padding: 22px 0;
  }
  .footer-brand img {
    height: 38px;
  }
  .footer-brand-name {
    font-size: 17px;
  }
  .footer-contact-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .footer-sep {
    display: none;
  }
  .footer-lower {
    padding: 14px 0 22px;
    font-size: 12px;
  }
}

@media (max-width: 640px) {
  .faculty-strip-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .faculty-mini-card {
    padding: 12px 10px;
  }
  .faculty-mini-card .avatar {
    width: 92px;
    height: 120px;
  }
  .faculty-mini-card .name {
    font-size: 15px;
  }
  .wq-news-list li {
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 0;
  }
  .wq-date-box {
    display: none;
  }
  .wq-news-thumb {
    width: 108px;
    height: 78px;
    border-radius: 4px;
  }
  .wq-news-info h3 {
    font-size: 15px;
    line-height: 1.4;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .wq-news-info .summary {
    -webkit-line-clamp: 1;
    font-size: 12.5px;
    margin-bottom: 4px;
  }
  .wq-news-info .meta {
    flex-wrap: wrap;
    gap: 4px 8px;
    font-size: 11.5px;
  }
}

@media (max-width: 560px) {
  .section-head .sub-en,
  .breadcrumb {
    display: none;
  }
  .hero-carousel {
    height: 205px;
  }
  .home-news-slider {
    height: 210px;
  }
  .stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  #homeStatsRow > .stat-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
  .research-grid-4 {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .research-card {
    padding: 16px;
  }
  .student-chips {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
}

@media (max-width: 360px) {
  .equipment-grid,
  .ach-highlights-grid,
  .student-chips {
    grid-template-columns: 1fr;
  }
}
