:root {
  --primary: #2f95df;
  --primary-dark: #237fc6;
  --primary-light: #63b9f3;
  --primary-mid: #46a9ed;
  --accent: #c8960c;
  --bg: #ffffff;
  --panel-bg: #f5f9fb;
  --panel-bg-hover: #effaff;
  --list-item-bg: #ffffff;
  --list-item-gap: 10px;
  --text: #333333;
  --text-muted: #666666;
  --line: #dedede;
  --card-border: #e0e6eb;
  --stripe: #f5f9fb;
  --page-padding: 20px;
  --content-max: 1300px;
  --nav-max: 1300px;
  --nav-height: 56px;
  --nav-padding-x: 18px;
  --header-height: 158px;
  --brand-height: 106px;
  --footer-height: 48px;
  --hero-height: 470px;
  --about-row-height: 423px;
  --video-height: 355px;
  --section-row-height: 355px;
  --news-row-height: 200px;
  --list-row-height: 50px;
  --bar-row-height: 72px;
  --nav-bar-bg: var(--primary-mid);
  --footer-bg: #237fc6;
  --grad-blue: linear-gradient(180deg, #46a9ed 0%, #2f95df 100%);
  --grad-blue-h: linear-gradient(90deg, #237fc6 0%, #2f95df 100%);
  --grad-orange: linear-gradient(180deg, #d4a017 0%, #c8960c 100%);
  --grad-block-base: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  --grad-block-intro: linear-gradient(180deg, #f8fbff 0%, #edf5fb 100%);
  --grad-block-panel: linear-gradient(180deg, #ffffff 0%, #f4f9fe 100%);
  --grad-block-news: linear-gradient(180deg, #f9fcff 0%, #eef6fc 100%);
  --block-shadow: 0 1px 4px rgba(0, 70, 140, 0.08);
  /* 字体字号（对齐 gjsbxy.xiyi.edu.cn） */
  --font-family: "Microsoft YaHei", "微软雅黑", SimSun, "宋体", sans-serif;
  --font-base: 14px;
  --font-nav: 18px;
  --font-block-title: 18px;
  --font-more: 15px;
  --font-intro: 16px;
  --font-intro-lead: 19px;
  --font-list: 18px;
  --font-news: 17px;
  --font-news-date: 14px;
  --font-footer: 16px;
  --font-page-title: 24px;
  --line-intro: 32px;
  --line-list: 30px;
}

* {
  box-sizing: border-box;
}

html {
  height: 100%;
}

body {
  margin: 0;
  font-family: var(--font-family);
  font-size: var(--font-base);
  color: var(--text);
  background-color: var(--bg);
  min-height: 100%;
}

/* ── 页眉 ── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--primary-mid);
  color: #fff;
  box-shadow: 0 2px 6px rgba(0, 58, 140, 0.2);
}

.header-brand-wrap {
  max-width: var(--content-max);
  margin: 0 auto;
  min-height: var(--brand-height);
  padding: 0 var(--page-padding);
  display: flex;
  align-items: center;
  justify-content: center;
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 20px;
}

.site-brand-text {
  text-align: center;
}

.logo {
  width: auto;
  min-width: 0;
  max-height: calc(var(--brand-height) * 0.8);
  border: none;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  background: transparent;
  overflow: visible;
}

.logo-image {
  width: auto;
  height: auto;
  max-height: calc(var(--brand-height) * 0.96);
  max-width: min(460px, 40vw);
  object-fit: contain;
  background: transparent;
  display: none;
}

.logo-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.site-subtitle {
  margin: 0 0 4px;
  font-size: 15px;
  opacity: 0.9;
}

.site-title {
  margin: 0;
  font-size: clamp(21px, 2.6vw, 34px);
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.3;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.header-nav-wrap {
  position: relative;
  overflow: hidden;
  background: var(--nav-bar-bg);
  border-top: none;
}

.header-nav-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.12;
  background:
    linear-gradient(30deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px) 0 0 / 32px 18px,
    linear-gradient(150deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px) 0 0 / 32px 18px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px) 0 0 / 16px 18px;
}

.header-nav-inner {
  position: relative;
  z-index: 1;
  max-width: var(--nav-max);
  margin: 0 auto;
  padding: 0 var(--page-padding);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: var(--nav-height);
}

.main-nav {
  display: flex;
  flex-wrap: nowrap;
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
  justify-content: flex-start;
  gap: 12px;
  padding: 4px 0;
}

.main-nav::-webkit-scrollbar {
  display: none;
}

.nav-btn {
  flex-shrink: 0;
  white-space: nowrap;
  border: 1px solid transparent;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  height: var(--nav-height);
  line-height: var(--nav-height);
  padding: 0 calc(var(--nav-padding-x) - 6px);
  font-family: var(--font-family);
  font-size: var(--font-nav);
  font-weight: 700;
  cursor: pointer;
  box-shadow: none;
  transition:
    background 0.5s cubic-bezier(0.22, 0.61, 0.36, 1),
    color 0.5s cubic-bezier(0.22, 0.61, 0.36, 1),
    border-color 0.5s cubic-bezier(0.22, 0.61, 0.36, 1),
    box-shadow 0.5s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.main-nav .nav-btn:first-child {
  flex: 0 0 auto;
}

.main-nav .nav-btn:not(:first-child) {
  flex: 1 1 0;
  min-width: 0;
  text-align: center;
  padding: 0 8px;
}

@media (max-width: 1360px) {
  .nav-btn {
    padding: 0 12px;
    font-size: 17px;
  }

  .site-search {
    width: 190px;
  }
}

.nav-btn:hover {
  background: linear-gradient(180deg, #63c8ff 0%, #3aa8f2 100%);
  border-color: rgba(255, 255, 255, 0.62);
  color: #f8fffd;
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(35, 132, 210, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.nav-btn.active {
  background: linear-gradient(180deg, #59bff9 0%, #339ee8 100%);
  border-color: rgba(255, 255, 255, 0.3);
  font-weight: 600;
  box-shadow: none;
}

/* 鼠标在导航区时，未悬浮的菜单恢复默认色，仅当前悬浮项高亮 */
.main-nav:hover .nav-btn:not(:hover) {
  background: rgba(255, 255, 255, 0.04);
  border-color: transparent;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 700;
  transform: translateY(0);
  box-shadow: none;
}

.main-nav:hover .nav-btn.active:not(:hover) {
  background: rgba(255, 255, 255, 0.04);
  border-color: transparent;
  color: #fff;
  font-weight: 700;
  box-shadow: none;
}

.site-search {
  position: relative;
  flex-shrink: 0;
  width: 220px;
  height: 30px;
  margin: 10px 0 10px 12px;
  border: 1px solid #fff;
  border-radius: 20px;
  overflow: hidden;
}

.site-search input {
  width: 100%;
  height: 100%;
  border: none;
  background: transparent;
  color: #fff;
  padding: 0 40px 0 15px;
  font-family: var(--font-family);
  font-size: var(--font-base);
  outline: none;
}

.site-search input::placeholder {
  color: rgba(255, 255, 255, 0.75);
}

.site-search button {
  position: absolute;
  top: 0;
  right: 0;
  width: 40px;
  height: 30px;
  border: none;
  background: transparent;
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
  transition: opacity 0.2s;
}

.site-search button:hover {
  opacity: 0.85;
}

.site-search button svg {
  width: 16px;
  height: 16px;
  stroke: #fff;
  fill: none;
  stroke-width: 2.2;
}

/* ── 页面主体 ── */
.page-body {
  min-height: 100vh;
  padding-top: var(--header-height);
  padding-bottom: 0;
  background-color: #f3f9ff;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1600' height='1200' viewBox='0 0 1600 1200'%3E%3Cg fill='none' stroke='%236f93b6' stroke-width='1.35' stroke-linecap='round' stroke-linejoin='round' opacity='0.2'%3E%3Cpath d='M96 170H356V244H96Z'/%3E%3Cpath d='M82 244H370V280H82Z'/%3E%3Cpath d='M130 298H322V388H130Z'/%3E%3Cpath d='M500 180L732 180L732 368L500 368Z'/%3E%3Cpath d='M732 180L964 180L964 368L732 368Z'/%3E%3Cpath d='M732 180V368'/%3E%3Cpath d='M548 236H688M548 268H702M548 300H680'/%3E%3Cpath d='M778 236H918M778 268H934M778 300H904'/%3E%3Crect x='1030' y='250' width='214' height='214'/%3E%3Cpath d='M1062 302H1212M1062 342H1212M1062 382H1158'/%3E%3Cpath d='M430 640H640V860H430Z'/%3E%3Cpath d='M640 640H850V860H640Z'/%3E%3Cpath d='M640 640V860'/%3E%3Cpath d='M634 674H646M634 710H646M634 746H646M634 782H646'/%3E%3Cpath d='M458 688H608M458 722H618M458 756H588'/%3E%3Cpath d='M670 688H820M670 722H830M670 756H800'/%3E%3Cpath d='M1040 700H1360V724H1040Z'/%3E%3Cpath d='M1080 724H1320V854H1080Z'/%3E%3Cpath d='M1070 854H1330'/%3E%3Cpath d='M1264 710H1516V768H1264Z'/%3E%3Cpath d='M1252 768H1528V794H1252Z'/%3E%3Cpath d='M1292 794H1488V874H1292Z'/%3E%3C/g%3E%3Cg fill='none' stroke='%23000000' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round' opacity='0.14'%3E%3Crect x='180' y='900' width='520' height='160'/%3E%3Cpath d='M200 930H680M200 965H540M220 1000H510'/%3E%3Crect x='360' y='1018' width='160' height='108'/%3E%3Cpath d='M392 1048H488M392 1080H470'/%3E%3Cpath d='M350 1126H530'/%3E%3C/g%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='1' stroke-linecap='round' stroke-linejoin='round' opacity='0.26'%3E%3Crect x='184' y='904' width='512' height='152'/%3E%3Cpath d='M206 936H674M206 971H536'/%3E%3Crect x='364' y='1022' width='152' height='100'/%3E%3C/g%3E%3C/svg%3E"),
    repeating-linear-gradient(
      25deg,
      rgba(109, 157, 205, 0.05) 0,
      rgba(109, 157, 205, 0.05) 1px,
      transparent 1px,
      transparent 18px
    ),
    repeating-linear-gradient(
      -25deg,
      rgba(140, 188, 228, 0.035) 0,
      rgba(140, 188, 228, 0.035) 1px,
      transparent 1px,
      transparent 24px
    ),
    radial-gradient(circle at 30% 22%, rgba(255, 255, 255, 0.96), rgba(241, 249, 255, 0.92) 62%, rgba(227, 241, 252, 0.9));
  background-size: 1250px 920px, 200px 200px, 240px 240px, 100% 100%;
  background-position: center top, 0 0, 0 0, 0 0;
  background-repeat: repeat;
}

/* ── 全宽轮播 ── */
.hero-banner {
  position: relative;
  width: 100%;
  margin-top: 6px;
  background: var(--panel-bg);
}

.hero-track {
  position: relative;
  min-height: calc(var(--hero-height) * 0.34);
  overflow: hidden;
  padding: 12px var(--page-padding);
}

.hero-slide {
  position: relative;
  flex: 0 0 auto;
  width: 100%;
  background: var(--slide-bg);
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(26, 90, 158, 0.18);
  box-shadow: 0 3px 10px rgba(0, 70, 140, 0.1);
}

.photo-wall-slide {
  min-height: calc((var(--hero-height) - 24px) * 0.3);
}

.photo-wall-empty {
  min-height: calc((var(--hero-height) - 24px) * 0.3);
}

.photo-wall-link {
  text-decoration: none;
}

.photo-wall-marquee {
  width: 100%;
  overflow: hidden;
}

.photo-wall-track {
  display: flex;
  align-items: stretch;
  gap: 12px;
  width: max-content;
  animation: photoWallScroll var(--photo-wall-duration, 24s) linear infinite;
}

.photo-wall-marquee:hover .photo-wall-track {
  animation-play-state: paused;
}

.photo-wall-caption {
  position: absolute;
  left: 10px;
  bottom: 10px;
  max-width: calc(100% - 20px);
  padding: 5px 8px;
  color: #fff;
  font-size: 13px;
  background: rgba(0, 0, 0, 0.45);
  border-radius: 2px;
}

.hero-dots {
  display: none;
}

@keyframes photoWallScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.hero-dot {
  min-width: 22px;
  height: 22px;
  border: none;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.6);
  color: #666;
  font-size: 12px;
  cursor: pointer;
  padding: 0 4px;
}

.hero-dot.active {
  background: var(--accent);
  color: #fff;
}

/* ── 内容区 ── */
.container {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--page-padding) 60px;
}

.home-layout {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.home-row {
  display: grid;
  width: 100%;
  grid-template-columns: minmax(0, 53.6%) minmax(0, 46.4%);
  gap: 20px;
  align-items: stretch;
}

.home-row-two {
  grid-template-columns: minmax(0, 60%) minmax(0, 40%);
}

.home-row-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-row-about {
  width: 100%;
  margin: 40px 0 30px;
  min-height: auto;
}

.home-row-panel {
  width: 100%;
  min-height: auto;
  margin: 0 0 40px;
  padding: 0 0 10px;
  background: linear-gradient(180deg, #ffffff 0%, #f5f9fb 72%, #e8f0f6 100%);
}

.home-row-panel-plain {
  background: none;
  margin-bottom: 40px;
  padding-bottom: 0;
}

.home-row-news {
  width: 100%;
  grid-template-columns: 1fr;
  margin: 10px 0 60px;
}

.home-row-single {
  grid-template-columns: 1fr;
}

.home-block {
  background: var(--grad-block-base);
  border: 1px solid rgba(26, 90, 158, 0.14);
  box-shadow: var(--block-shadow);
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.home-block-intro {
  background: var(--grad-block-intro);
  min-height: var(--about-row-height);
  transition: background 0.3s, box-shadow 0.3s;
}

.home-block-intro:hover {
  background: linear-gradient(180deg, #f6faff 0%, #e8f2fb 100%);
  box-shadow: 0 3px 10px rgba(0, 70, 140, 0.12);
}

.home-block-panel .block-body {
  padding-top: 0;
}

.home-block-panel {
  background: var(--grad-block-panel);
}

.home-block-news {
  background: var(--grad-block-news);
  min-height: auto;
  border: 1px solid rgba(26, 90, 158, 0.14);
}

/* ── 区块标题 ── */
.block-header {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  min-height: 56px;
  background: transparent;
}

.block-header-dark::before,
.block-header-stripe::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary-light);
}

.block-header-light {
  border-bottom: 2px solid var(--primary-light);
}

.block-header-light .block-title {
  background: none;
  color: var(--primary);
  clip-path: none;
  padding: 10px 16px;
  margin: 0;
  font-size: var(--font-block-title);
  height: auto;
  min-height: 56px;
}

.block-header-light .block-title-icon svg {
  stroke: var(--primary);
}

.block-title {
  margin: 0 0 -2px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 44px 0 14px;
  height: 40px;
  color: #fff;
  font-size: var(--font-block-title);
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1;
  background: var(--primary-mid);
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 100%, 0 100%);
}

.block-title-icon {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
}

.block-title-icon svg {
  width: 100%;
  height: 100%;
  stroke: #fff;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.block-title-text {
  white-space: nowrap;
}

.block-header-light .block-more {
  background: none;
  color: var(--accent);
  clip-path: none;
  padding: 10px 14px;
  height: auto;
  font-size: var(--font-more);
}

.block-more {
  display: flex;
  align-items: center;
  height: 32px;
  padding: 0 16px 0 22px;
  color: #fff;
  font-size: var(--font-more);
  text-decoration: none;
  background: var(--primary-mid);
  clip-path: polygon(18px 0, 100% 0, 100% 100%, 0 100%);
}

.block-more:hover {
  background: var(--primary-dark);
}

.block-body {
  padding: 0;
  flex: 1;
}

.block-body-stripe {
  background: transparent;
}

.block-body-text {
  padding: 16px;
  line-height: var(--line-intro);
  font-size: var(--font-intro);
}

.intro-highlight {
  margin: 0 0 10px;
  font-size: var(--font-intro-lead);
  font-weight: 700;
  line-height: 1.3;
  color: #0070c0;
}

.intro-text {
  margin: 0 0 10px;
  color: var(--text);
  text-indent: 2em;
  font-size: var(--font-intro);
  line-height: var(--line-intro);
}

.intro-more {
  color: #d20000;
  font-size: var(--font-intro);
  text-decoration: none;
}

.intro-more:hover {
  text-decoration: underline;
}

/* ── 视频区 ── */
.home-row-two .home-block-video {
  height: 100%;
}

.block-body-media {
  padding: 0;
  flex: 1;
  display: flex;
  min-height: 0;
}

.media-frame {
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 0;
  width: 100%;
}

.media-carousel {
  position: relative;
  flex: 1;
  min-height: 0;
}

.media-slide {
  display: none;
  width: 100%;
  height: 100%;
}

.media-slide.active {
  display: block;
}

.media-video {
  width: 100%;
  height: 100%;
  background: #000;
  object-fit: cover;
}

.media-video-pager {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 4px 8px;
  background: rgba(7, 19, 35, 0.42);
  border-radius: 999px;
}

.media-video-dot {
  min-width: 28px;
  height: 28px;
  border: 1px solid #9ab3cf;
  background: #fff;
  color: #1f4c80;
  font-size: 13px;
  cursor: pointer;
}

.media-video-dot.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.media-placeholder {
  height: 100%;
  min-height: 280px;
  width: 100%;
  background: #000;
  display: grid;
  place-items: center;
}

.media-play {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  position: relative;
  cursor: pointer;
  opacity: 0.85;
}

.media-play::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 8px 0 8px 14px;
  border-color: transparent transparent transparent #fff;
}

/* ── 箭头列表 ── */
.arrow-list {
  list-style: none;
  margin: 0;
  padding: 0 3%;
}

.arrow-list-2col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 18px;
}

.arrow-list li {
  background: var(--list-item-bg);
  margin-bottom: var(--list-item-gap);
  min-height: var(--list-row-height);
  overflow: hidden;
  transition: box-shadow 0.2s, color 0.2s;
}

.arrow-list li:last-child {
  margin-bottom: 0;
}

.arrow-list li:hover {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.07);
}

.arrow-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: var(--list-row-height);
  padding: 0 14px;
  text-decoration: none;
  color: var(--text);
  font-size: var(--font-list);
  line-height: var(--list-row-height);
}

.arrow-list a:hover {
  color: var(--accent);
  background: transparent;
}

.arrow-mark {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--primary);
  position: relative;
}

.arrow-mark::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 55%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 4px 0 4px 6px;
  border-color: transparent transparent transparent #fff;
}

/* ── 竖条双列 ── */
.bar-grid {
  list-style: none;
  margin: 0;
  padding: 0 3%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 2%;
}

.bar-grid li {
  background: var(--list-item-bg);
  margin-bottom: var(--list-item-gap);
  min-height: var(--bar-row-height);
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.bar-grid li:hover {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.07);
}

.bar-grid a {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: var(--bar-row-height);
  padding: 0 10px 0 12px;
  text-decoration: none;
  color: var(--text);
  font-size: var(--font-list);
  line-height: 1.4;
}

.bar-grid a:hover {
  color: var(--accent);
}

.bar-mark {
  flex-shrink: 0;
  width: 3px;
  height: 14px;
  background: var(--primary);
}

/* ── 相关新闻（左侧竖标签） ── */
.home-block-news {
  border: none;
}

.news-layout {
  display: grid;
  grid-template-columns: 68px 1fr;
  min-height: var(--news-row-height);
}

.news-tab {
  position: relative;
  background: var(--primary-mid);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 6px;
}

.news-tab::before,
.news-tab::after {
  content: "";
  position: absolute;
  left: -8px;
  width: 0;
  height: 0;
  border-style: solid;
  border-color: transparent var(--primary-dark) transparent transparent;
}

.news-tab::before {
  top: 0;
  border-width: 8px 8px 0 0;
}

.news-tab::after {
  bottom: 0;
  border-width: 0 8px 8px 0;
}

.news-tab-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.news-tab-icon svg {
  width: 100%;
  height: 100%;
  stroke: #fff;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.news-tab-text {
  writing-mode: vertical-rl;
  letter-spacing: 4px;
  color: #fff;
  font-size: var(--font-block-title);
  font-weight: 700;
}

.news-content {
  padding: 15px 14px 0;
  background: transparent;
}

.news-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 20px;
}

.news-list li {
  margin: 10px 0;
}

.news-list a {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 0 4px;
  text-decoration: none;
  color: var(--text);
  font-size: var(--font-news);
  line-height: 22px;
}

.news-list a:hover {
  color: var(--accent);
}

.news-date {
  flex-shrink: 0;
  min-width: 40px;
  padding: 2px 5px;
  background: #96b9d1;
  color: #fff;
  font-size: var(--font-news-date);
  text-align: center;
  line-height: 1.3;
}

.news-list a:hover .news-date {
  background: var(--accent);
}

/* ── 子页面 ── */
.section-page-head {
  margin: 40px 0 20px;
  padding: 20px 5%;
  background: var(--grad-block-intro);
  border: 1px solid rgba(26, 90, 158, 0.14);
  box-shadow: var(--block-shadow);
}

.section-page-head h2,
.section-page-title {
  margin: 0 0 6px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: var(--font-page-title);
  font-weight: 700;
  color: var(--primary);
}

.section-page-icon {
  display: inline-flex;
  width: 32px;
  height: 32px;
}

.section-page-icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--primary);
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.section-page-head p {
  margin: 0;
  font-size: var(--font-intro);
  color: var(--text-muted);
  line-height: var(--line-intro);
}

.section-workspace {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 20px;
  margin-top: 36px;
  margin-bottom: 32px;
}

.section-sidebar {
  background: linear-gradient(180deg, #f5fbff 0%, #e6f3ff 100%);
  border: 1px solid rgba(44, 130, 196, 0.28);
  box-shadow: var(--block-shadow);
}

.section-sidebar-head {
  height: 52px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  background: var(--grad-blue-h);
}

.section-sidebar-menu {
  list-style: none;
  margin: 0;
  padding: 8px 0;
}

.section-sidebar-menu li {
  padding: 0 10px 8px;
}

.section-menu-btn {
  width: 100%;
  border: 1px solid rgba(26, 90, 158, 0.18);
  background: #fff;
  color: var(--text);
  height: 44px;
  text-align: left;
  padding: 0 14px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}

.section-menu-btn:hover {
  background: #f2f8ff;
  color: var(--primary);
  border-color: rgba(26, 90, 158, 0.3);
}

.section-menu-btn.active {
  background: var(--grad-blue-h);
  border-color: rgba(70, 169, 237, 0.64);
  color: #fff;
}

.section-main-panel {
  background: var(--grad-block-base);
  border: 1px solid rgba(26, 90, 158, 0.16);
  box-shadow: var(--block-shadow);
  padding: 14px 16px 18px;
}

.news-location-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 44px;
  margin-bottom: 12px;
  padding: 8px 12px;
  border: 1px solid #d9e2ee;
  background: #f3f5f7;
  color: #667b93;
  font-size: 14px;
}

.news-location-icon {
  display: inline-flex;
  width: 18px;
  height: 18px;
  color: #1f65b0;
}

.news-location-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.news-location-label {
  color: #5f7083;
}

.news-location-bar a {
  color: #5f7083;
  text-decoration: none;
}

.news-location-bar a:hover {
  color: var(--primary);
  text-decoration: underline;
}

.news-location-sep {
  color: #95a4b6;
}

.section-links-head {
  color: var(--primary);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.section-links-list {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.section-links-list-single {
  grid-template-columns: 1fr;
}

.section-link-btn {
  display: block;
  width: 100%;
  min-height: 42px;
  border: 1px dashed rgba(0, 70, 140, 0.3);
  background: #fff;
  color: var(--text);
  text-align: left;
  padding: 8px 12px;
  font-size: 15px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}

.search-result-meta {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: #6f8299;
}

.section-link-btn:hover {
  color: var(--primary);
  border-color: var(--primary-light);
  background: #f5faff;
}

.section-link-btn.active {
  color: #fff;
  border-color: rgba(0, 70, 140, 0.4);
  background: var(--grad-blue-h);
}

.section-home-card {
  border: 1px solid rgba(26, 90, 158, 0.16);
  background: linear-gradient(180deg, #f8fbff 0%, #eef6ff 100%);
  padding: 14px 16px;
  margin-bottom: 12px;
  line-height: 1.8;
}

.section-home-card h3 {
  margin: 0 0 8px;
  color: var(--primary);
  font-size: 18px;
}

.section-home-card p {
  margin: 0 0 6px;
  color: var(--text-muted);
  font-size: 15px;
}

.section-content-card {
  border: 1px solid rgba(26, 90, 158, 0.16);
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  padding: 16px;
  line-height: 1.85;
}

.section-content-card h4 {
  margin: 0 0 8px;
  color: var(--primary);
  font-size: 18px;
  font-weight: 700;
}

.section-content-card h3 {
  margin: 0 0 10px;
  color: var(--primary);
  font-size: 20px;
  text-align: center;
}

.section-content-card p {
  margin: 0 0 8px;
  color: var(--text-muted);
  font-size: 15px;
}

.news-meta-line {
  margin: 0 0 10px;
  color: #6f8299;
  font-size: 13px;
  text-align: center;
}

.news-rich-body {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.8;
}

.news-rich-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 10px 0;
}

.news-inline-pdf,
.news-rich-body iframe.news-inline-pdf {
  width: 100%;
  aspect-ratio: 210 / 297;
  height: auto;
  min-height: 780px;
  border: 1px solid #d6e0ed;
  background: #fff;
}

.news-rich-body th,
.news-rich-body td {
  border: 1px solid #d6e0ed;
  padding: 6px 8px;
}

.news-attachments p {
  margin: 10px 0 6px;
  color: var(--text-muted);
}

.news-attachments ul {
  margin: 0;
  padding-left: 20px;
}

.news-attachments li {
  margin: 4px 0;
}

.news-pdf-preview-list {
  margin-top: 14px;
  display: grid;
  gap: 14px;
}

.news-pdf-preview-item p {
  margin: 0 0 6px;
  color: var(--text-muted);
}

.news-pdf-preview-item iframe {
  width: 100%;
  min-height: 520px;
  border: 1px solid #d6e0ed;
  background: #fff;
}

.section-pager {
  margin-top: 12px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.section-page-link {
  flex: 1;
  min-height: 40px;
  border: 1px solid rgba(26, 90, 158, 0.22);
  background: linear-gradient(180deg, #ffffff 0%, #f1f7ff 100%);
  color: var(--primary);
  font-size: 14px;
  text-align: left;
  padding: 0 12px;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}

.section-page-link:hover:not(:disabled) {
  background: linear-gradient(180deg, #f4f9ff 0%, #eaf3ff 100%);
  border-color: rgba(26, 90, 158, 0.35);
}

.section-page-link:disabled {
  color: #9aa7b7;
  border-color: rgba(154, 167, 183, 0.35);
  background: #f8fafc;
  cursor: not-allowed;
}

/* ── 页脚 ── */
.site-footer {
  position: static;
  min-height: var(--footer-height);
  padding: 6px var(--page-padding);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: rgba(255, 255, 255, 0.95);
  font-size: var(--font-footer);
  background: var(--footer-bg);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.96);
  text-decoration: none;
}

.site-footer a:hover {
  color: #ffe29a;
  text-decoration: underline;
}

@media (max-width: 960px) {
  .home-row {
    grid-template-columns: 1fr;
  }

  .news-list {
    grid-template-columns: 1fr;
  }

  .bar-grid {
    grid-template-columns: 1fr;
  }

  .section-workspace {
    grid-template-columns: 1fr;
  }

  .section-links-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  :root {
    --header-height: 132px;
    --brand-height: 84px;
  }

  .header-nav-inner {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    padding-bottom: 0;
  }

  .main-nav {
    flex: 1;
    min-width: 0;
  }

  .nav-btn {
    height: 48px;
    line-height: 48px;
    padding: 0 20px;
    font-size: 15px;
  }

  .site-search {
    width: 180px;
    height: 28px;
    margin: 8px 0;
  }

  .site-search button {
    width: 36px;
    height: 28px;
  }

  .hero-track {
    min-height: 280px;
    padding: 10px 10px;
  }

  .home-row-about {
    min-height: auto;
  }

  .home-block-intro {
    min-height: auto;
  }

  .media-placeholder {
    height: 240px;
  }

  .home-row-panel {
    min-height: auto;
  }

  .site-title {
    font-size: clamp(18px, 4.6vw, 26px);
  }
}
