:root {
  --color-primary: #1a365d;
  --color-accent: #d4a017;
  --color-text: #2d3748;
  --color-text-light: #718096;
  --color-bg: #ffffff;
  --color-bg-alt: #f7fafc;
  --color-header: #003b80;
  --font-serif: 'Noto Serif SC', 'SimSun', serif;
  --font-sans: 'Noto Sans SC', 'PingFang SC', sans-serif;
  --max-width: 1200px;
  --header-height: 72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
}

a { color: inherit; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--color-header);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 16px 24px;
}

.logo {
  height: 40px;
  width: auto;
  display: block;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  align-items: center;
}

.nav a {
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
  text-decoration: none;
  transition: color 0.2s;
  white-space: nowrap;
}

.nav a:hover { color: var(--color-accent); }

/* Footer */
.footer {
  background: var(--color-header);
  color: white;
  padding: 60px 0 40px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-logo {
  height: 48px;
  margin-bottom: 24px;
}

.footer p {
  font-size: 14px;
  opacity: 0.9;
  margin-bottom: 8px;
}

.footer-icp {
  margin-top: 10px;
  margin-bottom: 0;
}

.footer-icp a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-icp a:hover { color: white; }

/* Subpage main area */
.site-main {
  padding-top: var(--header-height);
  min-height: calc(100vh - 200px);
}

/* Pixso export wrapper */
.pixso-wrap {
  width: 100%;
  overflow-x: auto;
  background: #eef0f1;
  -webkit-overflow-scrolling: touch;
}

.pixso-wrap .pixso-container {
  width: 1920px;
  max-width: none;
  margin: 0 auto;
  position: relative;
}

/* Article page — 与 header-inner 同宽 */
.article-page {
  /* 顶栏下方留出灰底：导航高度 + 20px，再接白色正文卡片 */
  padding: calc(var(--header-height) + 20px) 0 80px;
  background: var(--color-bg-alt);
}

.article-container {
  max-width: var(--max-width);
}

.article-shell {
  width: 100%;
  background: #fff;
  border-radius: 12px;
  padding: 40px 48px 56px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.article-header {
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid #e2e8f0;
}

.article-back {
  display: inline-block;
  margin-bottom: 20px;
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
}

.article-back:hover { color: var(--color-accent); }

.article-title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  color: var(--color-primary);
  line-height: 1.35;
  margin-bottom: 10px;
}

.article-meta {
  font-size: 14px;
  color: var(--color-text-light);
  margin: 0;
}

.article-summary {
  margin-top: 16px;
  font-size: 16px;
  color: var(--color-text-light);
  line-height: 1.75;
}

.article-cover {
  margin: 0 0 32px;
  border-radius: 8px;
  overflow: hidden;
}

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

.article-body {
  font-size: 16px;
  line-height: 1.9;
  color: var(--color-text);
  overflow-wrap: break-word;
}

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

.article-body img,
.article-body video,
.article-body iframe {
  max-width: 100% !important;
  height: auto !important;
}

.article-body img {
  display: block;
  margin: 24px auto;
  border-radius: 6px;
}

.article-body table {
  max-width: 100%;
  display: block;
  overflow-x: auto;
}

/* 精优动态顶栏全屏图（Index42664 + 设计稿叠字） */
.news-hero-pixso {
  position: relative;
  width: 100%;
  background: #d8dce0;
}

.news-hero-banner {
  position: relative;
  width: 100%;
  height: clamp(240px, 40vw, 460px);
  background-color: #d8dce0;
  background-image: url(/static/pages/news/5e87c409dfaa51a6c29737bc71994a067bc2f31a.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.news-hero-banner__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(20, 63, 127, 0) 35%,
    rgba(20, 63, 127, 0.55) 72%,
    rgba(12, 45, 95, 0.88) 100%
  );
  pointer-events: none;
}

.news-hero-banner__title {
  position: absolute;
  left: max(20px, calc((100% - var(--max-width, 1200px)) / 2 + 20px));
  bottom: clamp(28px, 5vw, 56px);
  z-index: 1;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.news-hero-banner__cn {
  margin: 0 0 6px;
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.1;
}

.news-hero-banner__en {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  font-size: clamp(14px, 2vw, 22px);
  font-weight: 600;
  letter-spacing: 0.35em;
  line-height: 1;
  opacity: 0.95;
}

/* 精优动态（设计稿 doc/ui/置顶+轮播.html） */
.news-list-section {
  --news-accent: #143f7f;
  background: #f1f2f3;
  padding: clamp(36px, 5vw, 56px) 0 64px;
  position: relative;
  z-index: 2;
}

.news-list-section > .container {
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 5vw, 56px);
}

.news-page-head {
  text-align: center;
  padding: 40px 16px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.news-page-head .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.news-page-head-en {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  font-size: clamp(18px, 2.2vw, 30px);
  font-weight: 700;
  color: var(--news-accent);
}

.news-page-head-title {
  margin: 0;
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #111;
  line-height: 1.15;
}

.news-board {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(16px, 2vw, 28px);
  align-items: stretch;
}

.news-board > .news-carousel-column,
.news-board > .news-side-list {
  height: 100%;
  min-height: 0;
}

/* 左侧：大图 + 指示器 + 白底文案（非整卡包裹） */
.news-carousel-column {
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-width: 0;
  height: 100%;
  min-height: 0;
}

.news-carousel-media-viewport {
  position: relative;
  flex: 1 1 0;
  min-height: 0;
  width: 100%;
  background: #e8eaed;
  overflow: hidden;
}

.news-carousel-media-slide {
  position: absolute;
  inset: 0;
  display: block;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  text-decoration: none;
  color: inherit;
}

.news-carousel-media-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.news-carousel-media-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.news-carousel-media-slide img.is-placeholder,
.news-grid-card-media img.is-placeholder {
  object-fit: contain;
  background: #d0d5db;
}

.news-carousel-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0;
  flex-shrink: 0;
}

.news-carousel-dot {
  width: 17px;
  height: 17px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(20, 63, 127, 0.12);
  cursor: pointer;
  transition: width 0.2s ease, height 0.2s ease, border-radius 0.2s ease, background 0.2s ease;
}

.news-carousel-dot.is-active {
  width: 50px;
  height: 15px;
  border-radius: 8px;
  background: var(--news-accent);
  box-shadow: none;
}

.news-carousel-caption-card {
  background: #fff;
  flex-shrink: 0;
}

.news-carousel-caption-viewport {
  position: relative;
  padding: clamp(14px, 2vw, 20px) clamp(20px, 3.5vw, 36px);
  text-align: center;
  min-width: 0;
  min-height: 4.5em;
  overflow: hidden;
}

.news-carousel-caption-slide {
  display: none;
}

.news-carousel-caption-slide.is-active {
  display: block;
}

.news-carousel-title {
  font-size: clamp(14px, 1.35vw, 18px);
  font-weight: 700;
  line-height: 1.4;
  color: #111;
  margin: 0 0 10px;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.news-carousel-title a {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: inherit;
  text-decoration: none;
}

.news-carousel-title a:hover {
  color: var(--news-accent);
}

.news-carousel-desc {
  font-size: clamp(12px, 1.1vw, 14px);
  line-height: 1.6;
  color: #5b5b5b;
  margin: 0;
  text-align: left;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.news-side-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
  height: 100%;
  min-height: 0;
}

.news-side-list--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 59, 128, 0.06);
}

.news-side-item {
  flex: 1;
  min-height: 0;
  background: #fff;
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.news-side-link {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: clamp(22px, 3vw, 32px) clamp(24px, 4vw, 50px) clamp(16px, 2vw, 18px);
  gap: 20px;
  text-decoration: none;
  color: inherit;
  transition: background 0.2s;
  box-sizing: border-box;
}

.news-side-link:hover {
  background: rgba(0, 59, 128, 0.02);
}

.news-side-item:first-child:hover .news-side-title,
.news-side-item:first-child:hover .news-side-meta time,
.news-side-item:first-child:hover .news-side-more {
  color: var(--news-accent);
}

.news-side-item:not(:first-child):hover .news-side-title {
  color: var(--news-accent);
}

.news-side-title {
  font-size: clamp(16px, 1.8vw, 22px);
  font-weight: 700;
  line-height: 1.4;
  color: #111;
  margin: 0;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 0.2s;
}

.news-side-summary {
  font-size: clamp(13px, 1.4vw, 18px);
  line-height: 1.5;
  color: #5b5b5b;
  margin: 0;
  flex: 1;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.news-side-meta {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  font-size: clamp(13px, 1.4vw, 18px);
  font-family: Inter, system-ui, sans-serif;
  font-weight: 700;
  color: #111;
  margin-top: auto;
}

.news-side-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #111;
  font-weight: 700;
  font-size: clamp(12px, 1.2vw, 15px);
}

.news-side-more-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  background: url(/static/pages/news/Ellipse_4_2771.png) center / contain no-repeat;
  position: relative;
}

.news-side-more-icon::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 10px;
  transform: translate(-50%, -50%);
  background: url(/static/pages/news/Group_4_2772.png) center / contain no-repeat;
}

.news-grid--more {
  margin-top: 0;
}

.news-list-empty {
  text-align: center;
  color: var(--color-text-light);
  padding: 48px 0;
  font-size: 16px;
}

.news-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 24px;
  padding: 0;
  margin: 0;
}

.news-grid-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border-radius: 28px;
  padding: 18px 18px 22px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 4px 24px rgba(0, 59, 128, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}

.news-grid-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0, 59, 128, 0.1);
}

.news-grid-card-media {
  aspect-ratio: 454 / 464;
  background: #d0d5db;
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 20px;
}

.news-grid-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.news-grid-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 0 4px;
  min-height: 0;
}

.news-grid-card-excerpt {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.55;
  color: #555;
  margin: 0 0 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.news-grid-card-footer {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-top: auto;
}

.news-grid-card-footer .news-side-more {
  font-weight: 800;
  font-size: 15px;
  color: #050505;
}

.news-grid-card-footer .news-side-more-icon {
  width: 28px;
  height: 28px;
  background-color: #143f7f;
  background-image: none;
  border-radius: 50%;
}

.news-grid-card-footer .news-side-more-icon::after {
  width: 14px;
  height: 14px;
  filter: brightness(0) invert(1);
}

.news-grid-card:hover .news-side-more {
  color: var(--color-header);
}

.news-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 16px;
  margin-top: 48px;
  padding-top: 8px;
}

.news-pagination-pages {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.news-pagination a,
.news-pagination span {
  min-width: 40px;
  padding: 8px 14px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 14px;
  text-align: center;
  line-height: 1.4;
  box-sizing: border-box;
}

.news-pagination a {
  background: #fff;
  color: var(--color-header);
  border: 1px solid #dce3ea;
}

.news-pagination a:hover {
  border-color: var(--color-header);
  background: rgba(0, 59, 128, 0.04);
}

.news-pagination .current {
  background: var(--color-header);
  color: #fff;
  border: 1px solid var(--color-header);
  font-weight: 600;
}

.news-pagination-prev,
.news-pagination-next {
  padding-left: 18px;
  padding-right: 18px;
}

@media (max-width: 992px) {
  .news-board {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .news-carousel-column {
    height: auto;
  }

  .news-carousel-media-viewport {
    flex: none;
    aspect-ratio: 926 / 555;
    min-height: 0;
  }

  .news-side-list {
    height: auto;
    min-height: 0;
  }

  .news-side-item {
    flex: none;
  }

  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }

}

@media (max-width: 600px) {
  .news-grid {
    grid-template-columns: 1fr;
  }

  .news-list-section {
    padding-top: 28px;
    padding-bottom: 48px;
  }

  .news-list-section > .container {
    gap: 32px;
  }

  .news-hero-banner__title {
    left: 20px;
    bottom: 24px;
  }
}

@media (max-width: 768px) {
  .nav { gap: 6px 16px; }
  .nav a { font-size: 12px; }
  .article-shell { padding: 28px 20px 40px; }
}

/* 全站：返回顶部 */
.back-to-top {
  position: fixed;
  /* 主体内容区右缘（居中 --max-width）再向右偏移 200px */
  right: max(24px, calc((100vw - var(--max-width)) / 2 - 50px));
  bottom: max(24px, env(safe-area-inset-bottom));
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 52px;
  height: 52px;
  padding: 6px 4px;
  border: none;
  border-radius: 12px;
  background: var(--color-header);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.1;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 59, 128, 0.28);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: #143f7f;
  box-shadow: 0 8px 24px rgba(0, 59, 128, 0.35);
}

.back-to-top__icon {
  font-size: 18px;
  line-height: 1;
}

/* 404 */
.page-not-found {
  text-align: center;
  padding: 56px 48px 64px;
}

.page-not-found__code {
  margin: 0 0 8px;
  font-family: var(--font-serif);
  font-size: clamp(3rem, 10vw, 4.5rem);
  font-weight: 700;
  line-height: 1;
  color: rgba(20, 63, 127, 0.12);
  letter-spacing: 0.08em;
}

.page-not-found__title {
  margin: 0 0 16px;
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--color-primary);
  line-height: 1.35;
}

.page-not-found__desc {
  margin: 0 auto 32px;
  max-width: 28em;
  font-size: 16px;
  line-height: 1.75;
  color: var(--color-text-light);
}

.page-not-found__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 16px;
}

.page-not-found__btn {
  display: inline-block;
  min-width: 128px;
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid #dce3ea;
  color: var(--color-header);
  background: #fff;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.page-not-found__btn:hover {
  border-color: var(--color-header);
  background: rgba(0, 59, 128, 0.04);
}

.page-not-found__btn--primary {
  border-color: var(--color-header);
  background: var(--color-header);
  color: #fff;
}

.page-not-found__btn--primary:hover {
  background: #143f7f;
  color: #fff;
}

@media (max-width: 768px) {
  .page-not-found {
    padding: 40px 20px 48px;
  }
}

