.page-news {
  --news-blue: #0D2433;
  --news-blue-light: #18384E;
  --news-accent: #FF5432;
  --news-accent-light: #FF7A57;
  --news-cream: #FDF8F0;
  --news-ink: #2E2A26;
  --news-secondary: #5A6C7A;
  --news-line: #E0D6C8;
  --news-yellow: #FFC857;
  --news-bg-blue: #E8EFF5;
  --news-font-head: "Noto Sans SC", "Arial Black", "Impact", sans-serif;
  --news-font-body: "Roboto", "PingFang SC", "Microsoft YaHei", sans-serif;
  background-color: var(--news-cream);
  color: var(--news-ink);
  font-family: var(--news-font-body);
  line-height: 1.75;
  overflow-x: hidden;
}

.page-news .news-hero {
  position: relative;
  background: linear-gradient(135deg, var(--news-blue) 0%, var(--news-blue-light) 70%, var(--news-accent) 70.5%, var(--news-accent) 100%);
  color: var(--news-cream);
  padding: 40px 0 56px;
  overflow: hidden;
}

.page-news .news-hero::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 160px;
  height: 160px;
  border: 3px solid rgba(255, 84, 50, 0.5);
  border-radius: 50%;
  box-shadow: 0 0 0 24px rgba(255, 84, 50, 0.15);
  pointer-events: none;
}

.page-news .news-hero .breadcrumb-item,
.page-news .news-hero .breadcrumb-separator {
  color: rgba(253, 248, 240, 0.8);
}

.page-news .news-hero .breadcrumb-item:hover {
  color: var(--news-yellow);
}

.page-news .hero-copy {
  max-width: 860px;
}

.page-news .hero-kicker {
  font-family: var(--news-font-head);
  font-size: 12px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--news-yellow);
  margin: 0 0 14px;
}

.page-news .news-hero h1 {
  font-family: var(--news-font-head);
  font-size: 30px;
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: -0.5px;
  margin: 0 0 16px;
  color: var(--news-cream);
  text-shadow: 3px 3px 0 rgba(13, 36, 51, 0.35);
  max-width: 820px;
}

.page-news .hero-desc {
  font-size: 15px;
  line-height: 1.8;
  color: rgba(253, 248, 240, 0.9);
  margin: 0 0 24px;
  max-width: 680px;
}

.page-news .hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-news .stat-chip {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  background: rgba(13, 36, 51, 0.75);
  border: 1px solid rgba(253, 248, 240, 0.35);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  color: rgba(253, 248, 240, 0.85);
}

.page-news .stat-num {
  font-family: var(--news-font-head);
  font-size: 16px;
  color: var(--news-yellow);
  font-weight: 900;
}

.page-news .news-label {
  display: inline-block;
  font-family: var(--news-font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--news-accent);
  border: 2px solid var(--news-accent);
  padding: 5px 14px;
  margin-bottom: 16px;
  transform: rotate(-1deg);
  background: rgba(255, 84, 50, 0.06);
}

.page-news .news-label-light {
  color: var(--news-yellow);
  border-color: var(--news-yellow);
  background: rgba(255, 200, 87, 0.1);
}

.page-news .latest-panel {
  background: var(--news-cream);
  padding: 56px 0;
}

.page-news .latest-grid {
  display: grid;
  gap: 32px;
  align-items: center;
}

.page-news .latest-copy h2,
.page-news .log-section h2,
.page-news .topic-section h2,
.page-news .playback-copy h2,
.page-news .subscribe-panel h2 {
  font-family: var(--news-font-head);
  font-size: 24px;
  line-height: 1.35;
  font-weight: 900;
  color: var(--news-blue);
  margin: 0 0 14px;
}

.page-news .latest-lead {
  font-size: 15px;
  color: var(--news-secondary);
  margin: 0 0 20px;
}

.page-news .latest-points {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.page-news .latest-points li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  font-size: 14px;
  color: var(--news-ink);
}

.page-news .latest-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 14px;
  height: 14px;
  background: var(--news-accent);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.page-news .latest-figure {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 10px 10px 0 rgba(13, 36, 51, 0.12);
  border: 1px solid var(--news-line);
}

.page-news .latest-figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-news .log-section {
  background: var(--news-cream);
  padding: 0 0 64px;
  border-top: 4px solid var(--news-blue);
}

.page-news .section-head {
  margin-bottom: 8px;
}

.page-news .section-note {
  font-size: 14px;
  color: var(--news-secondary);
  margin: 0 0 20px;
  max-width: 640px;
}

.page-news .filter-wrap {
  position: relative;
}

.page-news .filter-anchor {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
  scroll-margin-top: 120px;
}

.page-news .filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 32px;
  padding: 14px;
  background: rgba(13, 36, 51, 0.05);
  border: 1px dashed var(--news-line);
  border-radius: 14px;
}

.page-news .filter-btn {
  display: inline-block;
  padding: 8px 18px;
  border: 2px solid var(--news-blue);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: var(--news-blue);
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  user-select: none;
}

.page-news .filter-btn:hover {
  background: rgba(13, 36, 51, 0.1);
}

.page-news .filter-all-link {
  background: var(--news-blue);
  color: var(--news-cream);
}

.page-news #feature:target ~ .filter-bar .filter-feature-link,
.page-news #content:target ~ .filter-bar .filter-content-link,
.page-news #fix:target ~ .filter-bar .filter-fix-link {
  background: var(--news-blue);
  color: var(--news-cream);
}

.page-news #feature:target ~ .filter-bar .filter-all-link,
.page-news #content:target ~ .filter-bar .filter-all-link,
.page-news #fix:target ~ .filter-bar .filter-all-link {
  background: transparent;
  color: var(--news-blue);
}

.page-news #feature:target ~ .timeline .log-item:not([data-tag="feature"]),
.page-news #content:target ~ .timeline .log-item:not([data-tag="content"]),
.page-news #fix:target ~ .timeline .log-item:not([data-tag="fix"]) {
  display: none;
}

.page-news .timeline {
  display: grid;
  gap: 18px;
  margin-top: 12px;
}

.page-news .log-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.page-news .log-rail {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-left: 2px;
}

.page-news .version-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--news-blue);
  color: var(--news-cream);
  font-family: var(--news-font-head);
  font-size: 13px;
  font-weight: 900;
  border: 3px solid var(--news-accent);
  box-shadow: 3px 3px 0 rgba(13, 36, 51, 0.18);
  flex-shrink: 0;
}

.page-news .log-time {
  font-size: 13px;
  font-weight: 700;
  color: var(--news-secondary);
  letter-spacing: 0.5px;
}

.page-news .log-card {
  background: #FFFFFF;
  border: 1px solid var(--news-line);
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(13, 36, 51, 0.07);
  overflow: hidden;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.page-news .log-card:hover {
  box-shadow: 0 10px 24px rgba(13, 36, 51, 0.12);
  transform: translateY(-2px);
}

.page-news .log-card summary {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas:
    "tag title plus"
    "excerpt excerpt excerpt";
  gap: 2px 12px;
  align-items: center;
  padding: 14px 16px;
  cursor: pointer;
  list-style: none;
  position: relative;
}

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

.page-news .log-card summary::after {
  grid-area: plus;
  content: "+";
  font-family: var(--news-font-head);
  font-size: 22px;
  font-weight: 700;
  color: var(--news-accent);
  align-self: start;
  line-height: 1;
  transition: transform 0.2s ease;
}

.page-news .log-card[open] summary::after {
  content: "-";
  transform: rotate(180deg);
}

.page-news .type-tag {
  grid-area: tag;
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
}

.page-news .type-feature {
  background: var(--news-blue);
}

.page-news .type-content {
  background: var(--news-accent);
}

.page-news .type-fix {
  background: var(--news-yellow);
  color: var(--news-ink);
}

.page-news .log-title {
  grid-area: title;
  font-family: var(--news-font-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--news-blue);
  line-height: 1.4;
}

.page-news .log-excerpt {
  grid-area: excerpt;
  font-size: 13px;
  color: var(--news-secondary);
  line-height: 1.6;
  margin-top: 2px;
}

.page-news .log-detail {
  padding: 14px 16px 18px;
  border-top: 1px dashed var(--news-line);
  font-size: 14px;
  line-height: 1.8;
  color: var(--news-secondary);
}

.page-news .log-detail p {
  margin: 0;
}

.page-news .transfer-panel {
  display: grid;
  gap: 20px;
  align-items: center;
  margin-top: 44px;
  background: var(--news-blue);
  border-radius: 18px;
  overflow: hidden;
  color: var(--news-cream);
  box-shadow: 12px 12px 0 rgba(13, 36, 51, 0.15);
}

.page-news .transfer-figure {
  margin: 0;
}

.page-news .transfer-figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 220px;
}

.page-news .transfer-copy {
  padding: 0 24px 28px;
}

.page-news .transfer-copy h3 {
  font-family: var(--news-font-head);
  font-size: 22px;
  font-weight: 900;
  color: var(--news-cream);
  margin: 0 0 10px;
}

.page-news .transfer-copy p {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(253, 248, 240, 0.85);
  margin: 0 0 20px;
}

.page-news .topic-section {
  background: var(--news-cream);
  padding: 64px 0;
}

.page-news .topic-layout {
  display: grid;
  gap: 32px;
}

.page-news .topic-cover {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 12px 12px 0 rgba(13, 36, 51, 0.12);
  border: 1px solid var(--news-line);
}

.page-news .topic-cover img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-news .topic-cover figcaption {
  padding: 10px 14px;
  font-size: 12px;
  color: var(--news-secondary);
  background: #fff;
  border-top: 1px solid var(--news-line);
}

.page-news .topic-content h2 {
  margin-bottom: 10px;
}

.page-news .topic-lead {
  font-size: 14px;
  color: var(--news-secondary);
  margin: 0 0 28px;
  max-width: 640px;
}

.page-news .topic-list {
  display: grid;
  gap: 16px;
}

.page-news .topic-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  padding: 18px 20px;
  background: #fff;
  border-left: 4px solid var(--news-accent);
  border-radius: 0 12px 12px 0;
  box-shadow: 0 3px 12px rgba(13, 36, 51, 0.06);
}

.page-news .topic-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  height: 28px;
  padding: 0 8px;
  background: var(--news-blue);
  color: var(--news-cream);
  font-family: var(--news-font-head);
  font-size: 12px;
  font-weight: 700;
  border-radius: 999px;
  transform: rotate(-2deg);
}

.page-news .topic-item h3 {
  font-family: var(--news-font-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--news-blue);
  margin: 0 0 4px;
}

.page-news .topic-item p {
  font-size: 13px;
  color: var(--news-secondary);
  margin: 0 0 4px;
  line-height: 1.6;
}

.page-news .topic-item .topic-source {
  font-size: 12px;
  color: var(--news-accent);
}

.page-news .playback-banner {
  background: var(--news-bg-blue);
  padding: 56px 0;
}

.page-news .playback-grid {
  display: grid;
  gap: 28px;
  align-items: center;
}

.page-news .playback-figure {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 10px 10px 0 rgba(13, 36, 51, 0.1);
  border: 1px solid var(--news-line);
}

.page-news .playback-figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-news .playback-copy p {
  font-size: 14px;
  color: var(--news-secondary);
  margin: 0 0 20px;
}

.page-news .subscribe-panel {
  background: var(--news-blue);
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}

.page-news .subscribe-panel::before {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 200px;
  height: 200px;
  border: 4px solid var(--news-accent);
  border-radius: 50%;
  opacity: 0.3;
}

.page-news .subscribe-inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
  background: rgba(13, 36, 51, 0.6);
  border: 1px solid rgba(255, 200, 87, 0.5);
  border-radius: 20px;
  padding: 36px 28px;
}

.page-news .subscribe-inner h2 {
  color: var(--news-cream);
}

.page-news .subscribe-inner p {
  font-size: 14px;
  color: rgba(253, 248, 240, 0.85);
  margin: 0 0 24px;
}

.page-news .subscribe-inner a[href^="mailto:"] {
  color: var(--news-yellow);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (min-width: 768px) {
  .page-news .news-hero {
    padding: 56px 0 72px;
  }

  .page-news .news-hero h1 {
    font-size: 40px;
  }

  .page-news .hero-desc {
    font-size: 17px;
  }

  .page-news .latest-grid {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }

  .page-news .latest-copy {
    order: 1;
  }

  .page-news .latest-figure {
    order: 2;
  }

  .page-news .timeline {
    display: block;
    position: relative;
  }

  .page-news .timeline::before {
    content: "";
    position: absolute;
    left: 40px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: repeating-linear-gradient(
      to bottom,
      var(--news-accent) 0 6px,
      transparent 6px 12px
    );
    opacity: 0.7;
  }

  .page-news .log-item {
    grid-template-columns: 80px 1fr;
    gap: 24px;
    position: relative;
  }

  .page-news .log-rail {
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding-top: 8px;
  }

  .page-news .transfer-panel {
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }

  .page-news .transfer-copy {
    padding: 32px 36px;
  }

  .page-news .topic-layout {
    grid-template-columns: 320px 1fr;
    gap: 48px;
    align-items: start;
  }

  .page-news .topic-cover {
    position: sticky;
    top: 120px;
  }

  .page-news .playback-grid {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }

  .page-news .playback-figure {
    order: 1;
  }

  .page-news .playback-copy {
    order: 2;
  }
}

@media (min-width: 992px) {
  .page-news .latest-grid {
    gap: 64px;
  }

  .page-news .topic-layout {
    grid-template-columns: 360px 1fr;
  }

  .page-news .topic-item {
    padding: 20px 24px;
  }
}
