:root {
  --ink: #172331;
  --muted: #5f6b78;
  --line: #d8e1ea;
  --paper: #ffffff;
  --page: #f3f6f9;
  --navy: #074b91;
  --blue: #0868bd;
  --sky: #3d91d9;
  --teal: #1f8a95;
  --green: #5f8d68;
  --slate: #93a9ce;
  --gold: #c79c42;
  --top: #51555c;
  --shadow: 0 16px 36px rgba(20, 48, 78, 0.12);
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", SimSun, serif;
  --sans: "Noto Sans SC", "Source Han Sans SC", "Microsoft YaHei", sans-serif;
  --content-width: min(1500px, calc(100% - 64px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--page);
  font-family: var(--sans);
  line-height: 1.65;
}

img,
video {
  display: block;
  max-width: 100%;
}

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

button,
input {
  font: inherit;
}

.wrap {
  width: var(--content-width);
  margin-inline: auto;
}

.top-strip {
  background: var(--top);
  color: #f3f7fb;
  font-size: 15px;
}

.top-strip-inner {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.top-strip p {
  margin: 0;
}

.top-links {
  display: flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
}

.top-links a,
.top-links button {
  min-height: 32px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  color: #fff;
  background: transparent;
  border: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.32);
  cursor: pointer;
}

.top-links a:hover,
.top-links button:hover {
  background: rgba(255, 255, 255, 0.12);
}

.brand-band {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(5, 73, 142, 0.98), rgba(4, 112, 202, 0.94));
  color: #fff;
}

.brand-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.45;
  pointer-events: none;
}

.brand-grid {
  position: relative;
  z-index: 1;
  min-height: 184px;
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr) 330px;
  align-items: center;
  gap: 36px;
}

.school-mark {
  width: 154px;
  height: 154px;
  display: grid;
  place-items: center;
}

.school-mark img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 31, 70, 0.22);
}

.brand-copy p {
  margin: 0 0 8px;
  color: #d5e9ff;
  font-size: 18px;
}

.brand-copy h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: 52px;
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: 0;
}

.brand-copy strong {
  display: block;
  margin-top: 12px;
  font-size: 30px;
  line-height: 1.35;
}

.site-search {
  height: 52px;
  display: grid;
  grid-template-columns: 1fr 54px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.site-search input {
  min-width: 0;
  padding: 0 18px;
  color: #fff;
  background: transparent;
  border: 0;
  outline: 0;
}

.site-search input::placeholder {
  color: rgba(255, 255, 255, 0.92);
}

.site-search button {
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 0;
  cursor: pointer;
}

.site-search svg,
.gallery-control svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.main-nav {
  background: #0756a4;
  color: #fff;
  box-shadow: 0 3px 0 rgba(0, 57, 111, 0.2);
}

.nav-inner {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
}

.nav-inner a {
  min-height: 62px;
  display: grid;
  place-items: center;
  padding: 0 6px;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  line-height: 1;
  white-space: nowrap;
  border-left: 1px solid rgba(255, 255, 255, 0.25);
}

.nav-inner a:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.25);
}

.nav-inner a:hover,
.nav-inner a.is-active {
  background: #003f86;
}

.hero-gallery {
  position: relative;
  padding: 20px 0 22px;
  background: #eaf3f8;
}

.gallery-window {
  position: relative;
  width: var(--content-width);
  margin-inline: auto;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  background: transparent;
}

.gallery-window::-webkit-scrollbar {
  display: none;
}

.gallery-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(210px, 17vw, 292px);
  gap: clamp(22px, 4vw, 72px);
  align-items: center;
  width: max-content;
}

.gallery-item {
  margin: 0;
  aspect-ratio: 4 / 3;
  display: grid;
  align-content: end;
  overflow: hidden;
  background: #d9e7ef;
  border: 1px solid rgba(7, 86, 164, 0.12);
  box-shadow: 0 10px 24px rgba(21, 61, 96, 0.1);
  scroll-snap-align: start;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  grid-area: 1 / 1;
  object-fit: cover;
}

.gallery-item figcaption {
  grid-area: 1 / 1;
  align-self: end;
  padding: 9px 12px;
  color: #fff;
  background: linear-gradient(180deg, transparent, rgba(0, 42, 78, 0.74));
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
}

.gallery-control {
  position: absolute;
  top: 50%;
  width: 40px;
  height: 56px;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(0, 45, 88, 0.36);
  border: 0;
  transform: translateY(-50%);
  cursor: pointer;
}

.gallery-control:hover {
  background: rgba(0, 67, 129, 0.68);
}

.gallery-control.previous {
  left: calc((100% - var(--content-width)) / 2);
}

.gallery-control.next {
  right: calc((100% - var(--content-width)) / 2);
}

.home-modules {
  display: grid;
  grid-template-columns: minmax(230px, 0.92fr) minmax(260px, 1.08fr) minmax(360px, 1.58fr) minmax(360px, 1.58fr);
  gap: 14px;
  margin-top: 10px;
  align-items: stretch;
}

.home-module-card {
  min-height: 270px;
  background: #fff;
  border: 1px solid #d4dde6;
  box-shadow: 0 2px 8px rgba(31, 64, 98, 0.08);
}

.home-module-title {
  min-height: 44px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #fff;
  background: #006f98;
}

.home-module-title h2 {
  margin: 0;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: 0;
}

.home-module-title a {
  flex: 0 0 auto;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.home-module-title a:hover {
  text-decoration: underline;
}

.home-module-card p {
  margin: 0;
  padding: 14px 16px 0;
  color: #1e2d3b;
  font-size: 16px;
  line-height: 1.9;
}

.overview-card p {
  text-indent: 2em;
}

.person-list,
.home-news-list {
  margin: 8px 16px 0;
  padding: 0;
  list-style: none;
}

.person-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 12px;
}

.person-list li,
.home-news-list li {
  position: relative;
  color: #1f2d3b;
  font-size: 15px;
  line-height: 1.55;
}

.person-list li {
  padding-left: 14px;
}

.home-news-list li {
  min-height: 34px;
  padding: 7px 0 7px 16px;
  border-bottom: 1px dashed #d6dde5;
}

.person-list li::before,
.home-news-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 5px;
  height: 5px;
  background: #006f98;
}

.unit-line {
  color: #344454;
  font-size: 15px;
}

.video-card video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #061527;
}

.lead-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 36px;
  margin-top: 28px;
  align-items: start;
}

.video-panel,
.materials-panel,
.intro-section,
.news-module {
  background: var(--paper);
  box-shadow: 0 1px 0 var(--line);
}

.video-panel {
  padding: 28px;
}

.video-panel video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #061527;
}

.module-head {
  min-height: 48px;
  margin-bottom: 20px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 3px solid #0b64af;
}

.module-head.compact {
  margin-bottom: 16px;
}

.module-head span {
  display: block;
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.module-head h2 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1.25;
  letter-spacing: 0;
}

.module-head a {
  margin-bottom: 10px;
  color: #0756a4;
  font-size: 13px;
  font-weight: 800;
}

.materials-panel {
  padding: 24px;
}

.material-link {
  min-height: 72px;
  margin-top: 16px;
  padding: 12px 18px;
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 12px;
  color: #fff;
  background: var(--blue);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.material-link:hover {
  transform: translateX(-4px);
  box-shadow: var(--shadow);
}

.material-link span {
  font-family: Georgia, serif;
  font-size: 22px;
  opacity: 0.7;
}

.material-link strong {
  font-size: 20px;
  line-height: 1.28;
}

.material-link.primary {
  background: #3967b3;
}

.material-link.sky {
  background: var(--sky);
}

.material-link.teal {
  background: var(--teal);
}

.material-link.green {
  background: var(--green);
}

.material-link.slate {
  background: var(--slate);
}

.overview-summary {
  margin-top: 36px;
  padding: 34px;
  background: #fff;
  box-shadow: 0 1px 0 var(--line);
}

.overview-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(520px, 1.1fr);
  gap: 34px;
  align-items: stretch;
}

.overview-layout > p {
  margin: 0;
  color: #243446;
  font-size: 19px;
  line-height: 1.85;
}

.overview-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.overview-points article {
  min-height: 170px;
  padding: 24px;
  display: grid;
  align-content: start;
  background: #f4f8fb;
  border-top: 4px solid #0756a4;
}

.overview-points h3 {
  margin: 0 0 12px;
  color: #0756a4;
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.25;
  letter-spacing: 0;
}

.overview-points span {
  color: #536171;
  font-size: 16px;
  line-height: 1.65;
}

.chapter-area {
  margin-top: 10px;
  padding: 18px 0 42px;
  background: #fff;
}

.chapter-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.chapter-card {
  min-height: 278px;
  padding: 0 0 12px;
  background: #fff;
  border: 1px solid #d4dde6;
}

.chapter-title {
  min-height: 44px;
  padding: 0 12px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  color: #fff;
  background: #006f98;
}

.chapter-title h3 {
  margin: 0;
  color: #fff;
  font-family: var(--sans);
  font-size: 19px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: 0;
}

.chapter-title a {
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.chapter-card ul {
  margin: 0;
  padding: 8px 12px 0;
  list-style: none;
}

.chapter-card li {
  position: relative;
  min-height: 34px;
  padding: 7px 0 7px 16px;
  color: #1f2d3b;
  font-size: 15px;
  line-height: 1.5;
  border-bottom: 1px dashed #d6dde5;
}

.chapter-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background: #0756a4;
}

.intro-section {
  margin-top: 36px;
  padding: 34px;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  gap: 34px;
  align-items: stretch;
}

.lead-text {
  margin: 0;
  font-size: 19px;
}

.summary-list {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.summary-list li {
  position: relative;
  padding: 12px 0 12px 22px;
  border-top: 1px solid var(--line);
}

.summary-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22px;
  width: 8px;
  height: 8px;
  background: var(--teal);
}

.intro-grid figure {
  margin: 0;
  min-height: 310px;
  overflow: hidden;
}

.intro-grid figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-band {
  margin-top: 42px;
  padding: 46px 0 54px;
  background:
    linear-gradient(90deg, rgba(4, 74, 142, 0.96), rgba(4, 108, 178, 0.94)),
    #0756a4;
  color: #fff;
}

.module-head.light {
  border-bottom-color: rgba(255, 255, 255, 0.72);
}

.module-head.light span,
.module-head.light a {
  color: #ffe3a5;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.feature-grid article {
  min-height: 230px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.feature-grid span {
  color: #ffdf9a;
  font-weight: 800;
}

.feature-grid h3 {
  margin: 16px 0 12px;
  font-family: var(--serif);
  font-size: 25px;
  letter-spacing: 0;
}

.feature-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
}

.results-section {
  margin-top: 42px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.stats-grid article {
  min-height: 150px;
  padding: 26px 18px;
  display: grid;
  align-content: center;
  text-align: center;
  background: #fff;
  border-top: 5px solid var(--blue);
  box-shadow: 0 1px 0 var(--line);
}

.stats-grid strong {
  color: #0756a4;
  font-family: Georgia, serif;
  font-size: 54px;
  line-height: 1;
}

.stats-grid span {
  margin-top: 12px;
  color: var(--muted);
  font-weight: 700;
}

.result-list {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.result-list article {
  min-height: 180px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
}

.result-list h3 {
  margin: 0 0 10px;
  color: #0756a4;
  font-size: 21px;
}

.result-list p {
  margin: 0;
  color: var(--muted);
}

.content-grid {
  margin-top: 42px;
  margin-bottom: 56px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.news-module {
  padding: 26px;
}

.image-news {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.image-news img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  background: #edf2f6;
}

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

.image-news li {
  position: relative;
  padding: 0 0 10px 18px;
  color: #344454;
  font-size: 16px;
}

.image-news li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 6px;
  height: 6px;
  background: var(--blue);
}

.site-footer {
  background: #243242;
  color: #dbe7f1;
}

.footer-inner {
  min-height: 120px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-inner img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
}

.footer-inner strong {
  display: block;
  color: #fff;
  font-size: 20px;
}

.footer-inner p {
  margin: 4px 0 0;
}

.footer-inner a {
  margin-left: auto;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 20;
  max-width: min(360px, calc(100vw - 48px));
  padding: 14px 18px;
  color: #fff;
  background: #1e3044;
  box-shadow: var(--shadow);
}

.detail-page {
  background: #f3f6f9;
}

.detail-hero {
  padding: 42px 0 34px;
  color: #fff;
  background: #0756a4;
}

.detail-hero p {
  margin: 0 0 6px;
  color: #d9e9f8;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.detail-hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: 38px;
  line-height: 1.25;
  letter-spacing: 0;
}

.detail-hero nav {
  margin-top: 12px;
  display: flex;
  gap: 10px;
  color: #e9f3ff;
  font-size: 15px;
}

.detail-hero nav a::after {
  content: "/";
  margin-left: 10px;
  color: rgba(255, 255, 255, 0.62);
}

.detail-article {
  margin-top: 34px;
  margin-bottom: 58px;
  padding: 42px 56px;
  background: #fff;
  box-shadow: 0 1px 0 var(--line);
}

.detail-article section + section {
  margin-top: 38px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.detail-article h2 {
  margin: 0 0 18px;
  color: #0756a4;
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1.3;
  letter-spacing: 0;
}

.detail-article h3 {
  margin: 24px 0 10px;
  color: #18334d;
  font-size: 20px;
  line-height: 1.45;
  letter-spacing: 0;
}

.detail-article p {
  margin: 0 0 14px;
  color: #27384a;
  font-size: 17px;
  line-height: 1.9;
  text-align: justify;
}

.detail-figure {
  margin: 24px 0;
  padding: 18px;
  background: #f4f8fb;
}

.detail-figure img {
  width: 100%;
  max-height: 520px;
  object-fit: contain;
  background: #fff;
}

.detail-figure figcaption {
  margin-top: 10px;
  color: #657282;
  font-size: 14px;
  text-align: center;
}

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

.detail-list li {
  position: relative;
  min-height: 42px;
  padding: 10px 0 10px 18px;
  color: #172331;
  font-size: 17px;
  line-height: 1.55;
  border-bottom: 1px dashed #cbd5df;
}

.detail-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 21px;
  width: 6px;
  height: 6px;
  background: #0756a4;
}

@media (min-width: 1800px) {
  :root {
    --content-width: 78vw;
  }
}

@media (max-width: 1180px) {
  .brand-copy h1 {
    font-size: 42px;
  }

  .brand-copy strong {
    font-size: 25px;
  }

  .stats-grid strong {
    font-size: 46px;
  }

  .brand-grid {
    grid-template-columns: 150px minmax(0, 1fr);
  }

  .site-search {
    grid-column: 2;
    width: min(420px, 100%);
  }

  .lead-layout,
  .intro-grid,
  .content-grid,
  .overview-layout {
    grid-template-columns: 1fr;
  }

  .home-modules,
  .chapter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .overview-points {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .materials-panel {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .materials-panel .module-head {
    grid-column: 1 / -1;
  }

  .material-link {
    margin-top: 0;
  }

  .result-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .wrap,
  .gallery-window {
    width: min(100% - 32px, 1500px);
  }

  .top-strip-inner,
  .top-links {
    flex-wrap: wrap;
  }

  .top-strip-inner {
    padding: 10px 0;
  }

  .brand-grid {
    min-height: auto;
    padding: 22px 0 26px;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 18px;
  }

  .school-mark,
  .school-mark img {
    width: 86px;
    height: 86px;
  }

  .brand-copy p {
    font-size: 15px;
  }

  .brand-copy h1 {
    font-size: 34px;
  }

  .brand-copy strong {
    font-size: 22px;
  }

  .site-search {
    grid-column: 1 / -1;
  }

  .nav-inner {
    display: flex;
    overflow-x: auto;
  }

  .nav-inner a {
    min-width: 150px;
    min-height: 54px;
    font-size: 17px;
  }

  .gallery-track {
    grid-auto-columns: minmax(180px, 42vw);
    gap: 18px;
  }

  .gallery-control {
    width: 42px;
    height: 58px;
  }

  .stats-grid,
  .feature-grid,
  .overview-points,
  .materials-panel,
  .home-modules,
  .chapter-grid {
    grid-template-columns: 1fr;
  }

  .image-news {
    grid-template-columns: 1fr;
  }

  .image-news img {
    height: 210px;
  }

  .chapter-title a {
    margin-top: 0;
  }
}

@media (max-width: 560px) {
  .brand-copy h1 {
    font-size: 28px;
  }

  .brand-copy strong {
    font-size: 19px;
  }

  .gallery-track {
    grid-auto-columns: 68vw;
  }

  .video-panel,
  .intro-section,
  .overview-summary,
  .news-module,
  .materials-panel {
    padding: 20px;
  }

  .result-list {
    grid-template-columns: 1fr;
  }

  .detail-article {
    padding: 24px 20px;
  }

  .detail-hero h1 {
    font-size: 30px;
  }
}
