/* ==========================================
   野鹿大学 · YELO UNIVERSITY
   主样式表 — 仿耶鲁大学风格 + 讽刺元素
   ========================================== */

/* --- CSS 变量 / Design Tokens --- */
:root {
  --navy: #00356b;      /* 耶鲁蓝 */
  --navy-dark: #001f42;
  --navy-light: #286dc0;
  --gold: #bd8b13;
  --gold-light: #f2c057;
  --gold-pale: #fdf3d7;
  --gray-100: #f8f9fa;
  --gray-200: #e9ecef;
  --gray-400: #9ba3af;
  --gray-600: #545e6e;
  --gray-800: #2d3748;
  --white: #ffffff;
  --text-primary: #1a2332;
  --text-secondary: #4a5568;
  --font-serif: 'Noto Serif SC', 'IM Fell English', Georgia, serif;
  --font-sans: 'Noto Sans SC', 'Helvetica Neue', sans-serif;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.18);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --transition: 0.25s ease;
}

/* --- 全局重置 --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  color: var(--text-primary);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* --- 公告栏 --- */
.announcement-bar {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.9);
  font-size: 0.82rem;
  font-family: var(--font-sans);
  padding: 10px 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  text-align: center;
  border-bottom: 2px solid var(--gold);
}
.announcement-icon { font-size: 1rem; }
.announcement-link {
  color: var(--gold-light);
  font-weight: 600;
  margin-left: 8px;
  transition: color var(--transition);
}
.announcement-link:hover { color: var(--white); }

/* --- 顶部 Header --- */
.site-header {
  background: var(--white);
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 40px;
  border-bottom: 1px solid var(--gray-200);
  gap: 20px;
  flex-wrap: wrap;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.header-seal {
  width: 64px;
  height: 64px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15));
}

.header-title-group {
  display: flex;
  flex-direction: column;
}

.header-title-zh {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--navy);
  letter-spacing: 0.05em;
  line-height: 1.1;
}

.header-title-en {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.header-domain {
  font-size: 0.65rem;
  color: var(--gray-400);
  font-style: italic;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.header-action-link {
  font-size: 0.82rem;
  color: var(--navy);
  font-weight: 500;
  transition: color var(--transition);
  white-space: nowrap;
}
.header-action-link:hover { color: var(--gold); }

.header-search {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--gray-200);
  border-radius: 24px;
  overflow: hidden;
  background: var(--gray-100);
  transition: border-color var(--transition);
}
.header-search:focus-within { border-color: var(--navy); }

.search-input {
  border: none;
  background: transparent;
  padding: 6px 14px;
  font-size: 0.82rem;
  font-family: var(--font-sans);
  outline: none;
  width: 180px;
  color: var(--text-primary);
}
.search-btn {
  border: none;
  background: transparent;
  padding: 6px 12px;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--gray-600);
}

/* --- 主导航 --- */
.main-nav {
  background: var(--navy);
}

.nav-list {
  display: flex;
  align-items: center;
  padding: 0 32px;
  gap: 0;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: block;
  padding: 14px 22px;
  color: rgba(255,255,255,0.88);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
}
.nav-link:hover {
  background: rgba(255,255,255,0.1);
  color: var(--white);
}
.nav-item:hover > .nav-link {
  background: var(--gold);
  color: var(--white);
}

/* 下拉菜单 */
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 200px;
  box-shadow: var(--shadow-lg);
  border-top: 3px solid var(--gold);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--transition);
  z-index: 200;
}
.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown a {
  display: block;
  padding: 10px 18px;
  color: var(--text-secondary);
  font-size: 0.85rem;
  border-bottom: 1px solid var(--gray-100);
  transition: background var(--transition), color var(--transition), padding var(--transition);
}
.dropdown a:hover {
  background: var(--gold-pale);
  color: var(--navy);
  padding-left: 24px;
}

/* --- 英雄区 --- */
.hero {
  position: relative;
  height: 90vh;
  min-height: 600px;
  max-height: 900px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.05);
  animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  from { transform: scale(1.05); }
  to   { transform: scale(1.15); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0,29,66,0.88) 0%,
    rgba(0,53,107,0.75) 50%,
    rgba(0,29,66,0.70) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 60px;
  animation: fadeInUp 1s ease both;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
  box-shadow: 0 2px 12px rgba(189,139,19,0.4);
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 16px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-subtitle-em {
  font-size: 0.55em;
  font-weight: 400;
  font-style: italic;
  color: var(--gold-light);
  display: block;
  margin-top: 8px;
}

.hero-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 36px;
  line-height: 1.8;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.6);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  animation: bounce 2s ease infinite;
}
.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid rgba(255,255,255,0.6);
  border-bottom: 2px solid rgba(255,255,255,0.6);
  transform: rotate(45deg);
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* --- 按钮 --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 28px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-gold {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
  box-shadow: 0 4px 16px rgba(189,139,19,0.35);
}
.btn-gold:hover {
  background: #a07510;
  border-color: #a07510;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(189,139,19,0.45);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-navy:hover {
  background: var(--navy-dark);
  border-color: var(--navy-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-navy-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-navy-outline:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}

/* --- 数据统计栏 --- */
.stats-bar {
  background: var(--navy-dark);
  padding: 40px 0;
  border-bottom: 3px solid var(--gold);
}

.stats-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 20px;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
  flex: 1;
  min-width: 180px;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.02em;
  line-height: 1.5;
}

.stat-divider {
  width: 1px;
  height: 60px;
  background: rgba(255,255,255,0.15);
  flex-shrink: 0;
}

/* --- 通用 section 工具 --- */
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.section-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--gold);
}

.section-tag-light {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(242,192,87,0.5);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
  gap: 20px;
  flex-wrap: wrap;
}

.section-header-centered {
  text-align: center;
  margin-bottom: 48px;
}

/* --- 校长寄语 --- */
.president-message {
  padding: 80px 0;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
}

.president-message .section-container {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 60px;
  align-items: start;
}

.president-text p {
  color: var(--text-secondary);
  margin-bottom: 20px;
  font-size: 1rem;
  line-height: 1.85;
}

.president-text strong { color: var(--navy); font-weight: 700; }
.president-text em { color: var(--gold); font-style: italic; }

.president-photo-placeholder {
  background: linear-gradient(145deg, var(--navy) 0%, var(--navy-dark) 100%);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  color: var(--white);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,0.1);
}

.president-icon { font-size: 5rem; margin-bottom: 20px; }

.president-name {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.president-title {
  font-size: 0.8rem;
  color: var(--gold-light);
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}

.president-credentials {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.9;
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 16px;
}
.president-credentials em { color: var(--gold-light); }

/* --- 特色项目 --- */
.featured-programs {
  padding: 80px 0;
  background: var(--gray-100);
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.program-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}
.program-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--navy), var(--navy-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.program-card:hover::before { transform: scaleX(1); }
.program-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--navy-light);
}

.program-card-featured {
  background: linear-gradient(145deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
  border-color: transparent;
}
.program-card-featured::before { background: linear-gradient(90deg, var(--gold), var(--gold-light)); }
.program-card-featured .program-tag { color: var(--gold-light); }
.program-card-featured .program-title { color: var(--white); }
.program-card-featured .program-desc { color: rgba(255,255,255,0.8); }
.program-card-featured .program-desc strong { color: var(--gold-light); }
.program-card-featured .program-stat { color: rgba(255,255,255,0.65); }
.program-card-featured .program-link { color: var(--gold-light); }

.program-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  background: var(--gold);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
  letter-spacing: 0.05em;
}

.program-icon {
  font-size: 2.4rem;
  margin-bottom: 14px;
}

.program-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--navy-light);
  margin-bottom: 10px;
}

.program-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.35;
}

.program-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 20px;
}
.program-desc strong { color: var(--navy); font-weight: 600; }

.program-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--gray-200);
  padding-top: 16px;
  margin-top: auto;
}
.program-card-featured .program-footer { border-color: rgba(255,255,255,0.15); }

.program-stat {
  font-size: 0.78rem;
  color: var(--gray-600);
  font-weight: 500;
}

.program-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  transition: color var(--transition);
}
.program-link:hover { color: var(--gold); }

.programs-cta { text-align: center; }

/* --- 新闻区 --- */
.news-section {
  padding: 80px 0;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
}

.news-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.news-card-featured {
  background: linear-gradient(145deg, var(--navy-dark) 0%, var(--navy) 100%);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 40px 36px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.news-card-featured .news-category {
  color: var(--gold-light);
  background: rgba(242,192,87,0.15);
  border-color: rgba(242,192,87,0.3);
}

.news-card-featured .news-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.4;
}

.news-card-featured .news-excerpt {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.8;
}

.news-card-featured .news-meta { color: rgba(255,255,255,0.5); }

.news-card-featured .news-link {
  color: var(--gold-light);
  font-weight: 600;
  margin-top: auto;
  display: inline-block;
  transition: color var(--transition);
}
.news-card-featured .news-link:hover { color: var(--white); }

.news-category {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--gold-pale);
  border: 1px solid rgba(189,139,19,0.2);
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 10px;
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.news-list-item {
  padding: 24px 0;
  border-bottom: 1px solid var(--gray-200);
}
.news-list-item:first-child { padding-top: 0; }
.news-list-item:last-child { border-bottom: none; }

.news-list-title {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.45;
  transition: color var(--transition);
  cursor: pointer;
}
.news-list-item:hover .news-list-title { color: var(--gold); }

.news-meta {
  display: flex;
  gap: 14px;
  font-size: 0.78rem;
  color: var(--gray-400);
  margin-bottom: 8px;
}

.news-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  transition: color var(--transition);
}
.news-link:hover { color: var(--gold); }

/* --- 校友见证 --- */
.testimonials {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
}

.testimonials .section-tag { color: var(--gold-light); border-bottom-color: var(--gold-light); }
.testimonials .section-title { color: var(--white); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  backdrop-filter: blur(10px);
  transition: all var(--transition);
  position: relative;
}
.testimonial-card:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.testimonial-quote {
  font-family: Georgia, serif;
  font-size: 5rem;
  line-height: 0.8;
  color: var(--gold);
  opacity: 0.5;
  margin-bottom: 16px;
}

.testimonial-text {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.82);
  line-height: 1.85;
  margin-bottom: 24px;
  font-style: italic;
}
.testimonial-text em { color: var(--gold-light); }

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.12);
}

.testimonial-avatar {
  font-size: 2rem;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  flex-shrink: 0;
}

.testimonial-name {
  font-weight: 700;
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.testimonial-class {
  font-size: 0.78rem;
  color: var(--gold-light);
}

.testimonial-current {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  margin-top: 2px;
  font-style: italic;
}

/* --- 申请区 --- */
.apply-section {
  position: relative;
  padding: 80px 0;
  overflow: hidden;
}

.apply-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #f7f3e8 0%, #fff9ec 50%, #f7f3e8 100%);
}

.apply-content {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: start;
}

.apply-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 16px;
}

.apply-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 32px;
}

.apply-requirements h3 {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

.apply-requirements ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}

.apply-requirements li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  padding-left: 20px;
  position: relative;
  line-height: 1.6;
}

.apply-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.apply-stats-panel {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: var(--shadow-lg);
}

.apply-stats-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

.apply-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.apply-stat:last-of-type { border-bottom: none; }

.apply-stat-num {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--gold-light);
  line-height: 1;
}

.apply-stat-desc {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
}

.apply-note {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.35);
  font-style: italic;
  margin-top: 16px;
  text-align: center;
}

/* --- 页脚 --- */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.8);
}

.footer-top {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 60px;
  padding: 64px 60px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  max-width: 1400px;
  margin: 0 auto;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-seal {
  width: 70px;
  height: 70px;
  object-fit: contain;
  opacity: 0.9;
  filter: brightness(0.9);
}

.footer-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
}

.footer-subtitle {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.5);
}

.footer-motto {
  font-size: 0.85rem;
  color: var(--gold-light);
  margin-top: 8px;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.footer-col h4 {
  font-family: var(--font-serif);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.footer-col a {
  display: block;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  padding: 5px 0;
  transition: color var(--transition), padding-left var(--transition);
}
.footer-col a:hover {
  color: var(--gold-light);
  padding-left: 6px;
}

.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding: 28px 60px;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 8px;
  line-height: 1.6;
}

.footer-disclaimer {
  font-size: 0.72rem !important;
  color: rgba(255,255,255,0.3) !important;
  font-style: italic;
}

.footer-legal {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.footer-legal a {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
  transition: color var(--transition);
}
.footer-legal a:hover { color: var(--gold-light); }

.footer-legal span { color: rgba(255,255,255,0.2); }

/* ==========================================
   academics.html 样式
   ========================================== */
.page-hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 40px,
    rgba(255,255,255,0.02) 40px,
    rgba(255,255,255,0.02) 80px
  );
}
.page-hero-content {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}
.page-hero .section-tag { color: var(--gold-light); border-bottom-color: var(--gold); }
.page-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 16px;
}
.page-hero-subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.7);
  max-width: 600px;
  line-height: 1.7;
}

.academics-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 40px;
}

.departments-section { margin-bottom: 64px; }

.dept-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--navy);
}
.dept-icon { font-size: 2rem; }
.dept-name {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
}
.dept-tagline {
  font-size: 0.82rem;
  color: var(--text-secondary);
  font-style: italic;
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.course-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: all var(--transition);
  position: relative;
}
.course-card:hover {
  border-color: var(--navy);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.course-code {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 8px;
}
.course-title {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.3;
}
.course-desc {
  font-size: 0.83rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 14px;
}
.course-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: var(--gray-400);
  padding-top: 12px;
  border-top: 1px solid var(--gray-100);
}
.course-uselessness {
  display: flex;
  gap: 4px;
}
.useless-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}
.useless-dot.empty { background: var(--gray-200); }

/* ==========================================
   news.html 样式
   ========================================== */
.news-full-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 40px;
}

.news-main article {
  padding: 36px 0;
  border-bottom: 1px solid var(--gray-200);
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.news-main article:first-child { padding-top: 0; }

.news-main .news-title-large {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.4;
  cursor: pointer;
  transition: color var(--transition);
}
.news-main .news-title-large:hover { color: var(--gold); }

.news-main .news-body {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.85;
}

.news-sidebar {
  position: sticky;
  top: 120px;
}
.sidebar-widget {
  background: var(--gray-100);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 24px;
  border: 1px solid var(--gray-200);
}
.sidebar-widget h3 {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--gray-200);
}
.sidebar-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.sidebar-tag {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 100px;
  padding: 4px 12px;
  font-size: 0.75rem;
  color: var(--navy);
  cursor: pointer;
  transition: all var(--transition);
}
.sidebar-tag:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

/* ==========================================
   life.html 样式
   ========================================== */
.life-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 40px;
}

.life-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
}
.life-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.life-card-body {
  background: var(--white);
  padding: 28px;
  border: 1px solid var(--gray-200);
  border-top: none;
}

.life-icon {
  font-size: 3rem;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.life-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.life-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* ==========================================
   响应式
   ========================================== */
@media (max-width: 1024px) {
  .programs-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .president-message .section-container { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-links-grid { grid-template-columns: repeat(2, 1fr); }
  .apply-content { grid-template-columns: 1fr; }
  .news-full-grid { grid-template-columns: 1fr; }
  .life-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .header-top { padding: 12px 20px; }
  .header-actions { display: none; }
  .nav-list { flex-wrap: wrap; padding: 0 16px; }
  .nav-link { padding: 10px 14px; font-size: 0.8rem; }
  .hero-content { padding: 0 24px; }
  .stats-container { gap: 16px; }
  .stat-divider { display: none; }
  .programs-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .life-grid { grid-template-columns: 1fr; }
  .footer-top { padding: 40px 24px; }
  .footer-bottom { padding: 20px 24px; }
  .section-container { padding: 0 20px; }
  .footer-links-grid { grid-template-columns: 1fr; }
  .dropdown { display: none; }
}
