/* 首页模板。组件样式依赖 HTML 中的类名，栏目内容可由站群组件输出。 */
:root {
  --blue: #075cb8;
  --deep-blue: #003a78;
  --ink: #171717;
  --muted: #646464;
  --page-width: 1200px;
  --header-height: 90px;
}

* { box-sizing: border-box; }
html {
  scroll-padding-top: calc(var(--header-height) + 16px);
  scrollbar-width: none;
}
html::-webkit-scrollbar { display: none; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font: 16px/1.5 "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", Arial, sans-serif;
}
h2, p, figure { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid #f2a62b; outline-offset: 3px; }

.skip-link {
  position: fixed;
  z-index: 30;
  top: 8px;
  left: 8px;
  padding: 8px 14px;
  transform: translateY(-200%);
  background: #fff;
  color: var(--deep-blue);
}
.skip-link:focus { transform: none; }

.site-header {
  position: fixed;
  z-index: 10;
  inset: 0 0 auto;
  color: #fff;
  background: linear-gradient(rgba(0, 49, 98, .79), rgba(37, 131, 92, 0));
  backdrop-filter: blur(3px);
}
.header-inner {
  min-height: var(--header-height);
  padding-left: clamp(24px, calc(14.1667vw - 106.333px), 75px);
  padding-right: clamp(24px, calc(7.2222vw - 42.444px), 50px);
  display: flex;
  align-items: center;
}
.site-brand {
  display: block;
  flex: none;
  width: clamp(340px, calc(45.12vw - 75.106px), 502.43px);
}
.site-brand img { width: 100%; height: auto; }
.header-panel { flex: 1; min-width: 0; display: flex; align-items: center; gap: 20px; }
.header-panel nav { flex: 1; }
.nav-list { display: flex; align-items: center; }
.nav-list > li { position: relative; }
.nav-list > li > a {
  display: block;
  padding: 10px 0;
  color: #fff;
  font-size: clamp(16px, 1.640625vw, 21px);
  font-weight: 700;
  white-space: nowrap;
}
.nav-list > .nav-group {
  display: grid;
  grid-template-columns: minmax(min-content, 1fr) auto;
  align-items: center;
}
.nav-toggle {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
}
.nav-toggle::after {
  width: 6px;
  height: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  content: "";
}
.nav-toggle[aria-expanded="true"]::after { transform: translateY(2px) rotate(225deg); }
@media (min-width: 921px) {
  .header-panel { reading-flow: flex-visual; }
  .site-search { order: 1; }
  .nav-list > li { flex: 1; }
  .nav-list > li > a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: var(--header-height);
    padding: 0;
  }
  .nav-toggle { width: 16px; }
}
.nav-list > li > a:hover, .nav-toggle:hover { color: #c9e8ff; }
.nav-submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 140px;
  padding: 4px;
  background: var(--blue);
  box-shadow: 0 6px 18px #00204240;
}
.nav-submenu a { display: block; padding: 8px 12px; white-space: nowrap; }
.nav-submenu a:hover, .nav-submenu a:focus-visible { background: var(--deep-blue); }
.menu-toggle { display: none; }
.site-search {
  display: flex;
  align-items: center;
  flex: 0 0 clamp(94px, calc(5.1667vw + 46.433px), 150px);
  min-height: 32px;
  padding-right: 8px;
  border: 1px solid #ffffffa8;
  border-radius: 18px;
  background: transparent;
}
.site-search button, .site-search input {
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
}
.site-search button { width: 30px; min-height: 30px; flex: none; }
.site-search input { width: 100%; font-size: 13px; }
.site-search input::placeholder { color: #e4eef7; }
.search-icon {
  position: relative;
  display: inline-block;
  width: 10px;
  height: 10px;
  border: 1px solid currentColor;
  border-radius: 50%;
}
.search-icon::after {
  position: absolute;
  right: -4px;
  bottom: -2px;
  width: 5px;
  height: 1px;
  background: currentColor;
  transform: rotate(45deg);
  content: "";
}

.home-banner { position: relative; height: 100vh; min-height: 420px; background: var(--deep-blue); }
.banner-track, .banner-slide { position: absolute; inset: 0; }
.banner-slide { opacity: 0; transition: opacity .45s ease; }
.banner-slide.is-current { opacity: 1; z-index: 1; }
.banner-slide img { width: 100%; height: 100%; object-fit: cover; }
.banner-controls {
  position: absolute;
  z-index: 2;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
}
.banner-dots { display: flex; gap: 6px; }
.banner-dot {
  position: relative;
  width: 32px;
  height: 30px;
  padding: 0;
  border: 0;
  background: transparent;
}
.banner-dot::after {
  position: absolute;
  inset: 14px 0 auto;
  height: 3px;
  background: #ffffff91;
  box-shadow: 0 1px 3px #17233099;
  content: "";
}
.banner-dot[aria-current="true"]::after { background: #fff; }
.banner-arrow {
  padding: 0;
  border: 1px solid #ffffffa6;
  border-radius: 50%;
  background: #0b325899;
  color: #fff;
  position: absolute;
  z-index: 2;
  top: 50%;
  width: 42px;
  height: 42px;
  font-size: 30px;
  line-height: 1;
  transform: translateY(-50%);
}
.banner-prev { left: 20px; }
.banner-next { right: 64px; }
@media (hover: hover) {
  .banner-arrow { opacity: 0; transition: opacity .2s ease; }
  .home-banner:hover .banner-arrow, .home-banner:focus-within .banner-arrow { opacity: 1; }
}

.home-wrap {
  width: min(var(--page-width), calc(100% - 80px));
  margin-inline: auto;
}
.home-entries {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px;
  margin: 30px 0 48px;
}
.home-entries a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 86px;
  padding: 12px 20px;
  background: var(--blue);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
}
.home-entries a:hover { background: var(--deep-blue); }
.home-entries img { width: 46px; height: 46px; object-fit: contain; }
.home-section { min-width: 0; }
.section-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 15px; }
.section-header h2 { min-width: 0; }
.section-header img { width: 325px; height: auto; }
.section-more { flex: none; color: var(--muted); }
.section-more:hover { color: var(--blue); text-decoration: underline; }
.home-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.home-policy-row { margin: 34px 0 36px; }

.admission-types {
  display: grid;
  grid-template-columns: 3fr 4fr 3fr;
  align-items: center;
  min-height: 360px;
}
.admission-card {
  background: #a7d1ef url("../images/admission-bg.png") center / cover;
}
.admission-card.is-featured { background: var(--blue); color: #fff; border-radius: 4px; }
.admission-card a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 320px;
  padding: 10px;
  text-align: center;
}
.admission-card.is-featured a { min-height: 360px; }
.admission-card img { object-fit: contain; }
.admission-name { font-size: 18px; font-weight: 600; }
.admission-details { border: 1px solid currentColor; border-radius: 3px; padding: 6px 13px; font-size: 12px; }
.admission-card a:hover .admission-details { background: #fff; color: var(--deep-blue); }

.home-news-list li > a { display: flex; align-items: center; gap: 14px; min-width: 0; }
.home-news-list a:hover .news-title { color: var(--blue); text-decoration: underline; }
.home-news-list time { display: grid; flex: none; text-align: center; color: var(--blue); }
.home-news-list time b, .home-news-list time span { display: block; }
.news-text { display: grid; min-width: 0; gap: 5px; }
.announcement li { border-bottom: 1px solid #c8c8c8; }
.announcement li > a { min-height: 81px; }
.announcement time { width: 52px; gap: 7px; }
.announcement time span { color: var(--ink); font-size: 13px; }
.announcement .news-title, .news-summary { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.announcement .news-title { font-weight: 700; }
.news-summary { color: var(--muted); font-size: 13px; }
.dated li > a { min-height: 98px; padding: 10px 16px; }
.dated time { width: 60px; border: 1px solid #e6edf6; }
.dated time b { background: var(--blue); color: #fff; padding: 3px; }
.dated time span { font-size: 13px; padding: 3px 0; }

.home-videos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-bottom: 28px; }
.video-cover { position: relative; display: block; overflow: hidden; aspect-ratio: 284 / 171; background: #eef3f8; }
.video-cover > img:first-child { width: 100%; height: 100%; object-fit: cover; }
.video-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.video-title {
  display: block;
  padding-top: 10px;
  color: #0066cc;
  font: 700 18px/22px "SF Pro SC", "HanHei SC", "SF Pro Text", "Myriad Set Pro", "SF Pro Icons",
    "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
  text-align: start;
}
.video-link:hover .video-title { text-decoration: underline; }
.campus-grid {
  display: grid;
  grid-template-columns: 10fr 7fr 7fr;
  grid-template-rows: repeat(2, clamp(115px, 16vw, 207px));
  gap: 16px 24px;
  margin-bottom: 30px;
}
.campus-grid li { min-width: 0; }
.campus-grid li:first-child { grid-row: span 2; }
@media (min-width: 621px) {
  .campus-grid { grid-auto-flow: column; }
}
.campus-grid img { width: 100%; height: 100%; object-fit: cover; }
.friend-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: stretch; gap: 15px; margin: 0 0 25px; }
.friend-links a { display: block; overflow: hidden; border-radius: 5px; }
.friend-links img { width: 100%; aspect-ratio: 4.25; object-fit: fill; }

.side-tools {
  position: fixed;
  z-index: 4;
  top: clamp(120px, calc(100vh - 309px), 414px);
  right: 5px;
  display: grid;
  justify-items: end;
}
.side-tools.is-footer-visible { visibility: hidden; }
.side-tools li + li { border-top: 1px solid #dbe6f3; }
.side-tools li a {
  position: relative;
  display: flex;
  align-items: center;
  background: #fff;
  color: var(--deep-blue);
  box-shadow: 0 1px 5px #00316232;
}
.side-tools li img { width: 50px; height: 50px; }
.side-tools li span {
  position: absolute;
  top: 0;
  right: 100%;
  display: none;
  height: 100%;
  align-items: center;
  padding: 0 11px;
  background: var(--blue);
  color: #fff;
  white-space: nowrap;
}
.side-tools li a:hover span, .side-tools li a:focus-visible span { display: flex; }
.side-toggle {
  width: 32px;
  height: 32px;
  margin: 9px;
  padding: 0 0 2px;
  border: 1px solid #fff;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  line-height: 1;
  font-size: 25px;
}

.site-footer { background: var(--blue); color: #fff; }
.footer-main {
  display: grid;
  grid-template-columns: 1.1fr 1fr auto;
  align-items: center;
  gap: 26px;
  padding-block: 22px;
}
.footer-brand img { width: 100%; height: auto; }
.footer-contact li { display: flex; align-items: center; gap: 6px; margin: 6px 0; }
.footer-contact a:hover { text-decoration: underline; }
.footer-codes { display: flex; gap: 16px; }
.footer-codes figure { text-align: center; font-size: 13px; }
.footer-codes img { margin: 0 auto 5px; }
.footer-copyright { border-top: 1px solid #ffffff56; padding: 10px 20px; text-align: center; font-size: 14px; }
.footer-copyright span { display: inline-block; margin-left: 12px; }

.home-dialog {
  width: min(92vw, 780px);
  max-height: 90vh;
  padding: 0;
  border: 0;
  border-radius: 6px;
  box-shadow: 0 12px 45px #061d3e59;
}
.home-dialog::backdrop { background: #071525a6; }
.dialog-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
  background: var(--blue);
  color: #fff;
}
.dialog-bar h2 { font-size: 18px; }
.dialog-bar button { border: 0; background: transparent; color: #fff; font-size: 25px; line-height: 1; }
.video-dialog video { display: block; width: 100%; max-height: 68vh; background: #111; }
.video-fallback, .search-summary { padding: 10px 18px; }
.video-fallback a, .search-results a { color: var(--deep-blue); text-decoration: underline; }
.search-results { padding: 0 18px 15px; }
.search-results li { padding: 8px 0; border-top: 1px solid #dbe6f3; }

@media (max-height: 760px) {
  .side-tools li img { width: 43px; height: 43px; }
}
@media (max-width: 1120px) {
  .home-entries { gap: 12px; }
  .home-entries a { padding-inline: 12px; font-size: 16px; }
}
@media (max-width: 920px) {
  :root { --header-height: 68px; }
  .header-inner { position: relative; flex-wrap: wrap; padding-inline: 25px; }
  .site-brand { flex: 1 1 0; max-width: 385px; }
  .menu-toggle:not([hidden]) {
    display: grid;
    place-items: center;
    flex: 0 0 44px;
    height: 44px;
    margin-left: auto;
    padding: 0;
    border: 0;
    background: transparent;
    color: #fff;
  }
  .menu-icon { position: relative; width: 22px; height: 18px; }
  .menu-icon span {
    position: absolute;
    top: 8px;
    left: 0;
    width: 100%;
    height: 2px;
    border-radius: 1px;
    background: currentColor;
  }
  .menu-icon span:first-child { transform: translateY(-7px); }
  .menu-icon span:last-child { transform: translateY(7px); }
  .menu-toggle[aria-expanded="true"] .menu-icon span:first-child { transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-icon span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] .menu-icon span:last-child { transform: rotate(-45deg); }
  .header-panel {
    flex: 1 0 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 8px 0 14px;
  }
  .site-header.has-menu .header-panel {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    max-height: calc(100vh - var(--header-height));
    max-height: calc(100dvh - var(--header-height));
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 8px 25px 12px;
    background: #003162;
  }
  .site-header.is-menu-open .header-panel { display: flex; }
  .site-header.is-menu-open { bottom: 0; background: #003162; }
  html:has(.site-header.is-menu-open) { overflow: hidden; }
  .nav-list { display: block; }
  .nav-list > li + li { border-top: 1px solid #ffffff26; }
  .nav-list > li > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 44px;
    padding: 8px 6px;
  }
  .nav-submenu {
    position: static;
    grid-column: 1 / -1;
    min-width: 0;
    margin: 0 0 6px;
    padding: 0 6px 0 18px;
    border-left: 2px solid #ffffff4d;
    background: transparent;
    box-shadow: none;
  }
  .nav-submenu a { min-height: 44px; padding: 10px 0; }
  .site-search { flex: none; width: 100%; min-height: 40px; }
  .home-banner { height: clamp(340px, 66vw, 670px); min-height: 0; }
  .home-wrap { width: calc(100% - 48px); }
  .home-entries { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 32px; }
  .home-entries a { justify-content: center; min-height: 64px; }
  .admission-card a, .admission-card.is-featured a { min-height: 240px; }
  .admission-types { min-height: 0; }
  .admission-name { font-size: 15px; }
  .section-more { font-size: 13px; }
  .side-tools { display: none; }
  .footer-main { grid-template-columns: 1fr auto; gap: 18px; }
  .footer-brand { grid-column: 1 / -1; max-width: 400px; }
}
@media (max-width: 620px) {
  .header-inner { padding-inline: 14px; }
  .site-brand { flex: 0 1 330px; max-width: calc(100% - 51px); }
  .site-header.has-menu .header-panel { padding-inline: 14px; }
  .home-wrap { width: calc(100% - 32px); }
  .home-banner { height: 345px; }
  .banner-arrow { width: 34px; height: 34px; font-size: 25px; }
  .banner-prev { left: 10px; }
  .banner-next { right: 10px; }
  .home-entries { gap: 8px; margin: 16px 0 26px; }
  .home-entries a { flex-direction: column-reverse; padding: 8px 3px; font-size: 14px; gap: 3px; }
  .home-entries img { width: 30px; height: 30px; }
  .home-columns { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .home-policy-row { margin: 26px 0; }
  .section-header { margin-bottom: 10px; }
  .section-header img { width: min(275px, 100%); }
  .admission-card a, .admission-card.is-featured a { min-height: 178px; gap: 9px; padding-inline: 3px; }
  .admission-card img { width: 42px; height: 42px; }
  .admission-details { padding: 4px 6px; }
  .announcement li > a, .dated li > a { min-height: 68px; padding: 8px 0; }
  .announcement .news-title { white-space: normal; }
  .home-videos, .friend-links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .home-videos { margin-bottom: 20px; }
  .video-play { width: 40px; height: 40px; }
  .campus-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; grid-auto-rows: 110px; gap: 8px; }
  .campus-grid li:first-child { grid-column: 1 / -1; }
  .footer-main { grid-template-columns: minmax(0, 1fr); }
  .footer-brand { max-width: 340px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; }
}

/* 招生栏目页与首页共用页头、页脚和移动端导航。 */
.admissions-column { background: #edf2f7; }
.column-banner {
  height: 120px;
  background: #1d4d83 url("../images/column-banner.png") center / cover no-repeat;
}
.column-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 50px;
  margin-block: 30px;
}
.column-sidebar, .column-content { background: #fff; }
.column-sidebar { border-left: 2px solid var(--blue); }
.column-menu a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 55px;
  padding: 9px 20px;
  border-bottom: 1px solid #e1e1e1;
}
.column-menu a:hover { color: var(--blue); }
.column-menu a[aria-current="page"] {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
}
.column-menu a[aria-current="page"]::before {
  position: absolute;
  top: 0;
  left: 100%;
  border-bottom: 55px solid var(--blue);
  border-right: 30px solid transparent;
  content: "";
}
.column-menu a[aria-current="page"]::after {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: #b8d9fb;
  font-size: 18px;
  line-height: 1;
  content: "›";
}
.column-content { min-width: 0; padding-inline: 20px; }
.column-heading {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.column-breadcrumb {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  border-bottom: 1px solid #ebebeb;
  color: #606266;
  font-size: 14px;
}
.column-breadcrumb a { color: #282828; font-weight: 700; }
.column-breadcrumb a:hover { color: var(--blue); }
.column-body { padding: 20px 10px 43px; }
.column-guide-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  min-height: 55.5px;
  padding: 10px;
  border-bottom: 1px dashed #d0d3d7;
}
.column-article-title:hover { color: var(--blue); text-decoration: underline; }
.column-date { flex: none; color: #53575b; font-size: 14px; }
.column-guide-item .column-date::before {
  display: inline-block;
  width: 11px;
  height: 11px;
  margin-right: 5px;
  background: linear-gradient(currentColor, currentColor) 50% 23% / 1px 4px no-repeat,
              linear-gradient(currentColor, currentColor) 58% 52% / 3px 1px no-repeat;
  border: 1px solid currentColor;
  border-radius: 50%;
  content: "";
}
.column-articles--notices { padding-top: 20px; }
.column-notice-item {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 138px;
  padding: 26px 0 18px;
  border-bottom: 1px solid #e9e9e9;
}
.column-notice-item + .column-notice-item { margin-top: 16px; }
.column-article-cover { flex: none; width: min(28%, 230px); height: auto; aspect-ratio: 230 / 172; object-fit: cover; }
.column-article-text { flex: 1; min-width: 0; }
.column-article-text h2 { font-size: 20px; line-height: 1.45; }
.column-summary { margin-top: 18px; color: #696969; overflow-wrap: anywhere; }
.column-article-text .column-date { display: block; margin-top: 18px; text-align: right; }

.column-pagination, .column-boda-pagination {
  margin-top: 28px;
  color: #53575b;
  font-size: 14px;
}
.column-pagination, .column-page-numbers, .column-page-jump {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.column-page-numbers { margin: 0; padding: 0; list-style: none; }
.column-total { margin: 0 8px; }
.column-page-numbers span, .column-page-arrow, .column-page-jump button {
  display: grid;
  place-items: center;
  min-width: 28px;
  min-height: 30px;
  border-radius: 3px;
  font-weight: 600;
}
.column-page-numbers [aria-current="page"] { background: var(--blue); color: #fff; }
.column-total + .column-page-arrow { color: #aeb6c0; }
.column-page-jump { margin-left: 8px; }
.column-page-jump input {
  width: 45px;
  min-height: 30px;
  padding: 1px 3px;
  text-align: center;
  color: var(--ink);
  background: #fff;
  border: 1px solid #c6ced7;
  border-radius: 3px;
}
.column-page-jump button {
  cursor: default;
  padding-inline: 7px;
  border: 1px solid #c6ced7;
  background: #fff;
  color: var(--blue);
}
.column-boda-pagination { text-align: center; }
.column-boda-pagination table { margin-inline: auto; }

@media (max-width: 920px) {
  .column-banner { height: 100px; }
  .column-layout { grid-template-columns: 180px minmax(0, 1fr); gap: 30px; }
  .column-menu a[aria-current="page"]::before { border-right-width: 16px; }
  .column-content { padding-inline: 16px; }
  .column-body { padding-inline: 0; }
}
@media (max-width: 620px) {
  .column-banner { height: 86px; }
  .column-layout { grid-template-columns: minmax(0, 1fr); gap: 12px; margin-block: 15px; }
  .column-sidebar { border-left: 0; }
  .column-menu { display: flex; }
  .column-menu li { flex: 1; }
  .column-menu a { justify-content: center; min-height: 44px; padding: 6px 2px; font-size: 14px; }
  .column-menu a[aria-current="page"]::before, .column-menu a[aria-current="page"]::after { display: none; }
  .column-content { padding-inline: 12px; }
  .column-breadcrumb { min-height: 46px; }
  .column-body { padding-block: 8px 22px; }
  .column-guide-item { gap: 8px; padding-inline: 0; font-size: 15px; }
  .column-date { font-size: 12px; }
  .column-guide-item .column-date::before { display: none; }
  .column-articles--notices { padding-top: 0; }
  .column-notice-item { gap: 10px; min-height: 0; padding: 16px 0 14px; }
  .column-notice-item + .column-notice-item { margin-top: 0; }
  .column-article-text h2 { font-size: 17px; }
  .column-summary, .column-article-text .column-date { margin-top: 8px; }
  .column-summary { font-size: 14px; }
  .column-page-jump { flex-basis: 100%; margin-left: 0; }
}

/* 新闻内容页及单篇正文共用版式。 */
.detail-breadcrumb {
  min-height: 54px;
  padding-inline: 20px;
  justify-content: flex-start;
  border-bottom: 0;
}
.detail-breadcrumb [aria-current="page"] { color: inherit; font-weight: normal; }
.detail-article {
  margin-top: 20px;
  padding-inline: 20px;
}
.detail-heading {
  padding: 20px 0 23px;
  border-bottom: 1px solid #d8d8d8;
  text-align: center;
}
.detail-heading h1 {
  margin: 0;
  color: #111;
  font-size: 24px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.detail-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 12px;
}
.detail-meta :is(time, .detail-date)::before {
  display: inline-block;
  height: .85em;
  margin-right: 8px;
  border-left: 1px solid #ddd;
  content: "";
}
.detail-body {
  margin: 24px 0 20px;
  padding: 20px;
  overflow-x: auto;
  color: #555;
  font-size: 16px;
  line-height: 2;
  overflow-wrap: anywhere;
}
/* 博达编辑器正文的默认排版，文章内设置的格式优先。 */
.detail-body :where(p) {
  margin: 0 0 .75em;
  text-indent: 2em;
}
.detail-body :where(h1, h2, h3, h4, h5, h6) {
  margin: 1.25em 0 .5em;
  color: #222;
  line-height: 1.5;
  font-weight: 700;
}
.detail-body :where(h1, h2) { font-size: 1.375em; }
.detail-body :where(h3, h4) { font-size: 1.125em; }
.detail-body :where(h5, h6) { font-size: 1em; }
.detail-body :where(ul, ol) {
  margin: 0 0 .75em;
  padding-inline-start: 2em;
}
.detail-body :where(ul) { list-style: disc; }
.detail-body :where(li > ul, li > ol) { margin-block: 0; }
.detail-body :where(li > p, td p, th p, figcaption p) {
  margin: 0;
  text-indent: 0;
}
.detail-body :where(a) {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: .15em;
}
.detail-body :where(a:hover) { color: var(--deep-blue); }
.detail-body :where(img, video) {
  display: block;
  max-width: 100%;
  height: auto;
  margin: .75em auto;
}
.detail-body :where(figure) { margin: 1em 0; }
.detail-body :where(figcaption) {
  color: var(--muted);
  font-size: .875em;
  text-align: center;
}
.detail-body :where(table) {
  margin-block: .75em;
  border-collapse: collapse;
}
.detail-body :where(th, td) {
  padding: 6px 10px;
  border: 1px solid #d8d8d8;
}
.detail-body :where(th) { background-color: #f5f7fa; }
.detail-table-scroll { overflow-x: auto; }
.detail-notice-table { width: 947px; max-width: 100%; }
.detail-table-title { font-size: 24px; text-align: center; line-height: 1.3; }
.detail-notice-table :is(th, td) {
  border: 1px solid #c8c8c8;
  padding: 8px 10px;
  text-align: center;
  font-weight: normal;
  line-height: 1.75;
}
.detail-notice-table th:nth-child(4) { width: 30%; }
.detail-notice-table th:nth-child(5) { width: 19%; }
.detail-signature { margin-top: 25px; text-align: center; }
.detail-signature p { margin: 0; text-indent: 0; }

@media (max-width: 620px) {
  .detail-breadcrumb { padding-inline: 3px; }
  .detail-article { margin-top: 6px; padding-inline: 3px; }
  .detail-heading { padding: 12px 0 16px; }
  .detail-heading h1 { font-size: 21px; }
  .detail-meta { margin-top: 12px; }
  .detail-body { margin-top: 12px; padding: 8px 0 12px; }
  .detail-notice-table { min-width: 620px; }
  .detail-table-title { font-size: 19px; }
}

/* 分数与计划查询的独立样式和交互在各自页面内。 */
.admissions-column--scores .column-body > .wfec-scores,
.admissions-column--plans .column-body > .wfec-plans {
  padding-inline: 0;
}

/* 校园风光栏目使用标题图与普通文章链接。 */
.column-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px 25px;
}
.column-gallery a { display: block; }
.column-gallery img {
  width: 100%;
  height: auto;
  aspect-ratio: 13 / 9;
  object-fit: cover;
  background: #eef2f6;
}
@media (max-width: 620px) {
  .column-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
}

/* 院系专业使用两级普通链接列表。 */
.department-layout { padding-bottom: 40px; }
.department-breadcrumb { padding-inline: 0; }
.department-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px 2%;
}
.department-card {
  padding: 30px 20px;
  background: #f4f4f4;
}
.department-card h2 {
  margin: 0 0 20px;
  color: #0066cc;
  font-size: 24px;
  line-height: 1.4;
}
.department-majors {
  display: grid;
  gap: 10px;
  color: #666;
  line-height: 1.4;
}
.department-majors a {
  display: block;
  position: relative;
  padding-left: 15px;
}
.department-majors a::before {
  position: absolute;
  left: 3px;
  top: .44em;
  width: 7px;
  height: 7px;
  transform: rotate(45deg);
  border-top: 1px solid #0066cc;
  border-right: 1px solid #0066cc;
  content: "";
}
.department-card a:hover { color: #0066cc; text-decoration: underline; }

@media (max-width: 1000px) {
  .department-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .department-list { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .department-card { padding: 20px 16px; }
  .department-card h2 { margin-bottom: 14px; font-size: 21px; }
}
