﻿:root {
  --bg: #f3f6fb;
  --surface: #ffffff;
  --ink: #18273d;
  --ink-soft: #5f6f85;
  --primary: #0d3f86;
  --primary-2: #1b7db2;
  --accent: #c39b68;
  --line: #dae3ee;
  --radius: 14px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: linear-gradient(180deg, #f2f6fb 0%, #f7f9fc 100%);
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Heiti SC", sans-serif;
  line-height: 1.65;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: "STSong", "Songti SC", "SimSun", serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1160px, 92vw);
  margin: 0 auto;
}

.topbar {
  background: linear-gradient(90deg, #5e248f, #3e2f94);
  color: #f4ebff;
  font-size: 14px;
}

.topbar-inner {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mini-links {
  display: flex;
  gap: 18px;
}

.main-nav {
  background: rgba(8, 34, 79, 0.94);
  color: #f4f8ff;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 10px 24px rgba(5, 17, 43, 0.25);
}

.nav-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: relative;
}

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

.brand h1 {
  font-size: 23px;
}

.brand p {
  margin: 2px 0 0;
  font-size: 12px;
  opacity: 0.86;
}

.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff, #bcd8ff);
  color: #0e3e84;
  display: grid;
  place-items: center;
  font-weight: 700;
}

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.nav-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 24px;
  font-size: 17px;
}

.nav-links a {
  opacity: 0.94;
  transition: color 0.2s ease;
}

.nav-links a.active {
  color: #fff1d8;
  border-bottom: 2px solid #fff1d8;
  padding-bottom: 4px;
}

.nav-links a:hover {
  color: #fff1d8;
}

.menu-btn {
  display: none;
  font-size: 24px;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: 70vh;
}

.hero-slides {
  position: relative;
  overflow: hidden;
}

.slide {
  min-height: 70vh;
  background-size: cover;
  background-position: center;
  display: none;
  animation: fade 540ms ease;
}

.slide.active {
  display: block;
}

.slide-content {
  padding-top: 120px;
  padding-bottom: 72px;
  color: #fff;
  text-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}

.slide-content span {
  font-size: 18px;
  letter-spacing: 2px;
}

.slide-content h2 {
  margin-top: 14px;
  font-size: clamp(30px, 4vw, 52px);
  max-width: 760px;
}

.slide-content p {
  max-width: 620px;
  font-size: 19px;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
}

.dot.active {
  background: #fff;
}

.section {
  padding: 64px 0;
}

.section-alt {
  background: #ece9e7;
}

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

.news-grid article,
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(16, 34, 67, 0.08);
}

.news-grid article {
  padding: 20px;
}

.news-grid h3 {
  color: var(--primary);
  margin-bottom: 12px;
}

.news-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.news-grid li {
  padding: 10px 0;
  border-bottom: 1px dashed #d6dfeb;
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.news-grid li:last-child {
  border-bottom: 0;
}

.news-grid time {
  color: var(--ink-soft);
  white-space: nowrap;
  font-size: 13px;
}

.intro {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  align-items: center;
}

.intro img {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
  min-height: 360px;
  box-shadow: 0 18px 36px rgba(16, 34, 67, 0.15);
}

.principal-photo {
  max-width: 420px;
  width: min(100%, 420px);
  min-height: 0;
  max-height: 320px;
  justify-self: center;
}

.quote-mark {
  color: var(--accent);
  font-size: 64px;
  line-height: 0.8;
  margin: 0;
}

.intro h2 {
  font-size: 42px;
  color: #293c57;
}

.intro p {
  font-size: 18px;
  color: #2d3f57;
  line-height: 1.8;
}

.cards h2,
.safety-row h2 {
  color: var(--primary);
  margin-bottom: 16px;
}

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

.card {
  padding: 22px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(16, 34, 67, 0.12);
}

.card h4 {
  margin-bottom: 10px;
}

.card p,
.safety-row p {
  color: #3e4d62;
  line-height: 1.75;
}

.footer {
  background: #102744;
  color: #d6e0f2;
  padding: 24px 0;
  text-align: center;
}

.footer p {
  margin: 6px 0;
}

.page-hero {
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.14), transparent 34%),
    linear-gradient(130deg, #12376c, #1b7db2);
  color: #fff;
  padding: 64px 0;
}

.page-hero h2 {
  font-size: clamp(30px, 5vw, 48px);
}

.page-hero p {
  max-width: 780px;
  font-size: 18px;
  line-height: 1.8;
  opacity: 0.95;
}

.list-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(16, 34, 67, 0.08);
  padding: 28px;
}

.list-card h3 {
  margin-bottom: 14px;
  color: var(--primary);
}

.list-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.list-card li {
  padding: 12px 0;
  border-bottom: 1px dashed #d6dfeb;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.list-card li:last-child {
  border-bottom: 0;
}

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

.gallery-item {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(16, 34, 67, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(16, 34, 67, 0.12);
}

.gallery-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.gallery-item figcaption {
  padding: 10px 12px;
  font-size: 14px;
  color: #4a5a70;
}

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

.section-head h2 {
  color: var(--primary);
  font-size: 30px;
}

.more-link {
  color: var(--primary);
  font-weight: 700;
}

.archive-note p {
  margin: 0;
  color: #43546c;
}

.subject-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.subject-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 96px;
  padding: 10px 16px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #cdd9e8;
  color: #23456f;
  box-shadow: 0 6px 18px rgba(16, 34, 67, 0.06);
}

.subject-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.subject-card {
  display: block;
  padding: 26px;
  border-radius: 18px;
  background:
    radial-gradient(circle at top right, rgba(45, 133, 188, 0.12), transparent 36%),
    #ffffff;
  border: 1px solid var(--line);
  box-shadow: 0 14px 32px rgba(16, 34, 67, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.subject-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 38px rgba(16, 34, 67, 0.12);
}

.subject-index {
  display: inline-block;
  margin-bottom: 16px;
  color: #6c86a6;
  font-size: 13px;
  letter-spacing: 0.18em;
}

.subject-card h3 {
  margin: 0 0 10px;
  color: var(--primary);
  font-size: 30px;
}

.subject-card p {
  margin: 0;
  color: #42546c;
  line-height: 1.8;
}

.subject-meta {
  margin-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #5d6f88;
  font-size: 14px;
}

.subject-meta strong {
  color: #183f78;
}

.teacher-subject-block {
  padding-top: 30px;
  padding-bottom: 10px;
}

.teacher-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.teacher-card {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 18px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(16, 34, 67, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.teacher-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(16, 34, 67, 0.12);
}

.teacher-avatar {
  width: 88px;
  height: 88px;
  border-radius: 24px;
  display: grid;
  place-items: center;
  font-size: 34px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(145deg, #174d92, #2f8bb7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.teacher-avatar.large {
  width: 112px;
  height: 112px;
  border-radius: 28px;
  font-size: 44px;
}

.teacher-card-body h4,
.profile-header h3 {
  margin: 0;
  color: var(--primary);
}

.teacher-role {
  margin: 6px 0 10px;
  color: #5c6e87;
  font-size: 14px;
}

.teacher-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.teacher-tags span,
.profile-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  background: #eef5ff;
  color: #214a78;
  font-size: 13px;
  font-weight: 700;
}

.teacher-summary {
  margin: 0 0 14px;
  color: #40526b;
  line-height: 1.75;
}

.teacher-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 10px;
  background: #163f78;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
}

.profile-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(280px, 0.95fr);
  gap: 24px;
}

.profile-main,
.profile-side {
  display: grid;
  gap: 20px;
}

.profile-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(16, 34, 67, 0.08);
  padding: 22px;
}

.profile-panel h4 {
  margin: 0 0 12px;
  color: var(--primary);
}

.profile-header {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 18px;
  align-items: center;
}

.profile-header p {
  margin: 8px 0 0;
  color: #4b5d74;
}

.profile-badge {
  margin-bottom: 10px;
}

.profile-list {
  margin: 0;
  padding-left: 18px;
  color: #40526b;
  line-height: 1.8;
}

.profile-quick {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px dashed #d7e2ef;
  color: #42556e;
}

.profile-quick:last-child {
  border-bottom: 0;
}

.profile-quick strong {
  color: #183a67;
}

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

.featured-item {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(16, 34, 67, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.featured-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(16, 34, 67, 0.12);
}

.featured-item img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  display: block;
}

.featured-item figcaption {
  padding: 10px 12px;
  color: #42536b;
  font-size: 14px;
}

.album-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.album-nav a {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid #c9d8ea;
  background: #f7fbff;
  color: #2f4f77;
  font-size: 14px;
}

.album-list {
  display: grid;
  gap: 24px;
}

.album-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.album-card {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(16, 34, 67, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.album-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(16, 34, 67, 0.16);
}

.album-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

.album-card-meta {
  padding: 12px;
}

.album-card-meta h3 {
  font-size: 18px;
  color: var(--primary);
}

.album-card-meta p {
  margin: 6px 0 0;
  color: #52627a;
  font-size: 14px;
}

.album-block {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 10px 26px rgba(16, 34, 67, 0.08);
}

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

.album-head h3 {
  color: var(--primary);
}

.album-head a {
  color: var(--primary-2);
  font-size: 14px;
}

.album-detail {
  border: 1px dashed #bfd0e5;
  border-radius: 10px;
  padding: 14px;
  background: #f9fcff;
}

.album-detail summary {
  cursor: pointer;
  color: #244b79;
  font-weight: 700;
  margin-bottom: 10px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.campus-hero {
  position: relative;
  padding: 88px 0 76px;
  color: #fff;
  background:
    linear-gradient(120deg, rgba(7, 29, 66, 0.88), rgba(12, 74, 112, 0.52)),
    url('./assets/images/hero-home-2.jpg') center/cover;
}

.campus-kicker {
  margin: 0 0 14px;
  color: #d6e8ff;
  letter-spacing: 0.18em;
  font-size: 13px;
  text-transform: uppercase;
}

.campus-hero h2 {
  max-width: 760px;
  font-size: clamp(34px, 5vw, 58px);
}

.campus-hero-copy {
  max-width: 760px;
  font-size: 18px;
  line-height: 1.9;
  color: rgba(243, 248, 255, 0.92);
}

.campus-hero-stats {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.campus-hero-stats span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #eff7ff;
  font-size: 14px;
}

.campus-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) 360px;
  gap: 22px;
  align-items: start;
}

.campus-stage {
  position: relative;
  min-height: 620px;
  border-radius: 24px;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0) 34%),
    linear-gradient(180deg, #cfe0eb 0%, #edf4f8 100%);
  border: 1px solid rgba(151, 176, 197, 0.4);
  box-shadow: 0 20px 48px rgba(11, 30, 61, 0.14);
}

#campus-canvas {
  display: block;
  width: 100%;
  height: 620px;
  touch-action: none;
}

.campus-stage-overlay {
  position: absolute;
  inset: 0;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  pointer-events: none;
}

.campus-stage-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.campus-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(9, 33, 67, 0.8);
  color: #f2f7ff;
  font-size: 13px;
  letter-spacing: 0.04em;
}

.campus-badge-soft {
  background: rgba(255, 255, 255, 0.78);
  color: #1c3d66;
}

.campus-stage-bottom {
  max-width: 360px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(8, 28, 60, 0.76);
  color: #eff6ff;
  backdrop-filter: blur(10px);
}

.campus-stage-bottom strong {
  display: block;
  margin-bottom: 6px;
}

.campus-stage-bottom p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(239, 246, 255, 0.86);
}

.campus-viewbar {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  z-index: 3;
}

.campus-viewbar button {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(16, 56, 107, 0.16);
  background: rgba(255, 255, 255, 0.86);
  color: #153967;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(11, 30, 61, 0.08);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.campus-viewbar button:hover,
.campus-viewbar button.active {
  transform: translateY(-1px);
  background: #153967;
  color: #fff;
}

.campus-panel {
  position: sticky;
  top: 94px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 16px;
  box-shadow: 0 20px 46px rgba(11, 30, 61, 0.1);
}

.campus-panel-image {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
  border-radius: 18px;
  margin-bottom: 16px;
}

.campus-panel-kicker {
  margin: 0 0 8px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6781a1;
}

.campus-panel h3 {
  margin-bottom: 8px;
  font-size: 28px;
  color: #173a69;
}

.campus-panel-subtitle {
  margin: 0 0 12px;
  color: #355a86;
  font-weight: 700;
  line-height: 1.6;
}

.campus-panel-description {
  margin: 0;
  color: #42556d;
  line-height: 1.8;
}

.spot-facts {
  display: grid;
  gap: 10px;
  margin: 18px 0;
}

.spot-fact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 10px;
  border-bottom: 1px dashed #dbe4ee;
  color: #55708c;
  font-size: 14px;
}

.spot-fact strong {
  color: #12386d;
}

.spot-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.spot-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: #eef6ff;
  color: #2d5a8d;
  font-size: 13px;
  border: 1px solid #d6e5f7;
}

.campus-actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.campus-btn {
  min-height: 44px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, #11386b, #1e77a7);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 8px 22px rgba(17, 56, 107, 0.22);
}

.campus-btn:hover {
  transform: translateY(-1px);
}

.campus-btn-ghost {
  background: #f3f7fb;
  color: #173a69;
  border: 1px solid #d3dfed;
  box-shadow: none;
}

.campus-btn.is-active {
  background: linear-gradient(135deg, #0b6a83, #28a4bf);
}

.campus-quicknav {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.campus-quicknav button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 54px;
  padding: 0 14px;
  border-radius: 16px;
  border: 1px solid #dbe4ef;
  background: #fbfdff;
  color: #163a68;
  text-align: left;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.campus-quicknav button:hover,
.campus-quicknav button.active {
  transform: translateY(-1px);
  border-color: #8fb6da;
  background: #eef6ff;
  box-shadow: 0 10px 24px rgba(17, 56, 107, 0.08);
}

.campus-quicknav span {
  display: block;
  font-weight: 700;
}

.campus-quicknav small {
  color: #6a83a1;
  font-size: 12px;
  line-height: 1.4;
}

.campus-support {
  padding-top: 34px;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(4, 12, 26, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
}

.image-lightbox.open {
  display: flex;
}

.image-lightbox img {
  max-width: min(1100px, 94vw);
  max-height: 88vh;
  border-radius: 8px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

@keyframes fade {
  from { opacity: 0.55; }
  to { opacity: 1; }
}

@media (max-width: 980px) {
  .menu-btn {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: #0d2f61;
    padding: 14px 4vw 18px;
    flex-direction: column;
    gap: 14px;
  }

  .nav-links.open {
    display: flex;
  }

  .news-grid,
  .card-grid,
  .intro,
  .teacher-grid,
  .profile-layout,
  .profile-header {
    grid-template-columns: 1fr;
  }

  .slide-content {
    padding-top: 88px;
    padding-bottom: 56px;
  }

  .slide-content p {
    font-size: 16px;
  }

  .topbar {
    font-size: 12px;
  }

  .mini-links {
    gap: 10px;
  }

  .brand-logo {
    width: 34px;
    height: 34px;
  }

  .featured-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .subject-grid {
    grid-template-columns: 1fr;
  }

  .campus-layout {
    grid-template-columns: 1fr;
  }

  .campus-panel {
    position: static;
  }

  .campus-stage,
  #campus-canvas {
    min-height: 520px;
    height: 520px;
  }

  .campus-viewbar {
    left: 14px;
    right: 14px;
    bottom: 14px;
  }

  .campus-actions {
    grid-template-columns: 1fr;
  }

  .principal-photo {
    max-width: 100%;
    max-height: 280px;
  }

  .teacher-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .campus-hero {
    padding: 72px 0 58px;
  }

  .campus-hero-stats {
    gap: 10px;
  }

  .campus-hero-stats span {
    width: 100%;
    justify-content: center;
  }

  .campus-stage,
  #campus-canvas {
    min-height: 420px;
    height: 420px;
  }

  .campus-stage-bottom {
    max-width: none;
  }

  .campus-viewbar button {
    flex: 1 1 calc(50% - 10px);
    justify-content: center;
  }

  .campus-panel h3 {
    font-size: 24px;
  }
}

