.page-news {
  --news-pad: clamp(52px, 7vw, 96px);
  --news-gap: clamp(16px, 2.4vw, 28px);
  --news-frame: rgba(14, 42, 69, 0.72);
  background: var(--c-deep);
  color: var(--c-cream);
  overflow-x: clip;
}

.page-news .section {
  padding-block: var(--news-pad);
  border-top: 1px solid var(--c-line);
}

.page-news .news-head {
  display: grid;
  gap: 12px;
  margin-bottom: clamp(24px, 4vw, 44px);
}

.page-news .news-note {
  margin: 0;
  padding-left: 14px;
  border-left: 2px solid var(--c-cyan);
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-rock);
}

/* ---------- Hero ---------- */
.news-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: clamp(520px, 82vh, 760px);
  padding-top: var(--header-h);
  overflow: hidden;
  border-bottom: 1px solid var(--c-line);
}

.news-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(8, 24, 38, 0.94) 0%, rgba(8, 24, 38, 0.6) 46%, var(--c-deep) 100%),
    radial-gradient(120% 70% at 78% 6%, rgba(31, 242, 208, 0.16), transparent 62%),
    radial-gradient(90% 60% at 8% 90%, rgba(255, 107, 74, 0.14), transparent 60%);
}

.news-hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.news-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
  filter: saturate(0.75) contrast(1.05);
}

.news-hero__inner {
  position: relative;
  display: grid;
  gap: 16px;
  padding-block: clamp(36px, 6vw, 82px);
}

.news-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 6.4vw, 4.9rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0;
  max-width: 16ch;
}

.news-hero__lede {
  max-width: 46ch;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.75;
  color: var(--c-cream);
}

.news-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.news-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.news-hero__annot {
  display: none;
  margin: 0;
  position: absolute;
  right: clamp(12px, 3vw, 40px);
  top: 44%;
  writing-mode: vertical-rl;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.28em;
  color: var(--c-rock);
}

/* ---------- Round list ---------- */
.news-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--c-line);
}

.news-item {
  display: grid;
  gap: 14px;
  padding: clamp(22px, 3.2vw, 34px) clamp(14px, 2.2vw, 28px);
  border-bottom: 1px solid var(--c-line);
  background: var(--c-deep);
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.news-item:nth-child(odd) {
  background: var(--c-deep-2);
}

.news-item:hover {
  background: rgba(27, 60, 90, 0.55);
}

.news-item--latest {
  box-shadow: inset 3px 0 0 var(--c-coral);
}

.news-item__rail {
  display: flex;
  align-items: center;
  gap: 10px;
}

.news-item__body {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.news-item__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--c-rock);
}

.news-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-coral);
  animation: news-breathe 2.6s var(--ease) 2;
}

@keyframes news-breathe {
  0% { box-shadow: 0 0 0 0 rgba(255, 107, 74, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(255, 107, 74, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 107, 74, 0); }
}

.news-item__title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.12rem, 2vw, 1.5rem);
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.news-item__summary {
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-width: 62ch;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(237, 232, 220, 0.86);
}

/* ---------- Figures ---------- */
.news-figure {
  margin: 4px 0 0;
  display: grid;
  gap: 8px;
}

.news-figure__frame {
  position: relative;
  aspect-ratio: 12 / 7;
  overflow: hidden;
  clip-path: var(--chamfer);
  border: 1px solid var(--c-line);
  background: linear-gradient(160deg, rgba(14, 42, 69, 0.9), rgba(8, 24, 38, 1));
}

.news-figure__frame--wide {
  aspect-ratio: 21 / 9;
}

.news-figure__frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  display: block;
}

.news-figure__caption {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--c-rock);
}

.news-figure--board {
  margin-top: clamp(24px, 4vw, 44px);
}

.news-figure--board .news-figure__frame {
  aspect-ratio: 16 / 9;
}

/* ---------- Fold ---------- */
.news-fold {
  border-top: 1px dashed var(--c-line);
  padding-top: 10px;
}

.news-fold__summary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  list-style: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--c-cyan);
}

.news-fold__summary::-webkit-details-marker {
  display: none;
}

.news-fold__summary::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--c-cyan);
  transition: width 0.3s var(--ease);
}

.news-fold[open] .news-fold__summary::before {
  width: 44px;
}

.news-fold__summary:hover {
  color: var(--c-cream);
}

.news-fold__body {
  display: grid;
  gap: 12px;
  padding-top: 12px;
  max-width: 62ch;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(237, 232, 220, 0.86);
}

.news-fold__body p {
  margin: 0;
}

.news-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 16px;
  margin: 0;
}

.news-facts__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  background: rgba(8, 24, 38, 0.72);
  border-left: 2px solid var(--c-cyan-deep);
}

.news-facts dt {
  font-size: 12.5px;
  color: var(--c-rock);
}

.news-facts dd {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  color: var(--c-yellow);
}

/* ---------- Board ---------- */
.news-board__grid {
  display: grid;
  gap: var(--news-gap);
}

.news-chart {
  padding: clamp(16px, 2.6vw, 28px);
  background: var(--news-frame);
  border: 1px solid var(--c-line);
  clip-path: var(--chamfer);
}

.news-chart__title {
  margin: 0 0 16px;
  font-family: var(--font-heading);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
}

.news-chart__svg {
  display: block;
  width: 100%;
  height: auto;
}

.news-chart__grid line {
  stroke: var(--c-line);
  stroke-width: 1;
  stroke-dasharray: 3 5;
}

.news-chart__line {
  fill: none;
  stroke-width: 2.5;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.news-chart__line--a {
  stroke: var(--c-cyan);
}

.news-chart__line--b {
  stroke: var(--c-coral);
}

.news-chart__dot--a {
  fill: var(--c-cyan);
}

.news-chart__dot--b {
  fill: var(--c-coral);
}

.news-chart__axis text {
  font-family: var(--font-mono);
  font-size: 11px;
  fill: var(--c-rock);
  letter-spacing: 0.06em;
}

.news-chart__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  font-size: 12.5px;
  color: var(--c-rock);
}

.news-chart__legend-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.news-chart__legend-item::before {
  content: "";
  width: 18px;
  height: 3px;
}

.news-chart__legend-item--a::before {
  background: var(--c-cyan);
}

.news-chart__legend-item--b::before {
  background: var(--c-coral);
}

.news-columns {
  display: grid;
  gap: 12px;
  align-content: start;
}

.news-column {
  padding: clamp(18px, 2.4vw, 26px);
  background: var(--c-deep-2);
  border: 1px solid var(--c-line);
  border-right: 3px solid var(--c-cyan-deep);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.news-column:hover {
  border-right-color: var(--c-cyan);
  transform: translateX(-4px);
}

.news-column__title {
  margin: 12px 0 8px;
  font-family: var(--font-heading);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.4;
}

.news-column__text {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.72;
  color: rgba(237, 232, 220, 0.82);
}

/* ---------- Log ---------- */
.news-log {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  counter-reset: newslog;
}

.news-log__item {
  display: grid;
  gap: 6px;
  padding: 18px 0 18px 22px;
  border-left: 2px solid var(--c-line);
  position: relative;
}

.news-log__item::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 26px;
  width: 12px;
  height: 12px;
  background: var(--c-deep);
  border: 2px solid var(--c-yellow);
  transform: rotate(45deg);
}

.news-log__item:first-child {
  border-left-color: var(--c-cyan);
}

.news-log__item:first-child::before {
  border-color: var(--c-cyan);
  background: rgba(31, 242, 208, 0.18);
}

.news-log__when {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--c-yellow);
}

.news-log__text {
  margin: 0;
  max-width: 68ch;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(237, 232, 220, 0.88);
}

/* ---------- Topics ---------- */
.news-topics-section {
  padding-bottom: var(--news-pad);
}

.news-topics-wrap {
  padding-inline: 0;
}

.news-topics {
  display: flex;
  gap: var(--news-gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px var(--gutter) 20px;
  -webkit-overflow-scrolling: touch;
  scrollbar-color: var(--c-line) transparent;
}

.news-topics::-webkit-scrollbar {
  height: 6px;
}

.news-topics::-webkit-scrollbar-thumb {
  background: var(--c-line);
}

.news-topic {
  flex: 0 0 min(84vw, 340px);
  scroll-snap-align: start;
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 14px 14px 22px;
  background: var(--c-deep-2);
  border: 1px solid var(--c-clay);
  box-shadow: var(--shadow);
}

.news-topic__cover {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  clip-path: var(--chamfer);
  background: linear-gradient(150deg, rgba(196, 121, 79, 0.35), rgba(8, 24, 38, 0.98));
}

.news-topic__cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  display: block;
}

.news-topic__cover--text {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 3 / 4;
  background:
    repeating-linear-gradient(var(--slash), rgba(31, 242, 208, 0.08) 0 2px, transparent 2px 14px),
    linear-gradient(150deg, rgba(14, 42, 69, 0.98), rgba(8, 24, 38, 1));
}

.news-topic__mark {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 8vw, 3.6rem);
  letter-spacing: 0.08em;
  color: rgba(237, 232, 220, 0.85);
  writing-mode: vertical-rl;
}

.news-topic__body {
  display: grid;
  gap: 10px;
}

.news-topic__title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
}

.news-topic__text {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.72;
  color: rgba(237, 232, 220, 0.82);
}

/* ---------- Contact panels ---------- */
.news-panels {
  display: grid;
  gap: var(--news-gap);
}

.news-panel {
  padding: clamp(22px, 3.2vw, 36px);
  background: var(--c-deep-2);
  border-left: 3px solid var(--c-cyan);
  display: grid;
  gap: 14px;
  align-content: start;
}

.news-panel--alt {
  border-left-color: var(--c-coral);
}

.news-panel__title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
}

.news-panel__text {
  margin: 0;
  max-width: 54ch;
  font-size: 15px;
  line-height: 1.78;
  color: rgba(237, 232, 220, 0.86);
}

.news-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

/* ---------- Desktop ---------- */
@media (min-width: 900px) {
  .news-hero__annot {
    display: block;
  }

  .news-item {
    grid-template-columns: 104px minmax(0, 1fr);
    gap: clamp(20px, 3vw, 40px);
  }

  .news-item__rail {
    flex-direction: column;
    align-items: center;
    align-content: start;
  }

  .news-item__rail .tag--round {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    letter-spacing: 0.22em;
    padding: 14px 6px;
  }

  .news-board__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
    align-items: start;
  }

  .news-log {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 40px;
  }

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

  .news-topic {
    flex: 0 0 340px;
  }
}

@media (min-width: 1200px) {
  .news-list {
    max-width: 1080px;
  }

  .news-topic {
    flex: 0 0 380px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-news *,
  .page-news *::before,
  .page-news *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
