/*
 * =======================================
 *  about.css — 学院简介页独有样式
 *  依赖：base.css（全局变量 + 通用组件）
 * =======================================
 */
/* ===== ABOUT PAGE HERO ===== */
.about-hero {
  position: relative;
  height: 320px;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.about-hero-bg {
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1541339907198-e08756dedf3f?w=1600&q=80') center/cover no-repeat;
}
.about-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 47, 95, 0.92) 0%, rgba(0, 80, 165, 0.78) 100%);
}
.about-hero .container { position: relative; z-index: 1; }
.about-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  color: var(--white);
  letter-spacing: 4px;
  margin-bottom: 8px;
}
.about-hero .en-title {
  font-size: 18px;
  color: var(--navy-300);
  letter-spacing: 6px;
  font-weight: 300;
}

/* ===== Stats Bar ===== */
.stats-bar {
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
  padding: 0;
  box-shadow: 0 2px 12px rgba(0, 47, 95, 0.04);
  position: relative;
  z-index: 2;
  margin-top: -40px;
}
.stats-bar .container {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 12px 48px rgba(0, 47, 95, 0.1);
}
.stat-item {
  padding: 32px 24px;
  text-align: center;
  border-right: 1px solid var(--gray-100);
  transition: all 0.3s ease;
}
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: linear-gradient(135deg, var(--navy-50), var(--gold-100)); }
.stat-item .number {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--navy-600), var(--gold-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-item .number .unit { font-size: 14px; font-weight: 500; margin-left: 2px; }
.stat-item .label { font-size: 14px; color: var(--gray-500); font-weight: 500; }

/* ===== About Content ===== */
.about-content { padding: 80px 0; }
.about-layout { display: grid; grid-template-columns: 1fr 360px; gap: 60px; }

/* Main text */
.about-text { font-size: 16px; line-height: 2; color: var(--gray-700); }
.about-text > p { margin-bottom: 20px; text-indent: 2em; }
.about-text h2 {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 700;
  color: var(--navy-800);
  margin: 40px 0 20px;
  padding-left: 16px;
  border-left: 4px solid var(--gold-500);
  border-image: linear-gradient(180deg, var(--gold-500), var(--navy-500)) 1;
  border-left-width: 4px;
  text-indent: 0;
}
.about-text h3 {
  font-size: 18px; font-weight: 600;
  color: var(--navy-700);
  margin: 28px 0 14px;
  text-indent: 0;
}

/* ===== Leadership Section ===== */
.leadership-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 24px; }
.leader-card {
  display: flex; gap: 20px;
  padding: 24px;
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: var(--white);
}
.leader-card:hover {
  border-color: var(--navy-200);
  background: linear-gradient(135deg, var(--navy-50), var(--navy-100));
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 47, 95, 0.12);
}
.leader-avatar {
  flex-shrink: 0;
  width: 80px; height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-200), var(--navy-100));
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; color: var(--navy-600);
}
.leader-info h4 { font-size: 17px; font-weight: 700; color: var(--navy-800); margin-bottom: 4px; }
.leader-info .title { font-size: 13px; color: var(--gold-600); font-weight: 500; margin-bottom: 8px; }
.leader-info .desc { font-size: 13px; color: var(--gray-500); line-height: 1.6; }

/* ===== Organization Chart ===== */
/** 机构设置 - 分类卡片 */
.org-section { margin-top: 24px; }
.org-category { margin-bottom: 32px; }
.org-category:last-child { margin-bottom: 0; }
.org-category-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy-700);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--navy-100);
}
.org-category-title svg {
  color: var(--navy-500);
}
.org-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}
.org-dept-card {
  background: #fff;
  border: 1px solid var(--gray-100);
  border-radius: 12px;
  padding: 18px;
  transition: all 0.25s ease;
}
.org-dept-card:hover {
  border-color: var(--navy-200);
  box-shadow: 0 4px 16px rgba(0,47,95,0.08);
  transform: translateY(-2px);
}
.dept-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy-800);
  margin-bottom: 2px;
}
.dept-sub {
  font-size: 12px;
  color: var(--gray-500);
  margin-bottom: 6px;
}
.dept-head {
  font-size: 13px;
  color: var(--gray-600);
  margin-bottom: 4px;
}
.dept-label {
  display: inline-block;
  background: var(--navy-50);
  color: var(--navy-600);
  font-size: 11px;
  padding: 1px 6px;
  border-radius: 4px;
  margin-right: 4px;
}
.dept-duty {
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.5;
  margin-bottom: 6px;
}
.dept-phone {
  font-size: 12px;
  color: var(--navy-600);
  font-weight: 500;
}

/* ===== Timeline ===== */
.timeline { margin-top: 24px; position: relative; padding-left: 28px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 8px; top: 8px; bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--gold-500), var(--navy-400), var(--navy-500));
}
.timeline-item { position: relative; padding-bottom: 28px; padding-left: 24px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -24px; top: 6px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--gold-500);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 3px var(--gold-200), 0 0 16px rgba(249, 115, 22, 0.25);
}
.timeline-item .year { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--navy-700); margin-bottom: 4px; }
.timeline-item .event { font-size: 14px; color: var(--gray-600); line-height: 1.7; }

/* ===== Sidebar Info Cards ===== */
.info-card {
  background: var(--white);
  border: 1px solid var(--navy-100);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: 0 2px 16px rgba(0, 47, 95, 0.06);
}
.info-card + .info-card { margin-top: 24px; }
.info-card h4 {
  font-size: 16px; font-weight: 700;
  color: var(--navy-800);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gold-500);
  border-image: linear-gradient(90deg, var(--gold-500), var(--navy-500)) 1;
}
.info-list { display: flex; flex-direction: column; gap: 12px; }
.info-item { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--gray-600); }
.info-item .label { flex-shrink: 0; color: var(--gray-500); font-weight: 500; min-width: 70px; }
.info-item .value { color: var(--gray-700); }

.contact-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px; border-radius: var(--radius-sm);
  background: var(--gray-50); font-size: 14px; color: var(--gray-600);
  transition: all var(--transition-fast);
}
.contact-item + .contact-item { margin-top: 10px; }
.contact-item:hover { background: linear-gradient(135deg, var(--navy-50), var(--navy-100)); }
.contact-item .icon {
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  background: var(--navy-50);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
}


/* ==========================================================================
 *  RESPONSIVE — 学院简介页独有布局
 *  全局组件（header/footer/container）响应式规则已在 base.css 中定义
 * ========================================================================== */

/* --- Tablet: <= 1024px --- */
@media (max-width: 1024px) {
  .about-layout {
    grid-template-columns: 1fr 280px;
    gap: 40px;
  }
  .stats-bar .container {
    grid-template-columns: repeat(3, 1fr);
  }
  .org-grid { grid-template-columns: repeat(2, 1fr); }
}

/* --- Mobile: <= 768px --- */
@media (max-width: 768px) {
  /* Hero */
  .about-hero { height: 240px; }
  .about-hero h1 { font-size: 28px; letter-spacing: 2px; }
  .about-hero .en-title { font-size: 14px; letter-spacing: 3px; }

  /* Stats bar */
  .stats-bar {
    margin-top: -24px;
  }
  .stats-bar .container {
    grid-template-columns: repeat(2, 1fr);
    border-radius: var(--radius-md);
  }
  .stat-item {
    padding: 20px 16px;
  }
  .stat-item:last-child { border-right: 1px solid var(--gray-100); }
  .stat-item:nth-child(3) { border-right: none; }
  .stat-item .number { font-size: 28px; }
  .stat-item .label { font-size: 12px; }

  /* About content */
  .about-content { padding: 48px 0; }
  .about-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .about-text h2 { font-size: 18px; }
  .about-text h3 { font-size: 16px; }

  /* Leadership grid */
  .leadership-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .leader-card { padding: 16px; }
  .leader-avatar { width: 60px; height: 60px; font-size: 24px; }
  .leader-info h4 { font-size: 15px; }

  /* Org grid - tablet */
  .org-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .org-grid { grid-template-columns: 1fr; }
    .org-dept-card { padding: 14px; }

  /* Timeline */
  .timeline { padding-left: 24px; }
  .timeline-item { padding-left: 20px; }
  .timeline-item .year { font-size: 16px; }
  .timeline-item .event { font-size: 13px; }
}

/* --- Small Mobile: <= 480px --- */
@media (max-width: 480px) {
  .about-hero { height: 200px; }
  .about-hero h1 { font-size: 24px; }
  .stats-bar .container { grid-template-columns: 1fr; }
  .stat-item:last-child { border-right: none; }
  .org-grid { grid-template-columns: 1fr; }
}
