:root {
  --blue: #1a5dd1;
  --bright: #478ff9;
  --deep: #12489c;
  --ink: #202937;
  --muted: #7b8696;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  background: #fff;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
  color: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  border: 0;
}
img {
  display: block;
  width: 100%;
  object-fit: cover;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #f0b94a;
  outline-offset: 5px;
}
.wrap,
.header-inner,
.nav-inner {
  width: min(1320px, 88%);
  margin: auto;
}
.skip {
  position: fixed;
  top: -100px;
  z-index: 99;
  background: #fff;
  padding: 12px;
}
.skip:focus {
  top: 0;
}
.masthead {
  background: var(--blue);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.masthead:after {
  content: "";
  position: absolute;
  right: 7%;
  top: -170px;
  width: 650px;
  height: 650px;
  border: 1px solid #ffffff12;
  border-radius: 50%;
  box-shadow:
    0 0 0 60px #ffffff04,
    0 0 0 120px #ffffff03;
  pointer-events: none;
}
.header-inner {
  min-height: 151px;
  display: flex;
  align-items: center;
  gap: 28px;
  position: relative;
  z-index: 1;
}
.brand {
  display: flex;
  align-items: center;
  gap: 21px;
}
.brand img {
  width: 83px;
  height: 83px;
  object-fit: contain;
}
.school {
  font-size: 18px;
  margin: 0 0 10px;
  letter-spacing: 3px;
}
.school span {
  font-size: 10px;
  letter-spacing: 1px;
  margin-left: 13px;
  opacity: 0.75;
}
.brand h1 {
  font-size: clamp(23px, 2.05vw, 34px);
  letter-spacing: 1px;
  margin: 0 0 8px;
  font-weight: 600;
}
.en {
  font-size: 12px;
  letter-spacing: 0.5px;
  margin: 0;
  opacity: 0.82;
}
.top-links {
  margin-left: auto;
  display: flex;
  gap: 18px;
  position: absolute;
  right: 0;
  top: 26px;
  font-size: 12px;
  color: #deebff;
}
.top-links a:nth-child(n + 3) {
  display: none;
}
.search-trigger {
  margin-left: auto;
  margin-top: 28px;
  background: #ffffff12;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 47px;
  padding: 12px 16px;
  border: 1px solid #ffffff4d;
  font-size: 13px;
}
.search-trigger svg {
  width: 18px;
  height: 18px;
}
.menu-toggle {
  display: none;
}
nav {
  background: #fff;
  position: relative;
  z-index: 5;
  box-shadow: 0 3px 12px #123b7610;
}
.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 68px;
}
.nav-inner a {
  font-size: 17px;
  font-weight: 600;
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 15px;
}
.nav-inner a:after {
  content: "";
  position: absolute;
  bottom: 0;
  height: 3px;
  background: var(--blue);
  left: 15px;
  right: 15px;
  transform: scaleX(0);
  transition: 0.2s;
}
.nav-inner a:hover,
.nav-inner a.active {
  color: var(--blue);
}
.nav-inner a:hover:after,
.nav-inner a.active:after {
  transform: scaleX(1);
}
.hero {
  height: min(40vw, 600px);
  min-height: 450px;
  position: relative;
  background: #376d9a;
  color: #fff;
  overflow: hidden;
}
.hero > img {
  width: 100%;
  height: 100%;
  object-position: center 56%;
}
.hero:after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #062943a3, transparent 80%),
    linear-gradient(0deg, #082e5759, transparent 60%);
  pointer-events: none;
}
.hero-copy {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
}
.hero-copy .wrap > p {
  font-size: 15px;
  letter-spacing: 3px;
  margin: 0 0 22px;
}
.hero h2 {
  font-size: clamp(34px, 3.5vw, 58px);
  font-weight: 600;
  letter-spacing: 5px;
  line-height: 1.55;
  margin: 0 0 25px;
  text-shadow: 0 2px 20px #12345645;
}
.hero-copy .wrap > span {
  font-size: 15px;
  letter-spacing: 3px;
  opacity: 0.9;
}
.hero-controls {
  position: absolute;
  bottom: 27px;
  left: 6%;
  right: 6%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
  font-size: 12px;
  letter-spacing: 1px;
}
.hero-controls > div {
  display: flex;
  gap: 10px;
  align-items: center;
}
.hero-controls button {
  color: white;
  background: transparent;
}
#prev,
#next {
  width: 38px;
  height: 38px;
  font-size: 22px;
  border: 1px solid #ffffff60;
  margin: 0 12px;
}
.dot {
  height: 3px;
  width: 25px;
  padding: 0;
  background: #ffffff60 !important;
}
.dot.selected {
  background: white !important;
  width: 44px;
}
.news {
  padding: 70px 0 80px;
  background: linear-gradient(135deg, #f1f6ff 0, white 45%, #f6f9fd 100%);
}
.section-heading,
.notice-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 36px;
}
h2 {
  margin: 0;
}
.section-heading h2,
.notice-heading h2 {
  font-size: 36px;
  font-weight: 650;
  letter-spacing: 2px;
  display: flex;
  align-items: baseline;
  gap: 20px;
}
.section-heading h2 span,
.notice-heading h2 span {
  font-family: Georgia, serif;
  font-size: 23px;
  color: var(--bright);
  font-weight: 400;
  letter-spacing: 0;
}
.more {
  font-size: 14px;
  background: none;
  color: var(--blue);
  padding: 8px 0;
  border-bottom: 1px solid #b5cdf1;
}
.news-grid {
  display: grid;
  grid-template-columns: 1fr 1.04fr;
  gap: 48px;
}
.featured {
  background: var(--blue);
  color: #fff;
  display: block;
}
.news-photo {
  aspect-ratio: 1.78;
  overflow: hidden;
}
.news-photo img {
  height: 100%;
  transition: transform 0.5s;
}
.featured:hover img {
  transform: scale(1.025);
}
.news-copy {
  padding: 25px 28px 27px;
  position: relative;
}
.news-copy time {
  font-size: 13px;
  opacity: 0.75;
}
.news-copy h3 {
  font-size: 21px;
  line-height: 1.6;
  font-weight: 500;
  margin: 10px 0;
}
.news-copy p {
  font-size: 13px;
  color: #e1ebfd;
  margin: 0;
}
.news-list {
  display: flex;
  flex-direction: column;
}
.news-row {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
  text-align: left;
  background: none;
  border-bottom: 1px solid #dbe3ef;
  padding: 20px 0;
  flex: 1;
}
.news-row:first-child {
  padding-top: 0;
}
.news-row time {
  flex: 0 0 77px;
  text-align: center;
  border-right: 1px solid #dbe3ef;
  padding-right: 20px;
  color: var(--blue);
  font-family: Arial, sans-serif;
}
.news-row time strong {
  display: block;
  font-size: 34px;
  font-weight: 400;
  line-height: 1.1;
}
.news-row time span {
  font-size: 12px;
  display: block;
  margin-top: 8px;
  color: #7d90aa;
}
.news-row h3 {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.7;
  margin: 0;
}
.news-row p {
  font-size: 12px;
  color: #94a0af;
  margin: 9px 0 0;
}
.news-row:hover h3 {
  color: var(--blue);
}
.notices {
  padding: 65px 0 80px;
  background: #edf4ff;
  position: relative;
  overflow: hidden;
}
.notices:before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.45;
  background-image: radial-gradient(#8fb5ed 1px, transparent 1px);
  background-size: 12px 12px;
  mask-image: linear-gradient(90deg, #000, transparent 25%, transparent 75%, #000);
  pointer-events: none;
}
.notice-layout {
  position: relative;
}
.notice-items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  background: #ffffffbf;
  padding: 34px 0;
}
.notice {
  display: flex;
  text-align: left;
  gap: 22px;
  background: transparent;
  padding: 14px 32px;
  border-right: 1px solid #cdddf4;
  align-items: flex-start;
}
.notice:last-child {
  border: 0;
}
.notice time {
  color: var(--bright);
  font-family: Arial, sans-serif;
  flex: 0 0 58px;
  text-align: center;
  padding-top: 25px;
}
.notice time strong {
  display: block;
  font-size: 43px;
  font-weight: 500;
  line-height: 1;
}
.notice time span {
  display: block;
  font-size: 12px;
  margin-top: 10px;
}
.notice .resource {
  font-family: inherit;
  font-size: 23px;
  padding-top: 32px;
}
.notice-kind {
  font-size: 12px;
  color: #7b91ad;
}
.notice h3 {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.8;
  min-height: 65px;
  margin: 14px 0 20px;
}
.notice p {
  font-size: 13px;
  color: var(--blue);
  margin: 0;
  display: inline-block;
  border-bottom: 1px solid #9fc0ed;
  padding-bottom: 5px;
}
.notice:hover h3 {
  color: var(--blue);
}
footer {
  background: #1a5dd1;
  color: #fff;
  padding-top: 48px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 40px;
}
.footer-brand {
  display: flex;
  gap: 20px;
  align-items: center;
}
.footer-brand img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}
.footer-brand p {
  margin: 0 0 9px;
  font-size: 15px;
  letter-spacing: 3px;
}
.footer-brand h2 {
  font-size: 21px;
  font-weight: 500;
  letter-spacing: 1px;
}
.footer-brand span {
  display: block;
  font-size: 12px;
  color: #bacff5;
  margin-top: 13px;
}
.footer-links {
  display: flex;
  gap: 30px;
  font-size: 13px;
}
.footer-bottom {
  border-top: 1px solid #ffffff33;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #c5d8fa;
  padding: 21px 0;
}
dialog {
  border: 0;
  max-width: 650px;
  width: 90%;
  padding: 40px;
  color: var(--ink);
  box-shadow: 0 12px 80px #061d4c40;
}
dialog::backdrop {
  background: #051c41a3;
}
dialog h2 {
  font-size: 24px;
  line-height: 1.5;
  margin-bottom: 20px;
}
dialog p {
  line-height: 1.9;
  color: #65758a;
}
.close {
  position: absolute;
  right: 12px;
  top: 8px;
  font-size: 28px;
  background: none;
}
#search-form {
  display: flex;
  gap: 10px;
}
input {
  min-width: 0;
  flex: 1;
  border: 1px solid #ced9e9;
  padding: 12px;
}
#search-form button {
  background: var(--blue);
  color: #fff;
  padding: 0 20px;
}
.search-hit {
  display: block;
  width: 100%;
  text-align: left;
  padding: 16px 0;
  border-bottom: 1px solid #dbe3ef;
  background: transparent;
  line-height: 1.6;
}
#search-results {
  margin-top: 18px;
}
@media (min-width: 1700px) {
  .hero {
    height: 640px;
  }
}
@media (max-width: 1100px) {
  .school span {
    display: none;
  }
  .brand h1 {
    font-size: 24px;
  }
  .header-inner {
    min-height: 135px;
  }
  .nav-inner a {
    font-size: 15px;
    padding: 0 8px;
  }
  .news-grid {
    gap: 28px;
  }
  .news-row {
    gap: 16px;
  }
  .news-row h3 {
    font-size: 16px;
  }
  .notice {
    padding: 10px 20px;
    gap: 14px;
  }
  .notice h3 {
    font-size: 16px;
  }
  .footer-links {
    gap: 18px;
  }
  .footer-brand h2 {
    font-size: 18px;
  }
  .search-trigger {
    gap: 18px;
  }
  .news-copy h3 {
    font-size: 18px;
  }
}
@media (max-width: 760px) {
  .wrap,
  .header-inner,
  .nav-inner {
    width: 90%;
  }
  .header-inner {
    min-height: 115px;
    gap: 10px;
  }
  .brand {
    gap: 11px;
  }
  .brand img {
    width: 48px;
    height: 48px;
  }
  .brand h1 {
    font-size: 17px;
    letter-spacing: 0;
    max-width: 260px;
    line-height: 1.5;
    margin: 0;
  }
  .school {
    font-size: 12px;
    margin: 0 0 4px;
    letter-spacing: 1px;
  }
  .en {
    display: none;
  }
  .top-links {
    display: none;
  }
  .search-trigger {
    display: none;
  }
  .menu-toggle {
    display: block;
    background: none;
    color: white;
    margin-left: auto;
    font-size: 0;
    flex: 0 0 28px;
    padding: 0;
  }
  .menu-toggle:after {
    content: "?";
    font-size: 22px;
  }
  .menu-open .menu-toggle:after {
    content: "×";
    font-size: 30px;
  }
  nav {
    display: none;
  }
  .menu-open nav {
    display: block;
  }
  .nav-inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    height: auto;
    padding: 12px 0;
  }
  .nav-inner a {
    height: 45px;
    justify-content: center;
    font-size: 14px;
  }
  .hero {
    height: 410px;
    min-height: 0;
  }
  .hero > img {
    object-position: 60% center;
  }
  .hero-copy .wrap > p {
    font-size: 10px;
    letter-spacing: 1px;
    margin-bottom: 18px;
  }
  .hero h2 {
    font-size: 29px;
    letter-spacing: 2px;
    line-height: 1.7;
    margin-bottom: 18px;
  }
  .hero-copy .wrap > span {
    font-size: 10px;
    letter-spacing: 0.6px;
  }
  .hero-controls {
    left: 5%;
    right: 5%;
    bottom: 20px;
  }
  .hero-controls > span {
    display: none;
  }
  .hero-controls > div {
    margin-left: auto;
  }
  #prev,
  #next {
    width: 30px;
    height: 30px;
    font-size: 18px;
    margin: 0 5px;
  }
  .dot {
    width: 18px;
  }
  .dot.selected {
    width: 30px;
  }
  .news {
    padding: 40px 0 45px;
  }
  .section-heading,
  .notice-heading {
    margin-bottom: 24px;
  }
  .section-heading h2,
  .notice-heading h2 {
    font-size: 27px;
    gap: 12px;
    letter-spacing: 0;
  }
  .section-heading h2 span,
  .notice-heading h2 span {
    font-size: 17px;
  }
  .more {
    font-size: 12px;
  }
  .news-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .news-copy {
    padding: 20px;
  }
  .news-copy h3 {
    font-size: 18px;
  }
  .news-row {
    padding: 20px 0;
    gap: 16px;
  }
  .news-row:first-child {
    padding-top: 15px;
  }
  .news-row time {
    flex-basis: 66px;
    padding-right: 14px;
  }
  .news-row h3 {
    font-size: 16px;
  }
  .news-row p {
    margin-top: 5px;
  }
  .notices {
    padding: 38px 0 42px;
  }
  .notice-items {
    grid-template-columns: 1fr;
    padding: 0 22px;
  }
  .notice {
    border-right: 0;
    border-bottom: 1px solid #d6e2f3;
    padding: 24px 0;
    gap: 22px;
  }
  .notice time {
    padding-top: 18px;
  }
  .notice h3 {
    min-height: 0;
    margin: 8px 0 14px;
    font-size: 17px;
  }
  .notice .resource {
    padding-top: 24px;
  }
  .footer-top {
    display: block;
    padding-bottom: 28px;
  }
  .footer-brand {
    gap: 14px;
  }
  .footer-brand img {
    width: 45px;
    height: 45px;
  }
  .footer-brand h2 {
    font-size: 16px;
    line-height: 1.6;
  }
  .footer-brand p {
    font-size: 12px;
  }
  .footer-brand span {
    font-size: 10px;
    margin-top: 7px;
  }
  .footer-links {
    margin-top: 28px;
    font-size: 12px;
    gap: 20px;
  }
  .footer-bottom {
    display: block;
    line-height: 2;
  }
  .footer-bottom span {
    display: block;
  }
  footer {
    padding-top: 32px;
  }
  dialog {
    padding: 30px 24px;
  }
  dialog h2 {
    font-size: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}
/* 通知公告：参考生命学院的日期与摘要卡片 */
.notices {
  background: linear-gradient(110deg, #154eb3, #1a5dd1 65%, #3379df);
  padding: 62px 0 66px;
  overflow: visible;
}
.notices:before {
  display: none;
}
.notice-heading h2,
.notice-heading .more {
  color: #fff;
}
.notice-heading h2 span {
  color: #a9caff;
}
.notice-heading .more {
  border-color: #ffffff60;
}
.notice-items {
  background: none;
  gap: 30px;
  padding: 0;
}
.notice {
  display: block;
  background: white;
  border: 0 !important;
  border-radius: 0 20px 0 20px;
  padding: 30px 30px 27px;
  box-shadow: 0 8px 25px #07378516;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.notice:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px #07378545;
}
.notice time {
  display: block;
  text-align: left;
  padding: 0;
  font-size: 15px;
  color: #657c9c;
  line-height: 24px;
  letter-spacing: 0.7px;
  font-family: Georgia, serif;
}
.notice time:before {
  content: "";
  display: inline-block;
  width: 11px;
  height: 11px;
  border: 1px solid #83a6d8;
  margin-right: 10px;
}
.notice h3 {
  font-size: 19px;
  line-height: 1.8;
  font-weight: 600;
  min-height: 68px;
  margin: 19px 0 15px;
}
.notice p {
  display: block;
  color: #7b8594;
  font-size: 14px;
  line-height: 1.95;
  margin: 0;
  border: 0;
  min-height: 110px;
  padding: 0;
}
.notice-read {
  display: inline-block;
  margin-top: 20px;
  color: var(--blue);
  font-size: 13px;
  border-bottom: 1px solid #abc4e9;
  padding-bottom: 5px;
}
.common-links {
  padding: 52px 0 60px;
  background: #f3f7fd;
}
.common-links .section-heading h2 {
  font-size: 29px;
}
.common-links .section-heading h2 span {
  font-size: 20px;
}
.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.quick-link {
  background: #e9f1fc;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  border: 1px solid #dee9f8;
  transition: background 0.2s;
}
.quick-link svg {
  width: 44px;
  height: 44px;
}
.quick-link span {
  font-size: 17px;
  color: #304b73;
}
.quick-link:hover {
  background: #dceaff;
  border-color: #a7c9fa;
}
@media (max-width: 1100px) {
  .notice {
    padding: 25px 22px;
  }
  .notice h3 {
    font-size: 17px;
    min-height: 92px;
  }
  .notice p {
    min-height: 138px;
  }
  .quick-grid {
    gap: 16px;
  }
  .quick-link span {
    font-size: 15px;
  }
}
@media (max-width: 760px) {
  .notices {
    padding: 38px 0 42px;
  }
  .notice-items {
    padding: 0;
    gap: 20px;
  }
  .notice {
    padding: 25px;
  }
  .notice h3 {
    min-height: 0;
    margin: 15px 0 12px;
    font-size: 18px;
  }
  .notice p {
    min-height: 0;
    font-size: 14px;
  }
  .notice time {
    padding: 0;
    font-size: 14px;
  }
  .common-links {
    padding: 36px 0 40px;
  }
  .common-links .section-heading h2 {
    font-size: 27px;
  }
  .common-links .section-heading h2 span {
    font-size: 16px;
  }
  .quick-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .quick-link {
    min-height: 145px;
    gap: 17px;
    padding: 14px 7px;
  }
  .quick-link span {
    font-size: 13px;
  }
  .quick-link svg {
    width: 38px;
    height: 38px;
  }
}
/* 校徽与中英文全称组合，校园照片作淡色点缀 */
.masthead {
  background: #1958b8;
}
.masthead:before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/aerial.jpg") center 47% / cover;
  opacity: 0.12;
  pointer-events: none;
}
.masthead:after {
  display: none;
}
.header-inner {
  min-height: 145px;
}
.brand {
  gap: 20px;
}
.brand h1 {
  font-size: clamp(21px, 1.9vw, 30px);
  letter-spacing: 0;
  margin-bottom: 13px;
  white-space: nowrap;
}
.brand .en {
  font-size: clamp(11px, 1vw, 15px);
  letter-spacing: 0.1px;
}
.brand img {
  width: 78px;
  height: 78px;
}
.search-trigger {
  gap: 22px;
}
.nav-inner {
  position: relative;
}
nav:before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/aerial.jpg") center 32% / cover;
  opacity: 0.035;
  pointer-events: none;
}
@media (max-width: 1100px) {
  .brand h1 {
    font-size: 21px;
  }
  .brand img {
    width: 62px;
    height: 62px;
  }
  .brand .en {
    font-size: 11px;
  }
  .header-inner {
    min-height: 132px;
  }
  .search-trigger {
    font-size: 0;
    gap: 0;
    padding: 10px;
  }
  .top-links {
    font-size: 11px;
    top: 19px;
  }
}
@media (max-width: 760px) {
  .header-inner {
    min-height: 120px;
  }
  .brand {
    gap: 10px;
    flex: 1;
    min-width: 0;
  }
  .brand img {
    width: 45px;
    height: 45px;
    flex: 0 0 45px;
  }
  .brand h1 {
    font-size: 17px;
    white-space: normal;
    line-height: 1.5;
    margin: 0 0 5px;
    max-width: none;
  }
  .brand .en {
    display: block;
    font-size: 8px;
    line-height: 1.4;
    max-width: 265px;
  }
  .menu-toggle {
    flex-basis: 24px;
  }
  .brand > div {
    min-width: 0;
  }
  .search-trigger {
    display: none;
  }
}
/* 本地调整：胶囊搜索、纯图片轮播、浅色电路线底纹 */
.search-trigger {
  width: 235px;
  min-width: 200px;
  height: 44px;
  flex-shrink: 0;
  border: 0;
  border-radius: 999px;
  justify-content: space-between;
  padding: 0 22px;
  background: rgba(255, 255, 255, 0.19);
  font-size: 15px;
  gap: 20px;
}
.search-trigger:hover {
  background: rgba(255, 255, 255, 0.27);
}
.search-trigger svg {
  width: 21px;
  height: 21px;
}
.hero:after {
  background: linear-gradient(0deg, rgba(8, 35, 62, 0.15), transparent 20%);
}
.hero-controls {
  justify-content: flex-end;
}
.news {
  position: relative;
  isolation: isolate;
  background: #f7faff;
}
.news:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("assets/news-pattern.svg") center/cover no-repeat;
  mask-image: linear-gradient(90deg, #000, rgba(0, 0, 0, 0.3) 28%, rgba(0, 0, 0, 0.12) 65%, #000);
  pointer-events: none;
}
.news > .wrap {
  position: relative;
}
@media (min-width: 761px) and (max-width: 1100px) {
  .header-inner {
    flex-wrap: wrap;
    padding: 24px 0;
    gap: 15px;
  }
  .brand {
    width: 100%;
  }
  .search-trigger {
    margin: 0 0 0 auto;
    width: 220px;
  }
  .top-links {
    top: auto;
    bottom: 40px;
    left: 0;
    right: auto;
  }
}
@media (max-width: 760px) {
  .search-trigger {
    display: none;
  }
}
/* 公告背景纹路与细节图标 */
.notices {
  overflow: hidden;
  isolation: isolate;
}
.notices:before {
  display: block;
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    url("assets/news-pattern.svg"),
    radial-gradient(circle, rgba(218, 235, 255, 0.25) 1px, transparent 1.5px);
  background-size:
    cover,
    18px 18px;
  background-position: center, center;
  opacity: 0.48;
  mask-image: linear-gradient(110deg, #000, rgba(0, 0, 0, 0.2) 40%, rgba(0, 0, 0, 0.25) 65%, #000);
}
.notices:after {
  content: "";
  position: absolute;
  width: 760px;
  height: 760px;
  right: -330px;
  top: -450px;
  border: 1px solid rgba(222, 239, 255, 0.12);
  border-radius: 50%;
  box-shadow:
    0 0 0 34px rgba(222, 239, 255, 0.035),
    0 0 0 68px rgba(222, 239, 255, 0.025),
    0 0 0 102px rgba(222, 239, 255, 0.02);
  pointer-events: none;
  z-index: -1;
}
.notice-layout {
  z-index: 1;
}
.notice time:before {
  width: 15px;
  height: 15px;
  border: 1.4px solid #83a6d8;
  border-radius: 50%;
  vertical-align: -2px;
  background:
    linear-gradient(#83a6d8, #83a6d8) 6px 3px/1px 4px no-repeat,
    linear-gradient(#83a6d8, #83a6d8) 6px 7px/4px 1px no-repeat;
}
/* 查看详情与箭头相邻排列，整行固定在卡片底部。 */
.notice-read {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  width: 100%;
  min-height: 52px;
  margin-top: auto;
  padding: 20px 0 0;
  border: 0;
}
.notice-read:after {
  content: "?";
  display: block;
  flex-shrink: 0;
  font-size: 27px;
  line-height: 20px;
  font-family: Arial, sans-serif;
  color: #76a5e9;
  transition: transform 0.2s;
}
.notice:hover .notice-read:after {
  transform: translateX(6px);
}
/* 新闻底纹收敛为边缘淡点阵，保持文字区域干净 */
.news {
  background: linear-gradient(110deg, #f3f7fd 0%, #fbfcff 30%, #fbfcff 75%, #f4f8fd 100%);
}
.news:before {
  background-image: radial-gradient(circle, rgba(88, 135, 196, 0.18) 0.8px, transparent 1px);
  background-size: 14px 14px;
  background-repeat: repeat;
  mask-image: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.65),
    transparent 11%,
    transparent 89%,
    rgba(0, 0, 0, 0.65)
  );
  opacity: 0.6;
}
@media (max-width: 760px) {
  .news:before {
    display: none;
  }
}
/* 新闻区以有序弧线替代细碎点阵 */
.news {
  background: linear-gradient(120deg, #edf4ff 0%, #fafcff 34%, #fafcff 70%, #edf4ff 100%);
}
.news:before {
  display: block;
  background: url("assets/news-waves.svg") center/100% 100% no-repeat;
  opacity: 1;
  mask-image: linear-gradient(90deg, #000 0%, #000 7%, transparent 23%, transparent 78%, #000 94%);
  pointer-events: none;
}
@media (max-width: 760px) {
  .news:before {
    opacity: 0.65;
    mask-image: linear-gradient(90deg, #000, transparent 12%, transparent 88%, #000);
  }
}
/* 柔和背景与公告轮播 */
.news {
  background:
    radial-gradient(ellipse at 0% 100%, #e7f0fc 0, transparent 48%),
    linear-gradient(115deg, #f8fbff, #fff 55%, #f1f6fd);
}
.news:before,
.notices:before,
.notices:after {
  display: none;
}
.notices {
  background:
    radial-gradient(ellipse at 100% 0%, rgba(99, 163, 246, 0.38), transparent 65%),
    linear-gradient(115deg, #174ead, #2165cf);
}
.notice-items {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 0;
  touch-action: pan-x pan-y;
  overscroll-behavior-x: contain;
}
.notice-items::-webkit-scrollbar {
  display: none;
}
.notice-page {
  flex: 0 0 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  padding: 4px 0 8px;
}
.notice-page .notice {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  min-width: 0;
  box-shadow: none;
}
.notice-page .notice time {
  flex: 0 0 auto;
}
.notice:hover {
  transform: none;
}
.notice-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 24px;
  gap: 4px;
}
.notice-dots button {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  background: none;
  padding: 0;
}
.notice-dots button:before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffffff65;
  transition:
    background 0.2s,
    transform 0.2s;
}
.notice-dots button.active:before {
  background: #fff;
  transform: scale(1.25);
}
@media (max-width: 760px) {
  .notice-page {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .notice-page .notice {
    min-height: 310px;
  }
  .notice-dots {
    margin-top: 16px;
  }
}
/* 新闻摘要与渐变标题区 */
.news-grid {
  grid-template-columns: 1fr 1.08fr;
  align-items: stretch;
  gap: 44px;
}
.featured {
  display: flex;
  flex-direction: column;
  background: transparent;
}
.featured .news-photo {
  flex: none;
}
.featured .news-copy {
  flex: 1;
  min-height: 170px;
  padding: 27px 30px 29px;
  background: linear-gradient(112deg, #438df0 0%, #266bd2 48%, #154eaf 100%);
  overflow: hidden;
  isolation: isolate;
}
.featured .news-copy:after {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  border: 1px solid #ffffff14;
  border-radius: 50%;
  right: -80px;
  bottom: -115px;
  box-shadow:
    0 0 0 20px #ffffff05,
    0 0 0 40px #ffffff04;
  z-index: -1;
  pointer-events: none;
}
.featured .news-copy h3 {
  font-size: 21px;
  line-height: 1.65;
  max-width: 95%;
  margin: 12px 0;
}
.featured .news-copy p {
  line-height: 1.8;
  color: #e7f0ff;
}
.news-row {
  padding: 18px 0;
  gap: 22px;
  align-items: flex-start;
}
.news-row time {
  margin-top: 5px;
}
.news-row > div {
  flex: 1;
  min-width: 0;
}
.news-row h3 {
  font-size: 18px;
  line-height: 1.65;
  font-weight: 600;
}
.news-row p {
  font-size: 13px;
  line-height: 1.85;
  color: #85909f;
  margin: 9px 0 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.more {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  position: relative;
  border: 0;
  padding: 9px 0;
  font-size: 14px;
  letter-spacing: 0.4px;
}
.more:before {
  content: "";
  display: block;
  flex: 0 0 29px;
  width: 29px;
  height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='18' viewBox='0 0 30 18' fill='none'%3E%3Ccircle cx='5' cy='9' r='3.5' stroke='%23478ff9' stroke-width='1.5'/%3E%3Cpath d='M9 9H29' stroke='%23478ff9' stroke-width='1.5'/%3E%3C/svg%3E")
    center/contain no-repeat;
  transition: transform 0.2s;
}
.more:hover:before {
  transform: translateX(3px);
}
.notice-heading .more:before {
  filter: brightness(0) invert(1);
  opacity: 0.8;
}
.more:hover {
  opacity: 0.78;
}
@media (max-width: 1100px) {
  .news-grid {
    gap: 28px;
  }
  .news-row h3 {
    font-size: 16px;
  }
  .news-row p {
    font-size: 12px;
  }
  .featured .news-copy {
    padding: 24px;
  }
  .featured .news-copy h3 {
    font-size: 18px;
  }
}
@media (max-width: 760px) {
  .news-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .news-row {
    padding: 20px 0;
    gap: 15px;
  }
  .news-row h3 {
    font-size: 16px;
  }
  .news-row p {
    font-size: 13px;
    line-height: 1.8;
  }
  .featured .news-copy {
    min-height: 155px;
    padding: 23px;
  }
  .more {
    font-size: 12px;
    gap: 7px;
  }
  .more:before {
    width: 22px;
    flex-basis: 22px;
  }
  .section-heading,
  .notice-heading {
    gap: 10px;
  }
}
/* 页脚：蓝色向靛紫过渡，参考卓越工程师学院的简洁渐变 */
footer {
  background: linear-gradient(108deg, #165bc5 0%, #2454ba 34%, #3e42a5 67%, #65358d 100%);
  padding-top: 48px;
}
.footer-bottom {
  border-top-color: rgba(255, 255, 255, 0.22);
  color: #d5def5;
}
.footer-brand span {
  color: #d3dff5;
}
.footer-links a {
  color: #f2f5ff;
}
.footer-links a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 5px;
}
@media (max-width: 760px) {
  footer {
    padding-top: 32px;
  }
}
/* 两个内容屏恢复可见的柔和背景层次，顶部照片减淡 */
.masthead:before {
  opacity: 0.055;
}
nav:before {
  opacity: 0.015;
}
.news {
  background:
    radial-gradient(ellipse at 0% 12%, rgba(153, 192, 241, 0.28) 0%, transparent 55%),
    radial-gradient(ellipse at 100% 95%, rgba(162, 191, 238, 0.27) 0%, transparent 52%),
    linear-gradient(120deg, #edf4ff 0%, #f8fbff 48%, #e9f2ff 100%);
}
.news:before {
  display: block;
  inset: 0;
  background: linear-gradient(
    150deg,
    transparent 42%,
    rgba(255, 255, 255, 0.55) 42.2%,
    rgba(255, 255, 255, 0.12) 63%,
    transparent 63.2%
  );
  mask-image: none;
  opacity: 0.7;
  pointer-events: none;
}
.notices {
  background:
    radial-gradient(ellipse at 95% 15%, rgba(120, 185, 255, 0.4) 0%, transparent 58%),
    radial-gradient(ellipse at 5% 100%, rgba(18, 48, 135, 0.3) 0%, transparent 60%),
    linear-gradient(115deg, #194fb2 0%, #246bd2 60%, #3b80df 100%);
}
.notices:before {
  display: block;
  inset: 0;
  background: linear-gradient(
    155deg,
    transparent 45%,
    rgba(255, 255, 255, 0.07) 45.2%,
    rgba(255, 255, 255, 0.015) 74%,
    transparent 74.2%
  );
  background-size: 100% 100%;
  mask-image: none;
  opacity: 1;
  pointer-events: none;
}
.notices:after {
  display: none;
}
/* 独立设计的栏目入口与材料晶粒边缘纹理 */
.more {
  gap: 10px;
  border: 1px solid #c5d6ee;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.6);
  padding: 9px 14px;
  font-size: 13px;
}
.more:before {
  display: none;
}
.more:after {
  content: "";
  width: 17px;
  height: 16px;
  background:
    linear-gradient(currentColor, currentColor) 0 1px/3px 2px no-repeat,
    linear-gradient(currentColor, currentColor) 6px 1px/11px 2px no-repeat,
    linear-gradient(currentColor, currentColor) 0 7px/3px 2px no-repeat,
    linear-gradient(currentColor, currentColor) 6px 7px/11px 2px no-repeat,
    linear-gradient(currentColor, currentColor) 0 13px/3px 2px no-repeat,
    linear-gradient(currentColor, currentColor) 6px 13px/8px 2px no-repeat;
  opacity: 0.8;
}
.more:hover {
  opacity: 1;
  background: #e9f2ff;
  border-color: #8ab3ec;
}
.notice-heading .more {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.35);
}
.notice-heading .more:hover {
  background: rgba(255, 255, 255, 0.18);
}
.notices {
  background: linear-gradient(105deg, #174da8, #2061bf 62%, #276cc9);
}
.notices:before {
  display: block;
  inset: 0;
  background: url("assets/metal-grains.svg") center/100% 100% no-repeat;
  mask-image: linear-gradient(90deg, #000, transparent 22%, transparent 78%, #000);
  opacity: 0.8;
}
.notices:after {
  display: none;
}
.notice-viewport {
  overflow: hidden;
  touch-action: pan-y;
}
.notice-items {
  overflow: visible;
  scroll-snap-type: none;
  transition: transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
}
.notice-page {
  padding: 4px 12px 8px;
  gap: 30px;
  scroll-snap-align: none;
}
.notice-page .notice {
  border-radius: 8px;
  box-shadow: 0 4px 18px #0c337518;
}
.notice-dots button:before {
  width: 7px;
  height: 7px;
}
.notice-dots button.active:before {
  width: 22px;
  border-radius: 6px;
  transform: none;
}
@media (max-width: 760px) {
  .more {
    font-size: 12px;
    padding: 8px 10px;
    gap: 7px;
  }
  .notice-page {
    padding: 4px 2px 8px;
  }
  .notices:before {
    opacity: 0.4;
  }
}
@media (prefers-reduced-motion: reduce) {
  .notice-items {
    transition: none;
  }
}
/* 校园影像底景：整屏连贯，去掉几何拼接与晶粒线 */
.news {
  background: #f1f6fc;
}
.news:before {
  display: block;
  inset: 0;
  background:
    linear-gradient(rgba(244, 248, 254, 0.91), rgba(244, 248, 254, 0.93)),
    url("assets/aerial.jpg") center 55% / cover no-repeat;
  mask-image: none;
  opacity: 1;
  z-index: -1;
}
.notices {
  background: #205db9;
}
.notices:before {
  display: block;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(21, 65, 155, 0.89), rgba(43, 108, 198, 0.88)),
    url("assets/campus.jpg") center 55% / cover no-repeat;
  mask-image: none;
  opacity: 1;
}
.notices:after {
  display: none;
}
/* 图片与短标题条叠接，保留原有蓝色体系 */
.featured {
  align-self: start;
  display: block;
  padding-bottom: 4px;
}
.featured .news-photo {
  aspect-ratio: 1.23;
}
.featured .news-copy {
  display: flex;
  align-items: center;
  gap: 19px;
  min-height: 100px;
  margin: -36px 0 0 7%;
  padding: 17px 22px;
  position: relative;
  z-index: 1;
  background: linear-gradient(112deg, #438df0, #266bd2 48%, #154eaf);
  box-shadow: 0 7px 18px #1c4b8817;
}
.featured .news-copy:after {
  display: none;
}
.featured .news-copy time {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  flex: 0 0 72px;
  border-right: 1px solid #ffffff45;
  padding-right: 16px;
  opacity: 1;
  text-align: center;
}
.featured .news-copy time strong {
  font-size: 32px;
  line-height: 1;
  font-weight: 400;
}
.featured .news-copy time span {
  font-size: 12px;
  color: #d5e6ff;
}
.featured .news-copy h3 {
  font-size: 18px;
  line-height: 1.7;
  font-weight: 500;
  margin: 0;
  max-width: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.featured .news-copy p {
  display: none;
}
/* 更多入口保留无框文字，仅替换左侧图标 */
.more,
.notice-heading .more {
  border: 0;
  border-radius: 0;
  background: none;
  padding: 8px 0;
  gap: 10px;
  font-size: 14px;
  letter-spacing: 0.2px;
}
.more:after {
  display: none;
}
.more:before {
  display: block;
  content: "";
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  background: none;
  mask-image: none;
  filter: none;
  border: 0;
  opacity: 1;
  background:
    linear-gradient(currentColor, currentColor) 2px 4px/5px 5px no-repeat,
    linear-gradient(currentColor, currentColor) 11px 4px/11px 2px no-repeat,
    linear-gradient(currentColor, currentColor) 11px 8px/8px 1px no-repeat,
    linear-gradient(currentColor, currentColor) 2px 15px/5px 5px no-repeat,
    linear-gradient(currentColor, currentColor) 11px 15px/11px 2px no-repeat,
    linear-gradient(currentColor, currentColor) 11px 19px/8px 1px no-repeat;
}
.notice-heading .more:before {
  filter: none;
  opacity: 1;
}
.more:hover,
.notice-heading .more:hover {
  background: none;
  opacity: 0.8;
}
.more:hover:before {
  transform: none;
}
@media (max-width: 1100px) {
  .featured .news-copy {
    gap: 12px;
    padding: 16px;
    min-height: 95px;
  }
  .featured .news-copy h3 {
    font-size: 16px;
  }
  .featured .news-copy time {
    flex-basis: 63px;
    padding-right: 12px;
  }
}
@media (max-width: 760px) {
  .featured .news-photo {
    aspect-ratio: 1.55;
  }
  .featured .news-copy {
    margin-top: -22px;
    margin-left: 5%;
    min-height: 90px;
    padding: 14px;
  }
  .featured .news-copy h3 {
    font-size: 16px;
  }
  .featured .news-copy time strong {
    font-size: 28px;
  }
  .more,
  .notice-heading .more {
    font-size: 12px;
    gap: 7px;
  }
}
/* 新闻五条列表，恢复图片下方完整蓝色标题区 */
.news:before {
  background:
    linear-gradient(rgba(244, 248, 254, 0.96), rgba(244, 248, 254, 0.965)),
    url("assets/aerial.jpg") center 55% / cover no-repeat;
}
.featured {
  display: flex;
  align-self: stretch;
  flex-direction: column;
  padding: 0;
}
.featured .news-photo {
  aspect-ratio: auto;
  flex: 1;
  min-height: 300px;
  position: relative;
}
.featured .news-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.featured .news-copy {
  display: block;
  flex: 0 0 auto;
  min-height: 0;
  margin: 0;
  padding: 23px 28px;
  box-shadow: none;
  background: linear-gradient(112deg, #438df0 0%, #266bd2 48%, #154eaf 100%);
}
.featured .news-copy time {
  display: block;
  border: 0;
  text-align: left;
  padding: 0;
  font-size: 13px;
  opacity: 0.8;
}
.featured .news-copy h3 {
  display: block;
  margin: 11px 0 8px;
  font-size: 20px;
  line-height: 1.6;
  max-width: none;
}
.featured .news-copy p {
  display: block;
  color: #e7f0ff;
  font-size: 13px;
  line-height: 1.8;
  margin: 0;
}
.news-row {
  padding: 16px 0;
}
.news-row p {
  margin-top: 7px;
}
@media (max-width: 1100px) {
  .featured .news-copy {
    padding: 22px;
  }
  .featured .news-copy h3 {
    font-size: 18px;
  }
}
@media (max-width: 760px) {
  .featured .news-photo {
    aspect-ratio: 1.6;
    min-height: 0;
    flex: none;
  }
  .featured .news-copy {
    margin: 0;
    padding: 21px;
    min-height: 0;
  }
  .featured .news-copy h3 {
    font-size: 18px;
  }
  .news-row {
    padding: 19px 0;
  }
}
/* 四条新闻：摘要保持两行，图片标题区加入淡科技底纹 */
.news-row p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.85;
  height: 3.7em;
  margin-top: 9px;
}
.featured .news-copy {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(112deg, #438df0 0%, #266bd2 48%, #154eaf 100%);
}
.featured .news-copy:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(219, 237, 255, 0.32) 1px, transparent 1.5px);
  background-size: 12px 12px;
  mask-image: linear-gradient(90deg, transparent 38%, #000 100%);
  opacity: 0.55;
}
.featured .news-copy:after {
  display: block;
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -35px;
  bottom: -115px;
  border: 1px solid rgba(221, 239, 255, 0.18);
  border-radius: 50%;
  box-shadow:
    0 0 0 17px rgba(221, 239, 255, 0.045),
    0 0 0 34px rgba(221, 239, 255, 0.035),
    0 0 0 51px rgba(221, 239, 255, 0.025);
  z-index: -1;
  pointer-events: none;
}
@media (max-width: 760px) {
  .news-row p {
    font-size: 13px;
  }
}
/* 顶部直接输入搜索，结果在原位置下拉展示 */
.masthead {
  overflow: visible;
  z-index: 10;
}
.search-trigger {
  position: relative;
  padding: 0 12px 0 22px;
  gap: 6px;
}
.search-trigger input {
  width: 100%;
  min-width: 0;
  padding: 0;
  height: 100%;
  background: transparent;
  color: #fff;
  border: 0;
  outline: 0;
  font-size: 15px;
  border-radius: 999px;
}
.search-trigger input::placeholder {
  color: rgba(255, 255, 255, 0.93);
}
.search-trigger:focus-within {
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.55);
}
.search-trigger > button {
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  height: 34px;
  padding: 0;
  background: none;
  color: #fff;
  border-radius: 50%;
}
.search-trigger > button:hover {
  background: #ffffff15;
}
#header-results {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: min(430px, 85vw);
  max-height: 420px;
  overflow: auto;
  background: #fff;
  color: #27364c;
  box-shadow: 0 8px 32px #12396730;
  padding: 8px 20px 14px;
  border-radius: 8px;
  border: 1px solid #e0e9f5;
  text-align: left;
  z-index: 30;
}
#header-results[hidden] {
  display: none;
}
#header-results .search-hit {
  font-size: 14px;
  color: #29496e;
  line-height: 1.6;
}
#header-results .search-hit:hover {
  color: #1a5dd1;
}
#header-results .search-summary {
  font-size: 12px;
  color: #7d8da3;
  line-height: 1.7;
  margin: 12px 0 4px;
}
@media (max-width: 1100px) and (min-width: 761px) {
  .search-trigger {
    padding: 0 12px 0 20px;
  }
}
/* Banner：居中圆点与选中轨道，略微降低高度 */
.hero {
  height: clamp(390px, 35vw, 540px);
  min-height: 0;
}
.hero-controls {
  left: 0;
  right: 0;
  bottom: 18px;
  justify-content: center;
}
.hero-controls > div {
  margin: 0;
  gap: 20px;
}
.hero-controls .dot,
.hero-controls .dot.selected {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent !important;
}
.hero-controls .dot:before {
  content: "";
  display: block;
  width: 6px;
  height: 6px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 1px 5px #14325455;
  opacity: 0.75;
}
.hero-controls .dot.selected:before {
  opacity: 1;
  width: 7px;
  height: 7px;
}
.hero-controls .dot.selected:after {
  content: "";
  position: absolute;
  inset: 3px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 48% 52% 35% 65% / 60% 40% 60% 40%;
  transform: rotate(35deg);
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.1);
}
.hero-controls .dot:hover:before {
  opacity: 1;
  transform: scale(1.2);
}
@media (min-width: 1700px) {
  .hero {
    height: 560px;
  }
}
@media (max-width: 760px) {
  .hero {
    height: 340px;
  }
  .hero-controls {
    bottom: 10px;
  }
  .hero-controls > div {
    margin: 0;
    gap: 15px;
  }
}
/* 主题首图完整展示，避免宣传文字被裁切 */
.hero.poster-slide {
  background: #b50908;
}
.hero.poster-slide > img {
  object-fit: contain;
  object-position: center;
}
.hero.poster-slide:after {
  background: none;
}
/* 主题 Banner 铺满容器，保持图片比例 */
.hero.poster-slide > img {
  object-fit: cover;
  object-position: center;
}
/* 横向整屏滑动，首尾衔接 */
.hero {
  touch-action: pan-y;
}
.hero-track {
  display: flex;
  width: 100%;
  height: 100%;
  will-change: transform;
  transform: translateX(-100%);
}
.hero-track > img {
  display: block;
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  user-select: none;
}
.hero:after {
  background: none;
}
.hero-controls {
  z-index: 3;
}
/* 底色中性化，保留原校园图片、纹理及其位置 */
.news {
  background: #fff;
}
.news:before {
  background:
    linear-gradient(rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.965)),
    url("assets/aerial.jpg") center 55% / cover no-repeat;
}
.common-links {
  background: #fcfcfc;
}
.quick-link {
  background: #fff;
  border-color: #e7e9ed;
}
.quick-link:hover {
  background: #f7f9fc;
  border-color: #b6cbea;
}

/* Center footer copyright on desktop and mobile. */
.footer-bottom {
  justify-content: center;
  text-align: center;
}

/* Illustrated application entries: retain a neutral, light section. */
.quick-grid {
  gap: 24px;
}
.quick-link {
  position: relative;
  min-height: 230px;
  padding: 22px 12px 26px;
  gap: 8px;
  background: #fff;
  border: 1px solid #e6ebf2;
  border-radius: 4px;
  box-shadow: 0 5px 18px rgba(31, 64, 105, 0.025);
  transition:
    border-color 0.2s,
    box-shadow 0.2s,
    transform 0.2s;
}
.quick-link .platform-art {
  width: 126px;
  height: 108px;
  object-fit: contain;
  margin-bottom: 7px;
  transition: transform 0.25s;
}
.quick-link span {
  font-size: 17px;
  font-weight: 600;
  color: #304a6f;
  line-height: 1.5;
}
.quick-link small {
  font-size: 12px;
  letter-spacing: 1px;
  color: #8b98aa;
  line-height: 1.8;
}
.quick-link:hover {
  background: #fff;
  border-color: #a9c5eb;
  box-shadow: 0 10px 28px rgba(31, 83, 154, 0.09);
  transform: translateY(-3px);
}
.quick-link:hover .platform-art {
  transform: translateY(-3px);
}
@media (max-width: 760px) {
  .quick-grid {
    gap: 12px;
  }
  .quick-link {
    min-height: 205px;
    padding: 18px 7px;
  }
  .quick-link .platform-art {
    width: 105px;
    height: 90px;
  }
  .quick-link span {
    font-size: 13px;
  }
  .quick-link small {
    font-size: 10px;
    letter-spacing: 0;
  }
}

#detail-content p {
  white-space: pre-line;
}

/* News list: short underline expands from the left on hover or keyboard focus. */
.news-list .news-row {
  position: relative;
}
.news-list .news-row::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 30px;
  height: 2px;
  background: #b9c9de;
  pointer-events: none;
  transition:
    width 0.3s ease,
    background-color 0.3s ease;
}
.news-list .news-row:hover::after,
.news-list .news-row:focus-visible::after {
  width: 100%;
  background: var(--blue);
}
@media (prefers-reduced-motion: reduce) {
  .news-list .news-row::after {
    transition: none;
  }
}

/* Section entrance motion; enabled only when observation is available. */
.reveal-pending {
  opacity: 0;
}
.reveal-enter {
  animation: section-enter 0.7s cubic-bezier(0.22, 0.61, 0.36, 1) both;
  animation-delay: var(--reveal-delay, 0ms);
}
@keyframes section-enter {
  from {
    opacity: 0;
    translate: 0 24px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .reveal-pending {
    opacity: 1;
  }
  .reveal-enter {
    animation: none;
  }
}
@media print {
  .reveal-pending {
    opacity: 1;
  }
  .reveal-enter {
    animation: none;
  }
}

/* A lighter more-link symbol; generous separation during mobile paging. */
.more:before {
  width: 24px;
  height: 24px;
  flex-basis: 24px;
  background: currentColor;
  -webkit-mask: url("assets/more-arrow.svg") center/contain no-repeat;
  mask: url("assets/more-arrow.svg") center/contain no-repeat;
  opacity: 0.9;
}
.notice-heading .more:before {
  filter: none;
  opacity: 0.9;
}
@media (max-width: 760px) {
  .more:before {
    width: 21px;
    height: 21px;
    flex-basis: 21px;
  }
  .more,
  .notice-heading .more {
    gap: 9px;
  }
  .notice-page {
    padding: 4px 12px 8px;
  }
}

/* Quality audit: resilient wrapping, legibility and keyboard/touch access. */
.brand,
.brand > div,
.news-grid > * {
  min-width: 0;
}
.brand h1 {
  white-space: normal;
  line-height: 1.45;
}
.footer-top {
  gap: 28px;
  flex-wrap: wrap;
}
.footer-links {
  flex-wrap: wrap;
  line-height: 1.8;
}
.more {
  flex-shrink: 0;
  white-space: nowrap;
}
.section-heading h2,
.notice-heading h2 {
  flex-wrap: wrap;
  row-gap: 4px;
}
.news-row p,
.notice p {
  color: #667386;
}
input:focus-visible,
summary:focus-visible {
  outline: 3px solid #f0b94a;
  outline-offset: 3px;
}
.menu-toggle {
  min-width: 44px;
  min-height: 44px;
}
@media (max-width: 760px) {
  .hero {
    height: clamp(160px, 39.57vw, 300px);
  }
  .hero-track > img[src$="metallurgy-banner-centered.png"] {
    object-fit: contain;
    background: #b50908;
  }
  .hero-controls {
    bottom: 0;
  }
  .notice-dots button {
    width: 36px;
    height: 36px;
  }
  .footer-links {
    gap: 12px 22px;
  }
}
@media (max-width: 480px) {
  .section-heading h2,
  .notice-heading h2 {
    gap: 3px 10px;
  }
  .section-heading h2 span,
  .notice-heading h2 span {
    font-size: 14px;
  }
  .quick-link span {
    overflow-wrap: anywhere;
  }
}

/* 公告卡片：收紧留白，保留标题与底部入口的整齐对齐。 */
.notice-page {
  gap: 22px;
}
.notice-page .notice {
  min-height: 0;
  padding: 24px 26px;
}
.notice-page .notice h3 {
  min-height: 3.2em;
  line-height: 1.6;
  margin: 14px 0 12px;
}
.notice-page .notice p {
  min-height: 0;
  line-height: 1.8;
}
.notice-page .notice-read {
  min-height: 38px;
  padding-top: 16px;
}
@media (max-width: 1100px) {
  .notice-page {
    gap: 18px;
  }
  .notice-page .notice {
    padding: 22px 20px;
  }
}
@media (max-width: 760px) {
  .notice-page {
    gap: 0;
  }
  .notice-page .notice {
    padding: 22px;
  }
  .notice-page .notice h3 {
    min-height: 0;
    margin: 12px 0 10px;
  }
}

.search-trigger input:focus,
.search-trigger input:focus-visible {
  outline: none;
  box-shadow: none;
}

.search-trigger:focus-within {
  outline: 2px solid rgba(255, 255, 255, 0.9);
  outline-offset: 3px;
}