/* 壬发传媒 · 官网活动公告静态层 v1
   依赖 /showcase-assets/showcases-v2.css 的官方变量与页头样式。
   仅承载活动公告列表页与详情页，不修改主站与其它展示页。 */

:root {
  --news-shell: min(1160px, calc(100% - clamp(32px, 5vw, 112px)));
  --news-panel: #0f1722;
  --news-panel-2: #131e2c;
  --news-text: #dde5ef;
  --news-gold: #dca845;
}

body.news-page {
  padding-top: 72px;
}

.news-page .site-header {
  background: rgba(8, 13, 19, 0.92);
}

.news-shell {
  width: var(--news-shell);
  margin-inline: auto;
}

/* ---------- 页头 ---------- */

.news-head {
  position: relative;
  padding: clamp(40px, 6vw, 76px) 0 clamp(28px, 4vw, 44px);
  background:
    radial-gradient(120% 140% at 12% -20%, rgba(114, 168, 255, 0.14), transparent 62%),
    linear-gradient(180deg, #0b131d 0%, #080d13 100%);
  border-bottom: 1px solid var(--showcase-line);
}

.news-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 22px;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--showcase-muted);
}

.news-crumbs a:hover {
  color: var(--showcase-white);
}

.news-crumbs span[aria-hidden] {
  opacity: 0.45;
}

.news-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  padding: 7px 14px;
  border: 1px solid rgba(114, 168, 255, 0.32);
  border-radius: 999px;
  background: rgba(114, 168, 255, 0.08);
  color: var(--showcase-blue);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.news-kicker::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--showcase-blue);
}

.news-head h1 {
  margin: 0 0 20px;
  max-width: 20em;
  font-size: clamp(29px, 4.1vw, 50px);
  font-weight: 700;
  line-height: 1.24;
  letter-spacing: -0.01em;
  color: var(--showcase-white);
  text-wrap: balance;
}

.news-standfirst {
  margin: 0 0 30px;
  max-width: 62ch;
  font-size: clamp(15.5px, 1.35vw, 18px);
  line-height: 1.78;
  color: #b9c4d2;
}

.news-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(178px, 1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--showcase-line);
  border-radius: 16px;
  background: var(--showcase-line);
  overflow: hidden;
}

.news-facts li {
  padding: 18px 20px 20px;
  background: #0c141e;
}

.news-facts span {
  display: block;
  margin-bottom: 9px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: #7f8b9c;
}

.news-facts strong {
  display: block;
  font-size: 16.5px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--showcase-white);
}

.news-facts em {
  display: block;
  margin-top: 4px;
  font-size: 12.5px;
  font-style: normal;
  color: var(--showcase-muted);
}

/* ---------- 主图与正文 ---------- */

.news-hero {
  margin: 0;
  padding: clamp(28px, 4vw, 48px) 0 0;
  background: #080d13;
}

.news-hero .news-shell {
  display: block;
}

.news-hero-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--showcase-line);
  background: var(--news-panel);
}

.news-hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.news-hero figcaption {
  margin-top: 14px;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--showcase-muted);
}

.news-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 306px;
  gap: clamp(32px, 4.6vw, 68px);
  align-items: start;
  padding: clamp(44px, 5.4vw, 74px) 0 clamp(56px, 6vw, 92px);
}

.news-content {
  min-width: 0;
  font-size: 16.8px;
  line-height: 1.92;
  color: var(--news-text);
}

.news-content > section + section {
  margin-top: clamp(40px, 4.4vw, 62px);
}

.news-content h2 {
  position: relative;
  margin: 0 0 20px;
  padding-left: 18px;
  font-size: clamp(21px, 2.1vw, 26px);
  font-weight: 700;
  line-height: 1.4;
  color: var(--showcase-white);
}

.news-content h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.22em;
  width: 4px;
  height: 1.05em;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--showcase-blue), rgba(114, 168, 255, 0.25));
}

.news-content h3 {
  margin: 30px 0 12px;
  font-size: 17.5px;
  font-weight: 650;
  color: var(--showcase-white);
}

.news-content p {
  margin: 0 0 18px;
}

.news-content strong {
  color: var(--showcase-white);
  font-weight: 650;
}

.news-content ul,
.news-content ol {
  margin: 0 0 20px;
  padding-left: 1.35em;
}

.news-content li {
  margin-bottom: 10px;
}

.news-content li::marker {
  color: var(--showcase-blue);
}

/* 数据表 */

.news-table-wrap {
  margin: 0 0 24px;
  border: 1px solid var(--showcase-line);
  border-radius: 14px;
  overflow: hidden;
}

.news-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15.4px;
}

.news-table th,
.news-table td {
  padding: 14px 18px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(129, 157, 190, 0.14);
}

.news-table thead th {
  background: #0d1620;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #8c99ab;
}

.news-table tbody tr:last-child td {
  border-bottom: 0;
}

.news-table tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.014);
}

.news-table td:first-child {
  width: 24%;
  min-width: 108px;
  color: var(--showcase-white);
  font-weight: 600;
}

/* 时间轴 */

.news-timeline {
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
  border-left: 2px solid rgba(114, 168, 255, 0.26);
}

.news-timeline li {
  position: relative;
  margin: 0 0 22px;
  padding: 0 0 0 26px;
}

.news-timeline li:last-child {
  margin-bottom: 0;
}

.news-timeline li::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 0.62em;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #0b131d;
  border: 2.5px solid var(--showcase-blue);
}

.news-timeline b {
  display: inline-block;
  min-width: 8.4em;
  margin-right: 12px;
  color: var(--showcase-white);
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}

.news-timeline span {
  color: var(--news-text);
}

/* 正文插图 */

.news-figure {
  margin: 30px 0 34px;
}

.news-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid var(--showcase-line);
  background: var(--news-panel);
}

.news-figure figcaption {
  margin-top: 12px;
  padding-left: 14px;
  border-left: 2px solid rgba(114, 168, 255, 0.34);
  font-size: 13.4px;
  line-height: 1.7;
  color: var(--showcase-muted);
}

.news-figure-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(268px, 1fr));
  gap: 20px;
  margin: 30px 0 34px;
}

/* 竖版现场图：限宽居中，避免在正文里过度占高 */
.news-figure-portrait {
  text-align: center;
}

.news-figure-portrait img {
  max-width: min(460px, 100%);
  margin-inline: auto;
}

.news-figure-portrait figcaption {
  max-width: 620px;
  margin-inline: auto;
  text-align: left;
}

.news-figure-grid .news-figure {
  margin: 0;
}

.news-figure-grid img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* 难点卡片 */

.news-points {
  display: grid;
  gap: 14px;
  margin: 0 0 8px;
  padding: 0;
  list-style: none;
  counter-reset: np;
}

.news-points li {
  position: relative;
  margin: 0;
  padding: 20px 22px 20px 60px;
  border: 1px solid var(--showcase-line);
  border-radius: 14px;
  background: linear-gradient(180deg, #0e1824, #0b131d);
}

.news-points li::before {
  counter-increment: np;
  content: counter(np, decimal-leading-zero);
  position: absolute;
  left: 20px;
  top: 20px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--showcase-blue);
  font-variant-numeric: tabular-nums;
}

.news-points b {
  display: block;
  margin-bottom: 7px;
  color: var(--showcase-white);
  font-size: 16.4px;
  font-weight: 650;
}

.news-points span {
  display: block;
  font-size: 15.2px;
  line-height: 1.8;
  color: #b8c3d1;
}

/* ---------- 侧栏 ---------- */

.news-aside {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 18px;
}

.news-card {
  padding: 22px 22px 24px;
  border: 1px solid var(--showcase-line);
  border-radius: 16px;
  background: linear-gradient(180deg, #0e1824, #0b131d);
}

.news-card h2 {
  margin: 0 0 16px;
  padding: 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #8c99ab;
}

.news-card h2::before {
  display: none;
}

.news-card dl {
  margin: 0;
  display: grid;
  gap: 13px;
}

.news-card dt {
  font-size: 12.4px;
  letter-spacing: 0.05em;
  color: #7f8b9c;
}

.news-card dd {
  margin: 4px 0 0;
  font-size: 15.4px;
  font-weight: 600;
  color: var(--showcase-white);
}

.news-card p {
  margin: 0 0 16px;
  font-size: 14.6px;
  line-height: 1.75;
  color: #b8c3d1;
}

.news-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--showcase-white);
  color: #0a1119;
  font-size: 14.6px;
  font-weight: 650;
  transition: transform 0.2s var(--showcase-ease), background 0.2s;
}

.news-cta:hover {
  background: #dfe7f3;
  transform: translateY(-1px);
}

.news-cta-ghost {
  margin-top: 10px;
  background: transparent;
  border: 1px solid var(--showcase-line);
  color: var(--showcase-white);
}

.news-cta-ghost:hover {
  background: rgba(255, 255, 255, 0.06);
}

/* ---------- 列表页 ---------- */

.news-index-head {
  padding: clamp(46px, 6vw, 84px) 0 clamp(30px, 4vw, 46px);
  background:
    radial-gradient(120% 140% at 10% -30%, rgba(114, 168, 255, 0.15), transparent 60%),
    linear-gradient(180deg, #0b131d, #080d13);
  border-bottom: 1px solid var(--showcase-line);
}

.news-index-head h1 {
  margin: 0 0 18px;
  font-size: clamp(30px, 4.4vw, 52px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--showcase-white);
}

.news-index-head p {
  margin: 0;
  max-width: 60ch;
  font-size: clamp(15.5px, 1.3vw, 17.5px);
  line-height: 1.8;
  color: #b9c4d2;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: clamp(20px, 2.4vw, 30px);
  padding: clamp(44px, 5vw, 68px) 0 clamp(64px, 7vw, 104px);
}

.news-card-item {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--showcase-line);
  border-radius: 18px;
  overflow: hidden;
  background: var(--news-panel);
  transition: transform 0.28s var(--showcase-ease), border-color 0.28s;
}

.news-card-item:hover {
  transform: translateY(-4px);
  border-color: rgba(114, 168, 255, 0.42);
}

.news-card-media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0b131d;
}

.news-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--showcase-ease);
}

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

.news-card-body {
  display: flex;
  flex-direction: column;
  gap: 11px;
  padding: 22px 22px 24px;
  flex: 1;
}

.news-card-tag {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--showcase-blue);
}

.news-card-body h2 {
  margin: 0;
  font-size: 18.6px;
  font-weight: 650;
  line-height: 1.45;
  color: var(--showcase-white);
}

.news-card-body p {
  margin: 0;
  font-size: 14.6px;
  line-height: 1.72;
  color: #a8b4c3;
}

.news-card-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(129, 157, 190, 0.14);
  font-size: 12.6px;
  color: #7f8b9c;
}

.news-empty {
  padding: 70px 0 90px;
  color: var(--showcase-muted);
}

/* 相关公告 */

.news-more {
  padding: clamp(38px, 4.4vw, 58px) 0 0;
  border-top: 1px solid var(--showcase-line);
}

.news-more h2 {
  margin: 0 0 22px;
  font-size: 19px;
  font-weight: 650;
  color: var(--showcase-white);
}

.news-more-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.news-more-list a {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  align-items: baseline;
  padding: 16px 20px;
  border: 1px solid var(--showcase-line);
  border-radius: 12px;
  transition: border-color 0.24s, background 0.24s;
}

.news-more-list a:hover {
  border-color: rgba(114, 168, 255, 0.42);
  background: rgba(114, 168, 255, 0.05);
}

.news-more-list b {
  font-size: 15.6px;
  font-weight: 600;
  color: var(--showcase-white);
}

.news-more-list span {
  margin-left: auto;
  font-size: 12.6px;
  color: #7f8b9c;
}

/* ---------- 响应式 ---------- */

@media (max-width: 1020px) {
  .news-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .news-aside {
    position: static;
  }
}

@media (max-width: 640px) {
  body.news-page {
    padding-top: 64px;
  }

  .news-content {
    font-size: 16.2px;
    line-height: 1.86;
  }

  .news-table th,
  .news-table td {
    padding: 12px 13px;
    font-size: 14.6px;
  }

  .news-table td:first-child {
    width: auto;
    min-width: 84px;
  }

  .news-timeline b {
    display: block;
    min-width: 0;
    margin: 0 0 3px;
  }

  .news-points li {
    padding: 18px 18px 18px 52px;
  }

  .news-points li::before {
    left: 16px;
    top: 18px;
  }

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

@media print {
  .site-header,
  .news-aside,
  .showcases-footer,
  .news-more {
    display: none;
  }

  body.news-page {
    padding-top: 0;
  }
}
