.page-news {
  --news-gap: clamp(22px, 4vw, 44px);
  --news-pad: clamp(20px, 3.2vw, 32px);
  --news-text-soft: rgba(244, 240, 230, 0.76);
  --news-text-faint: rgba(244, 240, 230, 0.58);
  --news-radius: var(--r-lg);
  color: var(--paper);
  padding-bottom: clamp(40px, 6vw, 80px);
}

.page-news a {
  color: var(--cyan);
}

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

.page-news .breadcrumbs {
  margin-bottom: clamp(18px, 3vw, 28px);
}

.page-news .eyebrow {
  color: var(--orange);
  letter-spacing: 0.08em;
}

.page-news .media {
  margin: 0;
  overflow: hidden;
  border-radius: var(--news-radius);
  background: var(--cabinet);
}

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

.page-news .media__caption {
  padding: 10px 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.6;
  color: var(--mist);
  background: rgba(7, 26, 20, 0.72);
}

.news-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(22px, 4vw, 46px) clamp(34px, 5vw, 64px);
  background:
    radial-gradient(120% 90% at 88% 0%, rgba(53, 242, 214, 0.14), transparent 55%),
    radial-gradient(90% 70% at 0% 100%, rgba(255, 138, 61, 0.1), transparent 60%);
}

.news-hero__grid {
  display: grid;
  gap: clamp(24px, 4vw, 46px);
  align-items: center;
}

.news-hero__title {
  margin: 10px 0 16px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.05rem, 7vw, 4.2rem);
  line-height: 1.03;
  letter-spacing: -0.03em;
}

.news-hero__lede {
  margin: 0 0 18px;
  max-width: 56ch;
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  line-height: 1.8;
  color: var(--news-text-soft);
}

.news-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  padding-top: 14px;
  border-top: 1px dashed var(--line-soft);
  font-size: 12.5px;
  color: var(--cyan);
  letter-spacing: 0.04em;
}

.news-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.news-hero__media {
  transform: rotate(-1.4deg);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-card);
}

.news-headlines,
.news-categories,
.news-updates,
.news-topics,
.news-follow {
  padding-block: clamp(32px, 5vw, 60px);
}

.page-news .section-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: clamp(18px, 3vw, 30px);
}

.page-news .section-head__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 3.2vw, 2.4rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.page-news .section-head__note {
  margin: 0;
  max-width: 62ch;
  font-size: 14px;
  line-height: 1.75;
  color: var(--mist);
}

.headline-grid {
  display: grid;
  gap: 14px;
}

.headline-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: var(--news-pad);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: var(--news-radius);
  background: linear-gradient(160deg, rgba(15, 46, 36, 0.96), rgba(7, 26, 20, 0.96));
}

.headline-card::after {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 120px;
  height: 120px;
  background: rgba(53, 242, 214, 0.08);
  transform: rotate(24deg);
  pointer-events: none;
}

.headline-card--lead {
  border-color: rgba(53, 242, 214, 0.4);
  background:
    radial-gradient(circle at 100% 0%, rgba(53, 242, 214, 0.16), transparent 60%),
    linear-gradient(160deg, rgba(15, 46, 36, 0.98), rgba(7, 26, 20, 0.98));
}

.headline-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.headline-card__time {
  font-size: 12px;
  color: var(--mist);
  letter-spacing: 0.03em;
}

.headline-card__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.3rem, 2.6vw, 1.8rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.headline-card--lead .headline-card__title {
  font-size: clamp(1.6rem, 3.4vw, 2.5rem);
  line-height: 1.14;
}

.headline-card__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--news-text-soft);
}

.headline-card__link {
  align-self: flex-start;
  margin-top: auto;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(53, 242, 214, 0.42);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.headline-card__link:hover {
  border-bottom-color: var(--cyan);
}

.category-layout {
  display: grid;
  gap: var(--news-gap);
  align-items: start;
}

.category-aside__figure {
  border: 1px solid var(--line-soft);
  border-radius: var(--news-radius);
}

.category-aside__note {
  margin: 14px 0 0;
  max-width: 36ch;
  font-size: 13.5px;
  line-height: 1.78;
  color: var(--mist);
}

.page-news .tabs {
  min-width: 0;
}

.page-news .tabs__list {
  position: relative;
  display: flex;
  gap: 8px;
  padding-bottom: 10px;
  overflow-x: auto;
  border-bottom: 1px solid var(--line-soft);
  scrollbar-width: thin;
}

.page-news .tabs__tab {
  flex: 0 0 auto;
  padding: 9px 16px;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-pill);
  background: rgba(244, 240, 230, 0.04);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.2;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.page-news .tabs__tab:hover {
  border-color: var(--teal);
}

.page-news .tabs__tab[aria-selected="true"] {
  border-color: var(--cyan);
  background: var(--cyan);
  color: var(--ink);
  font-weight: 700;
}

.page-news .tabs.is-enhanced .tabs__list {
  border-bottom-color: transparent;
}

.page-news .tabs.is-enhanced .tabs__list::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: var(--tab-x, 0);
  width: var(--tab-w, 0);
  height: 2px;
  border-radius: 2px;
  background: var(--orange);
  transition: left 180ms ease, width 180ms ease;
}

.page-news .tabs__panel {
  padding-top: 18px;
}

.page-news .tabs__panel h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.page-news .tabs__panel p {
  margin: 0 0 12px;
  max-width: 62ch;
  font-size: 15px;
  line-height: 1.78;
  color: var(--news-text-soft);
}

.category-points {
  display: grid;
  gap: 8px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}

.category-points li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--news-text-soft);
}

.category-points li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--cyan);
  transform: rotate(45deg);
}

.category-panel-link {
  display: inline-block;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(53, 242, 214, 0.42);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.news-updates__texture {
  margin-bottom: clamp(20px, 3vw, 34px);
  border: 1px solid var(--line-soft);
  border-radius: var(--news-radius);
}

.news-updates__texture img {
  aspect-ratio: 14 / 5;
  object-fit: cover;
}

.phase-group + .phase-group {
  margin-top: clamp(26px, 4vw, 44px);
}

.phase-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.phase-label__index {
  padding: 2px 8px;
  border: 1px solid rgba(255, 138, 61, 0.42);
  border-radius: var(--r-pill);
  color: var(--orange);
  font-size: 11.5px;
  letter-spacing: 0.1em;
}

.update-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.update-item {
  display: grid;
  gap: 6px;
  padding: 18px 0;
  border-bottom: 1px dashed var(--line-soft);
}

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

.update-item__time {
  display: inline-flex;
  font-size: 12px;
  line-height: 1.5;
  color: var(--cyan);
  letter-spacing: 0.03em;
}

.update-item__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.page-news .tag--neutral {
  border: 1px solid rgba(244, 240, 230, 0.24);
  background: rgba(244, 240, 230, 0.1);
  color: var(--paper);
}

.update-item__body h4 {
  margin: 8px 0 6px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.5;
}

.update-item__body p {
  margin: 0;
  max-width: 64ch;
  font-size: 14.5px;
  line-height: 1.72;
  color: var(--news-text-soft);
}

.topic-layout {
  display: grid;
  gap: var(--news-gap);
  align-items: start;
}

.topic-figure {
  border: 1px solid var(--line-soft);
  border-radius: var(--news-radius);
}

.page-news .topic-timeline {
  display: grid;
  gap: 0;
}

.page-news .topic-timeline .timeline__item {
  position: relative;
  padding: 0 0 24px 24px;
  border-left: 1px solid var(--line);
}

.page-news .topic-timeline .timeline__item:last-child {
  padding-bottom: 0;
}

.page-news .topic-timeline .timeline__item::before {
  content: "";
  position: absolute;
  top: 6px;
  left: -5px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(53, 242, 214, 0.12);
}

.page-news .topic-timeline .timeline__time {
  display: inline-block;
  margin-bottom: 6px;
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: var(--orange);
}

.page-news .topic-timeline h3 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.15rem, 2.2vw, 1.35rem);
  line-height: 1.3;
}

.page-news .topic-timeline p {
  margin: 0;
  max-width: 58ch;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--news-text-soft);
}

.follow-grid {
  display: grid;
  gap: 14px;
}

.follow-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: var(--news-pad);
  border-radius: var(--news-radius);
}

.page-news .follow-card.card--paper {
  border: 1px solid rgba(15, 46, 36, 0.16);
  background: var(--paper);
  color: var(--ink);
}

.follow-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  line-height: 1.3;
}

.follow-card p {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.72;
}

.page-news .follow-card.card--paper p {
  color: rgba(7, 26, 20, 0.78);
}

.page-news .follow-card.card--paper .btn--quiet {
  color: var(--cabinet);
  border-color: rgba(15, 46, 36, 0.3);
  background: transparent;
}

.follow-card .btn {
  align-self: flex-start;
  margin-top: auto;
}

.follow-card--note {
  border: 1px solid var(--line);
  background: linear-gradient(150deg, rgba(53, 242, 214, 0.16), rgba(15, 46, 36, 0.94));
  color: var(--paper);
}

.follow-card--note p {
  color: var(--news-text-soft);
}

@media (min-width: 720px) {
  .headline-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    grid-template-rows: auto auto;
  }

  .headline-card--lead {
    grid-row: span 2;
  }

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

  .update-item {
    grid-template-columns: 160px minmax(0, 1fr);
    gap: 24px;
    padding: 20px 0;
  }

  .update-item__rail {
    align-items: flex-start;
    padding-top: 2px;
  }
}

@media (min-width: 960px) {
  .news-hero__grid {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  }

  .category-layout {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  }

  .category-aside {
    position: sticky;
    top: 96px;
  }

  .topic-layout {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }
}

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

  .news-hero__media {
    transform: none;
  }
}
