﻿/* ========================================
   2026年国家级教学成果奖申报网站 - 公共样式
   武汉晴川学院 | #003399 主题色 | 响应式设计
   ======================================== */

/* === CSS 变量 === */
:root {
  --primary: #003399;
  --primary-dark: #002266;
  --primary-light: #1a4dbb;
  --primary-pale: #e6ecf5;

  --accent-gold: #c4943a;
  --accent-gold-light: #d4a843;

  --text-dark: #1a1a2e;
  --text-body: #333333;
  --text-muted: #666666;
  --text-light: #999999;

  --bg-white: #ffffff;
  --bg-light: #f5f6f8;
  --bg-lighter: #fafbfc;

  --border-color: #e0e0e0;
  --border-light: #eeeeee;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);

  --max-width: 100%;
  --sidebar-width: 260px;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;

  --transition: 0.3s ease;
}

/* === 艺术字体：马山正体（书法风格） === */
@font-face {
  font-family: 'Ma Shan Zheng';
  src: url('../fonts/ali.OTF') format('truetype');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

/* === Reset & Base === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
               "Microsoft YaHei", "Hiragino Sans GB", "Helvetica Neue",
               Arial, sans-serif;
  color: var(--text-body);
  background: var(--bg-light);
  line-height: 1.7;
  min-width: 320px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 { color: var(--text-dark); font-weight: 600; line-height: 1.3; }
h1 { font-size: 2rem; }
h2 { font-size: 1.6rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.1rem; }

a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }

p { margin-bottom: 1rem; }

img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ========================================
   头部 — 参考页面顶部.jpg
   背景 #003399，左右双栏
   ======================================== */
.site-header {
  background: var(--primary);
  color: #fff;
  padding: 16px 0;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

/* 左栏：Logo + 文字 */
.header-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.header-logo {
  width: 280px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.header-left .logo-text {
  font-size: 1.2rem;
  font-weight: bold;
  color: #fff;
  letter-spacing: 0.06em;
  text-align: center;
  white-space: nowrap;
}

/* 右栏：成果名称 */
.header-right {
  text-align: right;
  flex: 1;
}

.header-right .slogan {
  font-family: 'Ma Shan Zheng', 'KaiTi', 'STKaiti', serif;
  font-size: 2rem;
  font-weight: 400;
  color: rgba(255,255,255,0.92);
  letter-spacing: 0.12em;
  line-height: 1.6;
  margin-bottom: 4px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.header-right .project-title {
  font-family: 'Ma Shan Zheng', 'KaiTi', 'STKaiti', serif;
  font-size: 2.4rem;
  font-weight: 400;
  color: #fff;
  letter-spacing: 0.1em;
  line-height: 1.5;
  text-shadow: 0 2px 4px rgba(0,0,0,0.25);
}

/* ========================================
   主导航 — 白色背景，均分，悬停#003399
   ======================================== */
.main-nav {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.main-nav .nav-list {
  display: flex;
  justify-content: space-between;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav .nav-list > li {
  flex: 1;
  text-align: center;
  position: relative;
}

.main-nav .nav-list > li > a {
  display: block;
  color: var(--text-body);
  text-decoration: none;
  padding: 15px 8px;
  font-size: 1.2rem;
  font-weight: bold;
  letter-spacing: 0.04em;
  transition: all var(--transition);
  white-space: nowrap;
}

.main-nav .nav-list > li > a:hover,
.main-nav .nav-list > li > a.active {
  color: var(--primary);
}

/* 下拉菜单 — 完成人 */
.main-nav .nav-list li.has-dropdown {
  position: relative;
}

.main-nav .nav-list .dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  min-width: 160px;
  box-shadow: var(--shadow-lg);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  border: 1px solid var(--border-color);
  border-top: 2px solid var(--primary);
  z-index: 1001;
  overflow: hidden;
}

.main-nav .nav-list li.has-dropdown:hover .dropdown {
  display: block;
}

.main-nav .nav-list .dropdown li {
  border-bottom: 1px solid var(--border-light);
}

.main-nav .nav-list .dropdown li:last-child {
  border-bottom: none;
}

.main-nav .nav-list .dropdown a {
  display: block;
  padding: 7px 20px;
  color: var(--text-body);
  font-size: 0.95rem;
  text-align: center;
  transition: all var(--transition);
}

.main-nav .nav-list .dropdown a:hover {
  color: var(--primary);
  background: var(--primary-pale);
}

/* 移动端汉堡菜单 */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--primary);
  font-size: 1.6rem;
  cursor: pointer;
  padding: 12px 8px;
  line-height: 1;
}

/* ========================================
   轮播图 (Banner Carousel)
   ======================================== */
.carousel-section {
  position: relative;
  overflow: hidden;
}

.carousel-container {
  position: relative;
  width: 100%;
  max-height: 480px;
  overflow: hidden;
  background: #1a1a2e;
}

.carousel-track {
  display: flex;
  transition: transform 0.6s ease-in-out;
}

.carousel-slide {
  flex: 0 0 100%;
  position: relative;
  aspect-ratio: 2.5 / 1;
  max-height: 480px;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-slide .slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 40px;
  background: linear-gradient(transparent, rgba(0,0,0,0.6));
  color: #fff;
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

/* 轮播箭头 */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.85);
  color: var(--primary);
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 10;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-arrow:hover { background: #fff; }

.carousel-arrow.prev { left: 16px; }
.carousel-arrow.next { right: 16px; }

/* 轮播指示点 */
.carousel-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.carousel-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.7);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: all var(--transition);
}

.carousel-dots button.active,
.carousel-dots button:hover {
  background: #fff;
  border-color: #fff;
}

/* ========================================
   首页三栏布局 — 成果视频 / 成果概况 / 成果申报书
   ======================================== */
.three-col-section {
  padding: 36px 0;
}

.three-col-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

/* 三栏标题统一为 card-head 样式 */
.feature-card .card-head {
  background: var(--primary);
  color: #fff;
  padding: 10px 16px 10px 20px;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.feature-card .card-head::before {
  content: '';
  width: 4px;
  height: 16px;
  background: var(--accent-gold-light);
  border-radius: 2px;
  flex-shrink: 0;
}

.feature-card .card-head .head-title {
  flex: 1;
}

.feature-card .card-head .btn-more {
  color: rgba(255,255,255,0.85);
  font-size: 0.82rem;
  font-weight: 400;
  padding: 4px 10px;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 3px;
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
}

.feature-card .card-head .btn-more:hover {
  color: #fff;
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.7);
}

/* 视频区 */
.feature-card .card-video {
  aspect-ratio: 16 / 10;
  background: #1a1a2e;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.feature-card .card-video video,
.feature-card .card-video iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-card .card-video .play-btn {
  width: 52px;
  height: 52px;
  background: rgba(255,255,255,0.85);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--primary);
  cursor: pointer;
  transition: all var(--transition);
}

.feature-card .card-video .play-btn:hover {
  background: #fff;
  transform: scale(1.1);
}

/* 内容区 */
.feature-card .card-body {
  padding: 16px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.feature-card .card-body p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  flex: 1;
  margin-bottom: 10px;
}

/* 文本省略号 */
.text-ellipsis {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 申报书行列表 — 垂直均分、渐变背景、文字居中 */
.apply-lines {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.apply-lines li {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #fff;
  padding: 0 16px;
  cursor: pointer;
  transition: all var(--transition);
  /* 主题色渐变背景 */
  background: linear-gradient(135deg, #003399 0%, #1a4dbb 50%, #003399 100%);
  border-radius: var(--radius-md);
}

.apply-lines li:hover {
  background: linear-gradient(135deg, #002b80 0%, #1543a3 50%, #002b80 100%);
  letter-spacing: 0.08em;
  font-size: 0.98rem;
  box-shadow: inset 0 0 20px rgba(0,0,0,0.15);
}

.apply-lines li::before {
  content: none;
}

.feature-card .card-body .btn {
  align-self: center;
  margin-top: 8px;
}

/* ========================================
   首页两栏布局 — 成果示范(2/3宽) / 成果奖励(1/3宽)
   ======================================== */
.two-col-section {
  padding: 30px 0 40px;
}

.two-col-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
}

.section-card {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.section-card .card-head {
  background: var(--primary);
  color: #fff;
  padding: 14px 20px;
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-card .card-head::before {
  content: '';
  width: 4px;
  height: 18px;
  background: var(--accent-gold-light);
  border-radius: 2px;
}

.section-card .card-body {
  padding: 20px;
}

.section-card .card-body p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-body);
  text-indent: 2em;
}

/* 成果示范 — 水平图片轮播（向左滑动） */
.demo-carousel {
  position: relative;
  overflow: hidden;
}

.demo-carousel .demo-track {
  display: flex;
  transition: transform 0.6s ease-in-out;
}

.demo-carousel .demo-slide {
  flex: 0 0 50%;
  padding: 0 6px;
}

.demo-carousel .demo-slide .demo-img {
  aspect-ratio: 16 / 10;
  background: var(--bg-lighter);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--primary);
  overflow: hidden;
}

.demo-carousel .demo-slide .demo-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.demo-carousel .demo-slide .demo-label {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 6px;
}

/* 成果奖励 — 证书垂直向上滚动 */
.cert-vertical {
  position: relative;
  overflow: hidden;
  height: 340px;
  mask-image: linear-gradient(to bottom, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 10%, black 90%, transparent 100%);
}

.cert-vertical .cert-v-track {
  animation: certScrollUp 12s linear infinite;
}

.cert-vertical:hover .cert-v-track {
  animation-play-state: paused;
}

@keyframes certScrollUp {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

.cert-vertical .cert-v-item {
  text-align: center;
  padding: 10px 0;
}

.cert-vertical .cert-v-item .cert-v-img {
  width: 100%;
  height: 170px;
  background: var(--bg-lighter);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--accent-gold);
  overflow: hidden;
}

.cert-vertical .cert-v-item .cert-v-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cert-vertical .cert-v-item .cert-v-name {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ========================================
   通用区块标题
   ======================================== */
.section-header {
  text-align: center;
  margin-bottom: 30px;
}

.section-header h2 {
  font-size: 1.6rem;
  color: var(--primary);
  margin-bottom: 6px;
  letter-spacing: 0.04em;
}

.section-header .section-line {
  width: 50px;
  height: 3px;
  background: var(--accent-gold-light);
  margin: 0 auto;
  border-radius: 2px;
}

.section-header p {
  color: var(--text-muted);
  margin-top: 6px;
  font-size: 0.9rem;
}

/* ========================================
   页脚 — 参考页面底部.jpg
   ======================================== */
.site-footer {
  background: #003399;
  color: rgba(255,255,255,0.8);
  padding: 50px 0 24px;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.site-footer .footer-logo {
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 180px;
  height: 180px;
  background: #003399;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.site-footer .footer-logo img {
  height: 90px;
  width: auto;
}

.site-footer .footer-info {
  position: relative;
  z-index: 2;
  font-size: 0.9rem;
  line-height: 1.9;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 30px;
}

.site-footer .footer-info p {
  margin-bottom: 2px;
}

.site-footer .footer-info .footer-title {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 6px;
}

.site-footer .footer-divider {
  width: 60px;
  height: 2px;
  background: rgba(255,255,255,0.3);
  margin: 10px auto;
  border-radius: 1px;
}

/* ========================================
   内页横幅 — nybanner.jpg 背景 + 半透明遮罩
   ======================================== */
.page-banner {
  background: url("../images/nybanner.jpg") center/cover no-repeat;
  color: #fff;
  padding: 60px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* 半透明暗色遮罩层 */
.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 34, 102, 0.65);
  pointer-events: none;
  z-index: 1;
}

.page-banner .container {
  position: relative;
  z-index: 2;
}

.page-banner h1 {
  color: #fff;
  font-size: 1.8rem;
  margin: 0;
  letter-spacing: 0.04em;
}

.page-banner .banner-subtitle {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  margin-top: 6px;
}

/* ========================================
   面包屑
   ======================================== */
.breadcrumb-bar {
  background: #fff;
  border-bottom: 1px solid var(--border-color);
  padding: 10px 0;
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .separator { color: var(--text-light); user-select: none; }
.breadcrumb .current { color: var(--primary); font-weight: 500; }

/* ========================================
   内容区域布局（内页）
   ======================================== */
.content-wrapper {
  display: flex;
  gap: 20px;
  padding: 24px 0;
}

.sidebar {
  width: var(--sidebar-width);
  flex-shrink: 0;
}

.sidebar-nav {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  position: sticky;
  top: 56px;
  z-index: 10;
}

.sidebar-nav .sidebar-title {
  background: var(--primary);
  color: #fff;
  padding: 14px 20px;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.03em;
}

.sidebar-nav ul li { border-bottom: 1px solid var(--border-light); }
.sidebar-nav ul li:last-child { border-bottom: none; }

.sidebar-nav ul a {
  display: block;
  padding: 12px 20px;
  color: var(--text-body);
  font-size: 0.95rem;
  transition: all var(--transition);
  border-left: 3px solid transparent;
}

.sidebar-nav ul a:hover,
.sidebar-nav ul a.active {
  color: var(--primary);
  background: var(--primary-pale);
  border-left-color: var(--primary);
}

.main-content {
  flex: 1;
  min-width: 0;
}

.content-card {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 24px 20px;
  margin-bottom: 24px;
}

.content-card:last-child { margin-bottom: 0; }

.content-card h2 {
  color: var(--primary);
  font-size: 1.3rem;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--primary-pale);
  display: flex;
  align-items: center;
  gap: 10px;
}

.content-card h2::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 22px;
  background: var(--primary);
  border-radius: 2px;
}

.content-card h3 {
  color: var(--primary);
  margin: 20px 0 10px;
}

/* ========================================
   通用组件
   ======================================== */

/* 返回顶部 */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--primary-dark); transform: translateY(-2px); }

/* 按钮 */
.btn {
  display: inline-block;
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  text-align: center;
  transition: all var(--transition);
  border: none;
  letter-spacing: 0.02em;
  font-family: inherit;
}

.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; }
.btn-outline { background: transparent; color: var(--primary); border: 1px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-sm { padding: 6px 14px; font-size: 0.85rem; }

/* 提示框 */
.alert {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  font-size: 0.95rem;
  line-height: 1.6;
}
.alert-info { background: #e8f4fd; color: #0c5460; border: 1px solid #bee5eb; }
.alert-warning { background: #fff3cd; color: #856404; border: 1px solid #ffeaa7; }

/* 标签 */
.tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 500;
}
.tag-blue { background: var(--primary-pale); color: var(--primary); }
.tag-gold { background: #fef3d0; color: #8b6914; }
.tag-green { background: #d4edda; color: #155724; }

/* 文件卡片 */
.file-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--bg-lighter);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  transition: all var(--transition);
  margin-bottom: 12px;
}
.file-card:hover { border-color: var(--primary-pale); box-shadow: var(--shadow-sm); }
.file-card .file-icon { font-size: 2rem; color: var(--primary); flex-shrink: 0; }
.file-card .file-info { flex: 1; min-width: 0; }
.file-card .file-name { font-weight: 500; color: var(--text-dark); margin-bottom: 2px; }
.file-card .file-meta { font-size: 0.85rem; color: var(--text-muted); }

/* 团队成员详情（左侧图片 + 右侧文字） */
.member-detail {
  display: none;
}

.member-detail.active {
  display: flex;
  gap: 28px;
  align-items: flex-start;
}

.member-detail .member-photo {
  flex-shrink: 0;
  width: 200px;
  aspect-ratio: 3 / 4;
  background: linear-gradient(180deg, var(--primary-pale), #dce8f2);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: var(--primary);
  overflow: hidden;
}

.member-detail .member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.member-detail .member-info {
  flex: 1;
  min-width: 0;
}

.member-detail .member-info h3 {
  color: var(--primary);
  font-size: 1.4rem;
  margin-bottom: 4px;
}

.member-detail .member-info .member-title {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-light);
}

.member-detail .member-info .member-bio {
  color: var(--text-body);
  line-height: 1.9;
}

.member-detail .member-info .member-bio p {
  text-indent: 2em;
  margin-bottom: 10px;
}

/* 侧边栏成员列表滚动（16人较长） */
.sidebar-nav ul {
  max-height: 520px;
  overflow-y: auto;
}

/* 视频网格 */
.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.video-card {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.video-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.video-thumb {
  position: relative;
  background: #1a1a2e;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  overflow: hidden;
}
.video-thumb .play-btn {
  width: 56px; height: 56px;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  color: var(--primary);
  transition: all var(--transition);
}
.video-thumb:hover .play-btn { background: #fff; transform: scale(1.1); }
.video-info { padding: 14px; }
.video-info h4 { margin-bottom: 4px; }
.video-info p { font-size: 0.9rem; color: var(--text-muted); margin: 0; }

/* 材料分类 */
.material-category {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  margin-bottom: 24px;
}
.material-category .cat-header {
  background: var(--primary-pale);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.material-category .cat-header h3 { margin: 0; color: var(--primary); font-size: 1.1rem; }
.material-category .cat-header .cat-icon { font-size: 1.2rem; }
.material-category .cat-body { padding: 8px 0; }
.material-category .cat-body .file-card { margin: 0 16px 4px; border: none; border-radius: 0; border-bottom: 1px solid var(--border-light); }
.material-category .cat-body .file-card:last-child { border-bottom: none; }

/* Tab */
.tab-nav {
  display: flex;
  border-bottom: 2px solid var(--border-color);
  margin-bottom: 20px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.tab-nav button {
  padding: 10px 20px;
  background: none; border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  font-size: 0.95rem; color: var(--text-muted);
  font-weight: 500; white-space: nowrap;
  transition: all var(--transition);
  font-family: inherit;
}
.tab-nav button:hover { color: var(--primary); }
.tab-nav button.active { color: var(--primary); border-bottom-color: var(--primary); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* 分页 */
.pagination {
  display: flex; justify-content: center; gap: 6px; margin-top: 24px;
}
.pagination a, .pagination span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 36px; height: 36px; padding: 0 8px;
  border-radius: var(--radius-sm); font-size: 0.9rem;
  border: 1px solid var(--border-color); color: var(--text-body);
  background: #fff; transition: all var(--transition);
}
.pagination a:hover, .pagination .current {
  background: var(--primary); color: #fff; border-color: var(--primary);
}

/* 滚动条美化 */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg-light); }
::-webkit-scrollbar-thumb { background: #c1cdd7; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #a0b0bc; }

/* 打印 */
@media print {
  .main-nav, .site-footer, .back-to-top, .breadcrumb-bar, .carousel-section, .sidebar { display: none !important; }
  .content-wrapper { display: block; }
  .main-content { max-width: 100%; }
  body { font-size: 12pt; color: #000; background: #fff; }
}