.page-news {
  --news-cut: 14px;
  --news-cut-lg: 22px;
  background: var(--c-light);
  font-family: var(--font-body);
  overflow-x: clip;
}

.page-news img {
  max-width: 100%;
  height: auto;
}

.page-news a:focus-visible,
.page-news button:focus-visible {
  outline: 2px solid var(--c-orange);
  outline-offset: 2px;
}

.page-news .news-wrap {
  width: min(100% - 40px, 1180px);
  margin-inline: auto;
}

.page-news .section-head {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 28px;
}

.page-news .section-head .chapter-index {
  font-family: var(--font-num);
  font-size: 20px;
  color: var(--c-orange);
  margin-top: 4px;
  line-height: 1;
}

.page-news .section-head .chapter-title {
  font-size: clamp(26px, 5vw, 36px);
  margin: 0;
  line-height: 1.15;
}

.page-news .section-head__note {
  margin-top: 6px;
  color: var(--c-muted);
  font-size: 13px;
}

/* ===================== HERO ===================== */
.page-news .news-hero {
  background: var(--c-navy);
  color: #fff;
  padding: 28px 0 44px;
  position: relative;
}

.page-news .news-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 52px 52px;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 78%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 78%);
}

.page-news .news-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
}

.page-news .news-breadcrumb a {
  color: var(--c-green);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-news .news-hero__kicker {
  display: block;
  margin-top: 24px;
  color: var(--c-green);
  letter-spacing: 0.12em;
}

.page-news .news-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(44px, 12vw, 96px);
  line-height: 0.9;
  margin: 8px 0 4px;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: #fff;
}

.page-news .news-hero__lead {
  font-size: 18px;
  font-weight: 700;
  color: var(--c-orange);
  margin: 0 0 12px;
}

.page-news .news-hero__desc {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
}

.page-news .news-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.page-news .news-stat {
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.07);
  padding: 10px 14px;
  min-width: 92px;
}

.page-news .news-stat strong {
  display: block;
  font-family: var(--font-num);
  font-size: 26px;
  color: var(--c-green);
  line-height: 1;
}

.page-news .news-stat span {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}

.page-news .news-hero__figure {
  margin: 36px 0 0;
  position: relative;
  z-index: 1;
}

.page-news .news-hero__figure img {
  display: block;
  width: 100%;
  box-shadow: var(--shadow-hard);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
}

/* ===================== LATEST ===================== */
.page-news .news-latest {
  background: var(--c-light);
  padding: 56px 0;
}

.page-news .news-latest__layout {
  display: grid;
  gap: 26px;
}

.page-news .news-latest__grid {
  display: grid;
  gap: 18px;
}

.page-news .news-card {
  background: #fff;
  border: 2px solid var(--c-ink);
  box-shadow: var(--shadow-hard);
  padding: 22px;
  position: relative;
  clip-path: polygon(0 0, calc(100% - var(--news-cut)) 0, 100% var(--news-cut), 100% 100%, 0 100%);
}

.page-news .news-card__tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-orange);
  border-bottom: 2px solid var(--c-orange);
  padding-bottom: 2px;
}

.page-news .news-card h3 {
  font-size: 20px;
  line-height: 1.25;
  margin: 14px 0 8px;
}

.page-news .news-card p {
  color: var(--c-muted);
  font-size: 14px;
  line-height: 1.7;
  margin: 0 0 16px;
}

.page-news .news-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--c-navy);
  text-decoration: none;
  border-bottom: 2px solid var(--c-green);
  transition: color 0.2s ease;
}

.page-news .news-card__link span:last-child {
  color: var(--c-green);
  transition: transform 0.2s ease;
}

.page-news .news-card:hover .news-card__link span:last-child {
  transform: translateX(6px);
}

.page-news .news-latest__aside {
  display: grid;
  grid-template-columns: min(120px, 40%) 1fr;
  gap: 14px;
  align-items: center;
}

.page-news .news-latest__figure {
  margin: 0;
  width: 100%;
}

.page-news .news-latest__figure img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 2;
  object-fit: cover;
  border: 2px solid var(--c-ink);
  box-shadow: var(--shadow-hard);
}

.page-news .news-latest__aside-note {
  font-size: 13px;
  line-height: 1.6;
  color: var(--c-muted);
  margin: 0;
  border-left: 3px solid var(--c-green);
  padding-left: 10px;
}

/* ===================== TIMELINE ===================== */
.page-news .news-timeline {
  background: var(--c-navy);
  color: #fff;
  padding: 60px 0 64px;
  position: relative;
}

.page-news .news-timeline::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

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

.page-news .news-timeline .section-head__note {
  color: rgba(255, 255, 255, 0.64);
}

.page-news .news-timeline .section-head .chapter-title {
  color: #fff;
}

.page-news .timeline-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
}

.page-news .timeline-filter__btn {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.28);
  padding: 7px 14px;
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.page-news .timeline-filter__btn:hover,
.page-news .timeline-filter__btn.is-active {
  color: var(--c-navy);
  background: var(--c-orange);
  border-color: var(--c-orange);
}

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

.page-news .timeline-track::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: linear-gradient(to bottom, var(--c-green), rgba(57, 255, 20, 0.1) 38%, rgba(255, 107, 53, 0.45) 100%);
}

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

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

.page-news .timeline-item__dot {
  position: absolute;
  left: -26px;
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--c-green);
  box-shadow: 0 0 0 4px rgba(57, 255, 20, 0.18);
}

.page-news .timeline-item__panel {
  position: relative;
  background: rgba(255, 255, 255, 0.06);
  border-left: 3px solid var(--c-green);
  padding: 18px 42px 16px 18px;
  clip-path: polygon(0 0, calc(100% - var(--news-cut)) 0, 100% var(--news-cut), 100% 100%, 0 100%);
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.page-news .timeline-item:hover .timeline-item__panel {
  background: rgba(255, 255, 255, 0.11);
  border-left-color: var(--c-orange);
}

.page-news .timeline-item__panel::after {
  content: "→";
  position: absolute;
  right: 14px;
  top: 16px;
  font-family: var(--font-num);
  font-size: 20px;
  color: var(--c-green);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.page-news .timeline-item:hover .timeline-item__panel::after {
  opacity: 1;
  transform: translateX(0);
}

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

.page-news .timeline-item__ver {
  font-family: var(--font-num);
  font-weight: 700;
  font-size: 16px;
  background: var(--c-green);
  color: var(--c-navy);
  padding: 2px 10px;
  clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
}

.page-news .timeline-item__cat {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-orange);
}

.page-news .timeline-item__time {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.24);
  padding: 2px 8px;
}

.page-news .timeline-item__panel h3 {
  font-size: 21px;
  margin: 0 0 6px;
  line-height: 1.2;
}

.page-news .timeline-item__panel p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
  line-height: 1.7;
}

.page-news .timeline-item__details {
  margin-top: 12px;
}

.page-news .timeline-item__details summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  font-size: 13px;
  color: var(--c-green);
  width: fit-content;
}

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

.page-news .timeline-item__details summary::after {
  content: "+";
  margin-left: 6px;
  color: var(--c-orange);
  font-family: var(--font-num);
  font-size: 15px;
}

.page-news .timeline-item__details[open] summary::after {
  content: "–";
}

.page-news .timeline-item__details ul {
  margin: 12px 0 0;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.84);
}

/* ===================== TOPICS ===================== */
.page-news .news-topics {
  background: var(--c-light);
  padding: 60px 0;
}

.page-news .topics-grid {
  display: grid;
  gap: 18px;
  margin-bottom: 26px;
}

.page-news .topic-card {
  display: block;
  background: var(--c-navy);
  color: #fff;
  text-decoration: none;
  padding: 22px 22px 20px;
  position: relative;
  clip-path: polygon(0 0, calc(100% - var(--news-cut-lg)) 0, 100% var(--news-cut-lg), 100% 100%, 0 100%);
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.page-news .topic-card:hover {
  transform: translate(-4px, -4px);
  background: #071633;
}

.page-news .topic-card__no {
  font-family: var(--font-num);
  color: var(--c-orange);
  font-size: 16px;
  display: block;
}

.page-news .topic-card h3 {
  font-size: 22px;
  margin: 10px 0 6px;
  line-height: 1.2;
}

.page-news .topic-card p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  margin: 0 0 14px;
  line-height: 1.6;
}

.page-news .topic-card__cta {
  font-size: 14px;
  font-weight: 700;
  color: var(--c-green);
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.page-news .topic-card__cta::after {
  content: "→";
  transition: transform 0.2s ease;
}

.page-news .topic-card:hover .topic-card__cta::after {
  transform: translateX(6px);
}

.page-news .news-topics__figure {
  margin: 0;
}

.page-news .news-topics__figure img {
  width: 100%;
  display: block;
  border: 2px solid var(--c-ink);
  box-shadow: var(--shadow-hard);
}

/* ===================== ARCHIVE ===================== */
.page-news .news-archive {
  background: #fff;
  padding: 60px 0 64px;
}

.page-news .archive-list {
  border-top: 2px solid var(--c-navy);
}

.page-news .archive-item {
  display: grid;
  grid-template-columns: 84px 1fr;
  column-gap: 14px;
  padding: 20px 0;
  border-bottom: 1px solid var(--c-line);
}

.page-news .archive-item__mark {
  grid-column: 1;
  grid-row: 1;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-orange);
  line-height: 1.4;
}

.page-news .archive-item__body {
  grid-column: 2;
  grid-row: 1;
}

.page-news .archive-item__body h3 {
  font-size: 18px;
  margin: 0 0 4px;
  line-height: 1.3;
}

.page-news .archive-item__body p {
  font-size: 13px;
  color: var(--c-muted);
  line-height: 1.6;
  margin: 0;
}

.page-news .archive-item__link {
  grid-column: 2;
  grid-row: 2;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--c-navy);
  text-decoration: none;
  border-bottom: 2px solid var(--c-green);
  width: fit-content;
}

.page-news .news-archive__figure {
  margin: 36px 0 0;
}

.page-news .news-archive__figure img {
  width: 100%;
  display: block;
  border: 2px solid var(--c-ink);
  box-shadow: var(--shadow-hard);
}

.page-news .news-archive__cta {
  margin-top: 36px;
  background: var(--c-navy);
  color: #fff;
  padding: 26px 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  align-items: center;
  justify-content: space-between;
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 0 100%);
}

.page-news .news-archive__cta p {
  margin: 0;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.88);
}

.page-news .news-archive__cta a {
  color: var(--c-green);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ===================== MEDIA QUERIES ===================== */
@media (min-width: 640px) {
  .page-news .news-latest__aside {
    grid-template-columns: min(200px, 50%) 1fr;
  }
}

@media (min-width: 760px) {
  .page-news .news-latest__layout {
    grid-template-columns: 1fr 320px;
    gap: 28px;
    align-items: start;
  }

  .page-news .news-latest__aside {
    grid-template-columns: 1fr;
    position: sticky;
    top: 24px;
  }

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

  .page-news .archive-item {
    grid-template-columns: 120px 1fr auto;
    align-items: start;
  }

  .page-news .archive-item__body {
    grid-row: 1;
  }

  .page-news .archive-item__link {
    grid-column: 3;
    grid-row: 1;
    margin-top: 2px;
  }
}

@media (min-width: 960px) {
  .page-news .news-hero {
    padding-top: 36px;
  }

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

  .page-news .timeline-track {
    padding-left: 0;
  }

  .page-news .timeline-track::before {
    left: 50%;
    transform: translateX(-1px);
  }

  .page-news .timeline-item {
    width: calc(50% - 40px);
    margin-left: auto;
    margin-bottom: 44px;
  }

  .page-news .timeline-item:nth-child(odd) {
    margin-left: 0;
  }

  .page-news .timeline-item__dot {
    left: -46px;
    right: auto;
  }

  .page-news .timeline-item:nth-child(odd) .timeline-item__dot {
    left: auto;
    right: -46px;
  }
}
