/* ---------- 基础 ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  font-size: clamp(10px, calc(100vw / 120), 18px);
}

body {
  background: #efeff5;
  font-family: 'Microsoft YaHei', '微软雅黑', 'PingFang SC', Arial, sans-serif;
  color: #333;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  display: block;
  border: 0;
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3 {
  font-weight: normal;
  font-size: 100%;
}

.page {
  width: 100%;
  max-width: 120rem;
  margin: 0 auto;
  background: #efeff5;
  overflow: hidden;
}

/* =========================================================
   头部
   ========================================================= */
.header {
  position: relative;
  width: 100%;
}

/* 搜索框与导航的容器 */
.header-panel {
  display: block;
}

/* 汉堡按钮 */
.menu-toggle {
  display: none;
  position: absolute;
  right: 1.25rem;
  top: 1.25rem;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 0;
  background: rgba(0, 40, 90, 0.45);
  border-radius: 0.375rem;
  cursor: pointer;
  z-index: 3;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
}
.menu-toggle span {
  display: block;
  width: 1.25rem;
  height: 0.125rem;
  background: #fff;
  transition:
    transform 0.25s,
    opacity 0.25s;
}
.header.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(0.375rem) rotate(45deg);
}
.header.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}
.header.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-0.375rem) rotate(-45deg);
}

/* ---------- 无障碍条 ---------- */
.access-bar {
  height: 1.8125rem;
  background: #f6f6f8;
}
.access-inner {
  width: 84.5rem;
  height: 1.8125rem;
  margin: 0 auto;
  padding-right: 0.6875rem;
  padding-bottom: 0.125rem;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.access-item {
  display: flex;
  align-items: center;
  font-size: 1rem;
  line-height: 1rem;
  color: #333;
  cursor: pointer;
}
.access-inner > img {
  width: 1.25rem;
  height: 1.5rem;
  margin-right: 0.5625rem;
}
.access-inner > img:nth-of-type(2) {
  width: 1.1875rem;
  height: 1.3125rem;
  margin-left: 1.625rem;
}
.access-item:hover {
  color: #0059b1;
}

/* ---------- 大图 + 站名 + 搜索 ---------- */
.banner {
  position: relative;
  height: 17.875rem;
  overflow: hidden;
}

.banner-img {
  width: 100%;
  max-width: 120rem;
  height: 17.875rem;
  object-fit: cover;
}

.site-title {
  position: absolute;
  left: 18.4375rem;
  top: 4.6875rem;
  width: 24.3125rem;
  height: 3.9375rem;
}
.site-title img {
  display: block;
  width: 100%;
  height: 100%;
}

.site-title-text {
  display: none;
}

.search-box {
  position: absolute;
  left: 20.1875rem;
  top: 11.75rem;
  width: 20.75rem;
  height: 3.1875rem;
  background: #fff;
  border-radius: 0.375rem;
  box-shadow: 0 0.25rem 0.875rem rgba(0, 70, 140, 0.22);
}

.search-box:focus-within {
  box-shadow: 0 0 0 0.1875rem rgba(0, 89, 177, 0.55);
}
.search-input {
  width: 82%;
  height: 3.1875rem;
  padding: 0 3.875rem 0 0.875rem;
  border: 0;
  outline: none;
  background: transparent;
  border-radius: 0.375rem;
  font-size: 1rem;
  line-height: 3.1875rem;
  color: #666;
  font-family: inherit;
}
.search-input::placeholder {
  color: #999;
}

.search-btn {
  position: absolute;
  right: 0.0625rem;
  top: 0.125rem;
  width: 3.125rem;
  height: 3rem;
  padding: 0;
  border: 0;
  cursor: pointer;
  border-radius: 0.375rem;
  background: url(btn-search.png) no-repeat center;
  background-size: 3.125rem 3rem;
}

/* ---------- 导航 ---------- */
.nav {
  height: 4.0625rem;
  background: #0059b1;
}
.nav-list {
  width: 84.5rem;
  height: 4.0625rem;
  margin: 0 auto;
  display: flex;
}
.nav-list li {
  flex: 1;
  display: flex;
  justify-content: center;
}
.nav-list li a {
  width: 9.625rem;
  height: 4.0625rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.375rem;
  color: #fff;
  padding-bottom: 0.125rem;
  transition: background-color 0.25s;
}
.nav-list li a:hover {
  background: rgba(255, 255, 255, 0.12);
}
.nav-list li.active a {
  background: #d90b37;
  font-weight: 700;
}

/* =========================================================
   主体
   ========================================================= */
.main {
  width: 100%;
}

/* ---------- 面包屑 ---------- */
.crumb {
  display: flex;
  align-items: center;
  height: 1.6875rem;
}
.crumb-icon {
  width: 1.1875rem;
  height: 1.6875rem;
  margin-left: 2.6875rem;
  margin-right: 1.125rem;
}
.crumb-text {
  font-size: 1rem;
  line-height: 1.6875rem;
  color: #333;
}
.crumb-text a {
  color: inherit;
  transition: color 0.2s;
}
.crumb-text a:hover {
  color: #0059b2;
}

/* =========================================================
   内容区
   ========================================================= */
.content-card {
  width: 84.5rem;
  margin: 2.75rem auto 3.625rem;
  padding: 1.8125rem 0 2.5625rem;
  background: #fff;
}
.line-top {
  width: 82.0625rem;
  height: 0.0625rem;
  margin: 0.9375rem auto 0;
  background: #ebebeb;
}
.line-bottom {
  width: 100%;
  height: 0.0625rem;
  margin-top: 1.3125rem;
  background: #e0e0e0;
}
.article {
  width: 72.6875rem;
  margin: 3.3125rem auto 0;
}
.article-title {
  font-size: 1.5rem;
  line-height: 1.625rem;
  font-weight: 700;
  color: #333;
  text-align: center;
}
.article-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 1.25rem;
  margin-top: 2.75rem;
  padding: 0 1rem;
}
.article-date {
  font-size: 1rem;
  line-height: 1.25rem;
  color: #666;
}
.article-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.9375rem;
  width: 16.5625rem;
}
.tool {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  position: relative;
  height: 1.25rem;
  padding: 0;
  border: 0;
  background: none;
  color: #999999;
  cursor: pointer;
  -webkit-appearance: none;
}
.tool-static {
  cursor: default;
}
.tool-fs[data-fs='up'] {
  width: 1.1875rem;
}
.tool-fs[data-fs='mid'] {
  width: 0.8125rem;
}
.tool-fs[data-fs='down'] {
  width: 1.125rem;
}
.tool-sep {
  width: 0.0625rem;
  height: 1rem;
  background: #e0e0e0;
}
.fs-a {
  position: absolute;
  left: 0;
  top: 0;
  font-family: 'Microsoft YaHei Light', 'Microsoft YaHei', sans-serif;
  font-weight: 300;
  font-size: 1.25rem;
  line-height: 1.25rem;
}
.fs-sym {
  position: absolute;
}
.fs-plus {
  left: 0.625rem;
  top: 0.0625rem;
  width: 0.5625rem;
  height: 0.5625rem;
}
.fs-plus::before,
.fs-plus::after {
  content: '';
  position: absolute;
  background: currentColor;
}
.fs-plus::before {
  left: 0.25rem;
  top: 0;
  width: 0.125rem;
  height: 0.5625rem;
}
.fs-plus::after {
  left: 0;
  top: 0.25rem;
  width: 0.5625rem;
  height: 0.0625rem;
}
.fs-minus {
  left: 0.5625rem;
  top: 0.25rem;
  width: 0.5625rem;
  height: 0.0625rem;
  background: currentColor;
}
.tool svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.tool-print svg {
  width: 1.3125rem;
}
.tool-static[data-action='share'] svg {
  width: 1.1875rem;
  height: 1.1875rem;
}
.tool:hover {
  color: #0059b2;
}
.tool-static:hover {
  color: #999999;
}
.art-body {
  min-height: 16rem;
  margin-top: 2.5rem;
  --body-fs: 1.125rem; /* 18px；A+/A- 改的就是这个变量 */
  font-size: var(--body-fs);
  padding: 0 3.625rem; /* 文字块 1046 居中 */
  color: #000;
}
.art-body.fs-up {
  --body-fs: 1.25rem;
} /* 20px */
.art-body.fs-down {
  --body-fs: 1rem;
} /* 16px */

/* 段间空一行：只写 margin-top，图片外层 div 常带行内 margin:0，用 margin-bottom 会叠成 60 */
.art-body div,
.art-body p {
  margin: 1.875rem 0 0;
  font-size: var(--body-fs);
  line-height: 1.875rem;
  font-family:
    'Microsoft YaHei', '微软雅黑', Arial, sans-serif !important; /* 防 Word 粘来的行内字体 */
  text-indent: 2em;
  text-align: justify;
  overflow-wrap: break-word;
}
.art-body > :first-child {
  margin-top: 0;
}

/* 内嵌图 746 居中，小图不放大（要一律填满改成 width: 100%）*/
.art-body img {
  display: block;
  width: auto;
  max-width: 46.625rem;
  height: auto;
  margin: 1.875rem auto 0;
}

/* 表格 */
.art-body table {
  width: 100%;
  margin: 1.875rem 0 0;
  border-collapse: collapse;
}
.art-body td,
.art-body th {
  padding: 0.375rem 0.5rem;
  border: 0.0625rem solid #ddd;
  font-size: var(--body-fs);
  line-height: 1.875rem;
  text-align: center;
  text-indent: 0;
}

/* 视频 / 内嵌页 */
.art-body video,
.art-body iframe,
.art-body embed {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 1.875rem 0 0;
  text-indent: 0;
}

/* 表格与媒体里的 div 不缩进 */
.art-body td div,
.art-body th div,
.art-body video div,
.art-body embed div {
  text-indent: 0;
  text-align: center;
}

@media (max-width: 980px) {
  .art-body {
    --body-fs: 1rem; /* 小屏默认 18px，与设计稿一致 */
    padding: 0;
  } /* 小屏正文占满卡片 */
  .art-body.fs-up {
    --body-fs: 1.125rem; /* 20px */
  }
  .art-body.fs-down {
    --body-fs: 0.875rem; /* 16px */
  }
  .art-body img {
    max-width: 100%;
  }
}
.tool-fs.is-active {
  color: #0059b2;
}

/* =========================================================
   页脚
   ========================================================= */
.footer {
  width: 100%;
  height: 13.5rem;
  margin-top: 0.1875rem;
}

/* 友情链接 */
.footer-links {
  position: relative;
  height: 3.1875rem;
  background: #0165c9;
}
.footer-links-inner {
  position: absolute;
  left: 17.75rem;
  top: 0;
  height: 3.1875rem;
  display: flex;
  align-items: center;
}
.links-label {
  margin-left: 3.625rem;
  margin-right: 1.6875rem;

  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
}
.links-seg {
  position: relative;
  align-self: stretch;
  width: 17.3125rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #fff;
}

.links-seg::before,
.links-seg:last-child::after {
  content: '';
  position: absolute;
  top: 0.75rem;
  width: 0.125rem;
  height: 1.9375rem;
  background: rgba(242, 249, 255, 0.212);
}
.links-seg::before {
  left: 0;
}

.links-seg:last-child::after {
  left: 100%;
}
.links-seg a {
  display: flex;
  align-items: center;
  color: #fff;
}
.links-seg a:hover {
  text-decoration: underline;
}
.arrow-down {
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 0.8125rem;
  border-left: 0.34375rem solid transparent;
  border-right: 0.34375rem solid transparent;
  border-top: 0.5rem solid #fff;
}

/* 版权信息 */
.footer-main {
  position: relative;
  height: 10.3125rem;
  background: #004c98;
}
.footer-text {
  position: absolute;
  left: 25.625rem;
  top: 1.9375rem;
  width: 36.5625rem;
  text-align: center;
  font-size: 1rem;
  line-height: 2.125rem;
  color: #fff;
}
.copy-line {
  white-space: nowrap;
}
.footer-badge-inline {
  display: inline-block;
  height: 1.25rem;
  vertical-align: -0.25rem;
  margin-right: 0.375rem;
  margin-left: -1.5rem;
}
.footer-badges .fb {
  position: absolute;
}
.fb-1 {
  left: 71.4375rem;
  top: 2.9375rem;
  width: 3.625rem;
  height: 4.5625rem;
}
.fb-2 {
  left: 77.25rem;
  top: 3.375rem;
  width: 7.4375rem;
  height: 3.6875rem;
}
.fb-3 {
  left: 86.875rem;
  top: 3.375rem;
  width: 7.5625rem;
  height: 3.6875rem;
}

/* =========================================================
   响应式 —— ≤61.25rem（平板 / 手机）
   ========================================================= */
@media (max-width: 980px) {
  html {
    font-size: 18px;
  }
  .page {
    width: 100%;
    overflow: visible;
  }

  .access-inner,
  .nav-list,
  .col-card {
    width: 100%;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .access-bar,
  .access-inner {
    height: 1.4375rem;
  }
  .access-inner {
    padding-right: 0.75rem;
  }
  .access-item {
    font-size: 0.8125rem;
  }
  .access-inner > img {
    width: 1rem;
    height: 1.1875rem;
    margin-right: 0.375rem;
  }
  .access-inner > img:nth-of-type(2) {
    width: 0.9375rem;
    height: 1.0625rem;
    margin-left: 0.875rem;
  }

  /* 头部 */
  .banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: auto;
    min-height: 0;
    padding: 0.75rem 1rem;
    background: #0059b1;
    box-shadow: 0 0.125rem 0.375rem rgba(0, 45, 90, 0.2);
  }
  .banner-img {
    display: none;
  }

  .site-title {
    position: static;
    flex: 0 1 auto;
    width: auto;
    height: auto;
  }

  .site-title img {
    display: none;
  }
  .site-title-text {
    display: block;
    font-size: 1.75rem;
    line-height: 1.2;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.02em;
    white-space: nowrap;
  }

  .header .menu-toggle {
    display: flex;
    position: static;
    flex: 0 0 auto;
    margin-left: 0.5rem;
    background: rgba(255, 255, 255, 0.16);
  }

  /* 汉堡抽屉 */
  .header-panel {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 20;
    padding: 1rem 0 1.25rem;
    background: #0059b1;
    box-shadow: 0 1rem 0.75rem rgba(0, 30, 70, 0.3);
  }
  .header.menu-open .header-panel {
    display: block;
  }

  .search-box {
    position: relative;
    left: auto;
    top: auto;
    width: auto;
    height: 2.75rem;
    margin: 0 1rem 1rem;
    box-shadow: none;
  }
  .search-input {
    height: 2.75rem;
    line-height: 2.75rem;
  }
  .search-btn {
    width: 2.875rem;
    height: 2.75rem;
    background-size: 2.875rem 2.75rem;
    top: 0;
    right: 0;
  }

  .nav {
    height: auto;
    background: transparent;
  }
  .nav-list {
    width: 100%;
    height: auto;
    padding: 0;
    flex-direction: column;
  }
  .nav-list li {
    flex: none;
    width: 100%;
    justify-content: flex-start;
    border-top: 0.0625rem solid rgba(255, 255, 255, 0.14);
  }
  .nav-list li:last-child {
    border-bottom: 0.0625rem solid rgba(255, 255, 255, 0.14);
  }
  .nav-list li a {
    width: 100%;
    height: 2.875rem;
    padding-left: 1.25rem;
    justify-content: flex-start;
    font-size: 1rem;
    font-weight: 400;
  }
  .nav-list li a:hover {
    background: rgba(255, 255, 255, 0.1);
  }
  .nav-list li.active a {
    background: rgba(255, 255, 255, 0.18);
    font-weight: 700;
  }

  /* 内容区：文章页 */
  .content-card {
    width: 100%;
    margin: 0.75rem auto 1rem;
    padding: 0.75rem 0.75rem 1.5rem;
  }
  .line-top {
    width: 100%;
    margin-top: 0.75rem;
  }
  .article {
    width: 100%;
    margin-top: 1.25rem;
  }
  .article-title {
    font-size: 1.25rem;
    line-height: 1.75rem;
  }
  .article-meta {
    flex-direction: column;
    align-items: flex-start;
    height: auto;
    margin-top: 0.75rem;
  }
  .article-date {
    font-size: 0.875rem;
  }
  .article-tools {
    width: 100%;
    justify-content: space-between;
    gap: 0;
    margin-top: 0.875rem;
  }
  .tool {
    min-width: 2.25rem;
    height: 2.25rem;
  }
  .tool-fs[data-fs] {
    width: 2.25rem;
  }
  .fs-a {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }
  .fs-plus {
    left: 50%;
    top: 50%;
    margin: -0.5rem 0 0 0.25rem;
  }
  .fs-minus {
    left: 50%;
    top: 50%;
    margin: -0.375rem 0 0 0.3125rem;
  }
  .art-body {
    min-height: 0;
    margin-top: 1.25rem;
  }
  /* 页脚 */
  .footer {
    height: auto;
  }
  .footer-links {
    height: auto;
    padding: 0.5rem 0;
  }
  .footer-links-inner {
    position: static;
    height: auto;
    flex-wrap: wrap;
    row-gap: 0.25rem;
    padding: 0 0.75rem;
  }
  .links-label {
    margin-left: 0;
    margin-right: 0.5rem;
    font-size: 0.9375rem;
    line-height: 1.875rem;
  }
  .links-seg {
    width: auto;
    padding: 0 0.75rem;
    font-size: 0.875rem;
    line-height: 1.875rem;
  }
  .links-seg::before,
  .links-seg:last-child::after {
    top: 50%;
    margin-top: -0.4375rem;
    height: 0.875rem;
  }

  .links-seg:last-child::after {
    display: none;
  }
  .footer-main {
    height: auto;
    padding: 1rem 0.75rem 1.5rem;
  }
  .footer-text {
    position: static;
    width: auto;
    text-align: center;
    font-size: 0.8125rem;
    line-height: 1.5rem;
  }
  .copy-line {
    white-space: normal;
  }
  .footer-badge-inline {
    margin-left: 0;
  }

  .footer-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.75rem;
  }
  .footer-badges .fb {
    position: static;
    flex: 0 1 auto;
    width: auto;
    height: 2.5rem;
  }
  .crumb-icon {
    width: 1rem;
    height: 1.375rem;
    margin-left: 0;
    margin-right: 0.5rem;
  }
  .crumb {
    height: auto;
    margin-bottom: 0.75rem;
  }
  .crumb-text {
    font-size: 0.875rem;
    line-height: 1.375rem;
  }
}

/* ---------- ≤30rem 小屏 ---------- */
@media (max-width: 480px) {
  .site-title-text {
    font-size: 1.4375rem;
  }
  .search-box {
    margin: 0 0.75rem 1rem;
  }

  .crumb-text {
    font-size: 0.8125rem;
  }
}
/* =========================================================
   无障碍：系统开启「减弱动效」时，过渡与动画降到瞬时
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
