/* ===== 江山路第一小学官网 · 北大风格增强版 ===== */
:root {
  --red: #8c0014;
  --red-dark: #5c000d;
  --red-light: #b8001f;
  --gold: #c9a84c;
  --gold-light: #f0e6c8;
  --gold-dark: #a68532;
  --text: #2c2c2c;
  --text-light: #555;
  --text-muted: #888;
  --bg: #f5f3ee;
  --bg-warm: #faf8f4;
  --white: #fff;
  --border: #e5ddd0;
  --header-h: 72px;
  --notice-h: 36px;
  --font-serif: "Noto Serif SC", "Source Han Serif SC", "SimSun", serif;
  --font-sans: "PingFang SC", "Microsoft YaHei", sans-serif;
  --shadow: 0 8px 30px rgba(92,0,13,0.08);
  --shadow-lg: 0 20px 60px rgba(92,0,13,0.12);
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --radius: 12px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; transition: all var(--transition); }
img { max-width: 100%; display: block; }
ul { list-style: none; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 28px; }

/* 顶部公告栏 */
.top-notice {
  background: linear-gradient(90deg, var(--red-dark), var(--red));
  color: rgba(255,255,255,0.9);
  height: var(--notice-h);
  display: flex;
  align-items: center;
  font-size: 13px;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1001;
  overflow: hidden;
}
.top-notice-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.notice-badge {
  background: var(--gold);
  color: var(--red-dark);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 2px;
  flex-shrink: 0;
  letter-spacing: 1px;
}

/* 导航 */
.site-header {
  position: fixed;
  top: var(--notice-h);
  left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(92, 0, 13, 0.96);
  backdrop-filter: blur(16px);
  border-bottom: 2px solid var(--gold);
  transition: all var(--transition);
}
.site-header.scrolled {
  box-shadow: 0 4px 30px rgba(0,0,0,0.25);
  background: rgba(92, 0, 13, 0.99);
}
.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  height: 100%;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.logo { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.logo-emblem {
  width: 46px; height: 46px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif);
  font-size: 20px; font-weight: 700;
  color: var(--red-dark);
  box-shadow: 0 2px 12px rgba(201,168,76,0.4);
}
.logo-text h1 {
  font-family: var(--font-serif);
  font-size: 17px; font-weight: 700;
  color: #fff; letter-spacing: 2px; line-height: 1.2;
}
.logo-text span { font-size: 10px; color: rgba(255,255,255,0.55); letter-spacing: 1.5px; }
.main-nav { display: flex; gap: 2px; }
.main-nav a {
  padding: 8px 15px;
  color: rgba(255,255,255,0.82);
  font-size: 14px;
  border-radius: 6px;
  position: relative;
}
.main-nav a:hover, .main-nav a.active { color: #fff; background: rgba(255,255,255,0.1); }
.main-nav a.active::after {
  content: ''; position: absolute; bottom: 4px; left: 50%;
  transform: translateX(-50%);
  width: 18px; height: 2px; background: var(--gold);
}
.header-search {
  display: flex; align-items: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 24px; overflow: hidden;
}
.header-search input {
  background: none; border: none; outline: none;
  padding: 7px 14px; color: #fff; font-size: 13px; width: 130px;
}
.header-search input::placeholder { color: rgba(255,255,255,0.45); }
.header-search button {
  background: var(--gold); border: none;
  padding: 7px 16px; cursor: pointer;
  color: var(--red-dark); font-size: 13px; font-weight: 600;
}
.mobile-toggle { display: none; background: none; border: none; color: #fff; font-size: 24px; cursor: pointer; }

/* 轮播 */
.hero {
  margin-top: calc(var(--header-h) + var(--notice-h));
  position: relative;
  height: min(85vh, 720px);
  min-height: 500px;
  overflow: hidden;
}
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity 1.4s ease;
}
.hero-slide.active { opacity: 1; z-index: 1; }
.hero-slide img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.08);
  transition: transform 10s ease;
}
.hero-slide.active img { transform: scale(1); }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(92,0,13,0.88) 0%, rgba(140,0,20,0.6) 45%, rgba(0,0,0,0.2) 100%);
}
.hero-content {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 10%; max-width: 780px;
}
.hero-tag {
  display: inline-block;
  background: var(--gold); color: var(--red-dark);
  font-size: 11px; font-weight: 700;
  letter-spacing: 4px; padding: 6px 18px;
  margin-bottom: 28px; width: fit-content;
  animation: fadeUp 0.8s ease both;
}
.hero-content h2 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4.2vw, 48px);
  color: #fff; line-height: 1.35;
  font-weight: 700; letter-spacing: 2px;
  text-shadow: 0 4px 30px rgba(0,0,0,0.3);
  margin-bottom: 24px;
  animation: fadeUp 0.8s 0.15s ease both;
  word-break: keep-all;
}
.hero-content h2 .hero-line {
  display: block;
  white-space: nowrap;
}
@media (max-width: 480px) {
  .hero-content h2 .hero-line { white-space: normal; }
  .hero-content h2 { letter-spacing: 1px; font-size: 26px; }
}
.hero-content p {
  font-size: clamp(14px, 1.6vw, 18px);
  color: rgba(255,255,255,0.88);
  line-height: 1.9; letter-spacing: 0.5px;
  max-width: 520px;
  animation: fadeUp 0.8s 0.3s ease both;
}
.hero-btns {
  display: flex; gap: 16px; margin-top: 36px;
  animation: fadeUp 0.8s 0.45s ease both;
}
.btn-hero {
  padding: 12px 32px;
  border-radius: 4px;
  font-size: 14px; font-weight: 600;
  letter-spacing: 2px;
  transition: all var(--transition);
}
.btn-hero-primary { background: var(--gold); color: var(--red-dark); }
.btn-hero-primary:hover { background: #fff; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }
.btn-hero-outline { border: 2px solid rgba(255,255,255,0.6); color: #fff; }
.btn-hero-outline:hover { background: rgba(255,255,255,0.15); border-color: #fff; }
.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 3; width: 48px; height: 48px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50%;
  color: #fff; font-size: 20px;
  cursor: pointer; transition: all var(--transition);
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(4px);
}
.hero-arrow:hover { background: var(--gold); color: var(--red-dark); border-color: var(--gold); }
.hero-prev { left: 24px; }
.hero-next { right: 24px; }
.hero-dots {
  position: absolute; bottom: 40px; left: 50%;
  transform: translateX(-50%); z-index: 3;
  display: flex; gap: 8px;
}
.hero-dot {
  width: 32px; height: 3px;
  background: rgba(255,255,255,0.35);
  border: none; cursor: pointer;
  transition: all var(--transition);
}
.hero-dot.active { background: var(--gold); width: 48px; }
.hero-scroll {
  position: absolute; bottom: 40px; right: 8%; z-index: 3;
  color: rgba(255,255,255,0.5); font-size: 11px;
  letter-spacing: 3px; text-align: center;
  animation: bounce 2.5s infinite;
}
@keyframes fadeUp { from { opacity:0; transform:translateY(24px); } to { opacity:1; transform:translateY(0); } }
@keyframes bounce { 0%,100%{transform:translateY(0)} 50%{transform:translateY(8px)} }

/* 数据统计 */
.stats-bar { background: var(--red); position: relative; overflow: hidden; }
.stats-bar::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 40L40 0M-10 10L10 -10M30 50L50 30' stroke='%23ffffff' stroke-opacity='0.04' stroke-width='1'/%3E%3C/svg%3E");
}
.stats-inner {
  max-width: 1240px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(6, 1fr);
  position: relative;
}
.stat-item {
  padding: 36px 16px; text-align: center;
  border-right: 1px solid rgba(255,255,255,0.1);
  transition: background var(--transition);
}
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: rgba(255,255,255,0.06); }
.stat-num {
  font-family: var(--font-serif);
  font-size: 38px; font-weight: 700;
  color: var(--gold); line-height: 1; margin-bottom: 6px;
}
.stat-num sup { font-size: 16px; }
.stat-label { font-size: 12px; color: rgba(255,255,255,0.7); letter-spacing: 2px; }

/* 通用区块 */
.section { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 52px; }
.section-tag {
  display: inline-block; font-size: 11px;
  letter-spacing: 5px; color: var(--red);
  font-weight: 700; margin-bottom: 14px;
}
.section-header h2 {
  font-family: var(--font-serif);
  font-size: 34px; letter-spacing: 6px;
  color: var(--text); position: relative; display: inline-block;
}
.section-header h2::after {
  content: ''; position: absolute;
  bottom: -14px; left: 50%; transform: translateX(-50%);
  width: 50px; height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.section-header p { margin-top: 28px; color: var(--text-light); font-size: 15px; }

/* 专题入口 */
.topics-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.topic-link {
  position: relative; border-radius: var(--radius);
  overflow: hidden; aspect-ratio: 3/2;
  display: block;
}
.topic-link img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.topic-link:hover img { transform: scale(1.08); }
.topic-link-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(92,0,13,0.85) 0%, rgba(92,0,13,0.2) 60%, transparent 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 24px; color: #fff;
}
.topic-link-overlay h3 { font-family: var(--font-serif); font-size: 18px; letter-spacing: 2px; margin-bottom: 6px; }
.topic-link-overlay p { font-size: 12px; opacity: 0.75; }
.topic-link-overlay .arrow { position: absolute; top: 20px; right: 20px; font-size: 20px; opacity: 0; transition: all var(--transition); }
.topic-link:hover .arrow { opacity: 1; transform: translate(4px, -4px); }

/* 新闻+通知 */
.dual-panel { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; }
.panel-box {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.panel-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 28px;
  border-bottom: 2px solid var(--gold-light);
  background: linear-gradient(to right, var(--bg-warm), var(--white));
}
.panel-head h3 {
  font-family: var(--font-serif);
  font-size: 18px; color: var(--red);
  letter-spacing: 2px;
  display: flex; align-items: center; gap: 10px;
}
.panel-head h3::before {
  content: ''; width: 4px; height: 20px;
  background: var(--red); border-radius: 2px;
}
.panel-more { font-size: 13px; color: var(--text-muted); }
.panel-more:hover { color: var(--red); }
.panel-body { padding: 8px 28px 24px; }

.news-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.news-featured {
  position: relative; border-radius: var(--radius);
  overflow: hidden; aspect-ratio: 16/10;
}
.news-featured img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.news-featured:hover img { transform: scale(1.06); }
.news-featured-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 55%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 28px;
}
.news-featured .tag { background: var(--red); color: #fff; font-size: 11px; padding: 3px 10px; width: fit-content; margin-bottom: 10px; border-radius: 2px; }
.news-featured h3 { color: #fff; font-size: 17px; font-weight: 600; line-height: 1.5; margin-bottom: 8px; }
.news-featured time { color: rgba(255,255,255,0.6); font-size: 13px; }
.news-list { display: flex; flex-direction: column; }
.news-item {
  display: flex; gap: 18px; padding: 18px 0;
  border-bottom: 1px dashed var(--border);
  transition: all var(--transition);
}
.news-item:last-child { border-bottom: none; }
.news-item:hover { padding-left: 8px; }
.news-item:hover .news-body h4 { color: var(--red); }
.news-date {
  flex-shrink: 0; width: 54px; text-align: center;
  background: var(--bg); border-radius: 8px; padding: 8px 4px;
  transition: all var(--transition);
}
.news-item:hover .news-date { background: var(--red); }
.news-date .day { display: block; font-size: 22px; font-weight: 700; color: var(--red); line-height: 1; }
.news-date .month { display: block; font-size: 11px; color: var(--text-muted); }
.news-item:hover .news-date .day, .news-item:hover .news-date .month { color: #fff; }
.news-body h4 { font-size: 15px; font-weight: 600; line-height: 1.5; margin-bottom: 5px; transition: color var(--transition); }
.news-body p { font-size: 13px; color: var(--text-muted); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.notice-item {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 0; border-bottom: 1px dashed var(--border);
  transition: padding-left var(--transition);
}
.notice-item:last-child { border-bottom: none; }
.notice-item:hover { padding-left: 8px; }
.notice-tag {
  flex-shrink: 0; font-size: 11px; font-weight: 600;
  padding: 3px 8px; border-radius: 3px; letter-spacing: 1px;
}
.notice-tag.red { background: #fef2f2; color: var(--red); }
.notice-tag.gold { background: var(--gold-light); color: var(--gold-dark); }
.notice-tag.blue { background: #eff6ff; color: #2563eb; }
.notice-body { flex: 1; min-width: 0; }
.notice-text { display: block; font-size: 14px; font-weight: 600; color: var(--text); line-height: 1.45; margin-bottom: 4px; }
.notice-item:hover .notice-text { color: var(--red); }
.notice-desc { display: block; font-size: 12px; color: var(--text-muted); line-height: 1.55; }
.notice-time { flex-shrink: 0; font-size: 12px; color: var(--text-muted); text-align: right; line-height: 1.4; }
.notice-time em { display: block; font-size: 11px; color: var(--gold-dark); font-style: normal; margin-top: 2px; }
.notice-tag.green { background: #ecfdf5; color: #047857; }
.panel-body--notices { max-height: 520px; overflow-y: auto; padding-right: 20px; }
.panel-body--notices::-webkit-scrollbar { width: 4px; }
.panel-body--notices::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }
.notice-list-full { background: var(--bg); border-radius: 8px; padding: 8px 20px; }
.notice-list-full .notice-item { padding: 16px 0; }

/* 特色卡片 */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  border: 1px solid transparent;
}
.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-light);
}
.feature-card img { width: 100%; height: 200px; object-fit: cover; }
.feature-card-body { padding: 28px; }
.feature-card-body .fc-icon { font-size: 28px; margin-bottom: 12px; }
.feature-card-body h3 { font-family: var(--font-serif); font-size: 19px; color: var(--red); margin-bottom: 12px; letter-spacing: 1px; }
.feature-card-body p { font-size: 14px; color: var(--text-light); line-height: 1.8; margin-bottom: 16px; }
.feature-card-body .fc-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.fc-tag { font-size: 11px; padding: 3px 10px; background: var(--bg); color: var(--text-muted); border-radius: 20px; }

/* 领导团队 */
.leaders-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.leader-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  border-top: 3px solid var(--gold);
}
.leader-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.leader-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--red-light));
  color: #fff;
  font-family: var(--font-serif);
  font-size: 32px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 4px 16px rgba(140,0,20,0.25);
}
.leader-card h4 { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.leader-card .role { font-size: 13px; color: var(--red); margin-bottom: 10px; }
.leader-card p { font-size: 12px; color: var(--text-muted); line-height: 1.6; }

/* 时间轴 */
.timeline { position: relative; padding: 20px 0; }
.timeline::before {
  content: ''; position: absolute;
  left: 50%; top: 0; bottom: 0;
  width: 2px; background: linear-gradient(to bottom, var(--gold), var(--red), var(--gold));
  transform: translateX(-50%);
}
.timeline-item {
  display: flex; justify-content: flex-end;
  padding-right: calc(50% + 40px);
  position: relative; margin-bottom: 40px;
  width: 100%;
}
.timeline-item:nth-child(even) {
  justify-content: flex-start;
  padding-right: 0; padding-left: calc(50% + 40px);
}
.timeline-item::before {
  content: ''; position: absolute;
  left: 50%; top: 8px;
  transform: translateX(-50%);
  width: 14px; height: 14px;
  background: var(--gold);
  border: 3px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 0 0 3px var(--red);
  z-index: 1;
}
.timeline-content {
  background: var(--white);
  padding: 24px 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 420px;
  border-left: 3px solid var(--red);
}
.timeline-item:nth-child(even) .timeline-content { border-left: none; border-right: 3px solid var(--red); }
.timeline-year { font-family: var(--font-serif); font-size: 24px; font-weight: 700; color: var(--gold-dark); margin-bottom: 6px; }
.timeline-content h4 { font-size: 16px; color: var(--red); margin-bottom: 8px; }
.timeline-content p { font-size: 14px; color: var(--text-light); line-height: 1.7; }

/* 名言轮播 */
.quote-section {
  background: linear-gradient(135deg, var(--red-dark) 0%, var(--red) 50%, #6b1428 100%);
  padding: 80px 0; position: relative; overflow: hidden;
}
.quote-section::before {
  content: '"'; position: absolute;
  right: 5%; top: 50%; transform: translateY(-50%);
  font-family: var(--font-serif); font-size: 300px;
  color: rgba(255,255,255,0.04); line-height: 1;
}
.quote-slide { text-align: center; max-width: 800px; margin: 0 auto; padding: 0 28px; display: none; }
.quote-slide.active { display: block; animation: fadeUp 0.6s ease; }
.quote-text {
  font-family: var(--font-serif);
  font-size: clamp(22px, 3vw, 32px);
  color: #fff; line-height: 1.8;
  letter-spacing: 3px; margin-bottom: 24px;
}
.quote-author { color: var(--gold); font-size: 14px; letter-spacing: 4px; }

/* 关于 */
.about-section { background: var(--bg-warm); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-image { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.about-image img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.about-badge {
  position: absolute; bottom: -16px; right: -16px;
  background: var(--red); color: #fff;
  padding: 24px 32px; border-radius: var(--radius);
  text-align: center; box-shadow: var(--shadow-lg);
}
.about-badge .year { font-family: var(--font-serif); font-size: 40px; font-weight: 700; color: var(--gold); line-height: 1; }
.about-badge .label { font-size: 13px; margin-top: 4px; opacity: 0.85; }
.about-text h3 { font-family: var(--font-serif); font-size: 28px; color: var(--red); letter-spacing: 2px; margin-bottom: 24px; }
.about-text p { font-size: 15px; color: var(--text-light); margin-bottom: 16px; text-align: justify; line-height: 1.9; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
.about-feature {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 18px; background: var(--white);
  border-radius: 8px; font-size: 14px; font-weight: 500;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  border-left: 3px solid var(--gold);
}

/* 校训 */
.motto-section { background: var(--red); padding: 80px 0; position: relative; overflow: hidden; }
.motto-section::before {
  content: '和美'; position: absolute;
  right: -30px; top: 50%; transform: translateY(-50%);
  font-family: var(--font-serif); font-size: 220px;
  color: rgba(255,255,255,0.035); font-weight: 700;
}
.motto-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.motto-item {
  text-align: center; padding: 36px 20px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  transition: all var(--transition);
  backdrop-filter: blur(4px);
}
.motto-item:hover { background: rgba(255,255,255,0.08); transform: translateY(-4px); }
.motto-item .char { font-family: var(--font-serif); font-size: 52px; color: var(--gold); font-weight: 700; margin-bottom: 14px; line-height: 1; }
.motto-item h4 { color: #fff; font-size: 16px; letter-spacing: 4px; margin-bottom: 10px; }
.motto-item p { color: rgba(255,255,255,0.65); font-size: 13px; line-height: 1.7; }

/* 画廊 */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 220px 220px;
  gap: 14px;
}
.gallery-item { border-radius: var(--radius); overflow: hidden; position: relative; cursor: pointer; }
.gallery-item:first-child { grid-row: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.gallery-item:hover img { transform: scale(1.1); }
.gallery-item .caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 20px; color: #fff; font-size: 14px;
  background: linear-gradient(transparent, rgba(0,0,0,0.75));
  transform: translateY(100%); transition: transform var(--transition);
}
.gallery-item:hover .caption { transform: translateY(0); }

/* 大图集（更多列） */
.gallery-grid--wide {
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(3, 200px);
}
.gallery-grid--wide .gallery-item:first-child { grid-column: span 2; grid-row: span 2; }
.gallery-grid--compact {
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 200px);
}
.gallery-grid--compact .gallery-item:first-child { grid-row: span 2; }

/* 横条多图 */
.photo-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 20px 0;
}
.photo-strip img {
  width: 100%; height: 150px; object-fit: cover;
  border-radius: 8px; cursor: zoom-in;
  transition: transform var(--transition), box-shadow var(--transition);
}
.photo-strip img:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
@media (max-width: 768px) {
  .photo-strip { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid--wide { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .gallery-grid--wide .gallery-item:first-child { grid-column: span 1; grid-row: span 1; }
}

/* 要闻缩略图 */
.news-item--thumb { align-items: stretch; }
.news-thumb {
  flex-shrink: 0; width: 100px; height: 72px;
  border-radius: 8px; overflow: hidden; align-self: center;
}
.news-thumb img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 600px) { .news-thumb { display: none; } }

/* 双图并排 */
.img-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 16px 0; }
.img-duo img { width: 100%; border-radius: 8px; object-fit: cover; max-height: 280px; }
@media (max-width: 600px) { .img-duo { grid-template-columns: 1fr; } }

/* 联系区 */
.contact-section { background: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-card {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px 24px;
  background: var(--bg-warm);
  border-radius: var(--radius);
  border-left: 4px solid var(--red);
  transition: all var(--transition);
}
.contact-card:hover { box-shadow: var(--shadow); transform: translateX(4px); }
.contact-card .cc-icon { font-size: 24px; flex-shrink: 0; }
.contact-card h4 { font-size: 14px; color: var(--red); margin-bottom: 4px; font-weight: 600; }
.contact-card p { font-size: 14px; color: var(--text-light); line-height: 1.6; }
.contact-map {
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--bg);
  min-height: 360px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.contact-map iframe { width: 100%; height: 360px; border: none; }
.map-placeholder {
  text-align: center; color: var(--text-muted); padding: 40px;
}
.map-placeholder .map-icon { font-size: 48px; margin-bottom: 12px; }

/* 页脚 */
.site-footer { background: #141414; color: rgba(255,255,255,0.6); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-brand h3 { font-family: var(--font-serif); font-size: 20px; color: #fff; letter-spacing: 2px; margin-bottom: 16px; }
.footer-brand p { font-size: 13px; line-height: 1.9; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 38px; height: 38px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; transition: all var(--transition);
}
.footer-social a:hover { background: var(--red); border-color: var(--red); color: #fff; }
.footer-col h4 { color: #fff; font-size: 14px; letter-spacing: 2px; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 2px solid var(--red); display: inline-block; }
.footer-col ul li { margin-bottom: 10px; font-size: 13px; }
.footer-col ul li a:hover { color: var(--gold); }
.footer-bottom { padding: 24px 0; text-align: center; font-size: 12px; color: rgba(255,255,255,0.35); }

/* 内页 */
.page-banner {
  margin-top: calc(var(--header-h) + var(--notice-h));
  background: linear-gradient(135deg, var(--red-dark), var(--red) 60%, #8b1a30);
  padding: 72px 0; text-align: center; position: relative; overflow: hidden;
}
.page-banner::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4z'/%3E%3C/g%3E%3C/svg%3E");
}
.page-banner h1 { font-family: var(--font-serif); font-size: 38px; color: #fff; letter-spacing: 8px; position: relative; }
.page-banner .breadcrumb { margin-top: 14px; font-size: 13px; color: rgba(255,255,255,0.6); position: relative; }
.page-banner .breadcrumb a:hover { color: var(--gold); }
.page-content { padding: 64px 0 80px; background: var(--bg-warm); min-height: 50vh; }
.content-card {
  background: var(--white); border-radius: var(--radius);
  padding: 40px; box-shadow: var(--shadow); margin-bottom: 24px;
}
.content-card h3 {
  font-family: var(--font-serif); font-size: 20px;
  color: var(--red); margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--gold-light);
}
.content-card p, .content-card li { font-size: 15px; color: var(--text-light); line-height: 1.9; margin-bottom: 12px; }
.content-card ul { padding-left: 20px; list-style: disc; }
.info-table { width: 100%; border-collapse: collapse; margin-top: 12px; }
.info-table th, .info-table td { padding: 14px 20px; border: 1px solid var(--border); font-size: 14px; text-align: left; }
.info-table th { background: var(--bg); color: var(--red); font-weight: 600; width: 140px; }
.news-page-list .news-item { padding: 24px 0; }

.more-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--red); font-size: 14px; font-weight: 600; letter-spacing: 1px;
}
.more-link:hover { gap: 14px; color: var(--red-light); }

/* 回到顶部 */
.back-top {
  position: fixed; bottom: 32px; right: 32px;
  width: 44px; height: 44px;
  background: var(--red); color: #fff;
  border: none; border-radius: 50%;
  cursor: pointer; font-size: 18px;
  box-shadow: 0 4px 16px rgba(140,0,20,0.35);
  opacity: 0; visibility: hidden;
  transition: all var(--transition);
  z-index: 999;
}
.back-top.show { opacity: 1; visibility: visible; }
.back-top:hover { background: var(--gold); color: var(--red-dark); transform: translateY(-4px); }

/* 滚动动画 */
.reveal { opacity: 0; transform: translateY(32px); transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* 响应式 */
@media (max-width: 1100px) {
  .stats-inner { grid-template-columns: repeat(3, 1fr); }
  .topics-row { grid-template-columns: repeat(2, 1fr); }
  .features-grid, .leaders-grid { grid-template-columns: repeat(2, 1fr); }
  .dual-panel, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .motto-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline::before { left: 20px; }
  .timeline-item, .timeline-item:nth-child(even) {
    padding-left: 56px; padding-right: 0; justify-content: flex-start;
  }
  .timeline-item::before { left: 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  :root { --notice-h: 0px; }
  .top-notice { display: none; }
  .site-header { top: 0; }
  .hero { margin-top: var(--header-h); }
  .main-nav { display: none; }
  .header-search { display: none; }
  .mobile-toggle { display: block; }
  .main-nav.open {
    display: flex; flex-direction: column;
    position: absolute; top: var(--header-h); left: 0; right: 0;
    background: var(--red-dark); padding: 16px;
  }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .features-grid, .leaders-grid, .motto-grid, .topics-row { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .gallery-item:first-child { grid-row: span 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-arrow { display: none; }
}


/* 无图新闻卡片 */
.news-no-img {
  background: linear-gradient(135deg, var(--red-dark), var(--red));
  border-radius: var(--radius);
  padding: 28px;
  color: #fff;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.news-no-img .tag { background: var(--gold); color: var(--red-dark); font-size: 11px; padding: 3px 10px; width: fit-content; margin-bottom: 12px; border-radius: 2px; font-weight: 700; }
.news-no-img h3 { font-size: 17px; line-height: 1.5; margin-bottom: 8px; }
.news-no-img time { font-size: 13px; opacity: 0.7; }
.news-featured.news-no-img { min-height: 180px; }
.news-featured.news-no-img time { display: block; font-size: 12px; opacity: 0.75; margin-top: 8px; }

.img-credit {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 8px;
  font-style: italic;
}

.source-tag {
  display: inline-block;
  font-size: 11px;
  color: var(--text-muted);
  background: var(--bg);
  padding: 2px 8px;
  border-radius: 3px;
  margin-top: 6px;
}

.hero-no-img {
  background: linear-gradient(135deg, var(--red-dark) 0%, var(--red) 50%, #4a0010 100%);
}

/* 配图说明 */
.img-figure { margin: 20px 0; }
.img-figure img { width: 100%; border-radius: var(--radius); object-fit: cover; max-height: 420px; }
.img-figure figcaption { font-size: 12px; color: var(--text-muted); text-align: center; margin-top: 8px; font-style: italic; }
.img-figure--side { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; }
@media (max-width: 768px) { .img-figure--side { grid-template-columns: 1fr; } }

/* 招生时间轴 */
.timeline-steps { list-style: none; padding: 0; margin: 24px 0 0; position: relative; }
.timeline-steps::before { content: ''; position: absolute; left: 18px; top: 8px; bottom: 8px; width: 2px; background: var(--gold-light); }
.timeline-steps li { position: relative; padding: 0 0 28px 52px; }
.timeline-steps li:last-child { padding-bottom: 0; }
.timeline-steps .step-dot {
  position: absolute; left: 8px; top: 4px; width: 22px; height: 22px;
  background: var(--red); color: #fff; border-radius: 50%;
  font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 4px var(--gold-light);
}
.timeline-steps h4 { font-size: 16px; color: var(--red); margin-bottom: 6px; }
.timeline-steps p { font-size: 14px; color: var(--text-light); margin: 0; line-height: 1.7; }

/* 快捷入口卡片 */
.quick-links-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 20px; }
.quick-link-card {
  display: block; padding: 24px 20px; background: var(--bg);
  border: 1px solid var(--border); border-radius: var(--radius);
  text-align: center; transition: all var(--transition);
}
.quick-link-card:hover { border-color: var(--red); background: #fff; transform: translateY(-4px); box-shadow: var(--shadow); }
.quick-link-card .ql-icon { font-size: 28px; margin-bottom: 10px; }
.quick-link-card h4 { font-size: 15px; color: var(--red); margin-bottom: 6px; }
.quick-link-card p { font-size: 12px; color: var(--text-muted); margin: 0; }
@media (max-width: 768px) { .quick-links-grid { grid-template-columns: 1fr; } }

/* 搜索页 */
.search-page-form { display: flex; gap: 12px; margin-bottom: 24px; flex-wrap: wrap; }
.search-page-form input {
  flex: 1; min-width: 200px; padding: 14px 18px; border: 1px solid var(--border);
  border-radius: 6px; font-size: 15px;
}
.search-page-form button {
  padding: 14px 28px; background: var(--red); color: #fff; border: none;
  border-radius: 6px; font-size: 14px; font-weight: 600; cursor: pointer;
}
.search-page-form button:hover { background: var(--red-dark); }
.search-summary { font-size: 14px; color: var(--text-muted); margin-bottom: 16px; }
.search-results { list-style: none; padding: 0; }
.search-results li { border-bottom: 1px solid var(--border); }
.search-results a { display: block; padding: 18px 8px; transition: background var(--transition); }
.search-results a:hover { background: var(--bg); padding-left: 16px; }
.search-cat {
  display: inline-block; font-size: 11px; background: var(--gold-light);
  color: var(--red-dark); padding: 2px 8px; border-radius: 2px; margin-right: 8px;
}
.search-results strong { display: block; font-size: 16px; color: var(--red); margin: 6px 0; }
.search-results p { font-size: 13px; color: var(--text-muted); margin: 0; }
.search-empty { text-align: center; padding: 40px; color: var(--text-muted); }

/* 图片灯箱 */
.lightbox {
  position: fixed; inset: 0; z-index: 2000; background: rgba(0,0,0,0.92);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: all 0.3s;
  padding: 24px;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 95%; max-height: 90vh; border-radius: 8px; }
.lightbox-close {
  position: absolute; top: 24px; right: 24px; width: 44px; height: 44px;
  background: rgba(255,255,255,0.15); border: none; color: #fff; font-size: 28px;
  border-radius: 50%; cursor: pointer;
}
.lightbox-close:hover { background: var(--red); }
.gallery-item { cursor: zoom-in; }

/* 内页横幅配图 */
.page-banner--photo {
  background-size: cover; background-position: center;
  padding: 88px 0;
}
.page-banner--photo::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(92,0,13,0.88), rgba(140,0,20,0.75));
}

/* 新闻侧栏目录 */
.page-aside-nav {
  background: var(--white); border-radius: var(--radius); padding: 24px;
  box-shadow: var(--shadow); margin-bottom: 24px; position: sticky; top: calc(var(--header-h) + 24px);
}
.page-aside-nav h4 { font-size: 14px; color: var(--red); margin-bottom: 12px; letter-spacing: 1px; }
.page-aside-nav a {
  display: block; padding: 8px 0; font-size: 13px; color: var(--text-light);
  border-bottom: 1px dashed var(--border);
}
.page-aside-nav a:last-child { border: none; }
.page-aside-nav a:hover { color: var(--red); padding-left: 6px; }
.page-layout { display: grid; grid-template-columns: 220px 1fr; gap: 28px; align-items: start; }
.page-main { min-width: 0; }
@media (max-width: 900px) {
  .page-layout { grid-template-columns: 1fr; }
  .page-aside-nav { position: static; }
}

/* 新闻文章（全局） */
.news-article { background:#fff; border-radius:12px; padding:36px; margin-bottom:28px; box-shadow:0 8px 30px rgba(92,0,13,0.08); }
.news-article img { width:100%; border-radius:8px; margin:16px 0; object-fit: cover; max-height: 480px; }
.news-article h2 { font-family:var(--font-serif); font-size:22px; color:var(--red); margin-bottom:8px; }
.news-article .meta { font-size:13px; color:var(--text-muted); margin-bottom:16px; }
.news-article p { font-size:15px; color:var(--text-light); line-height:1.9; margin-bottom:12px; }
.news-article .source { font-size:12px; color:var(--text-muted); border-top:1px dashed var(--border); padding-top:12px; margin-top:16px; }
.news-article .source a { color: var(--red); text-decoration: underline; }
.news-img-row { display:grid; grid-template-columns:repeat(auto-fit,minmax(160px,1fr)); gap:12px; margin:16px 0; }
.news-img-row img { width:100%; border-radius:8px; height: 150px; object-fit: cover; cursor: zoom-in; }

.contact-hours { font-size: 13px; color: var(--text-muted); margin-top: 4px; }

.topic-link-no-img { background: linear-gradient(135deg, var(--red-dark), var(--red)); min-height: 200px; }
.topic-link-no-img .topic-link-bg {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.15); font-family: var(--font-serif);
}
.topic-link-no-img .topic-link-bg span { font-size: 48px; font-weight: 700; }
.topic-link-no-img .topic-link-bg strong { font-size: 20px; letter-spacing: 4px; margin-top: 8px; }
