:root {
  --red-900: #7f1017;
  --red-700: #ad2028;
  --gold-500: #cfa55c;
  --gold-200: #f0e2bf;
  --paper: #fffdfa;
  --paper-2: #faf5ea;
  --line: #eadcc1;
  --text: #2e2e2e;
  --text-light: #777;
  --shadow: 0 16px 38px rgba(97, 42, 24, 0.1);
  --container: min(1200px, calc(100vw - 32px));
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(207, 165, 92, 0.18), transparent 24%),
    linear-gradient(180deg, #fbf8f1 0%, #ffffff 30%, #f8f5ee 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.brandbar {
  position: relative;
  min-height: 138px;
  padding: 24px 0 18px;
  overflow: hidden;
  background:
    radial-gradient(circle at left center, rgba(207, 165, 92, 0.22), transparent 22%),
    linear-gradient(180deg, #fffefb, #fffaf2);
  border-bottom: 1px solid #ebd8b7;
}

.brandbar::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.9;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(207, 165, 92, 0.08), transparent 32%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='920' height='170' viewBox='0 0 920 170'%3E%3Cg fill='none' stroke='%23cfaaaa' stroke-width='2' opacity='.6'%3E%3Cpath d='M0 148h84V92h34V60h40v88h44V80h54v68h40V112h60V44h58v104h54V88h48v60h68V76h60v72h92'/%3E%3Cpath d='M82 148V72h36V148M118 60V0M140 60V0M454 148V18h52v130M760 148V50h58v98M614 148V24h40v124'/%3E%3C/g%3E%3C/svg%3E") no-repeat right bottom / 720px auto;
}

.brand {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 22px;
  width: fit-content;
  min-height: 96px;
}

.brand-banner {
  width: 100%;
  min-height: 0;
  justify-content: center;
}

.brand-banner-img,
.brand.brand-banner > img {
  width: min(1200px, 100%) !important;
  height: 125px !important;
  object-fit: contain;
  border-radius: 0 !important;
  filter: none !important;
}

.brand-mark {
  flex: 0 0 132px;
  width: 132px;
  min-height: 104px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-mark > img,
.brand > img {
  flex: 0 0 auto;
  width: 104px;
  height: 104px;
  object-fit: contain;
  border-radius: 50%;
  filter: drop-shadow(0 10px 24px rgba(127, 16, 23, 0.14));
}

.brand-mark-text {
  width: 104px;
  height: 104px;
  min-height: 104px;
  border: 2px solid rgba(173, 32, 40, 0.18);
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 24%, rgba(255, 255, 255, 0.9), transparent 28%),
    linear-gradient(145deg, #fffdf7, #f3dfb4);
  color: var(--red-900);
  font-family: "STZhongsong", "SimSun", serif;
  font-size: 42px;
  line-height: 100px;
  text-align: center;
  box-shadow: 0 10px 24px rgba(127, 16, 23, 0.14);
}

.brand-divider {
  width: 1px;
  height: 72px;
  background: linear-gradient(180deg, rgba(173, 32, 40, 0.2), rgba(173, 32, 40, 0.7), rgba(173, 32, 40, 0.2));
}

.brand-copy {
  min-width: 0;
}

.brand-meta {
  display: flex;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
}

.brand-school-cn {
  color: var(--red-700);
  font-family: "STZhongsong", "SimSun", serif;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.2;
}

.brand-school-en {
  margin: 0;
  color: #b77d3b;
  font-size: 12px;
  letter-spacing: 0.16em;
}

.brand-dept {
  margin: 10px 0 0;
  color: var(--red-900);
  font-family: "STZhongsong", "SimSun", serif;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 400;
  white-space: nowrap;
}

.main-nav {
  background: linear-gradient(180deg, var(--red-700), var(--red-900));
  border-top: 3px solid var(--gold-500);
  border-bottom: 3px solid #6d0d13;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 64px;
}

.nav-links {
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  align-items: stretch;
  position: relative;
  z-index: 20;
}

.nav-item {
  position: relative;
  min-width: 0;
}

.nav-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 64px;
  padding: 0 12px;
  text-align: center;
  color: #fff8ef;
  font-size: 17px;
  transition: background 0.2s ease;
}

.nav-link span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-item:hover > .nav-link,
.nav-item:focus-within > .nav-link,
.nav-item.is-open > .nav-link {
  background: rgba(255, 255, 255, 0.08);
}

.nav-item.is-current > .nav-link {
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 -3px 0 rgba(240, 226, 191, 0.75);
}

.nav-submenu {
  position: absolute;
  left: 0;
  top: 100%;
  min-width: 188px;
  padding: 8px 0;
  border: 1px solid #ead8b8;
  background: rgba(255, 253, 248, 0.98);
  box-shadow: 0 18px 36px rgba(97, 42, 24, 0.16);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.nav-item:hover > .nav-submenu,
.nav-item:focus-within > .nav-submenu,
.nav-item.is-open > .nav-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-submenu a {
  display: block;
  padding: 10px 16px;
  color: var(--red-900);
  font-size: 15px;
  line-height: 1.5;
  white-space: nowrap;
  transition: background 0.18s ease, color 0.18s ease;
}

.nav-submenu a:hover {
  color: var(--red-700);
  background: linear-gradient(90deg, rgba(207, 165, 92, 0.16), rgba(255, 255, 255, 0));
}

.nav-search {
  flex: 0 0 236px;
  display: flex;
  align-items: center;
  height: 42px;
  padding: 0 4px 0 14px;
  background: #fffdf8;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(127, 16, 23, 0.18);
}

.nav-search input {
  width: 100%;
  height: 40px;
  border: none;
  outline: none;
  background: transparent;
  color: var(--text);
}

.nav-search button {
  width: 40px;
  height: 34px;
  border: none;
  background: transparent;
  color: var(--red-900);
  font-size: 16px;
  cursor: pointer;
}

.hero-section,
.news-section,
.tabs-section,
.quick-section,
.links-section {
  padding: 28px 0 0;
}

.hero-grid,
.two-column,
.links-grid {
  display: grid;
  gap: 24px;
}

.hero-grid {
  grid-template-columns: minmax(0, 1fr);
}

.two-column {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.links-grid {
  grid-template-columns: 280px minmax(0, 1fr);
}

.hero-slider,
.picture-card,
.panel {
  position: relative;
  background: linear-gradient(180deg, #fffefb, #fffaf2);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.picture-card {
  display: none;
}

.picture-card::before,
.panel::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--red-700), var(--gold-500));
}

.hero-slider {
  position: relative;
  min-height: 450px;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: none;
}

.hero-slide.is-active {
  display: block;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 42%;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.68));
}

.hero-caption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 28px;
  z-index: 1;
  color: #fff;
  font-family: "STZhongsong", "SimSun", serif;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.5;
}

.hero-dots {
  position: absolute;
  right: 20px;
  bottom: 18px;
  z-index: 2;
  display: flex;
  gap: 10px;
}

.dot {
  width: 13px;
  height: 13px;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.dot.is-active {
  background: #fff1c6;
}

.picture-card,
.panel {
  padding: 24px 26px 26px;
}

.section-head,
.tab-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 16px;
  margin-bottom: 18px;
  border-bottom: 1px solid #eadab9;
}

.section-head.single {
  justify-content: flex-start;
}

.section-head h2,
.tab-button,
.site-footer p:first-child {
  font-family: "STZhongsong", "SimSun", serif;
}

.section-head h2 {
  margin: 0;
  color: var(--red-900);
  position: relative;
  padding-left: 18px;
  font-size: 32px;
  font-weight: 400;
}

.section-head h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 7px;
  height: 30px;
  border-radius: 999px;
  transform: translateY(-50%);
  background: linear-gradient(180deg, var(--red-700), var(--gold-500));
}

.section-head a {
  color: var(--red-700);
  font-size: 14px;
}

.picture-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.picture-grid a {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper-2);
}

.picture-grid img {
  width: 100%;
  height: 112px;
  object-fit: cover;
}

.news-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.news-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 102px;
  gap: 16px;
  align-items: center;
  padding: 11px 0;
  border-bottom: 1px dashed #eadcc1;
}

.news-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.news-list a {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.8;
}

.news-list time {
  color: var(--text-light);
  text-align: right;
  white-space: nowrap;
}

.tab-head {
  gap: 10px;
}

.tab-button {
  flex: 1 1 0;
  padding: 0 0 12px;
  color: #6b6b6b;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  font-size: 24px;
  font-weight: 400;
  cursor: pointer;
}

.tab-button.is-active {
  color: var(--red-900);
  border-bottom-color: var(--gold-500);
}

.tab-panel {
  display: none;
}

.tab-panel.is-active {
  display: block;
}

#figure-1 .news-list li,
#figure-2 .news-list li {
  grid-template-columns: minmax(0, 1fr) 102px;
  align-items: center;
}

#figure-1 .news-list a,
#figure-2 .news-list a {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.quick-card {
  position: relative;
  min-height: 190px;
  padding: 26px 22px 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at right bottom, rgba(207, 165, 92, 0.18), transparent 34%),
    linear-gradient(180deg, #fffefb, #f8f1e3);
  box-shadow: var(--shadow);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.quick-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: linear-gradient(90deg, var(--red-700), var(--gold-500));
}

.quick-card::after {
  content: "";
  position: absolute;
  right: -36px;
  bottom: -36px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(173, 32, 40, 0.08), transparent 70%);
}

.quick-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 42px rgba(97, 42, 24, 0.13);
}

.quick-card.quick-card-static:hover {
  transform: none;
}

.quick-card strong {
  position: relative;
  z-index: 1;
  display: inline-block;
  color: var(--red-900);
  font-family: "STZhongsong", "SimSun", serif;
  font-size: 26px;
  font-weight: 400;
  letter-spacing: 1px;
  line-height: 1.2;
}

.quick-card-media {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  opacity: 1;
}

.quick-card-media svg {
  width: 74px;
  height: 74px;
  color: rgba(173, 32, 40, 0.56);
  stroke-width: 1.7;
  filter: drop-shadow(0 8px 16px rgba(173, 32, 40, 0.08));
}

.quick-card-icon {
  right: 24px;
  left: auto;
  bottom: 22px;
  width: 84px;
  height: 84px;
  border: 1px solid rgba(173, 32, 40, 0.12);
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.88), transparent 30%),
    linear-gradient(145deg, rgba(255, 253, 248, 0.92), rgba(240, 226, 191, 0.68));
  color: rgba(173, 32, 40, 0.7);
  font-family: "STZhongsong", "SimSun", serif;
  font-size: 34px;
  line-height: 84px;
  text-align: center;
}

.quick-card-static .quick-card-media svg {
  color: rgba(207, 165, 92, 0.7);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.service-grid a {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 66px;
  padding: 8px 6px;
  overflow: hidden;
  border: 1px solid rgba(207, 165, 92, 0.28);
  background: rgba(255, 253, 248, 0.82);
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.service-grid a::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(90deg, var(--red-700), var(--gold-500));
}

.service-grid a:hover {
  color: var(--red-700);
  border-color: rgba(173, 32, 40, 0.34);
  background: #fffaf0;
}

.service-title {
  position: relative;
  z-index: 1;
  display: block;
  color: #6a4330;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0;
  margin: 0;
  text-align: center;
  writing-mode: horizontal-tb;
  text-orientation: mixed;
}

.service-media {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  order: -1;
  width: 26px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-media svg {
  width: 22px;
  height: 22px;
  color: rgba(173, 32, 40, 0.5);
  stroke-width: 1.7;
}

.service-media {
  border-radius: 50%;
  background: rgba(173, 32, 40, 0.08);
  color: var(--red-900);
  font-family: "STZhongsong", "SimSun", serif;
  font-size: 16px;
  line-height: 24px;
  text-align: center;
}

.text-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px 10px;
}

.text-links a {
  min-height: 42px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  color: #6a4330;
  background: rgba(255, 253, 248, 0.58);
  border: 1px solid rgba(207, 165, 92, 0.22);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.6;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.text-links a:hover {
  color: var(--red-700);
  border-color: rgba(173, 32, 40, 0.3);
  background: #fffaf0;
}

.links-section {
  padding-top: 22px;
}

.links-section .panel {
  padding: 16px 18px 18px;
  background: rgba(255, 253, 248, 0.66);
  border-color: rgba(207, 165, 92, 0.24);
  box-shadow: none;
}

.links-section .panel::before {
  height: 2px;
  background: linear-gradient(90deg, rgba(173, 32, 40, 0.72), rgba(207, 165, 92, 0.28));
}

.links-section .section-head {
  padding-bottom: 8px;
  margin-bottom: 12px;
  border-bottom: none;
}

.links-section .section-head h2 {
  font-size: 24px;
  line-height: 1.2;
}

.links-section .section-head h2::before {
  width: 5px;
  height: 22px;
}

.reference-band {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(207, 165, 92, 0.28);
}

.reference-band-title {
  margin-bottom: 0;
  padding-bottom: 0;
}

.reference-band-title h2 {
  margin: 0;
  position: relative;
  padding-left: 14px;
  color: var(--red-900);
  font-family: "STZhongsong", "SimSun", serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 32px;
  white-space: nowrap;
}

.reference-band-title h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 5px;
  height: 22px;
  border-radius: 999px;
  transform: translateY(-50%);
  background: linear-gradient(180deg, var(--red-700), var(--gold-500));
}

.reference-band-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
}

.reference-band-links a {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 32px;
  padding: 0 0 0 12px;
  color: #6a4330;
  font-size: 14px;
  border-bottom: none;
  line-height: 1.5;
  transition: color 0.2s ease;
}

.reference-band-links a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(173, 32, 40, 0.52);
  transform: translateY(-50%);
}

.reference-band-links a:hover {
  color: var(--red-700);
}

.inner-page-main {
  padding-bottom: 8px;
}

.inner-hero-section,
.inner-content-section {
  padding: 28px 0 0;
}

.inner-hero-card {
  position: relative;
  overflow: hidden;
  padding: 34px 38px 36px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at right top, rgba(207, 165, 92, 0.2), transparent 28%),
    linear-gradient(180deg, #fffefb, #f9f1e3);
  box-shadow: var(--shadow);
}

.inner-hero-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: linear-gradient(90deg, var(--red-700), var(--gold-500));
}

.inner-kicker {
  margin: 0;
  color: #b77d3b;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.inner-title {
  margin: 14px 0 14px;
  color: var(--red-900);
  font-family: "STZhongsong", "SimSun", serif;
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 400;
  line-height: 1.25;
}

.inner-summary {
  max-width: 860px;
  margin: 0;
  color: #65584d;
  line-height: 1.9;
}

.inner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.inner-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 132px;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  background: linear-gradient(135deg, var(--red-700), var(--red-900));
  color: #fff8ef;
  box-shadow: 0 10px 22px rgba(127, 16, 23, 0.14);
}

.inner-cta.is-ghost {
  border-color: rgba(173, 32, 40, 0.18);
  background: rgba(255, 255, 255, 0.72);
  color: var(--red-900);
  box-shadow: none;
}

.inner-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) 300px;
  gap: 24px;
}

.inner-side-column {
  display: grid;
  gap: 24px;
  align-content: start;
}

.inner-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.inner-card {
  position: relative;
  padding: 24px 24px 22px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at right bottom, rgba(207, 165, 92, 0.16), transparent 34%),
    linear-gradient(180deg, #fffefb, #fbf4e8);
  box-shadow: var(--shadow);
}

.inner-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--red-700), var(--gold-500));
}

.inner-card-index {
  display: inline-block;
  color: #b77d3b;
  font-size: 12px;
  letter-spacing: 0.18em;
}

.inner-card h3 {
  margin: 14px 0 10px;
  color: var(--red-900);
  font-family: "STZhongsong", "SimSun", serif;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.25;
}

.inner-card p {
  margin: 0;
  color: #65584d;
  line-height: 1.8;
}

.inner-card-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--red-700);
  font-weight: 600;
}

.inner-anchor-list,
.inner-link-list {
  display: grid;
  gap: 12px;
}

.inner-anchor-list a,
.inner-link-list a {
  display: flex;
  align-items: center;
  min-height: 56px;
  padding: 0 16px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #fffdf8, #f9f1e0);
  line-height: 1.6;
}

.inner-anchor-list a:hover,
.inner-link-list a:hover {
  color: var(--red-700);
  border-color: #dfc58f;
}

.list-page-main,
.detail-page-main {
  padding: 28px 0 8px;
  background: linear-gradient(180deg, #f4f1eb, #f7f5f0);
}

.content-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.content-sidebar,
.content-main {
  padding: 22px 24px 24px;
}

.content-breadcrumb {
  color: #7e6c59;
  font-size: 14px;
  line-height: 1.7;
}

.content-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0 14px;
  margin-bottom: 8px;
  border-bottom: 2px solid #eadab9;
}

.content-titlebar h1,
.detail-article h1 {
  margin: 0;
  color: var(--red-900);
  font-family: "STZhongsong", "SimSun", serif;
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 400;
}

.content-source-link {
  flex: 0 0 auto;
  color: var(--red-700);
}

.side-menu {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #e8dfcf;
}

.side-menu a {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 54px;
  padding: 0 18px 0 34px;
  background: #fffdf9;
  line-height: 1.6;
  transition: background 0.18s ease, color 0.18s ease;
}

.side-menu a::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  transform: translateY(-50%);
  background: rgba(173, 32, 40, 0.35);
}

.side-menu a.is-active {
  color: var(--red-900);
  font-weight: 700;
  background: linear-gradient(90deg, #fffefb, #f7efe1);
}

.side-menu a.is-active::before {
  background: var(--red-700);
}

.article-lines {
  margin: 0;
  padding: 0;
  list-style: none;
}

.article-lines li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 110px;
  gap: 16px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px dashed #eadcc1;
}

.article-lines a {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.75;
}

.article-lines time {
  color: var(--text-light);
  text-align: right;
  white-space: nowrap;
}

.content-pagination {
  display: flex;
  justify-content: flex-end;
  gap: 18px;
  padding-top: 16px;
  color: #7e6c59;
  font-size: 14px;
}

.detail-main {
  min-height: 560px;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 16px 0 18px;
  color: #8a7762;
  font-size: 14px;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 16px;
  margin-bottom: 20px;
  border-bottom: 1px solid #eadab9;
}

.detail-body {
  color: #3b342e;
  line-height: 2;
}

.detail-body p {
  margin: 0 0 16px;
  text-indent: 2em;
}

.detail-summary {
  color: #6b5c50;
}

.site-footer {
  margin-top: 28px;
  padding: 28px 0 34px;
  color: rgba(255, 255, 255, 0.88);
  background: linear-gradient(180deg, var(--red-900), #5f0d12);
}

.footer-inner {
  display: flex;
  align-items: center;
  gap: 28px;
}

.footer-brand {
  flex: 0 0 auto;
  width: 118px;
  min-height: 118px;
  display: grid;
  place-items: center;
  padding: 12px;
  border: 1px solid rgba(240, 226, 191, 0.18);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.footer-brand img {
  width: 92px;
  height: 92px;
  object-fit: contain;
  border-radius: 50%;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.14));
}

.footer-emblem {
  width: 92px;
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(240, 226, 191, 0.28);
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(240, 226, 191, 0.06));
  color: #fff4e2;
  font-family: "STZhongsong", "SimSun", serif;
  font-size: 24px;
  line-height: 1.2;
}

.footer-copy {
  min-width: 0;
  flex: 1 1 auto;
}

.footer-title {
  margin: 0 0 10px;
  color: #fff4e2;
  font-size: 22px;
  line-height: 1.5;
}

.footer-copy p {
  margin: 0 0 8px;
  line-height: 1.8;
}

.footer-copy p:last-child {
  margin-bottom: 0;
}

@media (max-width: 1100px) {
  .hero-grid,
  .two-column,
  .links-grid,
  .inner-layout,
  .content-shell {
    grid-template-columns: 1fr;
  }

  .quick-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .inner-card-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-inner {
    align-items: flex-start;
  }
}

@media (max-width: 760px) {
  :root {
    --container: min(100vw - 24px, 100%);
  }

  .brandbar {
    min-height: auto;
    padding: 18px 0 14px;
  }

  .brand {
    flex-wrap: wrap;
    gap: 14px;
  }

  .brand-mark {
    flex-basis: 96px;
    width: 96px;
    min-height: 84px;
  }

  .brand-mark > img,
  .brand > img {
    width: 76px;
    height: 76px;
  }

  .brand-mark-text {
    width: 76px;
    height: 76px;
    min-height: 76px;
    font-size: 32px;
    line-height: 72px;
  }

  .brand-divider {
    display: none;
  }

  .brand-meta {
    gap: 8px;
  }

  .brand-school-cn {
    font-size: 18px;
  }

  .brand-school-en {
    font-size: 11px;
    letter-spacing: 0.08em;
  }

  .brand-dept {
    white-space: normal;
    font-size: 28px;
  }

  .nav-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 10px 0;
  }

  .nav-links {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.06);
  }

  .nav-item {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-item:last-child {
    border-bottom: none;
  }

  .nav-link {
    justify-content: flex-start;
    min-height: 48px;
    padding: 0 18px;
  }

  .nav-submenu {
    position: static;
    min-width: 0;
    padding: 0;
    border: none;
    background: rgba(255, 255, 255, 0.04);
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
  }

  .nav-item:hover > .nav-submenu,
  .nav-item:focus-within > .nav-submenu {
    display: none;
  }

  .nav-item.is-open > .nav-submenu {
    display: block;
  }

  .nav-submenu a {
    padding: 10px 30px;
    color: #fff8ef;
    white-space: normal;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-submenu a:hover {
    color: #fff8ef;
    background: rgba(255, 255, 255, 0.08);
  }

  .nav-search {
    flex: none;
    width: 100%;
  }

  .hero-slider {
    min-height: 280px;
  }

  .picture-grid,
  .quick-grid {
    grid-template-columns: 1fr 1fr;
  }

  .text-links {
    grid-template-columns: 1fr;
  }

  .reference-band-links {
    gap: 8px 16px;
  }

  .inner-hero-card {
    padding: 24px 20px 24px;
  }

  .content-sidebar,
  .content-main {
    padding: 18px 16px 18px;
  }

  .content-titlebar {
    flex-direction: column;
    align-items: flex-start;
  }

  .inner-title {
    font-size: 28px;
  }

  .inner-card-grid {
    grid-template-columns: 1fr;
  }

  .inner-card {
    padding: 20px 18px 18px;
  }

  .inner-card h3 {
    font-size: 24px;
  }

  .service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .article-lines li {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .article-lines a {
    white-space: normal;
  }

  .article-lines time {
    text-align: left;
  }

  .news-list li {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .news-list a,
  .text-links a {
    white-space: normal;
  }

  .reference-band-links {
    gap: 6px 14px;
  }

  .reference-band-links a {
    width: 100%;
    min-height: 46px;
    padding: 10px 8px 10px 18px;
  }

  #figure-1 .news-list a,
  #figure-2 .news-list a {
    white-space: normal;
  }

  .quick-card {
    min-height: 142px;
    padding: 18px 14px 14px;
  }

  .service-grid a {
    min-height: 64px;
    padding: 8px 6px;
  }

  .quick-card strong {
    font-size: 21px;
  }

  .service-title {
    font-size: 13px;
    margin-bottom: 0;
  }

  .quick-card-media {
    height: 68px;
  }

  .quick-card-media svg {
    width: 58px;
    height: 58px;
  }

  .quick-card-icon {
    width: 62px;
    height: 62px;
    font-size: 25px;
    line-height: 62px;
  }

  .service-media {
    width: 24px;
    height: 22px;
  }

  .service-media svg {
    width: 21px;
    height: 21px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 18px;
  }

  .footer-brand {
    width: 104px;
    min-height: 104px;
    padding: 10px;
    border-radius: 20px;
  }

  .footer-brand img {
    width: 80px;
    height: 80px;
  }

  .footer-title {
    font-size: 18px;
  }

  .hero-caption {
    left: 16px;
    right: 16px;
    bottom: 24px;
    font-size: 22px;
  }

  .tab-button {
    font-size: 20px;
  }
}

/* WebPlus/Sudy template compatibility */
.webplus-page .brand-copy,
.webplus-page .brand-dept {
  display: block;
}

.nav-inner-webplus {
  align-items: center;
  gap: 22px;
}

.nav-links-webplus {
  flex: 1 1 auto;
  display: block;
  width: auto;
  min-width: 0;
}

.nav-links-webplus [frag="窗口内容"],
.nav-links-webplus [frag="窗口内容"] > div,
.nav-links-webplus #wp_nav_w1 {
  width: 100%;
}

.nav-links-webplus .wp_nav {
  display: grid !important;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  align-items: stretch;
  width: 100% !important;
  min-height: 64px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links-webplus .wp_nav .nav-item {
  position: relative;
  width: auto !important;
  min-width: 0;
  margin: 0;
  padding: 0;
  font-size: 17px;
  font-weight: 400;
}

.nav-links-webplus .wp_nav .nav-item a {
  display: flex !important;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  padding: 0;
  color: #fff8ef;
  text-align: center;
  text-decoration: none;
}

.nav-links-webplus .wp_nav .nav-item a span.item-name {
  display: block;
  width: auto !important;
  max-width: 100%;
  padding: 0 12px !important;
  overflow: hidden;
  color: inherit !important;
  text-overflow: ellipsis;
  white-space: nowrap;
  background: transparent !important;
  line-height: 64px !important;
}

.nav-links-webplus .wp_nav .nav-item:hover > a,
.nav-links-webplus .wp_nav .nav-item:focus-within > a {
  background: rgba(255, 255, 255, 0.08);
}

.nav-links-webplus .wp_nav .sub-nav {
  position: absolute !important;
  left: 0;
  top: 100%;
  z-index: 50;
  width: auto !important;
  min-width: 188px;
  margin: 0;
  padding: 8px 0;
  border: 1px solid #ead8b8;
  background: rgba(255, 253, 248, 0.98);
  box-shadow: 0 18px 36px rgba(97, 42, 24, 0.16);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.nav-links-webplus .wp_nav .nav-item:hover > .sub-nav,
.nav-links-webplus .wp_nav .nav-item:focus-within > .sub-nav {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-links-webplus .wp_nav .sub-nav .nav-item,
.nav-links-webplus .wp_nav .sub-nav .nav-item a {
  display: block !important;
  width: 100% !important;
  min-height: 0;
}

.nav-links-webplus .wp_nav .sub-nav .nav-item a span.item-name {
  width: 100% !important;
  padding: 10px 16px !important;
  color: var(--red-900) !important;
  font-size: 15px;
  line-height: 1.5 !important;
  text-align: left;
  white-space: nowrap;
}

.nav-links-webplus .wp_nav .sub-nav .nav-item a:hover span.item-name {
  color: var(--red-700) !important;
  background: linear-gradient(90deg, rgba(207, 165, 92, 0.16), rgba(255, 255, 255, 0)) !important;
}

.webplus-hero {
  min-height: 450px;
}

.webplus-hero [frag="窗口内容"],
.webplus-hero [frag="窗口内容"] > div,
.webplus-hero .picbase1,
.webplus-hero .dtjt2,
.webplus-hero .dtjt2_div,
.webplus-hero table,
.webplus-hero tbody,
.webplus-hero tr,
.webplus-hero td {
  width: 100% !important;
  height: 100% !important;
}

.webplus-hero img {
  width: 100% !important;
  height: 450px !important;
  object-fit: cover;
}

.webplus-hero .picbase1-content,
.webplus-hero .dtjt2_div_text,
.webplus-hero .dtjt9_div_text {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 28px;
  z-index: 2;
  color: #fff;
  font-family: "STZhongsong", "SimSun", serif;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.5;
}

.webplus-news .wp_article_list,
.webplus-list .wp_article_list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.webplus-news .wp_article_list .list_item,
.webplus-list .wp_article_list .list_item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 110px;
  gap: 16px;
  align-items: center;
  min-height: auto;
  padding: 11px 0;
  border-bottom: 1px dashed #eadcc1;
  line-height: 1.8;
}

.webplus-news .wp_article_list .list_item:last-child,
.webplus-list .wp_article_list .list_item:last-child {
  border-bottom: none;
}

.webplus-news .Article_Index,
.webplus-list .Article_Index {
  display: none !important;
}

.webplus-news .Article_Title,
.webplus-list .Article_Title {
  min-width: 0;
}

.webplus-news .Article_Title a,
.webplus-list .Article_Title a {
  display: block;
  overflow: hidden;
  color: var(--text);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.webplus-news .Article_Title a:hover,
.webplus-list .Article_Title a:hover {
  color: var(--red-700);
}

.webplus-news .Article_PublishDate,
.webplus-list .Article_PublishDate {
  color: var(--text-light);
  font-size: 14px;
  text-align: right;
  white-space: nowrap;
}

.webplus-column-list,
.webplus-column-list ul,
.webplus-column-list li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.webplus-column-list a,
.webplus-column-list .Column_Anchor a {
  color: inherit;
  text-decoration: none;
}

.webplus-column-list li,
.webplus-column-list .wp_column,
.webplus-column-list .column-item {
  border-bottom: 1px solid #e8dfcf;
}

.webplus-column-list li:last-child,
.webplus-column-list .wp_column:last-child,
.webplus-column-list .column-item:last-child {
  border-bottom: none;
}

.column-title,
.column-title .Column_Anchor,
.column-title .Column_Anchor a,
.content-titlebar .Column_Anchor,
.content-titlebar .Column_Anchor a {
  color: var(--red-900);
  font: inherit;
}

.column-title {
  margin: 0;
  font-family: "STZhongsong", "SimSun", serif;
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 400;
  line-height: 1.35;
}

.content-breadcrumb,
.content-breadcrumb .Column_Position,
.content-breadcrumb .Column_Position a {
  color: #7e6c59;
  font-size: 14px;
}

.detail-title,
.detail-title .Article_Title {
  color: var(--red-900);
  font-family: "STZhongsong", "SimSun", serif;
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 400;
  line-height: 1.35;
}

.detail-meta-item {
  display: inline-flex;
  gap: 4px;
  align-items: center;
}

.webplus-article-content,
.webplus-article-content .Article_Content {
  color: #3b342e;
  line-height: 2;
  text-align: left;
}

.webplus-article-content p {
  margin: 0 0 16px;
  text-indent: 2em;
}

.webplus-article-content img {
  max-width: 100%;
  height: auto !important;
  margin: 10px auto;
}

.quick-card-media img {
  max-width: 150px;
  max-height: 82px;
  object-fit: contain;
}

.service-grid img {
  width: auto;
  max-width: 100%;
  max-height: 38px;
  object-fit: contain;
}

.webplus-hero .orbit-wrapper,
.webplus-hero .featured.orbit,
.webplus-hero .featured.orbit > a,
.webplus-hero .featured.orbit img {
  width: 100% !important;
}

.webplus-hero .orbit-wrapper,
.webplus-hero .featured.orbit,
.webplus-hero .featured.orbit > a {
  height: 450px !important;
}

.webplus-hero .featured.orbit {
  position: relative !important;
  overflow: hidden !important;
}

.webplus-hero .featured.orbit > a {
  top: 0 !important;
  left: 0 !important;
}

.webplus-hero .featured.orbit img {
  height: 450px !important;
  object-fit: cover !important;
}

.webplus-hero .featured.orbit > a::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  height: 42%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.56));
  pointer-events: none;
}

.webplus-hero .featured.orbit > a::after {
  content: attr(title);
  position: absolute;
  left: 24px;
  right: 180px;
  bottom: 28px;
  z-index: 2;
  overflow: hidden;
  color: #fff;
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 32px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

.webplus-hero .orbit-caption,
.webplus-hero .timer {
  display: none !important;
}

.webplus-hero .slider-nav {
  position: absolute !important;
  inset: 0 !important;
  z-index: 6 !important;
  width: 100% !important;
  height: 100% !important;
  pointer-events: none;
}

.webplus-hero .slider-nav span.left,
.webplus-hero .slider-nav span.right {
  position: absolute !important;
  top: 50% !important;
  bottom: auto !important;
  width: 64px !important;
  height: 78px !important;
  margin-top: 0 !important;
  overflow: hidden !important;
  text-indent: -9999px !important;
  transform: translateY(-50%) !important;
  pointer-events: auto;
  background-color: rgba(0, 0, 0, 0.38) !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}

.webplus-hero .slider-nav span.left {
  left: 0 !important;
  right: auto !important;
}

.webplus-hero .slider-nav span.right {
  right: 0 !important;
  left: auto !important;
}

.webplus-news .wp_article_list .list_item,
.webplus-list .wp_article_list .list_item {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 112px !important;
  column-gap: 12px !important;
  align-items: center !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 9px 0 !important;
  overflow: hidden !important;
  line-height: 1.6 !important;
  border-bottom: 1px dashed var(--line) !important;
}

.webplus-news .wp_article_list .fields,
.webplus-list .wp_article_list .fields {
  min-width: 0 !important;
  height: auto !important;
  overflow: hidden !important;
  line-height: inherit !important;
}

.webplus-news .wp_article_list .pr_fields,
.webplus-list .wp_article_list .pr_fields {
  display: flex !important;
  align-items: center !important;
  min-width: 0 !important;
}

.webplus-news .Article_Index,
.webplus-list .Article_Index {
  display: none !important;
}

.webplus-news .Article_Title,
.webplus-list .Article_Title {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  overflow: hidden !important;
}

.webplus-news .Article_Title a,
.webplus-list .Article_Title a {
  display: block !important;
  width: 100% !important;
  overflow: hidden !important;
  color: var(--text) !important;
  font-size: 16px !important;
  line-height: 1.6 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.webplus-news .wp_article_list .ex_fields,
.webplus-list .wp_article_list .ex_fields,
.webplus-news .ex_fields,
.webplus-list .ex_fields {
  width: 112px !important;
  min-width: 112px !important;
  max-width: 112px !important;
  overflow: visible !important;
  text-align: right !important;
  justify-self: end !important;
}

.webplus-news .wp_article_list .Article_PublishDate,
.webplus-list .wp_article_list .Article_PublishDate,
.webplus-news .Article_PublishDate,
.webplus-list .Article_PublishDate {
  display: block !important;
  width: 112px !important;
  min-width: 112px !important;
  max-width: 112px !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  color: var(--text-light) !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
  text-align: right !important;
  white-space: nowrap !important;
}

@media (max-width: 760px) {
  .nav-links-webplus .wp_nav {
    display: flex !important;
    flex-direction: column;
    min-height: 0;
  }

  .nav-links-webplus .wp_nav .nav-item a {
    justify-content: flex-start;
    min-height: 48px;
  }

  .nav-links-webplus .wp_nav .nav-item a span.item-name {
    line-height: 48px !important;
    white-space: normal;
  }

  .nav-links-webplus .wp_nav .sub-nav {
    position: static !important;
    display: block;
    min-width: 0;
    padding: 0;
    border: none;
    background: rgba(255, 255, 255, 0.04);
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-links-webplus .wp_nav .sub-nav .nav-item a span.item-name {
    padding: 10px 30px !important;
    color: #fff8ef !important;
    white-space: normal;
  }

  .webplus-hero {
    min-height: 280px;
  }

  .webplus-hero .orbit-wrapper,
  .webplus-hero .featured.orbit,
  .webplus-hero .featured.orbit > a,
  .webplus-hero img {
    height: 280px !important;
  }

  .webplus-hero .featured.orbit > a::after {
    right: 24px;
    bottom: 18px;
    font-size: 22px;
  }

  .webplus-news .wp_article_list .list_item,
  .webplus-list .wp_article_list .list_item {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .webplus-news .Article_Title a,
  .webplus-list .Article_Title a {
    white-space: normal;
  }

  .webplus-news .Article_PublishDate,
  .webplus-list .Article_PublishDate {
    text-align: left;
  }
}
