/* ==========================================================================
   资讯动态 · News
   --------------------------------------------------------------------------
   1) 列表页 news.html：左侧文章流（按日期倒序）+ 右侧栏
   2) 文章页 news/xxx.html：正文排版（中英双语块）
   3) 依赖 site.css 的设计变量，不重复定义品牌色
   ========================================================================== */

/* ---------- 0. 中英双语块（共用） ---------- */
[data-lang-block] {
  display: none;
}

html[lang="zh-CN"] [data-lang-block="zh-CN"],
html[lang="en"] [data-lang-block="en"] {
  display: block;
}

html[lang="zh-CN"] [data-lang-block="zh-CN"][data-inline],
html[lang="en"] [data-lang-block="en"][data-inline] {
  display: inline;
}

html[lang="zh-CN"] [data-lang-block="zh-CN"][data-flex],
html[lang="en"] [data-lang-block="en"][data-flex] {
  display: flex;
}

/* ==========================================================================
   1. 列表页
   ========================================================================== */

.news-lead {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}

.news-lead__k {
  font-family: var(--latin);
  font-size: 11px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold-dk);
}

.news-lead__t {
  font-family: var(--serif);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ink);
  margin-top: 8px;
}

.news-lead__r {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

/* 分类筛选 */
.nfilter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.nfilter__b {
  appearance: none;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-3);
  font-size: 13.5px;
  letter-spacing: 0.06em;
  padding: 8px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.3s, border-color 0.3s, background 0.3s;
}

.nfilter__b:hover {
  color: var(--red);
  border-color: rgba(164, 0, 0, 0.3);
}

.nfilter__b.is-on {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.nfilter__b i {
  font-family: var(--latin);
  font-style: normal;
  font-size: 11px;
  opacity: 0.6;
  margin-left: 5px;
}

.news-count {
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-4);
}

.news-count b {
  font-family: var(--latin);
  font-size: 20px;
  font-weight: 500;
  color: var(--gold-dk);
  margin-right: 4px;
  vertical-align: -1px;
}

/* 主体两栏 */
.news-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
  margin-top: 10px;
}

.nlist {
  display: flex;
  flex-direction: column;
}

.nyear {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 38px 0 6px;
  font-family: var(--latin);
  font-size: 13px;
  letter-spacing: 0.34em;
  color: var(--gold-dk);
}

.nyear::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

/* 文章卡片 */
.ncard {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) 216px;
  gap: 26px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: background 0.4s;
}

.ncard:hover {
  background: linear-gradient(90deg, rgba(212, 168, 83, 0.05), transparent 72%);
}

.ncard__date {
  padding-top: 2px;
  border-left: 2px solid var(--line);
  padding-left: 16px;
  transition: border-color 0.4s;
}

.ncard:hover .ncard__date {
  border-left-color: var(--red);
}

.ncard__date b {
  display: block;
  font-family: var(--latin);
  font-size: 36px;
  font-weight: 500;
  line-height: 1;
  color: var(--ink);
  letter-spacing: 0.02em;
}

.ncard__date span {
  display: block;
  margin-top: 7px;
  font-family: var(--latin);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  color: var(--ink-4);
  text-transform: uppercase;
}

.ncard__cat {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11.5px;
  letter-spacing: 0.16em;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.ncard__cat::before {
  content: "";
  width: 14px;
  height: 1px;
  background: var(--gold);
}

.ncard__t {
  font-family: var(--serif);
  font-size: clamp(18px, 1.7vw, 22px);
  font-weight: 600;
  line-height: 1.55;
  color: var(--ink);
  letter-spacing: 0.02em;
  transition: color 0.3s;
}

.ncard:hover .ncard__t {
  color: var(--red);
}

.ncard__d {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.85;
  color: var(--ink-3);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ncard__m {
  margin-top: 14px;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--ink-4);
  display: flex;
  align-items: center;
  gap: 12px;
}

.ncard__m i {
  font-style: normal;
  color: var(--gold-dk);
}

.ncard__img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--cream-2);
}

.ncard__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}

.ncard:hover .ncard__img img {
  transform: scale(1.05);
}

.ncard__img::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(20, 16, 15, 0.06);
  pointer-events: none;
}

/* 加载更多 */
.nmore {
  display: flex;
  justify-content: center;
  padding: 44px 0 8px;
}

.nmore__b {
  appearance: none;
  border: 1px solid var(--line-gold);
  background: transparent;
  color: var(--gold-dk);
  font-size: 13px;
  letter-spacing: 0.2em;
  padding: 14px 34px;
  cursor: pointer;
  transition: 0.35s var(--ease);
}

.nmore__b:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

/* 空 / 载入 / 出错 */
.nstate {
  padding: 70px 0;
  text-align: center;
  color: var(--ink-4);
  font-size: 14px;
  letter-spacing: 0.06em;
}

.nstate b {
  display: block;
  font-family: var(--serif);
  font-size: 20px;
  color: var(--ink-2);
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  font-weight: 600;
}

.nstate::before {
  content: "";
  display: block;
  width: 42px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 20px;
}

.nstate--err::before {
  background: var(--red);
}

.nstate a {
  color: var(--red);
  border-bottom: 1px solid rgba(164, 0, 0, 0.3);
}

/* 骨架屏 */
.nskel {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) 216px;
  gap: 26px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
  animation: nPulse 1.6s ease-in-out infinite;
}

.nskel i {
  display: block;
  background: var(--cream-2);
  height: 16px;
}

.nskel i:nth-child(1) {
  height: 40px;
  width: 60px;
}

.nskel i:nth-child(3) {
  height: 162px;
}

@keyframes nPulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.45;
  }
}

/* 侧栏 */
.nside {
  position: sticky;
  top: 108px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.nside__box {
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 26px 24px;
}

.nside__t {
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: 0.16em;
  color: var(--ink);
  padding-bottom: 14px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

html[lang="en"] .nside__t em {
  display: none;
}

.nside__t em {
  font-family: var(--latin);
  font-style: normal;
  font-size: 10.5px;
  letter-spacing: 0.22em;
  color: var(--gold-dk);
  text-transform: uppercase;
}

.nside__list li {
  padding: 15px 0;
  border-bottom: 1px dashed var(--line);
}

.nside__list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.nside__list a {
  display: block;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-2);
  transition: color 0.3s;
}

.nside__list a:hover {
  color: var(--red);
}

.nside__list time {
  display: block;
  font-family: var(--latin);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--ink-4);
  margin-bottom: 4px;
}

.nside__cta {
  background: linear-gradient(160deg, var(--red-deep), var(--red));
  color: #fff;
  padding: 30px 24px;
  position: relative;
  overflow: hidden;
}

.nside__cta::after {
  content: "1956";
  position: absolute;
  right: -8px;
  bottom: -26px;
  font-family: var(--latin);
  font-size: 84px;
  color: rgba(255, 255, 255, 0.07);
  letter-spacing: 0.02em;
  pointer-events: none;
}

.nside__cta p {
  font-family: var(--serif);
  font-size: 17px;
  letter-spacing: 0.08em;
  line-height: 1.7;
}

.nside__cta span {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.68);
}

.nside__cta a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--gold-lt);
  border-bottom: 1px solid rgba(232, 206, 147, 0.35);
  padding-bottom: 2px;
}

.nside__cta a b {
  font-family: var(--latin);
  font-weight: 500;
  letter-spacing: 0.04em;
}

.nside__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 4px;
}

.nside__tags span {
  font-size: 12px;
  color: var(--ink-3);
  border: 1px solid var(--line);
  padding: 5px 10px;
}

/* ==========================================================================
   2. 文章页
   ========================================================================== */

/* 文章首屏 */
.art-hero {
  position: relative;
  background: var(--night);
  overflow: hidden;
  padding-block: clamp(52px, 6.4vw, 88px) clamp(40px, 4.6vw, 60px);
}

.art-hero__bg {
  position: absolute;
  inset: 0;
}

.art-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.26;
  filter: saturate(0.82);
  transform: scale(1.04);
}

.art-hero__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(18, 13, 12, 0.94) 0%,
    rgba(42, 11, 9, 0.8) 52%,
    rgba(18, 13, 12, 0.97) 100%
  );
}

.art-hero__in {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.art-hero .art-crumb {
  color: rgba(255, 255, 255, 0.42);
  margin-bottom: 22px;
}

.art-hero .art-crumb a:hover {
  color: var(--gold-lt);
}

.art-hero .art-cat {
  color: var(--gold-lt);
}

.art-hero .art-title {
  color: #fff;
}

.art-hero .art-title-en {
  color: rgba(255, 255, 255, 0.6);
}

.art-hero .art-meta {
  border-top-color: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.42);
}

.art-hero .art-meta b {
  color: rgba(255, 255, 255, 0.82);
}

.art-hero .art-meta i {
  color: var(--gold-lt);
}

.art {
  padding-block: clamp(44px, 5vw, 72px) clamp(60px, 7vw, 100px);
}

.art__wrap {
  max-width: 860px;
  margin: 0 auto;
}

.art-crumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: var(--ink-4);
  margin-bottom: 26px;
}

.art-crumb a:hover {
  color: var(--red);
}

.art-crumb span {
  opacity: 0.5;
}

.art-cat {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
}

.art-cat::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--gold);
}

.art-title {
  font-family: var(--serif);
  font-size: clamp(26px, 3.4vw, 42px);
  line-height: 1.45;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--ink);
}

.art-title-en {
  margin-top: 14px;
  font-family: var(--latin);
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.6;
  letter-spacing: 0.04em;
  color: var(--ink-3);
  font-weight: 400;
}

.art-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: var(--ink-4);
}

.art-meta b {
  color: var(--ink-2);
  font-weight: 500;
}

.art-meta i {
  font-style: normal;
  color: var(--gold-dk);
}

.art-cover {
  margin-top: 34px;
  border: 1px solid var(--line);
  background: var(--cream);
}

.art-cover img {
  width: 100%;
  height: auto;
}

.art-cover figcaption {
  padding: 10px 16px;
  font-size: 12px;
  color: var(--ink-4);
  letter-spacing: 0.04em;
  border-top: 1px solid var(--line);
}

/* 正文排版 */
.art-body {
  margin-top: 40px;
  font-size: 17px;
  line-height: 2.05;
  color: #2f2a27;
  letter-spacing: 0.015em;
}

.art-body > p {
  margin: 0 0 1.5em;
}

.art-body > p:first-of-type {
  font-size: 17.5px;
}

.art-body p.lead {
  padding: 22px 26px;
  background: var(--cream);
  border-left: 3px solid var(--red);
  font-size: 16.5px;
  line-height: 2;
  color: var(--ink-2);
  margin-bottom: 1.9em;
}

.art-body h2 {
  font-family: var(--serif);
  font-size: clamp(21px, 2.2vw, 26px);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink);
  margin: 2.1em 0 0.85em;
  padding-left: 16px;
  border-left: 3px solid var(--red);
  line-height: 1.5;
}

.art-body h3 {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  color: var(--ink);
  margin: 1.8em 0 0.7em;
  letter-spacing: 0.03em;
}

.art-body h2:first-child,
.art-body h3:first-child {
  margin-top: 0;
}

.art-body strong,
.art-body b {
  color: var(--ink);
  font-weight: 600;
}

.art-body em {
  font-style: normal;
  color: var(--red);
}

.art-body a {
  color: var(--red);
  border-bottom: 1px solid rgba(164, 0, 0, 0.28);
  transition: border-color 0.3s;
}

.art-body a:hover {
  border-bottom-color: var(--red);
}

.art-body ul,
.art-body ol {
  margin: 0 0 1.5em;
  padding-left: 1.5em;
}

.art-body ul {
  list-style: none;
  padding-left: 1.2em;
}

.art-body ul > li {
  position: relative;
  margin-bottom: 0.6em;
}

.art-body ul > li::before {
  content: "";
  position: absolute;
  left: -1.1em;
  top: 0.9em;
  width: 5px;
  height: 5px;
  background: var(--gold);
  transform: rotate(45deg);
}

.art-body ol {
  list-style: decimal;
}

.art-body ol > li {
  margin-bottom: 0.6em;
  padding-left: 0.2em;
}

.art-body ol > li::marker {
  color: var(--gold-dk);
  font-family: var(--latin);
}

.art-body blockquote {
  margin: 1.9em 0;
  padding: 20px 26px;
  background: var(--cream);
  border-left: 3px solid var(--gold);
  color: var(--ink-2);
  font-family: var(--serif);
  font-size: 16.5px;
  line-height: 1.95;
}

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

.art-body figure {
  margin: 2.2em 0;
}

.art-body figure img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 660px;
  height: auto;
  margin-inline: auto;
  border: 1px solid var(--line);
}

.art-body figcaption {
  margin-top: 10px;
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--ink-4);
  text-align: center;
  letter-spacing: 0.03em;
}

.art-body hr {
  border: 0;
  height: 1px;
  background: var(--line);
  margin: 2.6em 0;
}

.art-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.8em 0;
  font-size: 15px;
}

.art-body th,
.art-body td {
  border: 1px solid var(--line);
  padding: 10px 12px;
  text-align: left;
}

.art-body th {
  background: var(--cream);
  font-weight: 600;
  color: var(--ink);
}

/* 英文正文 */
.art-body[data-lang-block="en"] {
  font-size: 16.5px;
  line-height: 1.95;
  letter-spacing: 0.005em;
}

.art-body[data-lang-block="en"] > p:first-of-type {
  font-size: 17px;
}

.art-body[data-lang-block="en"] h2 {
  font-family: var(--serif);
  letter-spacing: 0.01em;
}

.art-foot {
  margin-top: 54px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.art-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  letter-spacing: 0.1em;
  color: var(--ink-2);
  transition: color 0.3s;
}

.art-back:hover {
  color: var(--red);
}

.art-back i {
  font-style: normal;
  color: var(--gold-dk);
}

.art-share {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--ink-4);
}

/* 上下篇 */
.art-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 46px;
}

.art-nav:empty {
  display: none;
}

.art-nav.is-single {
  grid-template-columns: 1fr;
}

.art-nav a {
  background: var(--paper);
  padding: 22px 24px;
  transition: background 0.35s;
}

.art-nav a:hover {
  background: var(--cream);
}

.art-nav small {
  display: block;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--gold-dk);
  text-transform: uppercase;
  margin-bottom: 7px;
}

.art-nav b {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.art-nav .is-next {
  text-align: right;
}

/* 文章页咨询条 */
.art-cta {
  margin-top: 56px;
  padding: 38px 40px;
  background: linear-gradient(150deg, var(--red-deep), var(--red));
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
  overflow: hidden;
}

.art-cta::before {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 240px;
  height: 240px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
}

.art-cta h2 {
  font-family: var(--serif);
  font-size: clamp(19px, 2vw, 24px);
  font-weight: 600;
  letter-spacing: 0.06em;
}

.art-cta p {
  margin-top: 8px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.66);
  line-height: 1.8;
}

.art-cta .btn {
  border-color: rgba(232, 206, 147, 0.5);
  color: var(--gold-lt);
  flex: none;
}

.art-cta .btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #2a0b09;
}

/* ==========================================================================
   3. 响应式
   ========================================================================== */

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

  .nside {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}

@media (max-width: 860px) {
  .ncard,
  .nskel {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 20px;
  }

  .ncard__img,
  .nskel i:nth-child(3) {
    display: none;
  }

  .ncard__date b {
    font-size: 30px;
  }

  .nside {
    grid-template-columns: 1fr;
  }

  .art-cta {
    padding: 30px 26px;
  }

  .art-nav {
    grid-template-columns: 1fr;
  }

  .art-nav .is-next {
    text-align: left;
  }
}

@media (max-width: 560px) {
  .news-lead {
    align-items: flex-start;
  }

  .ncard {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 24px 0;
  }

  .ncard__date {
    display: flex;
    align-items: baseline;
    gap: 10px;
    border-left: 0;
    padding-left: 0;
  }

  .ncard__date b {
    font-size: 22px;
  }

  .ncard__date span {
    margin-top: 0;
  }

  .art-body {
    font-size: 16px;
  }

  .art-body p.lead {
    padding: 18px 20px;
  }
}
