:root {
  --blue: #c01a1e;
  --blue-dark: #003f7d;
  --blue-deep: #c01a1e;
  --blue-soft: #eaf3fb;
  --gold: #c7a45a;
  --ink: #172033;
  --muted: #647084;
  --line: #e4ebf3;
  --paper: #fff;
  --soft: #f4f8fc;
  --max: 1400px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}
@font-face {
  font-family: 'syst';
  
  src: url('../fonts/noto-serif-sc-chinese-simplified-900-normal.woff') format('woff');
  font-weight: 900; /* 常规 */
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  background: linear-gradient(180deg, #f8fbff 0, #fff 260px);
  line-height: 1.65;
}

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

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

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  z-index: 50;
  /*background: linear-gradient(90deg, #db959054, rgba(5, 43, 95, .14) 52%, rgb(244 67 54 / 14%));*/
  box-shadow: none;
}

.site-header::before {
  display: none;
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  /*padding: 24px 0 18px;*/
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.logo img {
  width: min(410px, 58vw);
  height: auto;
  filter: brightness(0) invert(1);
}

.logo img.is-hidden {
  display: none;
}

.logo-fallback {

  color: #fff;
  font-size: 32px;
  font-weight: 900;
  letter-spacing: .04em;
  white-space: nowrap;
    font-family:"syst";
 
}

.logo img.is-hidden + .logo-fallback {
  display: inline-block;
}

.search-form {
  display: flex;
  align-items: center;
  width: min(330px, 100%);
  border: 1px solid #bfd3e8;
  border-radius: 999px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(5, 43, 95, .06);
}

.search-form input {
  min-width: 0;
  flex: 1;
  height: 38px;
  border: 0;
  padding: 0 14px;
  outline: none;
  font-size: 14px;
}

.search-form button {
  width: 44px;
  height: 38px;
  border: 0;
  color: #fff;
  background: var(--blue);
  cursor: pointer;
  font-size: 18px;
}

.main-nav {
  background: transparent;
}

.mobile-search {
  display: none;
}

.main-nav > ul {
  display: flex;
  justify-content: center;
}

.main-nav li {
  position: relative;
}

.main-nav > ul > li > a,
.main-nav > ul > li > button {
  display: block;
  border: 0;
  padding: 15px 20px;
  color: #fff;
  background: transparent;
  font: inherit;
  white-space: nowrap;
  cursor: pointer;
  font-size: 18px;
  font-weight: bold;
}

.main-nav > ul > li:hover > a,
.main-nav > ul > li:hover > button {
  background: rgba(255, 255, 255, .13);
}

.submenu {
  position: absolute;
  left: 50%;
  top: 100%;
  min-width: 170px;
  padding: 8px 0;
  background: #c01a1e;
  border-top: 3px solid var(--gold);
  box-shadow: 0 16px 38px rgba(5, 43, 95, .18);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 10px);
  transition: .2s ease;
}

.main-nav li:hover .submenu,
.main-nav li:focus-within .submenu {
  opacity: 1;
  visibility: visible;
  /* transform: translate(-50%, 0); */
}

.submenu a {
  display: block;
  padding: 9px 18px;
  color: #ffffff;
  font-size: 14px;
  white-space: nowrap;
}

.submenu a:hover {
  color: #ffffff;
  background: #8d0000;
}

.mobile-bar {
  display: none;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}

.menu-toggle {
  width: 42px;
  height: 42px;
  border: 1px solid #bdd3ea;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--blue);
  transition: .2s ease;
}

.nav-open .menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.nav-open .menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero-slider {
  position: relative;
  overflow: hidden;
  background: var(--blue-deep);
}

.hero-slider::after {
  content: "";
  position: absolute;
  left: max(20px, calc((100vw - var(--max)) / 2));
  bottom: clamp(54px, 7vw, 96px);
  max-width: 620px;
  color: #fff;
  font-size: clamp(26px, 4vw, 54px);
  font-weight: 700;
  line-height: 1.25;
  text-shadow: 0 4px 18px rgba(0, 0, 0, .32);
  z-index: 2;
  pointer-events: none;
}

.hero-slider::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  /*background: linear-gradient(90deg, #db959054, rgba(5, 43, 95, .14) 52%, rgb(244 67 54 / 14%));*/
  pointer-events: none;
}

.slides {
  display: flex;
  position: relative;
  transition: transform .5s ease;
}

.slide {
  min-width: 100%;
}

.slide img {
  width: 100%;
  height: clamp(260px, 38vw, 760px);
  object-fit: cover;
}

.slider-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 20px;
  display: flex;
  justify-content: center;
  gap: 10px;
  z-index: 2;
}

.slider-dots button {
  width: 12px;
  height: 12px;
  border: 1px solid #fff;
  border-radius: 50%;
  background: rgba(255, 255, 255, .5);
  cursor: pointer;
}

.slider-dots button.active {
  background: var(--gold);
}

.quick-links {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  margin-top: -62px;
  position: relative;
  z-index: 2;
  overflow: hidden;
  background: rgb(187 12 12 / 72%);
  border-radius: 10px;
  box-shadow: 0 18px 42px rgba(5, 43, 95, .24);
  backdrop-filter: blur(6px);
}

.quick-links a {
  display: grid;
  place-items: center;
  gap: 10px;
  min-height: 132px;
  border-right: 1px solid rgba(255, 255, 255, .18);
  color: #fff;
  transition: .2s ease;
}

.quick-links a:last-child {
  border-right: 0;
}

.quick-links a:hover {
  color: #fff;
  background: rgba(255, 255, 255, .08);
  transform: translateY(-4px);
}

.quick-links img {
  height: 34px;
  width: auto;
}

.home-section {
  padding: 58px 0 0;
}

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

.section-title h2 {
  margin: 0;
  color: var(--blue-deep);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.2;
}

.section-title h2 span {
  display: block;
  color: #aaa;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.more {
  color: var(--blue);
  font-size: 14px;
}

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

.home-notice {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 48px;
  align-items: start;
}

.home-main-list .section-title {
  margin-bottom: 10px;
}

.notice-list li {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 22px;
  padding: 18px 0;
  border-bottom: 1px dashed var(--line);
}

.notice-list time {
  grid-row: span 2;
  color: var(--blue);
  text-align: center;
  line-height: 1.1;
}

.notice-list time strong {
  display: block;
  font-size: 40px;
  font-weight: 400;
  font-family: Georgia, serif;
}

.notice-list time span {
  display: block;
  color: #7b8796;
  font-size: 13px;
}

.notice-list a {
  overflow: hidden;
  color: #444;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.notice-list a:hover {
  color: var(--blue);
}

.notice-list p {
  margin: -8px 0 0;
  color: #8a8f99;
  font-size: 13px;
  line-height: 1.7;
}

.home-tools {
  padding-top: 6px;
}

.tool-card {
  margin-bottom: 12px;
  border: 1px solid #d8e2ec;
  background: #f7fbff;
  text-align: center;
}

.tool-card h3 {
  margin: 0;
  padding: 10px 14px;
  color: #fff;
  background: var(--blue);
  font-size: 16px;
}

.tool-card p {
  margin: 0;
  padding: 12px 14px;
  color: #53606f;
  font-size: 14px;
  line-height: 1.8;
  text-align: left;
}

.tool-card:first-child p {
  text-align: center;
}

.system-links a {
  display: block;
  margin: 9px 12px;
  padding: 9px 8px;
  color: #53606f;
  background: #fff;
  border: 1px solid #dce5ee;
  font-size: 14px;
}

.feature-card {
  min-height: 420px;
  background: var(--soft);
  border-top: 4px solid var(--blue);
  box-shadow: 0 12px 30px rgba(5, 43, 95, .08);
}

.feature-card img {
  width: 100%;
  height: 270px;
  object-fit: cover;
}

.feature-card div {
  padding: 24px;
}

.feature-card h3 {
  margin: 0 0 12px;
  font-size: 23px;
  line-height: 1.45;
}

.news-list li,
.text-list li {
  display: flex;
  gap: 18px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 15px 0;
}

.news-list time,
.text-list time {
  flex: 0 0 auto;
  color: var(--blue);
  font-family: Georgia, serif;
  font-size: 18px;
}

.news-list a,
.text-list a {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.news-list a:hover,
.text-list a:hover {
  color: var(--blue);
}

.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
}

.panel {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(5, 43, 95, .06);
}

.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  border-bottom: 2px solid var(--blue);
}

.panel-head h3 {
  margin: 0;
  color: var(--blue-deep);
  font-size: 22px;
}

.panel .news-list {
  padding: 0 22px 12px;
}

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

.lecture-list a {
  display: block;
  height: 100%;
  padding: 22px;
  background: linear-gradient(180deg, #f7fbff, #eef6ff);
  border-left: 4px solid var(--gold);
}

.lecture-list h3 {
  margin: 0 0 14px;
  font-size: 18px;
  line-height: 1.5;
}

.lecture-list p {
  margin: 8px 0;
  color: var(--muted);
}

.promo img {
  width: 100%;
  margin-top: 50px;
}

.link-tabs {
  margin: 54px auto;
  border-top: 3px solid var(--blue);
  background: #f8f8f8;
  box-shadow: 0 10px 28px rgba(5, 43, 95, .07);
}

.tab-buttons {
  display: flex;
}

.tab-buttons button {
  min-width: 140px;
  border: 0;
  padding: 16px 24px;
  background: #eee;
  cursor: pointer;
  font: inherit;
}

.tab-buttons button.active {
  color: #fff;
  background: var(--blue);
}

.tab-panel {
  display: none;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px 24px;
  padding: 24px;
}

.tab-panel.active {
  display: grid;
}

.tab-panel a {
  color: #444;
}

.page-banner img {
  width: 100%;
  height: clamp(320px, 34vw, 540px);
  object-fit: cover;
  filter: saturate(1.04);
}

.breadcrumb {
  background: #fff;
  color: #5b6b7f;
  font-size: 14px;
}

.breadcrumb .container {
  padding: 26px 0 0;
  text-align: right;
}

.inner-main {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 78px;
  padding: 28px 0 96px;
}

.side-nav {
  align-self: start;
  background: #e7e7e7;
  border: 0;
  box-shadow: none;
}

.side-nav h2 {
  margin: 0;
  padding: 26px 34px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue-deep), var(--blue));
  font-size: 24px;
}

.side-nav a,
.side-nav button {
  display: flex;
  justify-content: space-between;
  width: 100%;
  border: 0;
  border-bottom: 1px solid #d5d5d5;
  padding: 18px 28px;
  color: #333;
  background: #e7e7e7;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.side-nav .active > a,
.side-nav a:hover,
.side-nav button:hover {
  color: var(--blue);
  background: #dcdcdc;
}

.side-sub {
  display: none;
  padding: 6px 0 10px;
  background: #fafafa;
}

.side-nav .open .side-sub {
  display: block;
}

.side-sub a {
  padding-left: 38px;
  font-size: 14px;
  border-bottom: 0;
}

.content-panel {
  min-width: 0;
  border: 0;
  background: #fff;
  padding: 0;
  box-shadow: none;
}

.article-title {
  padding: 28px 0 26px;
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.article-title h1 {
  margin: 0;
  color: var(--blue-deep);
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.35;
}

.article-meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 14px;
  color: #888;
  font-size: 14px;
}

.article-body {
  padding-top: 48px;
  color: #333;
  font-size: 17px;
}

.article-body p {
  margin: 0 0 18px;
}

.article-body a {
  color: var(--blue);
  overflow-wrap: anywhere;
}

.article-body ol {
  padding-left: 24px;
  list-style: decimal;
}

.article-body li {
  margin-bottom: 14px;
}

.text-list {
  padding-top: 8px;
}

.text-list li {
  padding: 18px 0;
  border-bottom: 1px dashed var(--line);
}

.text-list time {
  width: 116px;
  color: #888;
  font-size: 15px;
  font-family: inherit;
}

.pagination {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.pagination span,
.pagination a {
  min-width: 38px;
  padding: 7px 12px;
  border: 1px solid #ddd;
  color: #666;
  text-align: center;
}

.pagination .active {
  color: #fff;
  border-color: var(--blue);
  background: var(--blue);
}

.site-footer {
  color: #eaf3ff;
  background:
    linear-gradient(90deg, rgba(201, 36, 30, .94), rgba(227, 61, 31, .9)),
    url("../images/footer.png") center / cover no-repeat;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr auto;
  gap: 36px;
  padding: 48px 0;
}

.footer-title {
  margin-bottom: 14px;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
}

.footer-grid p {
  margin: 6px 0;
}

.footer-brand img {
  max-width: 330px;
  margin-bottom: 18px;
  filter: brightness(0) invert(1);
}

.footer-logo-placeholder {
  display: none;
  margin-bottom: 16px;
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: .04em;
}

.footer-brand img.is-hidden + .footer-logo-placeholder {
  display: block;
}

.qr {
  text-align: center;
}

.qr img {
  width: 118px;
  margin: 0 auto 8px;
}

.copyright {
  padding: 13px 0;
  color: #fff;
  /*background: var(--blue-deep);*/
  text-align: center;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: .55s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1180px) {
  .main-nav > ul > li > a,
  .main-nav > ul > li > button {
    padding: 14px 10px;
    font-size: 14px;
  }

  .quick-links {
    grid-template-columns: repeat(3, 1fr);
  }

  .news-grid,
  .home-notice,
  .two-col {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 900px) {
  .container {
    width: min(100% - 28px, var(--max));
  }

  .header-top,
  .main-nav {
    display: none;
  }

  .site-header {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    background: #fff;
    box-shadow: 0 8px 28px rgba(5, 43, 95, .12);
  }

  .site-header.nav-open::after {
    content: "";
    position: fixed;
    left: 0;
    right: 0;
    top: 72px;
    bottom: 0;
    background: rgba(5, 43, 95, .35);
    z-index: 55;
  }

  body {
    padding-top: 62px;
  }

  .mobile-bar {
    display: flex;
  }

  .site-header.nav-open .main-nav {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 72px;
    right: 0;
    bottom: 0;
    width: min(84vw, 360px);
    max-height: none;
    overflow-y: auto;
    background: #fff;
    box-shadow: -18px 0 36px rgba(5, 43, 95, .2);
    transform: translateX(0);
    z-index: 60;
    overscroll-behavior: contain;
  }

  .home-page .main-nav {
    position: fixed;
    background: #fff;
    backdrop-filter: none;
  }

  .main-nav > ul {
    display: block;
    order: 2;
    width: 100%;
    max-width: none;
  }

  .main-nav > ul > li > a,
  .main-nav > ul > li > button {
    width: 100%;
    padding: 15px 22px;
    text-align: left;
    color: var(--blue-deep);
    background: #fff;
    border-top: 1px solid var(--line);
    font-size: 16px;
    font-weight: 700;
  }

  .has-sub > button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    padding-right: 48px;
  }

  .has-sub > button::after {
    content: "";
    position: absolute;
    right: 24px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-65%) rotate(45deg);
    transition: transform .2s ease;
  }

  .has-sub.open > button::after {
    transform: translateY(-35%) rotate(225deg);
  }

  .has-sub.open > button {
    color: var(--blue);
    background: #eef6ff;
  }

  .main-nav > ul > li:hover > a,
  .main-nav > ul > li:hover > button {
    background: var(--blue-soft);
  }

  .submenu {
    position: static;
    min-width: 0;
    padding: 0;
    margin: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    max-height: 0;
    overflow: hidden;
    border: 0;
    background: #f7fbff;
    transition: max-height .25s ease;
  }

  .main-nav .has-sub.open > .submenu {
    display: block !important;
    max-height: 520px;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .submenu a {
    padding: 11px 38px;
    color: #40516a;
    background: #f7fbff;
    border-top: 1px solid #e6eef7;
    font-size: 14px;
    line-height: 1.5;
  }

  .submenu a::before {
    content: "";
    display: inline-block;
    width: 5px;
    height: 5px;
    margin-right: 8px;
    border-radius: 50%;
    background: var(--blue);
    vertical-align: middle;
  }

  .mobile-search {
    display: flex;
    order: 1;
    padding: 14px;
    background: #f7fbff;
    border-bottom: 1px solid var(--line);
  }

  .mobile-search .search-form {
    width: 100%;
  }

  .quick-links {
    margin-top: 0;
    grid-template-columns: repeat(2, 1fr);
    border-radius: 0;
  }

  .quick-links a {
    min-height: 108px;
  }

  .lecture-list,
  .footer-grid,
  .inner-main {
    grid-template-columns: 1fr;
  }

  .home-notice {
    gap: 24px;
  }

  .side-nav {
    position: static;
  }

  .logo img {
    width: min(300px, 70vw);
  }

  .logo-fallback {
    display: inline-block;
    font-size: 18px;
  }

  .logo img:not(.is-hidden) + .logo-fallback {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
}

@media (max-width: 560px) {
  .mobile-bar {
    padding: 10px 0;
  }

  .logo img {
    width: min(238px, 62vw);
  }

  .hero-slider::after {
    bottom: 44px;
    font-size: 24px;
  }

  .slide img {
    height: 220px;
  }

  .quick-links {
    grid-template-columns: repeat(2, 1fr);
        margin-top: 20px;
        background: #c01a1e;
        padding: 10px 0;
  }

  .notice-list li {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 14px;
  }

  .notice-list time strong {
    font-size: 32px;
  }

  .notice-list a {
    white-space: normal;
  }

  .news-list li,
  .text-list li {
    display: block;
  }

  .news-list time,
  .text-list time {
    display: block;
    width: auto;
    margin-bottom: 4px;
  }

  .news-list a,
  .text-list a {
    display: block;
    white-space: normal;
  }

  .tab-buttons button {
    flex: 1;
    min-width: 0;
  }

  .tab-panel {
    grid-template-columns: 1fr;
  }

  .content-panel {
    padding: 20px 16px;
  }

  .article-body {
    font-size: 16px;
  }
}
  font-weight: 700;
