.page-news {
  --news-indent: clamp(20px, 4vw, 56px);
  --news-gold-dim: rgba(201, 169, 110, 0.22);
  --news-neon-glow: rgba(0, 212, 255, 0.5);
  --news-card-radius: 2px;
  background: linear-gradient(180deg, rgba(42, 26, 74, 0.4) 0%, transparent 300px);
  position: relative;
  overflow: hidden;
  color: var(--c-cream);
  font-family: var(--font-body);
}

.page-news::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 80%;
  height: 100%;
  background: repeating-linear-gradient(
    -45deg,
    rgba(107, 91, 149, 0.05) 0,
    rgba(107, 91, 149, 0.05) 1px,
    transparent 1px,
    transparent 12px
  );
  pointer-events: none;
  z-index: 0;
}

/* ===== 首屏刊头 ===== */
.news-masthead {
  position: relative;
  padding: clamp(32px, 6vw, 72px) var(--content-pad) clamp(28px, 4vw, 48px);
  border-bottom: 1px solid var(--c-gold-dim);
  background:
    linear-gradient(135deg, rgba(42, 26, 74, 0.85) 0%, rgba(15, 10, 31, 0.92) 55%, rgba(201, 169, 110, 0.1) 100%);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), 0 100%);
}

.news-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-purple-gray);
  margin-bottom: clamp(20px, 3vw, 36px);
}

.news-kicker-no {
  color: var(--c-gold);
  border: 1px solid var(--c-gold-dim);
  padding: 4px 10px;
  font-size: 11px;
}

.news-kicker-route {
  color: var(--c-neon);
}

.news-kicker-flourish {
  flex: 1;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--c-gold-dim) 0, var(--c-gold-dim) 6px, transparent 6px, transparent 12px);
}

.news-masthead-inner {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 4vw, 48px);
}

.news-masthead-copy {
  max-width: 840px;
}

.news-section-index {
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: 0.4em;
  color: var(--c-purple);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.news-masthead h1 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(34px, 5.6vw, 64px);
  line-height: 1.08;
  margin: 0 0 16px;
  color: var(--c-cream);
  text-shadow: 0 2px 2px rgba(0, 0, 0, 0.5);
}

.news-lead {
  font-size: clamp(14px, 1.4vw, 16px);
  line-height: 1.8;
  color: var(--c-purple-gray);
  max-width: 640px;
}

.news-masthead-ribbon {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--c-gold-dim);
  background: var(--c-gold-soft);
  max-width: 520px;
}

.news-ribbon-data {
  padding: 14px 18px;
  border-right: 1px solid var(--c-gold-dim);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.news-ribbon-data:last-child {
  border-right: none;
}

.news-data-key {
  font-family: var(--font-data);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--c-purple-gray);
}

.news-data-value {
  font-family: var(--font-data);
  font-size: clamp(13px, 1.4vw, 15px);
  color: var(--c-gold);
  white-space: nowrap;
}

/* ===== 主体布局 ===== */
.news-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 3vw, 40px);
  padding: clamp(24px, 4vw, 56px) var(--content-pad) 72px;
}

/* ===== 侧栏 ===== */
.news-side-col {
  display: flex;
  flex-direction: column;
  gap: 28px;
  order: 2;
}

.news-toc,
.news-side-contact {
  border: 1px solid var(--c-gold-dim);
  background: rgba(42, 26, 74, 0.66);
  padding: 20px;
  position: relative;
}

.news-toc::before,
.news-side-contact::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 34px;
  height: 2px;
  background: var(--c-gold);
}

.news-col-label {
  font-family: var(--font-data);
  font-size: 11px;
  letter-spacing: 0.28em;
  color: var(--c-gold);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.news-toc-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(201, 169, 110, 0.1);
  color: var(--c-cream);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease, padding-left 0.3s ease;
}

.news-toc-link:last-child {
  border-bottom: none;
}

.news-toc-link:hover,
.news-toc-link.is-active {
  color: var(--c-neon);
  padding-left: 6px;
}

.news-toc-index {
  font-family: var(--font-data);
  font-size: 11px;
  color: var(--c-purple);
}

.news-side-contact {
  background:
    linear-gradient(160deg, rgba(42, 26, 74, 0.9) 0%, rgba(15, 10, 31, 0.95) 100%);
}

.news-side-contact-title {
  font-family: var(--font-head);
  font-size: 20px;
  margin: 0 0 10px;
  color: var(--c-cream);
}

.news-side-contact-copy {
  font-size: 13px;
  line-height: 1.75;
  color: var(--c-purple-gray);
  margin-bottom: 16px;
}

.news-side-figure {
  margin: 0;
  border: 1px solid var(--c-gold-dim);
  position: relative;
  overflow: hidden;
}

.news-side-figure img {
  width: 100%;
  height: auto;
  display: block;
  filter: saturate(1.4) contrast(1.1);
}

.news-side-figure figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px 12px;
  background: rgba(15, 10, 31, 0.78);
  font-family: var(--font-data);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--c-gold);
  backdrop-filter: blur(4px);
}

/* ===== 主内容列 ===== */
.news-main-col {
  order: 1;
  min-width: 0;
}

.news-section {
  margin-bottom: clamp(40px, 5vw, 72px);
  scroll-margin-top: 80px;
}

.news-sec-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--c-gold-dim);
  padding-bottom: 14px;
}

.news-sec-no {
  font-family: var(--font-data);
  font-size: 12px;
  color: var(--c-purple);
  border: 1px solid var(--c-purple-dim);
  padding: 3px 8px;
}

.news-sec-head h2 {
  font-family: var(--font-head);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 600;
  color: var(--c-cream);
  margin: 0;
  letter-spacing: 0.02em;
}

.news-sec-tag {
  margin-left: auto;
  font-family: var(--font-data);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--c-neon);
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.2);
  padding: 4px 10px;
}

/* ===== 瀑布流卡片网格 ===== */
.news-masonry-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}

.news-card {
  border: 1px solid rgba(201, 169, 110, 0.24);
  background:
    linear-gradient(150deg, rgba(42, 26, 74, 0.9) 0%, rgba(26, 16, 48, 0.96) 100%);
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.35s ease, transform 0.35s ease, border-color 0.35s ease;
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
}

.news-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--c-gold) 0%, var(--c-neon) 100%);
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 2;
}

.news-card:hover {
  border-color: rgba(0, 212, 255, 0.45);
  box-shadow: 0 0 24px rgba(0, 212, 255, 0.1), 0 12px 32px rgba(0, 0, 0, 0.4);
  transform: translateY(-2px);
}

.news-card:hover::before {
  opacity: 1;
}

.news-card-media {
  margin: 0;
  position: relative;
  overflow: hidden;
}

.news-card-media img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s ease;
  object-fit: cover;
}

.news-card:hover .news-card-media img {
  transform: scale(1.03);
}

.news-card-body {
  padding: 20px 20px 24px;
}

.news-card-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.news-card-id {
  font-family: var(--font-data);
  font-size: 12px;
  color: var(--c-neon);
  letter-spacing: 0.08em;
}

.news-card-title {
  font-family: var(--font-head);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.35;
  color: var(--c-cream);
  margin: 0 0 10px;
  font-weight: 600;
}

.news-card-excerpt {
  font-size: 14px;
  line-height: 1.75;
  color: var(--c-purple-gray);
  margin: 0 0 16px;
}

.news-card-details {
  border-top: 1px dashed rgba(201, 169, 110, 0.24);
  padding-top: 12px;
}

.news-card-details summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  color: var(--c-gold);
  transition: color 0.3s ease;
  list-style: none;
}

.news-card-details summary::-webkit-details-marker {
  display: none;
}

.news-card-details summary::before {
  content: "＋";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border: 1px solid var(--c-gold-dim);
  font-family: var(--font-data);
  font-size: 12px;
  transition: transform 0.3s ease, background 0.3s ease;
}

.news-card-details[open] summary::before {
  content: "－";
  transform: rotate(180deg);
  background: var(--c-gold);
  color: var(--c-bg);
}

.news-card-full {
  padding: 16px 0 6px;
  font-size: 14px;
  line-height: 1.85;
  color: var(--c-purple-gray);
  border-top: 1px solid rgba(201, 169, 110, 0.1);
  margin-top: 10px;
}

.news-card-full ul,
.news-card-full ol {
  padding-left: 20px;
  margin: 10px 0;
}

.news-card-full li {
  margin-bottom: 8px;
}

.news-card-full a {
  color: var(--c-neon);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 212, 255, 0.3);
  transition: border-color 0.3s ease;
}

.news-card-full a:hover {
  border-bottom-color: var(--c-neon);
}

/* 特色卡更大 */
.news-card-feature .news-card-title {
  font-size: clamp(20px, 2.4vw, 28px);
}

.news-card-feature .news-card-excerpt {
  font-size: 15px;
}

/* 活动卡与用户卡右侧装饰线 */
.news-card-activity::after,
.news-card-user::after {
  content: "";
  position: absolute;
  top: 24px;
  right: -30px;
  width: 90px;
  height: 90px;
  border: 1px solid rgba(201, 169, 110, 0.14);
  transform: rotate(45deg);
  pointer-events: none;
}

/* ===== 标签 ===== */
.news-tags-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 4px 0;
}

.news-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}

.news-tag:hover {
  transform: translateY(-2px) rotate(-0.5deg);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.news-tag-icon {
  font-size: 12px;
}

.news-tag-gold {
  color: var(--c-gold);
  background: var(--c-gold-soft);
  border-color: var(--c-gold-dim);
}

.news-tag-gold:hover {
  box-shadow: 0 0 18px rgba(201, 169, 110, 0.18);
}

.news-tag-neon {
  color: var(--c-neon);
  background: rgba(0, 212, 255, 0.07);
  border-color: rgba(0, 212, 255, 0.28);
}

.news-tag-neon:hover {
  box-shadow: 0 0 18px rgba(0, 212, 255, 0.18);
}

.news-tag-purple {
  color: var(--c-purple-gray);
  background: rgba(107, 91, 149, 0.14);
  border-color: rgba(107, 91, 149, 0.35);
}

.news-tag-purple:hover {
  color: var(--c-cream);
  box-shadow: 0 0 18px rgba(107, 91, 149, 0.2);
}

/* ===== 专题系列 ===== */
.news-focus-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.news-focus-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  border: 1px solid rgba(201, 169, 110, 0.28);
  background:
    linear-gradient(135deg, rgba(42, 26, 74, 0.85) 0%, rgba(15, 10, 31, 0.95) 100%);
  padding: 24px;
  position: relative;
  overflow: hidden;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
  transition: border-color 0.35s ease, box-shadow 0.35s ease;
}

.news-focus-card:hover {
  border-color: rgba(0, 212, 255, 0.4);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.08);
}

.news-focus-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 700;
  color: var(--c-gold);
  border: 1px solid var(--c-gold-dim);
  background: var(--c-gold-soft);
  transform: rotate(-4deg);
  position: relative;
  z-index: 1;
}

.news-focus-q3 .news-focus-mark {
  color: var(--c-neon);
  border-color: rgba(0, 212, 255, 0.3);
  background: rgba(0, 212, 255, 0.08);
}

.news-focus-user .news-focus-mark {
  color: var(--c-cream);
  border-color: var(--c-purple-dim);
  background: rgba(107, 91, 149, 0.2);
}

.news-focus-label {
  font-family: var(--font-data);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-purple);
  display: block;
  margin-bottom: 6px;
}

.news-focus-body h3 {
  font-family: var(--font-head);
  font-size: clamp(18px, 2vw, 24px);
  color: var(--c-cream);
  margin: 0 0 10px;
  line-height: 1.35;
}

.news-focus-body p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--c-purple-gray);
  margin: 0 0 18px;
}

/* ===== 桌面端断点 ===== */
@media (min-width: 768px) {
  .news-layout {
    grid-template-columns: 260px 1fr;
    gap: clamp(28px, 4vw, 56px);
  }

  .news-side-col {
    order: 1;
    position: sticky;
    top: 96px;
    align-self: start;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
  }

  .news-main-col {
    order: 2;
  }

  .news-masthead-inner {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }

  .news-masthead-ribbon {
    flex-shrink: 0;
  }

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

  .news-card-feature {
    grid-column: span 3;
  }

  .news-card-compact {
    grid-column: span 3;
  }

  .news-card-feature:first-child {
    grid-column: span 4;
  }

  .news-card-feature:first-child + .news-card-compact {
    grid-column: span 2;
  }

  .news-card-feature:nth-child(3) {
    grid-column: span 2;
  }

  .news-card-compact:nth-child(4) {
    grid-column: span 4;
  }

  .news-card-compact:nth-child(5) {
    grid-column: span 6;
  }

  .news-card-compact:nth-child(5) .news-card-body {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 24px;
    align-items: center;
  }

  .news-card-compact:nth-child(5) .news-card-excerpt {
    margin-bottom: 0;
  }

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

  .news-focus-card {
    flex-direction: column;
    gap: 16px;
  }
}

@media (min-width: 1200px) {
  .news-layout {
    grid-template-columns: 300px 1fr;
  }

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

  .news-card-feature:first-child {
    grid-column: span 4;
  }

  .news-card-feature:first-child + .news-card-compact {
    grid-column: span 2;
  }

  .news-card-body {
    padding: 24px 26px 28px;
  }
}
