:root {
  --news-detail-accent: #d93222;
  --news-detail-ink: #20262c;
  --news-detail-muted: #7a8289;
  --news-detail-line: #e7e9eb;
  --news-detail-surface: #f6f7f7;
  --news-detail-max: 1120px;
}

.news-detail,
.news-detail * {
  box-sizing: border-box;
}

.news-detail {
  overflow: hidden;
  background: #fff;
  color: var(--news-detail-ink);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", Arial, sans-serif;
}

.news-article {
  width: min(var(--news-detail-max), calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(64px, 7vw, 112px) 0 clamp(72px, 8vw, 128px);
}

.news-article__header {
  max-width: 920px;
  margin: 0 auto clamp(44px, 5vw, 72px);
  text-align: center;
}

.news-article__eyebrow {
  margin: 0 0 18px;
  color: var(--news-detail-accent);
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .24em;
  line-height: 1.4;
}

.news-article__header h1 {
  margin: 0;
  color: #1b2025;
  font-size: clamp(28px, 2.7vw, 42px);
  font-weight: 600;
  letter-spacing: -.025em;
  line-height: 1.4;
  text-wrap: balance;
}

.news-article__meta {
  display: flex;
  margin-top: 22px;
  align-items: center;
  justify-content: center;
  color: var(--news-detail-muted);
  font-family: Arial, sans-serif;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  letter-spacing: .04em;
  line-height: 1.5;
}

.news-article__meta::before,
.news-article__meta::after {
  width: 30px;
  height: 1px;
  margin: 0 14px;
  background: var(--news-detail-line);
  content: "";
}

.news-article__body {
  color: #3f474e;
  font-size: 17px;
  line-height: 2;
  overflow-wrap: break-word;
}

.news-article__body > :first-child {
  margin-top: 0 !important;
}

.news-article__body > :last-child {
  margin-bottom: 0 !important;
}

.news-article__body p {
  margin: 0 0 1.25em !important;
  padding: 0 !important;
  background: transparent !important;
  color: inherit !important;
  font-family: inherit !important;
  font-size: inherit !important;
  line-height: inherit !important;
  text-indent: 0 !important;
  text-align: justify;
  text-justify: inter-ideograph;
  text-wrap: pretty;
}

.news-article__body h2,
.news-article__body h3,
.news-article__body h4 {
  margin: 2.1em 0 .8em !important;
  padding: 0 !important;
  background: transparent !important;
  color: var(--news-detail-ink) !important;
  font-family: inherit !important;
  font-weight: 600 !important;
  line-height: 1.5 !important;
}

.news-article__body h2 { font-size: 25px !important; }
.news-article__body h3 { font-size: 21px !important; }
.news-article__body h4 { font-size: 18px !important; }

.news-article__body ul,
.news-article__body ol {
  margin: 1.2em 0;
  padding-left: 1.5em;
}

.news-article__body li {
  margin-bottom: .55em;
}

.news-article__body img {
  display: block;
  max-width: 100% !important;
  height: auto !important;
  margin: clamp(28px, 3.5vw, 48px) auto;
}

.news-article__body video,
.news-article__body iframe,
.news-article__body table {
  max-width: 100%;
}

.news-article__body a {
  color: var(--news-detail-accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.news-article__nav {
  display: grid;
  margin-top: clamp(64px, 7vw, 104px);
  padding-top: 28px;
  border-top: 1px solid var(--news-detail-line);
  align-items: center;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
}

.news-article__nav a {
  text-decoration: none;
}

.news-article__nav-link {
  display: flex;
  min-width: 0;
  color: var(--news-detail-ink);
  flex-direction: column;
  transition: color .22s ease, transform .22s ease;
}

.news-article__nav-link--next {
  align-items: flex-end;
  text-align: right;
}

.news-article__nav-label {
  margin-bottom: 7px;
  color: var(--news-detail-muted);
  font-size: 13px;
  line-height: 1.5;
}

.news-article__nav-label i {
  color: var(--news-detail-accent);
  font-style: normal;
}

.news-article__nav-link strong {
  overflow: hidden;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.news-article__nav-link[href="javascript:;"] {
  opacity: .42;
  pointer-events: none;
}

.news-article__back {
  display: inline-flex;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--news-detail-line);
  align-items: center;
  justify-content: center;
  color: #4b535a;
  font-size: 14px;
  line-height: 1;
  transition: border-color .22s ease, color .22s ease, background-color .22s ease;
}

.news-article__back span {
  margin-right: 7px;
  color: var(--news-detail-accent);
  font-size: 16px;
}

.news-article__nav-link:hover,
.news-article__nav-link:focus-visible {
  color: var(--news-detail-accent);
  transform: translateY(-2px);
}

.news-article__back:hover,
.news-article__back:focus-visible {
  border-color: var(--news-detail-accent);
  background: #fff8f7;
  color: var(--news-detail-accent);
}

.news-article__nav a:focus-visible,
.news-article__body a:focus-visible {
  outline: 2px solid rgba(217, 50, 34, .4);
  outline-offset: 4px;
}

@media (max-width: 768px) {
  .news-article {
    width: calc(100% - 32px);
    padding: 52px 0 76px;
  }

  .news-article__header {
    margin-bottom: 38px;
  }

  .news-article__eyebrow {
    margin-bottom: 12px;
    font-size: 10px;
  }

  .news-article__header h1 {
    font-size: clamp(24px, 7vw, 32px);
    letter-spacing: -.015em;
    line-height: 1.45;
  }

  .news-article__meta {
    margin-top: 17px;
    font-size: 12px;
  }

  .news-article__body {
    font-size: 16px;
    line-height: 1.9;
  }

  .news-article__body p {
    margin-bottom: 1.1em;
    text-align: left;
  }

  .news-article__body h2 { font-size: 22px !important; }
  .news-article__body h3 { font-size: 19px !important; }

  .news-article__nav {
    margin-top: 58px;
    padding-top: 22px;
    gap: 18px;
    grid-template-columns: 1fr 1fr;
  }

  .news-article__back {
    min-height: 44px;
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

@media (max-width: 480px) {
  .news-article__nav {
    gap: 14px;
  }

  .news-article__nav-link strong {
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .news-article__nav-link,
  .news-article__back {
    transition: none;
  }
}
