/* ====== 品牌日志页面 /journal/ ====== */
.page-news {
  --journal-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --journal-muted: #555555;
  background: var(--white);
}
.page-news .breadcrumbs {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 20px 24px 0;
}
.page-news .breadcrumbs-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 14px;
  color: var(--gray);
  list-style: none;
  margin: 0;
  padding: 0;
}
.page-news .breadcrumbs-item + .breadcrumbs-item::before {
  content: "·";
  margin: 0 2px 0 6px;
  color: var(--gray);
}
.page-news .breadcrumbs-item a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}
.page-news .breadcrumbs-item a:hover {
  color: var(--red);
}
.page-news .breadcrumbs-current {
  color: var(--black);
  font-weight: 700;
}

/* Hero */
.page-news .journal-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 28px;
  background: var(--black);
  color: var(--white);
  padding: 58px clamp(24px, 6vw, 80px) 66px;
}
.page-news .journal-hero::before {
  content: "";
  position: absolute;
  right: -40px;
  top: 0;
  bottom: 0;
  width: 45%;
  background: linear-gradient(135deg, rgba(230, 57, 70, 0.6), rgba(42, 157, 244, 0.25));
  clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%);
  z-index: 1;
}
.page-news .journal-hero::after {
  content: "";
  position: absolute;
  right: 8%;
  top: 18px;
  width: 34px;
  height: 76px;
  background: var(--gold);
  transform: skew(-8deg);
  z-index: 1;
}
.page-news .journal-hero__main,
.page-news .journal-hero__panel {
  position: relative;
  z-index: 2;
}
.page-news .journal-hero__main .eyebrow {
  color: var(--gold);
}
.page-news .journal-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  font-style: italic;
  line-height: 0.92;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 10px 0 16px;
}
.page-news .journal-hero__sub {
  display: block;
  font-family: var(--font-body);
  font-size: clamp(1.1rem, 2.6vw, 1.9rem);
  font-weight: 800;
  letter-spacing: 4px;
  color: transparent;
  background: linear-gradient(90deg, var(--gold), var(--red));
  background-clip: text;
  -webkit-background-clip: text;
}
.page-news .journal-hero .lead {
  max-width: 520px;
  color: #cfcfcf;
  margin: 0;
}
.page-news .journal-hero__panel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.page-news .hero-metric {
  border: 1px solid rgba(42, 157, 244, 0.5);
  background: rgba(42, 157, 244, 0.08);
  padding: 12px 14px;
  border-radius: 6px;
}
.page-news .hero-metric .metric-value {
  display: block;
  font-family: var(--journal-mono);
  font-size: 1.5rem;
  line-height: 1.2;
  font-weight: 700;
  color: var(--gold);
}
.page-news .hero-metric .metric-label {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.4;
  color: var(--gray);
}

/* 通用区块节奏 */
.page-news .journal-live,
.page-news .journal-transfer,
.page-news .journal-case {
  padding: 60px 0;
}
.page-news .journal-report {
  padding: 60px 0;
  background:
    radial-gradient(circle at 85% 10%, rgba(42, 157, 244, 0.2), transparent 260px),
    linear-gradient(180deg, rgba(230, 57, 70, 0.18), rgba(10, 10, 10, 0) 40%),
    var(--black);
  color: var(--white);
}

/* 当季赛讯抢先看 */
.page-news .news-filter {
  display: grid;
  gap: 20px;
  align-items: start;
}
.page-news .news-filter__rail {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.page-news .news-filter__label {
  width: 100%;
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray);
}
.page-news .news-filter__pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(31, 31, 31, 0.25);
  background: var(--white);
  font-size: 14px;
  font-weight: 700;
  color: var(--black);
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.page-news .news-filter__pill:hover {
  border-color: var(--red);
  color: var(--red);
  transform: translateY(-2px);
}
.page-news .news-filter__pill.is-active {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
}
.page-news .news-filter__target {
  height: 0;
  overflow: hidden;
  pointer-events: none;
}
.page-news .news-list {
  display: grid;
  gap: 0;
}
.page-news .news-item {
  display: block;
  padding: 18px 2px;
  border-bottom: 1px solid rgba(31, 31, 31, 0.12);
  border-radius: 4px;
  transition: transform 0.2s ease, background 0.2s ease;
}
.page-news .news-item:hover {
  transform: translateX(8px);
  background: rgba(230, 57, 70, 0.045);
}
.page-news .news-item__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.page-news .news-item__round {
  font-family: var(--journal-mono);
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gray);
}
.page-news .news-item__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 1.35;
  letter-spacing: 0.2px;
  margin: 0 0 6px;
}
.page-news .news-item__summary {
  font-size: 15px;
  line-height: 1.6;
  color: var(--journal-muted);
  margin: 0;
  max-width: 68ch;
}
.page-news .news-feature {
  margin: 0 0 22px;
  border: 2px solid var(--black);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 8px 8px 0 rgba(230, 57, 70, 0.18);
  position: relative;
}
.page-news .news-feature img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}
.page-news .news-feature figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  margin: 0;
  padding: 7px 12px;
  background: var(--black);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  border-left: 3px solid var(--gold);
  max-width: calc(100% - 24px);
}

/* 纯 CSS 过滤 */
.page-news #nf-live:target ~ .news-list .news-item:not([data-category="live"]),
.page-news #nf-report:target ~ .news-list .news-item:not([data-category="report"]),
.page-news #nf-transfer:target ~ .news-list .news-item:not([data-category="transfer"]),
.page-news #nf-case:target ~ .news-list .news-item:not([data-category="case"]) {
  display: none;
}
.page-news .news-filter:has(#nf-live:target) .news-filter__pill[href="#nf-live"],
.page-news .news-filter:has(#nf-report:target) .news-filter__pill[href="#nf-report"],
.page-news .news-filter:has(#nf-transfer:target) .news-filter__pill[href="#nf-transfer"],
.page-news .news-filter:has(#nf-case:target) .news-filter__pill[href="#nf-case"] {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}
.page-news .news-filter:has(#nf-live:target) .news-filter__pill.is-all,
.page-news .news-filter:has(#nf-report:target) .news-filter__pill.is-all,
.page-news .news-filter:has(#nf-transfer:target) .news-filter__pill.is-all,
.page-news .news-filter:has(#nf-case:target) .news-filter__pill.is-all {
  background: var(--white);
  border-color: rgba(31, 31, 31, 0.25);
  color: var(--black);
}
.page-news .news-filter:has(#nf-base:target) .news-filter__pill[href="#nf-base"] {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
}

/* 战报时间线 */
.page-news .timeline {
  position: relative;
  margin-top: 40px;
}
.page-news .timeline::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 8px;
  bottom: 8px;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(to bottom, var(--red), var(--gold) 55%, var(--blue));
}
.page-news .timeline-item {
  position: relative;
  padding-left: 32px;
  margin-bottom: 32px;
}
.page-news .timeline-node {
  position: absolute;
  left: 0;
  top: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 21px;
  height: 21px;
  z-index: 2;
}
.page-news .timeline-node img,
.page-news .timeline-node__dot {
  display: block;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
  box-shadow: 0 0 0 4px rgba(230, 57, 70, 0.2);
}
.page-news .timeline-node__dot {
  background: var(--red);
  transition: background 0.2s ease, transform 0.2s ease;
}
.page-news .timeline-item:hover .timeline-node__dot {
  transform: scale(1.3);
  background: var(--gold);
}
.page-news .timeline-card {
  background: var(--dark);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 20px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.page-news .timeline-item:hover .timeline-card {
  border-color: rgba(244, 166, 35, 0.55);
  box-shadow: var(--shadow);
}
.page-news .timeline-card__head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.page-news .timeline-card__sub {
  font-family: var(--journal-mono);
  font-size: 12px;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.page-news .timeline-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin: 0 0 10px;
  color: var(--white);
}
.page-news .timeline-card p {
  font-size: 15px;
  line-height: 1.65;
  color: #c8c8c8;
  margin: 0;
}
.page-news .timeline-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed rgba(255, 255, 255, 0.16);
}
.page-news .timeline-metric {
  font-family: var(--journal-mono);
  font-size: 13px;
  color: var(--gray);
}
.page-news .timeline-metric strong {
  display: inline-block;
  font-size: 20px;
  line-height: 1;
  color: var(--gold);
  margin-right: 4px;
}

/* 转会动态速递 */
.page-news .transfer-grid {
  display: grid;
  gap: 24px;
  margin-top: 40px;
}
.page-news .transfer-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid rgba(31, 31, 31, 0.12);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.page-news .transfer-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.page-news .transfer-card__thumb {
  position: relative;
}
.page-news .transfer-card__thumb img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}
.page-news .transfer-card__thumb--solid {
  height: 180px;
  background: linear-gradient(135deg, #1a1a1a 50%, #e63946 50%);
}
.page-news .transfer-card__thumb--solid.is-blue {
  background: linear-gradient(135deg, #1a1a1a 50%, #2a9df4 50%);
}
.page-news .transfer-card__phase {
  position: absolute;
  bottom: 8px;
  font-family: var(--journal-mono);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.page-news .transfer-card__phase--before {
  left: 8px;
  background: var(--gray);
  color: var(--black);
}
.page-news .transfer-card__phase--after {
  right: 8px;
  background: linear-gradient(135deg, var(--red), var(--blue));
  color: var(--white);
}
.page-news .transfer-card__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  flex: 1;
}
.page-news .transfer-card__body h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 0;
}
.page-news .transfer-card__body > p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--journal-muted);
  margin: 0;
}
.page-news .transfer-card .data-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px dashed rgba(31, 31, 31, 0.18);
  padding-top: 8px;
  font-size: 13px;
}
.page-news .transfer-card .data-key {
  color: var(--gray);
}
.page-news .transfer-card .data-value {
  font-family: var(--journal-mono);
  font-weight: 700;
  color: var(--black);
}
.page-news .transfer-card__link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--red);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s ease, gap 0.2s ease;
}
.page-news .transfer-card__link:hover {
  color: var(--blue);
  gap: 10px;
}

/* 案例合集更新记录 */
.page-news .journal-case {
  background: linear-gradient(135deg, rgba(42, 157, 244, 0.1), rgba(230, 57, 70, 0.06)), var(--white);
  border-top: 4px solid var(--blue);
  border-bottom: 4px solid var(--red);
}
.page-news .case-layout {
  display: grid;
  gap: 28px;
  margin-top: 40px;
  align-items: center;
}
.page-news .case-cover {
  border: 2px solid var(--dark);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 8px 8px 0 rgba(42, 157, 244, 0.2);
}
.page-news .case-cover img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}
.page-news .case-version-list {
  display: grid;
  gap: 0;
}
.page-news .case-version {
  display: flex;
  gap: 16px;
  padding: 18px 2px;
  border-bottom: 1px solid rgba(31, 31, 31, 0.12);
  transition: background 0.2s ease, transform 0.2s ease;
}
.page-news .case-version:last-child {
  border-bottom: 0;
}
.page-news .case-version:hover {
  background: rgba(42, 157, 244, 0.05);
  transform: translateX(4px);
}
.page-news .case-version__no {
  font-family: var(--journal-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--blue);
  min-width: 52px;
}
.page-news .case-version__detail p {
  margin: 10px 0 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--dark);
}

/* CTA 收尾 */
.page-news .journal-cta {
  background: var(--black);
  color: var(--white);
  padding: 64px clamp(24px, 6vw, 80px);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-news .journal-cta::before {
  content: "";
  position: absolute;
  left: -20px;
  bottom: -40px;
  width: 160px;
  height: 160px;
  background: rgba(230, 57, 70, 0.4);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}
.page-news .journal-cta::after {
  content: "";
  position: absolute;
  right: -20px;
  top: -40px;
  width: 120px;
  height: 120px;
  background: rgba(42, 157, 244, 0.35);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}
.page-news .journal-cta__inner {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.page-news .journal-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  line-height: 1.1;
  font-style: italic;
  margin: 12px 0;
}
.page-news .journal-cta p {
  color: #b8b8b8;
  font-size: 15px;
  line-height: 1.7;
  margin: 0 0 20px;
}
.page-news .journal-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* 桌面端布局 */
@media (min-width: 900px) {
  .page-news .journal-hero {
    grid-template-columns: 1fr 260px;
    align-items: end;
    padding-bottom: 72px;
  }
  .page-news .journal-hero__panel {
    grid-template-columns: 1fr;
    gap: 8px;
    min-width: 0;
  }
  .page-news .hero-metric {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    border-left: 4px solid var(--red);
  }
  .page-news .hero-metric .metric-label {
    margin-top: 0;
    text-align: right;
  }
  .page-news .hero-metric .metric-value {
    font-size: 1.35rem;
  }

  .page-news .news-filter {
    grid-template-columns: 220px 1fr;
  }
  .page-news .news-filter__rail {
    flex-direction: column;
    align-items: stretch;
    position: sticky;
    top: calc(var(--header-h) + 24px);
  }
  .page-news .news-filter__label {
    width: auto;
    padding-left: 4px;
  }
  .page-news .news-filter__pill {
    justify-content: space-between;
  }
  .page-news .news-filter__pill::after {
    content: "→";
    opacity: 0.4;
    font-family: var(--journal-mono);
    transition: opacity 0.2s ease;
  }
  .page-news .news-filter__pill:hover::after {
    opacity: 1;
  }

  .page-news .transfer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .page-news .case-layout {
    grid-template-columns: 320px 1fr;
  }
  .page-news .timeline {
    margin-top: 44px;
  }
  .page-news .timeline-item {
    padding-left: 40px;
    padding-right: 24px;
  }
  .page-news .timeline-card {
    padding: 26px;
  }
  .page-news .timeline-card h3 {
    font-size: 1.5rem;
  }
}
