/* 布局参照门户首页的信息层级，视觉样式独立重写。 */
.hero {
  position: relative;
  background: var(--accent-dark);
  color: white;
}

.hero-slide {
  position: relative;
  height: clamp(320px, 55vw, 650px);
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-shade {
  background: linear-gradient(0deg, #102d5a66, transparent 24%);
}

.hero-bottom {
  position: absolute;
  z-index: 5;
  inset-inline: 0;
  bottom: 36px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  pointer-events: none;
}

.hero-controls {
  display: flex;
  gap: 16px;
  align-items: center;
  pointer-events: auto;
}

.hero-controls>button {
  border: 0;
  background: transparent;
  color: white;
  padding: 8px;
}

.hero-controls>button:hover {
  color: #c6e3ff;
}

.hero-controls>button .icon {
  width: 17px;
  height: 17px;
}

.hero-pagination {
  display: flex;
  gap: 14px;
}

.hero-pagination .swiper-pagination-bullet {
  position: relative;
  width: 34px;
  height: 36px;
  margin: 0 !important;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  opacity: 1;
  color: #ffffffa8;
  font:
    12px/1 Arial,
    sans-serif;
}

.hero-pagination .swiper-pagination-bullet::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--detail);
  transform: translateX(-50%);
  transition: width 0.2s;
}

.hero-pagination .swiper-pagination-bullet-active {
  color: #fff;
}

.hero-pagination .swiper-pagination-bullet-active::after {
  width: 28px;
}

.lead-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 38px;
}

.news-panel,
.notice-panel {
  min-width: 0;
}

.news-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 25px;
}

.news-feature {
  min-width: 0;
  position: relative;
  padding-bottom: 22px;
}

.news-swiper {
  height: 100%;
  min-height: 357px;
}

.news-swiper .swiper-slide {
  display: flex;
  flex-direction: column;
}

.news-image {
  display: block;
  flex: 1;
  min-height: 215px;
  overflow: hidden;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-caption {
  padding: 17px 18px 18px;
  background: var(--accent-dark);
  color: #fff;
  min-height: 121px;
}

.news-caption time {
  font:
    10px/1.5 Arial,
    sans-serif;
  color: #d1e6ff;
}

.news-caption h3 {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.8;
  margin: 8px 0 0;
}

.news-caption a:hover {
  color: #c6e3ff;
}

.news-pagination {
  display: flex;
  gap: 6px;
  position: absolute;
  bottom: 2px;
  left: 0;
}

.news-pagination .swiper-pagination-bullet {
  margin: 0 !important;
  width: 18px;
  height: 3px;
  border: 0;
  border-radius: 0;
  background: #d8e3ef;
  opacity: 1;
  padding: 0;
}

.news-pagination .swiper-pagination-bullet-active {
  width: 34px;
  background: var(--accent);
}

.news-list {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  display: grid;
  grid-template-rows: repeat(6, 1fr);
}

.news-list li {
  min-width: 0;
  border-bottom: 1px solid var(--line);
}

.news-list-link {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  padding: 12px 7px;
  height: 100%;
  align-items: center;
  transition:
    background-color 0.2s,
    color 0.2s;
}

.news-list-link time {
  color: var(--muted);
  font:
    11px/1.5 Arial,
    sans-serif;
  white-space: nowrap;
}

.news-list-title {
  font-size: 14px;
  line-height: 1.85;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.news-list-link.is-active {
  background: var(--paper);
  color: var(--accent);
}

.news-list-link.is-active time {
  color: var(--accent);
}

.date-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.date-list li {
  border-bottom: 1px solid var(--line);
}

.date-list a {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  min-height: 78px;
  padding: 11px 0;
}

.date-list li:first-child a {
  padding-top: 0;
  min-height: 67px;
}

.date-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--paper);
  height: 56px;
  color: var(--accent);
  transition:
    background-color 0.2s,
    color 0.2s;
}

.date-card b {
  font:
    400 25px/1.1 Arial,
    sans-serif;
}

.date-card small {
  font:
    9px/1.4 Arial,
    sans-serif;
  margin-top: 4px;
}

.date-list a>span {
  font-size: 13px;
  line-height: 1.85;
}

.date-list a:hover .date-card,
.date-list a:focus-visible .date-card {
  background: var(--accent);
  color: #fff;
}

.notice-list a>span {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.education-section {
  background: var(--paper);
  /* padding-block: 52px; */
}

.education-grid {
  --column-inset: 32px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.education-grid>section {
  min-width: 0;
}

.education-grid>section:first-child {
  padding-right: var(--column-inset);
}

.education-grid>section+section {
  border-left: 1px solid #dce5ef;
  padding-left: var(--column-inset);
}

.education-grid .section-head {
  margin-bottom: 14px;
}

.education-grid .section-head h2 {
  font-size: 25px;
}

.compact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.compact-list li {
  border-bottom: 1px solid #dce5ef;
}

.compact-list li:last-child {
  border-bottom: 0;
}

.compact-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 17px;
  padding: 16px 0;
  font-size: 13px;
}

.compact-list a>span {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.compact-list time {
  font:
    10px/1.5 Arial,
    sans-serif;
  white-space: nowrap;
  color: var(--muted);
}

.research-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
}

.research-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s;
}

.research-card:hover {
  border-bottom-color: var(--accent-text);
}

.research-image {
  display: block;
  overflow: hidden;
  aspect-ratio: 1.55;
}

.research-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.research-image:hover img {
  transform: scale(1.035);
}

.research-copy {
  padding: 21px 23px 18px;
  display: flex;
  flex: 1;
  flex-direction: column;
}

.article-tag {
  font-size: 10px;
  letter-spacing: 1.5px;
  color: var(--accent);
}

.research-copy h3 {
  font: 500 18px/1.8 var(--serif);
  margin: 10px 0 24px;
  min-height: 3.6em;
}

.article-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: auto;
}

.article-foot time {
  font:
    10px/1.6 Arial,
    sans-serif;
  color: var(--muted);
}

.article-foot a {
  display: grid;
  place-items: center;
  width: 32px;
  height: 30px;
  color: var(--accent);
}

.article-foot .icon {
  width: 19px;
  height: 19px;
}

.community-section {
  background: #f1f6fc;
  padding-block: 52px;
}

.community-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 60px;
}

.community-grid>section {
  min-width: 0;
}

.community-grid .section-head {
  margin-bottom: 17px;
}

.community-grid .date-list a {
  grid-template-columns: 60px minmax(0, 1fr);
  gap: 22px;
  padding: 13px 0;
  min-height: 87px;
}

.community-grid .date-list li:first-child a {
  padding-top: 0;
  min-height: 74px;
}

.community-grid .date-card {
  height: 60px;
  background: #fff;
  border: 1px solid #d6e2f0;
}

.community-grid .date-list a:hover .date-card,
.community-grid .date-list a:focus-visible .date-card {
  background: var(--accent);
  border-color: var(--accent);
}

.community-grid .date-list a>span {
  font-size: 14px;
}

.topics-section {
  padding-bottom: 38px;
}

.topics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.topic {
  display: block;
  padding: 22px 25px 20px;
  border: 1px solid var(--line);
  position: relative;
  background: linear-gradient(120deg, #fff, #f5f7fa);
  overflow: hidden;
}

.topic-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--accent-text);
}

.topic-top>span {
  font:
    italic 19px/1 Georgia,
    serif;
}

.topic-top .icon {
  width: 25px;
  height: 25px;
}

.topic h3 {
  font: 500 22px/1.5 var(--serif);
  letter-spacing: 2px;
  margin: 26px 0 11px;
}

.topic p {
  font-size: 10px;
  color: var(--muted);
  margin: 0 0 24px;
}

.topic-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  color: var(--accent);
  padding-top: 13px;
  border-top: 1px solid var(--line);
}

.topic-bottom .icon {
  width: 17px;
  height: 17px;
}

.topic:hover {
  border-color: var(--accent-text);
  background: var(--paper);
}

@media (min-width: 1700px) {
  .lead-grid {
    gap: 48px;
  }

  .news-layout {
    gap: 30px;
  }

  .news-swiper {
    min-height: 400px;
  }

  .news-list-title {
    font-size: 15px;
  }

  .date-list a>span {
    font-size: 14px;
  }
}

@media (max-width: 1150px) {
  .lead-grid {
    gap: 27px;
    grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr);
  }

  .news-layout {
    gap: 20px;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  }

  .news-list-link {
    grid-template-columns: 1fr;
    gap: 3px;
    padding: 8px 5px;
  }

  .news-list-title {
    font-size: 12px;
  }

  .news-swiper {
    min-height: 385px;
  }

  .news-caption {
    padding: 14px;
  }

  .news-caption h3 {
    font-size: 13px;
  }

  .news-image {
    min-height: 220px;
  }

  .date-list a {
    gap: 13px;
    grid-template-columns: 50px minmax(0, 1fr);
    min-height: 83px;
  }

  .date-card {
    height: 52px;
  }

  .date-list a>span {
    font-size: 12px;
  }

  .education-grid {
    --column-inset: 22px;
  }

  .education-grid .section-head h2 {
    font-size: 22px;
  }

  .education-grid .section-head {
    gap: 10px;
  }

  .education-grid .eyebrow {
    font-size: 7px;
    letter-spacing: 0.7px;
  }

  .compact-list a {
    font-size: 12px;
    gap: 12px;
  }

  .research-grid {
    gap: 20px;
  }

  .research-copy {
    padding: 17px;
  }

  .research-copy h3 {
    font-size: 17px;
    min-height: 5.4em;
  }

  .topics-grid {
    gap: 16px;
  }

  .topic {
    padding: 19px;
  }

  .topic h3 {
    font-size: 20px;
  }

  .topic p {
    line-height: 1.9;
    min-height: 3.8em;
  }
}

@media (max-width: 900px) {
  .lead-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .news-layout {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .news-swiper {
    min-height: 360px;
  }

  .news-list-link {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 13px;
    padding: 13px 7px;
  }

  .news-list-title {
    font-size: 13px;
  }

  .notice-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 30px;
  }

  .notice-list li:first-child a {
    padding-top: 11px;
    min-height: 83px;
  }

  .notice-list li:last-child {
    grid-column: 1/-1;
  }

  .date-list a>span {
    font-size: 13px;
  }

  .education-grid {
    --column-inset: 0px;
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .education-grid>section+section {
    padding: 0;
    border: 0;
  }

  .education-grid .section-head h2 {
    font-size: 26px;
  }

  .education-grid .section-head .eyebrow {
    font-size: 8px;
    letter-spacing: 1.2px;
  }

  .compact-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 30px;
  }

  .compact-list li:nth-last-child(2) {
    border-bottom: 0;
  }

  .compact-list a {
    font-size: 13px;
  }

  .research-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px;
  }

  .research-copy h3 {
    min-height: 3.6em;
    font-size: 20px;
  }

  .community-grid {
    gap: 35px;
  }

  .community-grid .date-list a {
    grid-template-columns: 53px minmax(0, 1fr);
    gap: 15px;
  }

  .community-grid .date-card {
    height: 56px;
  }

  .community-grid .date-list a>span {
    font-size: 13px;
  }

  .topics-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .topic p {
    min-height: 0;
  }

  .topic h3 {
    margin-top: 20px;
  }
}

@media (max-width: 600px) {
  .hero-bottom {
    bottom: 25px;
    align-items: flex-end;
  }

  .hero-controls {
    gap: 6px;
    margin-left: auto;
  }

  .hero-pagination {
    gap: 4px;
  }

  .hero-pagination .swiper-pagination-bullet {
    width: 27px;
    font-size: 10px;
  }

  .hero-controls>button {
    padding: 8px 3px;
  }

  .hero-controls>button .icon {
    width: 14px;
    height: 14px;
  }


  .news-layout {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .news-swiper {
    min-height: 350px;
    height: 350px;
  }

  .news-image {
    min-height: 225px;
  }

  .news-caption {
    padding: 16px 19px;
    min-height: 113px;
  }

  .news-caption h3 {
    font-size: 15px;
  }

  .news-feature {
    padding-bottom: 20px;
  }

  .news-list {
    margin: 0;
    grid-template-rows: none;
  }

  .news-list-link {
    min-height: 69px;
    padding: 13px 8px;
    gap: 14px;
  }

  .news-list-title {
    font-size: 14px;
  }

  .lead-grid {
    gap: 35px;
  }

  .notice-list {
    display: block;
  }

  .notice-list li:first-child a {
    padding-top: 0;
    min-height: 71px;
  }

  .date-list a {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 17px;
    min-height: 83px;
  }

  .date-card {
    height: 56px;
  }

  .date-list a>span {
    font-size: 14px;
  }

  .education-section {
    padding-block: 38px;
  }

  .education-grid {
    gap: 32px;
  }

  .compact-list {
    display: block;
  }

  .compact-list li:nth-last-child(2) {
    border-bottom: 1px solid var(--line);
  }

  .compact-list a {
    font-size: 14px;
    padding-block: 15px;
  }

  .compact-list time {
    font-size: 11px;
  }

  .research-grid {
    gap: 20px 14px;
  }

  .research-copy {
    padding: 14px 12px;
  }

  .research-copy h3 {
    font-size: 16px;
    line-height: 1.75;
    min-height: 7em;
    margin: 8px 0 17px;
  }

  .article-tag {
    font-size: 9px;
    letter-spacing: 0.8px;
  }

  .article-foot {
    gap: 5px;
  }

  .article-foot time {
    font-size: 9px;
  }

  .article-foot a {
    width: 22px;
  }

  .article-foot .icon {
    width: 16px;
    height: 16px;
  }

  .community-section {
    padding-block: 38px;
  }

  .community-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .community-grid .date-list a {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 18px;
  }

  .community-grid .date-list a>span {
    font-size: 14px;
  }

  .topics-grid {
    gap: 14px;
  }

  .topic {
    padding: 16px;
  }

  .topic-top .icon {
    width: 22px;
    height: 22px;
  }

  .topic h3 {
    font-size: 20px;
    letter-spacing: 1px;
    margin: 21px 0 10px;
  }

  .topic p {
    font-size: 10px;
    min-height: 3.8em;
    margin-bottom: 18px;
  }

  .topic-bottom {
    font-size: 9px;
  }

  .topics-section {
    padding-bottom: 25px;
  }
}

@media (max-width: 360px) {
  .research-grid {
    grid-template-columns: 1fr;
  }

  .research-copy {
    padding: 18px;
  }

  .research-copy h3 {
    min-height: 0;
    font-size: 19px;
  }

  .topic {
    padding: 13px;
  }

  .topic h3 {
    font-size: 18px;
  }

  .article-foot time {
    font-size: 10px;
  }
}
