/* 云南农业大学学生处 · 原生静态模板 */
:root {
  --primary: #1d5aa8;
  --deep: #0f3d7a;
  --ink: #1f2f45;
  --muted: #7a8594;
  --accent: #3d8bf2;
  --paper: #f9fafc;
  --line: #e1e7ef;
  --max: 1280px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-padding-top: 24px;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font:
    16px/1.7 "Microsoft YaHei",
    "PingFang SC",
    "Noto Sans SC",
    sans-serif;
  -webkit-font-smoothing: antialiased;
}

body,
button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

button {
  color: inherit;
  font: inherit;
  cursor: pointer;
}

button,
input {
  border-radius: 0;
}

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

h1,
h2,
h3,
p {
  margin: 0;
}

button {
  border: 0;
}

button:disabled {
  cursor: default;
}

[hidden] {
  display: none !important;
}

::selection {
  color: #fff;
  background: var(--primary);
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 5px;
}

.site-header :focus-visible,
.site-footer :focus-visible,
.hero-slider :focus-visible,
.news-visual :focus-visible {
  outline-color: #fff;
}

.wrap {
  width: min(var(--max), calc(100% - 96px));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  left: 20px;
  top: -100px;
  z-index: 100;
  padding: 12px 20px;
  background: #fff;
  color: var(--deep);
}

.skip-link:focus {
  top: 10px;
}

.site-header {
  position: relative;
  z-index: 20;
  color: #fff;
  background: var(--deep);
}

.utility-bar {
  background: #0a2a57;
  font-size: 12px;
  color: #b9cae2;
  letter-spacing: 1px;
}

.utility-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 33px;
}

.utility-inner>div {
  display: flex;
  gap: 26px;
}

.utility-inner a:hover {
  color: #fff;
}

.brand-row {
  display: flex;
  min-height: 124px;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: block;
  width: 600px;
  flex-shrink: 0;
}

.brand img {
  width: 100%;
}

/* 站内搜索：结构沿用 CMS 搜索表单，action 由 CMS 输出 */
.cms-search-form {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  width: 280px;
  height: 42px;
  padding: 3px;
  border: 1px solid #ffffff3d;
  border-radius: 999px;
  background: #ffffff12;
  transition:
    border-color 0.2s,
    background 0.2s;
}

.cms-search-form:focus-within {
  border-color: #fff;
  background: #ffffff1f;
}

.cms-search-form label {
  flex: 1;
  min-width: 0;
}

.cms-search-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.cms-search-form input {
  width: 100%;
  height: 34px;
  padding: 0 10px 0 16px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 14px;
}

.cms-search-form input::placeholder {
  color: #ffffff8f;
}

.cms-search-form button {
  flex-shrink: 0;
  height: 34px;
  padding: 0 18px;
  border-radius: 999px;
  background: #fff;
  color: var(--deep);
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s;
}

.cms-search-form button:hover {
  background: #e3ebf6;
}

.menu-toggle {
  display: none;
}

.nav-shell {
  background: #14498f;
  border-top: 1px solid #ffffff12;
}

.primary-nav {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.nav-link,
.nav-trigger {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  min-height: 56px;
  width: 100%;
  white-space: nowrap;
  color: #fff;
  background: none;
  font-size: 15px;
  transition: background 0.2s;
}

.nav-link:hover,
.nav-trigger:hover,
.nav-dropdown.is-open>.nav-trigger {
  background: #ffffff12;
}

.nav-link.is-current {
  background: #ffffff12;
  position: relative;
}

.nav-link.is-current::after {
  content: "";
  position: absolute;
  bottom: 0;
  width: 24px;
  height: 3px;
  background: #fff;
}

.nav-chevron {
  width: 5px;
  height: 5px;
  border-bottom: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  opacity: 0.65;
}

.nav-dropdown {
  position: relative;
  min-width: 0;
}

.nav-submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 190px;
  width: max-content;
  padding: 10px 0;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 14px 32px #0a1f3d25;
  border-top: 3px solid var(--accent);
}

.nav-submenu a {
  display: block;
  padding: 9px 22px;
  font-size: 14px;
}

.nav-submenu a:hover,
.nav-submenu a:focus-visible {
  color: var(--primary);
  background: #eff4fa;
}

.nav-dropdown:nth-last-child(-n + 4) .nav-submenu {
  left: auto;
  right: 0;
}

/* 首屏：校园图片轮播，不叠加文案 */
.hero-slider {
  position: relative;
  height: clamp(440px, 45vw, 750px);
  color: #fff;
  overflow: hidden;
  background: var(--deep);
}

.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 53%;
}

.hero-slide.is-active {
  z-index: 1;
}

.hero-slide.is-entering {
  animation: slide-fade 0.8s ease both;
}

@keyframes slide-fade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.hero-controls {
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to top, #0a2a5780, transparent 24%);
}

.hero-controls button {
  pointer-events: auto;
}

/* 轮播指示器（Banner 与学工动态共用外观）：圆点，当前项拉长为胶囊 */
.hero-dots,
.news-dots {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
}

.hero-dots {
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
}

.hero-dot,
.news-dot {
  position: relative;
  height: 28px;
  background: transparent;
  padding: 0;
  transition: width 0.3s ease;
}

.hero-dot {
  width: 18px;
}

.hero-dot::after,
.news-dot::after {
  content: "";
  position: absolute;
  border-radius: 4px;
  background: #ffffff8c;
  box-shadow: 0 1px 4px #0a2a5740;
  transition: background 0.3s;
}

.hero-dot::after {
  top: 10px;
  left: 5px;
  right: 5px;
  height: 8px;
}

.hero-dot:hover::after,
.news-dot:hover::after {
  background: #ffffffd9;
}

.hero-dot[aria-pressed="true"] {
  width: 42px;
}

.hero-dot[aria-pressed="true"]::after,
.news-dot[aria-pressed="true"]::after {
  background: #fff;
}

.hero-prev,
.hero-next,
.news-prev,
.news-next {
  position: absolute;
  z-index: 2;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  border: 1px solid #ffffff8c;
  border-radius: 50%;
  background: #0a2a5752;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #fff;
  transition:
    background 0.25s,
    color 0.25s,
    border-color 0.25s,
    opacity 0.25s;
}

.hero-prev,
.hero-next {
  width: 48px;
  height: 48px;
}

.hero-prev {
  left: clamp(16px, 2.5vw, 40px);
}

.hero-next {
  right: clamp(16px, 2.5vw, 40px);
}

.hero-prev:hover,
.hero-next:hover,
.news-prev:hover,
.news-next:hover {
  background: #fff;
  border-color: #fff;
  color: var(--deep);
}

.control-arrow {
  display: block;
  width: 7px;
  height: 7px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-left: -3px;
}

.control-arrow.arrow-left {
  transform: rotate(-135deg);
  margin-left: 3px;
}

/* 通用栏目标题 */
.section {
  padding-block: 70px;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  gap: 28px;
  margin-bottom: 31px;
}

.eyebrow {
  display: block;
  color: #4f86d6;
  font:
    10px/1.5 Arial,
    sans-serif;
  letter-spacing: 2.4px;
}

/* 栏目标题：中文、短线、英文小标自上而下 */
.section-title {
  display: flex;
  flex-direction: column;
}

.section-title .heading-mark {
  margin-block: 8px 7px;
}

.section-title .eyebrow {
  font-size: 12px;
  letter-spacing: 2px;
}

.section-heading h2 {
  font-size: 29px;
  letter-spacing: 2px;
  line-height: 1.4;
  display: flex;
  align-items: center;
  gap: 17px;
}

.heading-mark {
  height: 2px;
  width: 29px;
  background: var(--accent);
}

.more-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 18px;
  margin: 0 0 5px auto;
  border: 1px solid #c9d5e6;
  border-radius: 999px;
  color: var(--primary);
  font-size: 13px;
  white-space: nowrap;
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
}

.more-link>span {
  font:
    14px/1 Arial,
    sans-serif;
}

.more-link:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* 学工动态：静态图片与右侧列表一一对应 */
.article-meta time,
.featured-date,
.news-date-card,
.notice-item .date-block {
  font-family: Bahnschrift, "DIN Alternate", Arial, sans-serif;
  font-variant-numeric: lining-nums tabular-nums;
}

/* 日期卡片：大号日 + 年月，高亮时整卡填充主色 */
.news-date-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  width: 62px;
  height: 52px;
  border-radius: 6px;
  background: #edf2f9;
  color: var(--primary);
  line-height: 1;
  transition:
    background 0.2s,
    color 0.2s;
}

.news-date-card b {
  font-size: 23px;
  font-weight: 600;
}

.news-date-card span {
  margin-top: 5px;
  font-size: 11px;
  color: #8490a0;
  transition: color 0.2s;
}

.news-item.is-active .news-date-card,
.news-item:hover .news-date-card,
.article-list-item:hover .news-date-card {
  background: var(--primary);
  color: #fff;
}

.news-item.is-active .news-date-card span,
.news-item:hover .news-date-card span,
.article-list-item:hover .news-date-card span {
  color: #ffffffb8;
}

.news-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}

/* 左图：图片铺满，标题叠在底部渐变上，指示器在右下角 */
.news-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  align-self: start;
  overflow: hidden;
  border-radius: 8px;
  background: var(--deep);
}

.featured-news,
.featured-image {
  position: absolute;
  inset: 0;
}

.featured-news {
  color: #fff;
}

.featured-news.is-active {
  z-index: 1;
}

.featured-news.is-entering {
  animation: slide-fade 0.45s ease both;
}

.featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transition: transform 0.6s;
}

.featured-news:hover .featured-image img {
  transform: scale(1.035);
}

.featured-copy {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 64px 24px 18px;
  background: linear-gradient(to top,
      #071a33e6 0%,
      #071a33a6 48%,
      transparent);
}

.featured-copy h3 {
  order: -1;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.featured-date {
  font-size: 13px;
  line-height: 24px;
  letter-spacing: 0.5px;
  color: #ffffffc4;
}

.news-dots {
  right: 18px;
  bottom: 16px;
}

.news-dot {
  width: 14px;
}

.news-dot::after {
  top: 11px;
  left: 4px;
  right: 4px;
  height: 6px;
}

.news-dot[aria-pressed="true"] {
  width: 30px;
}

.news-prev,
.news-next {
  width: 36px;
  height: 36px;
  margin-top: -20px;
}

.news-prev {
  left: 14px;
}

.news-next {
  right: 14px;
}

@media (hover: hover) {

  .news-prev,
  .news-next {
    opacity: 0;
  }

  .news-visual:hover .news-prev,
  .news-visual:hover .news-next,
  .news-prev:focus-visible,
  .news-next:focus-visible {
    opacity: 1;
  }
}

.news-list {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-top: 1px solid var(--line);
}

.news-item {
  display: flex;
  flex: 1;
  gap: 14px;
  align-items: center;
  min-width: 0;
  min-height: 50px;
  padding: 2px 12px 2px 8px;
  border-bottom: 1px solid var(--line);
  transition: background 0.2s;
}

.news-item.is-active,
.news-item:hover {
  background: #f4f7fb;
}

.news-item:focus-visible {
  outline-offset: -3px;
}

.news-item .news-date-card {
  width: 58px;
  height: 44px;
}

.news-item .news-date-card b {
  font-size: 20px;
}

.news-item .news-date-card span {
  margin-top: 4px;
}

.news-item>time {
  order: -1;
}

.news-item h3 {
  flex: 1;
  min-width: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.2s;
}

.news-item.is-active h3,
.news-item:hover h3 {
  color: var(--primary);
}

/* 通知公告：完整年月日，无重复类别标签 */
.notices-section {
  background: #f2f5fa;
  border-block: 1px solid #e5ebf3;
}

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

.notice-item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 148px;
  padding: 22px 24px 14px;
  overflow: hidden;
  border: 1px solid #e0e7f0;
  border-radius: 8px;
  background: #fff;
  transition:
    transform 0.25s,
    box-shadow 0.25s,
    border-color 0.25s;
}

.notice-item::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.25s;
}

.notice-item:hover {
  transform: translateY(-3px);
  border-color: #cbd8ea;
  box-shadow: 0 12px 28px #1d5aa81a;
}

.notice-item:hover::before {
  transform: scaleY(1);
}

.notice-item h3 {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  transition: color 0.2s;
}

.notice-item:hover h3 {
  color: var(--primary);
}

.notice-item .date-block {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid #ebeff5;
  color: #8490a0;
  font-size: 13px;
  letter-spacing: 0.5px;
}

.notice-item .date-block::after {
  content: "→";
  color: var(--accent);
  font-family: Arial, sans-serif;
  transition: transform 0.25s;
}

.notice-item:hover .date-block::after {
  transform: translateX(4px);
}

/* 活动风采：原组与脚本生成的副本无缝向左滚动 */
.activities-section {
  background: #fff;
  padding-block: 56px;
  overflow: hidden;
}

/* 居中栏目标题：标题、短线、英文自上而下居中 */
.section-heading-center {
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.section-heading-center h2 {
  flex-direction: column;
  gap: 10px;
}

.section-heading-center .section-title {
  align-items: center;
}

.section-heading-center .heading-mark {
  width: 36px;
}

/* 轨道就绪前可手动横向浏览，图片行不显示原生滚动条。 */
.activity-marquee {
  overflow-x: auto;
  scrollbar-width: none;
}

.activity-marquee::-webkit-scrollbar {
  display: none;
}

.activity-marquee.is-ready {
  overflow: hidden;
}

.activity-track {
  display: flex;
  width: max-content;
}

.activity-marquee.is-ready .activity-track {
  animation: activity-scroll 40s linear infinite;
  will-change: transform;
}

.activity-group {
  display: flex;
  gap: 16px;
  padding-right: 16px;
  flex-shrink: 0;
}

/* 图片卡片：固定宽度和 3:2 比例，标题叠在图片底部 */
.activity-card {
  position: relative;
  display: block;
  flex: none;
  width: 243px;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: 8px;
  background: #edf2f8;
  color: #fff;
}

.activity-image {
  position: absolute;
  inset: 0;
}

.activity-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}

/* 双图拼接素材：只显示左半张，避免一张卡片里出现两个画面 */
.activity-image-wide img {
  width: 219%;
  max-width: none;
  object-position: left center;
  transform-origin: left center;
}

.activity-card:hover img {
  transform: scale(1.05);
}

.activity-caption {
  position: absolute;
  inset: auto 0 0;
  padding: 36px 14px 10px;
  background: linear-gradient(to top, #071a33e0, #071a3380 55%, transparent);
}

.activity-caption h3 {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 鼠标悬停时暂停；键盘聚焦时回到原组，让焦点卡片可见。 */
.activity-marquee.is-pointer-hover .activity-track {
  animation-play-state: paused;
}

.activity-marquee.is-ready.is-keyboard-focus .activity-track {
  animation: none;
  transform: none;
}

@keyframes activity-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(var(--activity-scroll-distance));
  }
}

/* 页脚 */
.site-footer {
  background: var(--deep);
  color: #b7c7de;
}

.footer-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 56px;
  padding-block: 40px 34px;
}

.footer-brand {
  flex-shrink: 0;
  max-width: 100%;
}

.footer-brand img {
  width: 420px;
}

.footer-contact {
  border-left: 1px solid #ffffff24;
  padding-left: 44px;
}

.footer-contact h2 {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.footer-contact p {
  font-size: 13px;
  line-height: 2;
}

.footer-contact a {
  overflow-wrap: anywhere;
}

.footer-contact a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid #ffffff1c;
  padding-block: 16px;
  text-align: center;
  font-size: 12px;
  color: #93abcb;
  letter-spacing: 0.5px;
}

.back-top {
  position: fixed;
  bottom: 26px;
  right: 24px;
  z-index: 50;
  width: 42px;
  height: 42px;
  border: 1px solid #ffffff30;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 20px;
  line-height: 1;
  box-shadow: 0 5px 20px #0f3d7a33;
  transition: background 0.2s;
}

.back-top:hover {
  background: var(--deep);
}

/* 列表与详情 */
.inner-hero {
  height: 220px;
  background: url("../imgs/hero-campus-03.jpg") center 45% / cover;
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding-block: 20px;
  color: #8892a0;
  font-size: 12px;
  border-bottom: 1px solid var(--line);
}

.breadcrumb a:hover {
  color: var(--primary);
}

.inner-layout {
  display: grid;
  grid-template-columns: 235px minmax(0, 1fr);
  gap: 48px;
  padding-block: 42px 75px;
}

.section-sidebar {
  align-self: start;
  background: #f3f6fa;
}

.section-sidebar h2 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--primary);
  color: #fff;
  font-size: 21px;
  font-weight: 500;
  padding: 25px;
}

.section-sidebar :focus-visible {
  outline-offset: -3px;
}

/* 侧边栏目导航：h2 为一级，.side-item 为二级，.side-submenu 为三级 */
.sidebar-toggle {
  display: none;
}

.side-menu,
.side-submenu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.side-item {
  border-bottom: 1px solid #e2e8f0;
}

.side-row {
  display: flex;
  align-items: stretch;
}

.side-link {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 17px 25px 17px 22px;
  border-left: 3px solid transparent;
  font-size: 14px;
  transition:
    background 0.2s,
    color 0.2s;
}

.side-link:hover {
  background: #e3ebf6;
  color: var(--primary);
}

.side-item.is-active>.side-row .side-link {
  color: var(--primary);
  font-weight: 600;
}

.side-link.is-current,
.side-item.is-active:not(.has-children)>.side-row .side-link {
  background: #e3ebf6;
  border-left-color: var(--accent);
}

/* 有子栏目的二级项整行是一个按钮，点击任意位置展开/收起三级 */
.side-toggle {
  background: transparent;
  text-align: left;
}

.side-arrow {
  flex: none;
  width: 7px;
  height: 7px;
  margin-right: 2px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  color: #8892a0;
  transform: translateX(-2px) rotate(-45deg);
  transition:
    transform 0.2s,
    color 0.2s;
}

.side-link:hover .side-arrow,
.side-item.is-active>.side-row .side-arrow {
  color: inherit;
}

.side-toggle[aria-expanded="true"] .side-arrow {
  transform: translateY(-2px) rotate(45deg);
}

.side-submenu {
  padding: 6px 0 12px;
  background: #fafbfd;
  border-top: 1px solid #e2e8f0;
}

.side-submenu a {
  position: relative;
  display: block;
  padding: 9px 20px 9px 44px;
  color: #56637a;
  font-size: 13px;
  line-height: 1.5;
  transition: color 0.2s;
}

.side-submenu a::before {
  content: "";
  position: absolute;
  left: 28px;
  top: 17px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #c3ccd8;
  transition: background 0.2s;
}

.side-submenu a:hover,
.side-submenu a.is-current {
  color: var(--primary);
}

.side-submenu a.is-current {
  font-weight: 600;
}

.side-submenu a:hover::before,
.side-submenu a.is-current::before {
  background: var(--accent);
}

.content-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid var(--primary);
  padding-bottom: 18px;
  gap: 20px;
}

.content-heading h1,
.content-heading h2 {
  font-size: 24px;
  letter-spacing: 1px;
}

/* 列表页：当前位置位于栏目名称右侧 */
.content-heading .breadcrumb {
  justify-content: flex-end;
  padding-block: 0;
  border-bottom: 0;
}

.content-heading>span {
  font-size: 12px;
  color: #929ba8;
}

.article-list-item {
  display: flex;
  gap: 22px;
  align-items: center;
  padding: 22px 14px;
  border-bottom: 1px solid var(--line);
  transition: background 0.2s;
}

.article-list-item:hover {
  background: #f4f7fb;
}

.article-list-item>div {
  flex: 1;
  min-width: 0;
}

.article-list-item h3 {
  font-size: 17px;
  font-weight: 500;
  line-height: 1.7;
  transition: color 0.2s;
}

.article-list-item p {
  font-size: 14px;
  color: #8892a0;
  margin-top: 4px;
  line-height: 1.8;
}

.article-list-item .item-arrow {
  color: var(--accent);
  font-family: Arial, sans-serif;
  transition: transform 0.25s;
}

.article-list-item:hover .item-arrow {
  transform: translate(3px, -3px);
}

.article-list-item:hover h3 {
  color: var(--primary);
}

.pagination {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 35px;
  align-items: center;
  font:
    12px/1.5 Arial,
    "Microsoft YaHei",
    sans-serif;
}

.pagination>span,
.pagination>a {
  min-width: 35px;
  padding: 9px 12px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: #8f98a5;
}

.pagination [aria-current="page"] {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
}

.pagination [aria-disabled="true"] {
  color: #a7aeb8;
  background: #f7f9fc;
}

.article-paper {
  background: #fff;
}

.article-header {
  text-align: center;
  padding: 15px 40px 32px;
  border-bottom: 1px solid var(--line);
}

.article-header h1 {
  font-size: 30px;
  line-height: 1.7;
  font-weight: 600;
  margin: 12px auto 20px;
  max-width: 850px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  font-size: 12px;
  color: #8892a0;
}

.article-body {
  max-width: 860px;
  margin: 0 auto;
  padding: 35px 0;
  font-size: 16px;
  line-height: 2.2;
  color: #46515f;
}

.article-body p {
  margin-bottom: 20px;
  text-align: justify;
  text-indent: 2em;
}

.article-body h2 {
  color: var(--primary);
  font-size: 21px;
  margin-block: 26px 16px;
}

.article-body figure {
  margin: 26px 0;
}

.article-body figure img {
  width: 100%;
}

.article-body figcaption {
  text-align: center;
  font-size: 12px;
  color: #8f98a5;
  margin-top: 10px;
}

.article-body .article-source {
  font-size: 12px;
  text-indent: 0;
  color: #8f98a5;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.article-source a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--primary);
}

@media (min-width: 1700px) {
  :root {
    --max: 1440px;
  }
}

@media (max-width: 1200px) {
  .wrap {
    width: calc(100% - 64px);
  }

  .nav-link,
  .nav-trigger {
    font-size: 13px;
    gap: 4px;
  }
}

@media (max-width: 1099px) {
  .brand-row {
    min-height: 110px;
  }

  .brand {
    width: 540px;
    max-width: calc(100% - 66px);
  }

  .brand-row {
    flex-wrap: wrap;
  }

  .cms-search-form {
    order: 3;
    width: 100%;
    margin-bottom: 16px;
  }

  .menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    padding: 12px;
  }

  .menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
  }

  .primary-nav {
    display: none;
    grid-template-columns: 1fr;
    padding-block: 9px 18px;
    max-height: calc(100vh - 140px);
    overflow-y: auto;
  }

  .primary-nav.is-open {
    display: grid;
  }

  .nav-link,
  .nav-trigger {
    justify-content: space-between;
    padding-inline: 15px;
    min-height: 45px;
    font-size: 15px;
    border-bottom: 1px solid #ffffff10;
  }

  .nav-link.is-current::after {
    left: 0;
    height: 22px;
    width: 2px;
    top: 12px;
  }

  .nav-submenu {
    position: static;
    width: 100%;
    background: #0c3166;
    color: #e4ecf7;
    box-shadow: none;
    border-top: 0;
    padding: 8px 10px;
  }

  .nav-submenu a {
    font-size: 13px;
  }

  .nav-submenu a:hover {
    color: #fff;
    background: #ffffff10;
  }

  .hero-slider {
    height: 450px;
  }

  .section {
    padding-block: 55px;
  }

  .news-layout {
    gap: 24px;
  }

  .notice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .footer-main {
    gap: 32px;
  }

  .footer-brand img {
    width: 340px;
  }

  .footer-contact {
    padding-left: 32px;
  }

  .inner-layout {
    gap: 28px;
    grid-template-columns: 200px minmax(0, 1fr);
  }
}

@media (max-width: 1023px) {
  .news-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .news-item {
    padding-block: 7px;
  }
}

@media (max-width: 700px) {
  .wrap {
    width: calc(100% - 40px);
  }

  .utility-inner {
    min-height: 30px;
    font-size: 10px;
    letter-spacing: 0;
  }

  .utility-inner>div {
    gap: 13px;
  }

  .utility-inner>span {
    letter-spacing: 0.3px;
  }

  .utility-inner a:last-child {
    display: none;
  }

  .brand-row {
    min-height: 90px;
  }

  .brand {
    width: 430px;
    max-width: calc(100% - 33px);
  }

  .menu-toggle {
    padding: 10px 0 10px 10px;
  }

  .hero-slider {
    height: 240px;
  }

  .hero-image {
    object-position: 59% center;
  }

  .hero-dots {
    bottom: 18px;
  }

  .hero-prev,
  .hero-next {
    width: 36px;
    height: 36px;
  }

  .hero-prev {
    left: 12px;
  }

  .hero-next {
    right: 12px;
  }

  .section {
    padding-block: 43px;
  }

  .section-heading {
    gap: 12px;
    margin-bottom: 24px;
  }

  .section-heading h2 {
    font-size: 25px;
    gap: 14px;
  }

  .section-title .eyebrow {
    font-size: 10px;
    letter-spacing: 1.6px;
  }

  .heading-mark {
    width: 20px;
  }

  .more-link {
    height: 32px;
    padding: 0 14px;
    font-size: 12px;
  }

  .featured-copy {
    gap: 4px;
    padding: 36px 16px 14px;
  }

  .featured-copy h3 {
    font-size: 17px;
  }

  .news-dots {
    right: 10px;
    bottom: 12px;
  }

  .news-item h3 {
    font-size: 15px;
    line-height: 1.6;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .notice-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .notice-item {
    min-height: 0;
    padding: 18px 18px 12px;
    gap: 12px;
  }

  .notice-item h3 {
    font-size: 15px;
  }

  .activity-group {
    gap: 12px;
    padding-right: 12px;
  }

  .activity-card {
    width: 204px;
  }

  .activity-caption {
    padding: 30px 12px 9px;
  }

  .activity-caption h3 {
    font-size: 13px;
  }

  .footer-main {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
    padding-block: 30px 26px;
  }

  .footer-brand img {
    width: 300px;
  }

  .footer-contact {
    border-left: 0;
    padding-left: 0;
  }

  .footer-bottom {
    padding-block: 14px 20px;
  }

  .back-top {
    right: 12px;
    bottom: 15px;
    width: 36px;
    height: 36px;
  }

  .inner-hero {
    height: 160px;
  }

  .inner-layout {
    display: block;
    padding-block: 26px 45px;
  }

  .section-sidebar {
    margin-bottom: 30px;
  }

  .section-sidebar h2 {
    padding: 10px 10px 10px 20px;
    font-size: 18px;
  }

  /* 小屏：整个栏目导航可由标题右侧按钮收起，三级仍为纵向折叠 */
  .sidebar-toggle {
    flex: none;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
  }

  .sidebar-toggle::before {
    content: "";
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
    transition: transform 0.2s;
  }

  .sidebar-toggle[aria-expanded="true"]::before {
    transform: translateY(2px) rotate(-135deg);
  }

  .section-sidebar.is-collapsed nav {
    display: none;
  }

  .side-link {
    padding: 13px 20px 13px 17px;
  }

  .side-submenu a {
    padding-left: 39px;
  }

  .side-submenu a::before {
    left: 23px;
  }

  .content-heading {
    flex-wrap: wrap;
    gap: 6px 16px;
    padding-bottom: 15px;
  }

  .content-heading h1,
  .content-heading h2 {
    font-size: 22px;
  }

  .content-heading>span {
    font-size: 11px;
  }

  .article-list-item {
    align-items: flex-start;
    gap: 14px;
    padding: 18px 8px;
  }

  .article-list-item h3 {
    font-size: 15px;
  }

  .article-list-item p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 12px;
  }

  .article-list-item .item-arrow {
    display: none;
  }

  .pagination {
    gap: 6px;
  }

  .pagination>span,
  .pagination>a {
    padding: 7px 9px;
  }

  .article-header {
    padding: 10px 0 25px;
  }

  .article-header h1 {
    font-size: 23px;
    text-align: left;
    margin-block: 15px 20px;
  }

  .article-header .eyebrow {
    text-align: left;
  }

  .article-meta {
    gap: 8px 18px;
    justify-content: flex-start;
    font-size: 11px;
  }

  .article-body {
    font-size: 15px;
    line-height: 2.1;
    padding-block: 25px;
  }
}
