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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: #fff;
  color: #000;
  font-family: "DM Sans", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.78;
  font-weight: 400;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: #000; }
hr { border: 0; border-top: 2px solid #000; margin: 0 0 1.4rem; }

h1, h2, h3, h4 {
  font-family: "Space Grotesk", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.015em;
  margin: 0 0 .5em;
}

h1 { font-size: clamp(2rem, 5.6vw, 3.5rem); }
h2 { font-size: clamp(1.45rem, 3vw, 2.1rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.5rem); }

:focus-visible {
  outline: 3px solid #000;
  outline-offset: 3px;
}

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

/* ---------- 报头 ---------- */
.mast {
  position: sticky;
  top: 0;
  z-index: 60;
  background: #fff;
  border-bottom: 2px solid #000;
}

.mast__row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  max-width: 1360px;
  margin: 0 auto;
  padding: 8px clamp(12px, 3vw, 28px);
}

.mast__left { justify-self: start; min-width: 0; }
.mast__right {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .22em;
  padding: 8px 4px;
  white-space: nowrap;
}

.brand__mark {
  width: 11px;
  height: 11px;
  background: #000;
  flex: none;
}

.brand__img { width: 30px; height: 30px; object-fit: contain; }

.brand__name { line-height: 1; }

/* ---------- 导航 ---------- */
.nav ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 0;
  counter-reset: navc;
}

.nav li { counter-increment: navc; }

.nav a {
  display: block;
  padding: 11px 9px;
  font-size: 1rem;
  line-height: 1.4;
  text-decoration: none;
  white-space: nowrap;
  border-radius: 28px;
  transition: background .18s ease, color .18s ease;
}

.nav--a a::before {
  content: counter(navc, decimal-leading-zero);
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: .68em;
  font-weight: 500;
  letter-spacing: .06em;
  margin-right: 5px;
  vertical-align: .12em;
}

.nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.nav a.is-active { background: #000; color: #fff; text-decoration: none; }

/* ---------- 搜索 ---------- */
.find { display: flex; align-items: center; gap: 4px; }

.find__in {
  width: 11ch;
  min-height: 42px;
  padding: 8px 14px;
  font: inherit;
  font-size: 1rem;
  color: #000;
  background: #fff;
  border: 1px solid #000;
  border-radius: 28px;
  min-width: 0;
}

.find__btn {
  min-height: 42px;
  padding: 8px 14px;
  font: inherit;
  font-size: 1rem;
  font-weight: 500;
  color: #fff;
  background: #000;
  border: 1px solid #000;
  border-radius: 28px;
  cursor: pointer;
  white-space: nowrap;
}

.find__btn:hover { background: #fff; color: #000; }

/* ---------- 版面骨架 ---------- */
.wrap {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 clamp(12px, 3vw, 28px);
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: clamp(20px, 3.4vw, 52px);
  align-items: start;
}

/* ---------- 头条 ---------- */
.hero {
  grid-column: 1 / -1;
  grid-row: 1;
  position: relative;
  display: grid;
  grid-template-columns: 5fr 7fr;
  align-items: center;
  gap: clamp(20px, 4vw, 56px);
  min-height: 70vh;
  padding: clamp(28px, 5vw, 64px) 0 clamp(46px, 6vw, 80px);
}

.hero--flat { grid-template-columns: minmax(0, 1fr); }

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 22px;
  background: #000;
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
  pointer-events: none;
}

.hero__media {
  margin: 0;
  border: 2px solid #000;
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: #f2f2f2;
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
}

.hero__text { text-align: center; }

.kicker {
  margin: 0 0 1rem;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: .18em;
}

.kicker::before {
  content: "";
  display: inline-block;
  width: 34px;
  height: 3px;
  background: #000;
  vertical-align: .32em;
  margin-right: 10px;
}

.hero h1 { margin: 0 0 .6rem; }

.lede {
  margin: 0 auto;
  max-width: 34ch;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #000;
}

/* ---------- 侧栏 ---------- */
.aside {
  grid-column: 1;
  grid-row: 2;
  position: sticky;
  top: 96px;
  padding-bottom: 40px;
}

.aside__box {
  border-right: 1px solid #000;
  padding-right: clamp(12px, 1.6vw, 22px);
}

.aside h2 {
  font-size: 1.05rem;
  letter-spacing: .22em;
  margin: 0 0 .35rem;
}

.aside hr { border-top: 3px solid #000; margin: 0 0 1rem; }

.toc {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: toc;
}

.toc li { counter-increment: toc; margin-bottom: 8px; }

.toc a {
  display: block;
  padding: 10px 14px;
  font-size: 1rem;
  line-height: 1.4;
  text-decoration: none;
  border: 1px solid #000;
  border-radius: 28px;
  transition: background .18s ease, color .18s ease;
}

.toc a::before {
  content: counter(toc, decimal-leading-zero);
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: .7em;
  font-weight: 500;
  margin-right: 6px;
  vertical-align: .12em;
}

.toc a:hover { background: #000; color: #fff; }

.totop {
  display: inline-block;
  margin-top: 14px;
  padding: 11px 4px;
  font-size: 1rem;
  text-decoration: underline;
  text-underline-offset: 5px;
}

/* ---------- 正文 ---------- */
.body {
  grid-column: 2;
  grid-row: 2;
  min-width: 0;
  padding-bottom: 60px;
}

.entry { max-width: 74ch; }

.entry > article { scroll-margin-top: 108px; }

.entry > article + article {
  margin-top: 3rem;
  padding-top: 2.2rem;
  border-top: 1px solid #000;
}

.entry h2 { margin: 2.4rem 0 .1rem; }
.entry h2 + hr { margin: .7rem 0 1.4rem; }
.entry h3 { margin: 2rem 0 .5rem; }

.entry p { margin: 0 0 1.15em; }

.entry > article > p:first-of-type::first-letter {
  float: left;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 3.3em;
  font-weight: 700;
  line-height: .84;
  padding: .04em .12em 0 0;
}

.entry ul, .entry ol { margin: 0 0 1.2em; padding-left: 1.3em; }
.entry li { margin-bottom: .45em; }

.entry blockquote {
  margin: 2rem 0;
  padding: .3rem 0 .3rem 1.3rem;
  border-left: 6px solid #000;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 1.25em;
  line-height: 1.45;
  font-weight: 500;
}

.entry blockquote p:last-child { margin-bottom: 0; }

.entry figure { margin: 2rem 0; }
.entry figure img { border: 2px solid #000; border-radius: 28px; }

.entry figcaption {
  margin-top: .6rem;
  font-size: 1rem;
  letter-spacing: .04em;
  border-top: 1px solid #000;
  padding-top: .5rem;
}

.entry table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.4rem;
  font-size: 1rem;
}

.entry th, .entry td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid #000;
}

.entry th {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: .92em;
  letter-spacing: .1em;
  border-bottom: 3px solid #000;
}

.entry a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ---------- 页脚 ---------- */
.foot {
  background: #000;
  color: #fff;
  padding: clamp(22px, 3vw, 34px) clamp(12px, 3vw, 28px) 18px;
}

.foot a { color: #fff; }

.foot__row {
  max-width: 1360px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
}

.foot__brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: .2em;
  font-size: 1rem;
  text-decoration: none;
  white-space: nowrap;
}

.foot__brand .brand__mark { background: #fff; }

.foot__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2px;
}

.foot__nav a {
  display: inline-block;
  padding: 11px 9px;
  font-size: 1rem;
  line-height: 1.4;
  text-decoration: none;
}

.foot__nav a:hover { text-decoration: underline; text-underline-offset: 4px; }

.sub { display: flex; align-items: center; gap: 6px; }

.sub__in {
  width: 13ch;
  min-height: 44px;
  padding: 8px 14px;
  font: inherit;
  font-size: 1rem;
  color: #fff;
  background: transparent;
  border: 1px solid #fff;
  border-radius: 28px;
  min-width: 0;
}

.sub__in::placeholder { color: #fff; opacity: .75; }

.sub__btn {
  min-height: 44px;
  padding: 8px 16px;
  font: inherit;
  font-size: 1rem;
  font-weight: 500;
  color: #000;
  background: #fff;
  border: 1px solid #fff;
  border-radius: 28px;
  cursor: pointer;
  white-space: nowrap;
}

.foot__copy {
  margin: 16px auto 0;
  text-align: center;
  font-size: 1rem;
  letter-spacing: .06em;
}

/* ---------- 动效 ---------- */
html.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
}

html.js .reveal.in { opacity: 1; transform: none; }

html.js .hero__media.reveal { transform: translateY(0) scale(1.02); }
html.js .hero__media.reveal.in { transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- 宽屏正文分栏 ---------- */
@media (min-width: 1040px) {
  .entry > article > p {
    column-count: 2;
    column-gap: clamp(24px, 3vw, 46px);
    column-rule: 1px solid rgba(0, 0, 0, .16);
  }
  .entry > article > p:first-of-type { column-span: none; }
}

/* ---------- 窄屏 ---------- */
@media (max-width: 900px) {
  .mast__row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
  }

  .brand { order: 1; margin: 0 auto; }
  .mast__left { order: 2; flex: 1 1 100%; }
  .mast__right {
    order: 3;
    flex: 1 1 100%;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .nav ol { gap: 2px; }
  .nav a { padding: 10px 7px; font-size: 1rem; }
  .find { flex: 1 1 auto; justify-content: flex-end; }
  .find__in { width: 100%; max-width: 150px; min-height: 44px; }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    gap: 24px;
    padding: 24px 0 42px;
  }

  .hero__media { order: 2; aspect-ratio: 3 / 4; }
  .hero__text { order: 1; padding: 0 4px; }

  .wrap {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  .aside {
    grid-column: 1;
    grid-row: 3;
    position: static;
    padding-bottom: 0;
  }

  .aside__box {
    border-right: 0;
    border-top: 2px solid #000;
    padding: 18px 0 0;
  }

  .body { grid-column: 1; grid-row: 2; padding-bottom: 20px; }

  .entry { max-width: none; }
  .entry > article { scroll-margin-top: 150px; }

  .foot__row {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: 10px;
  }

  .foot__nav { justify-content: center; }
  .sub { width: 100%; max-width: 340px; }
  .sub__in { flex: 1 1 auto; }
}

@media (max-width: 420px) {
  body { font-size: 16px; }
  .nav a { padding: 10px 6px; }
  .find__in { max-width: 110px; }
}

button[aria-expanded]{min-width:44px;min-height:44px}
