.page-news {
  --news-bg: #EFF6FC;
  --news-line: #C9D9E8;
  --news-muted: #61708A;
  background:
    linear-gradient(180deg, var(--color-ice) 0%, #F8FCFE 320px, var(--news-bg) 100%);
  color: var(--text-main);
  min-height: 60vh;
}

.page-news .news-hero {
  position: relative;
  padding: 28px 0 44px;
  overflow: hidden;
}

.page-news .news-hero::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--color-navy) 0%, var(--color-teal) 46%, var(--color-orange) 100%);
  transform: skewY(-0.6deg);
  transform-origin: left bottom;
}

.page-news .news-masthead {
  display: grid;
  gap: 24px;
  margin-top: 28px;
}

.page-news .news-kicker {
  color: var(--color-orange);
  font-weight: 700;
  letter-spacing: .14em;
}

.page-news .news-heading {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(2.4rem, 7vw, 4rem);
  line-height: 1.02;
  color: var(--color-navy);
  margin: 6px 0 14px;
  letter-spacing: -0.01em;
}

.page-news .news-heading::after {
  content: "";
  display: inline-block;
  width: .62em;
  height: .62em;
  margin-left: .18em;
  background: var(--color-orange);
  clip-path: polygon(0 0, 100% 0, 0 100%);
}

.page-news .news-lead {
  max-width: 640px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-main);
  margin: 0;
}

.page-news .news-masthead-aside {
  display: grid;
  gap: 14px;
  align-self: end;
  max-width: 320px;
}

.page-news .news-batch-figure {
  margin: 0;
  aspect-ratio: 1 / 1;
}

.page-news .news-batch-figure img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.page-news .news-batch-badge {
  background: var(--color-ink);
  padding: 14px 16px;
  border-radius: var(--radius);
}

.page-news .news-content {
  padding: 36px 0 64px;
}

.page-news .news-tabs {
  display: flex;
  gap: 2px;
  border-bottom: 1px solid var(--news-line);
  margin-bottom: 40px;
  overflow-x: auto;
  scrollbar-width: none;
}

.page-news .news-tabs::-webkit-scrollbar {
  display: none;
}

.page-news .news-tab {
  background: transparent;
  border: 0;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  padding: 12px 16px 14px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  color: var(--news-muted);
  cursor: pointer;
  white-space: nowrap;
  transition: color .2s ease, border-color .2s ease;
}

.page-news .news-tab .news-tab-num {
  font-family: var(--font-mono);
  font-size: 12px;
  margin-right: 6px;
  color: var(--color-orange);
}

.page-news .news-tab:hover {
  color: var(--color-navy);
}

.page-news .news-tab[aria-selected="true"] {
  color: var(--color-navy);
  border-bottom-color: var(--color-orange);
}

.page-news .news-tabpanel {
  animation: news-fade-in .25s ease;
}

@keyframes news-fade-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.page-news .news-section-head {
  margin-bottom: 28px;
  max-width: 620px;
}

.page-news .news-section-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--color-navy);
  margin: 0 0 8px;
}

.page-news .news-section-desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--news-muted);
  margin: 0;
}

.page-news .timeline {
  position: relative;
  padding-left: 32px;
}

.page-news .timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 12px;
  bottom: 12px;
  width: 1px;
  background: var(--news-line);
}

.page-news .timeline-item {
  position: relative;
  margin-bottom: 36px;
}

.page-news .timeline-marker {
  position: absolute;
  left: -32px;
  top: 26px;
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-news .timeline-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-orange);
  box-shadow: 0 0 0 4px rgba(255, 107, 53, .14);
}

.page-news .timeline-card {
  background: var(--color-white);
  border: 1px solid rgba(176, 196, 222, .4);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 22px 22px 24px;
}

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

.page-news .timeline-version {
  font-size: 13px;
  color: var(--color-navy);
  font-weight: 700;
}

.page-news .timeline-time {
  font-size: 13px;
  color: var(--news-muted);
  margin-left: auto;
}

.page-news .timeline-card-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.35rem;
  line-height: 1.3;
  color: var(--color-navy);
  margin: 0 0 8px;
}

.page-news .timeline-card-summary {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-main);
  margin: 0;
}

.page-news .timeline-figure {
  margin-top: 18px;
}

.page-news .timeline-details {
  margin-top: 14px;
  border-top: 1px solid var(--news-line);
  padding-top: 12px;
}

.page-news .timeline-details summary {
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  color: var(--color-navy);
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

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

.page-news .timeline-details summary::before {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid var(--color-orange);
  border-bottom: 2px solid var(--color-orange);
  transform: rotate(45deg);
  transition: transform .2s ease;
}

.page-news .timeline-details[open] summary::before {
  transform: rotate(-135deg);
}

.page-news .timeline-details-body {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-main);
}

.page-news .column-hero-figure {
  margin: 0 0 28px;
}

.page-news .column-list {
  display: grid;
  gap: 20px;
}

.page-news .column-card {
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  border: 1px solid rgba(176, 196, 222, .4);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 24px;
}

.page-news .column-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.page-news .column-read-time {
  font-size: 12px;
  color: var(--news-muted);
}

.page-news .column-card-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  line-height: 1.35;
  color: var(--color-navy);
  margin: 0 0 10px;
}

.page-news .column-card-excerpt {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-main);
  margin: 0;
}

.page-news .column-card .timeline-details {
  margin-top: auto;
  padding-top: 14px;
}

.page-news .panel-updates {
  display: grid;
  gap: 20px;
  margin-bottom: 28px;
}

.page-news .panel-update {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  background: var(--color-white);
  border: 1px solid rgba(176, 196, 222, .4);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 22px;
}

.page-news .panel-update-index {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--color-orange);
  line-height: 1.3;
}

.page-news .panel-update-body h3 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--color-navy);
  margin: 0 0 8px;
}

.page-news .panel-update-body p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-main);
  margin: 0;
}

.page-news .panel-compare-figure {
  margin: 0;
}

.page-news .figure-frame {
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-warm);
}

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

.page-news .figure-frame figcaption {
  padding: 8px 12px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--news-muted);
  background: rgba(245, 245, 244, .85);
}

.page-news .news-related {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--news-line);
}

.page-news .news-related .btn {
  padding: 10px 18px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  border-radius: var(--radius);
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.page-news .news-tab:focus-visible,
.page-news .news-related .btn:focus-visible,
.page-news .timeline-details summary:focus-visible {
  outline: 2px solid var(--color-orange);
  outline-offset: 2px;
}

@media (min-width: 640px) {
  .page-news .news-masthead {
    grid-template-columns: 1fr 240px;
    align-items: end;
  }

  .page-news .news-masthead-aside {
    max-width: none;
  }

  .page-news .column-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-news .panel-updates {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-news .panel-update {
    grid-template-columns: 1fr;
    align-content: start;
  }
}

@media (min-width: 980px) {
  .page-news .news-hero {
    padding: 44px 0 64px;
  }

  .page-news .news-masthead {
    grid-template-columns: 1fr 280px;
  }

  .page-news .news-heading {
    font-size: clamp(3rem, 5vw, 4.4rem);
  }

  .page-news .news-lead {
    font-size: 17px;
    max-width: 720px;
  }

  .page-news .news-content {
    padding: 48px 0 88px;
  }

  .page-news .timeline-card {
    padding: 28px 30px 30px;
  }

  .page-news .timeline-card-title {
    font-size: 1.5rem;
  }

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

  .page-news .column-card {
    padding: 28px;
  }

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

  .page-news .panel-update {
    padding: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-news *,
  .page-news *::before,
  .page-news *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}
