.page-news {
  --news-rule: rgba(29, 78, 111, 0.55);
  --news-panel: rgba(12, 43, 69, 0.66);
  --news-gap: clamp(18px, 2.6vw, 34px);
  background:
    radial-gradient(1100px 520px at 84% -10%, rgba(53, 230, 212, 0.14), transparent 62%),
    radial-gradient(900px 480px at -8% 30%, rgba(255, 154, 77, 0.09), transparent 58%),
    linear-gradient(180deg, var(--ink) 0%, var(--ink-soft) 46%, var(--ink) 100%);
  color: var(--white);
  padding-bottom: clamp(48px, 7vw, 88px);
  overflow-x: clip;
}

.page-news a:focus-visible,
.page-news summary:focus-visible,
.page-news .btn:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.page-news .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-top: 20px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--mist);
}

.page-news .breadcrumb a {
  color: var(--mist);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color var(--dur) ease, border-color var(--dur) ease;
}

.page-news .breadcrumb a:hover {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
}

.page-news .breadcrumb__sep {
  color: var(--path);
}

/* ---------- HERO ---------- */
.news-hero {
  padding: clamp(26px, 4vw, 46px) 0 clamp(24px, 3.4vw, 38px);
  border-bottom: 1px solid var(--news-rule);
}

.news-hero .eyebrow {
  color: var(--cyan);
}

.page-news h1 {
  margin: 14px 0 0;
  font-size: clamp(32px, 6.2vw, 74px);
  line-height: 1.04;
  font-weight: 900;
  letter-spacing: -0.02em;
  max-width: 15ch;
}

.page-news h1 em {
  font-style: normal;
  color: var(--cyan);
}

.news-hero__lead {
  margin: 20px 0 0;
  max-width: 40ch;
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.8;
  color: var(--mist);
}

.news-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 30px;
  margin: 26px 0 0;
}

.news-hero__meta div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: 12px;
  border-left: 2px solid var(--path);
}

.news-hero__meta dt {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--mist);
}

.news-hero__meta dd {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--white);
}

/* ---------- SUMMARY ---------- */
.news-summary {
  margin-top: clamp(26px, 4vw, 44px);
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid var(--news-rule);
  border-radius: var(--radius-l);
  background: linear-gradient(158deg, rgba(12, 43, 69, 0.94), rgba(6, 24, 38, 0.58));
}

.news-summary__head h2 {
  margin: 10px 0 0;
  font-size: clamp(22px, 3.2vw, 32px);
  line-height: 1.24;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.news-summary__lead {
  margin: 12px 0 0;
  max-width: 42ch;
  font-size: 15px;
  line-height: 1.78;
  color: var(--mist);
}

.summary-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
}

.summary-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 16px 0;
  border-top: 1px solid var(--news-rule);
}

.summary-item:first-child {
  border-top: 0;
  padding-top: 6px;
}

.summary-item__num {
  font-family: var(--font-mono);
  font-size: 30px;
  line-height: 1;
  font-weight: 700;
  color: var(--cyan);
}

.summary-item--path .summary-item__num {
  color: var(--white);
}

.summary-item--archive .summary-item__num {
  color: var(--paper);
}

.summary-item--adapt .summary-item__num {
  color: var(--orange);
}

.summary-item__type {
  margin: 0 0 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--mist);
}

.summary-item__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.74;
  color: rgba(244, 250, 252, 0.86);
}

.news-summary__figure {
  margin: 24px 0 0;
}

/* ---------- BODY GRID ---------- */
.news-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--news-gap);
  padding-top: clamp(28px, 4vw, 46px);
}

.news-rail__block {
  padding: 18px 16px;
  border: 1px solid var(--news-rule);
  border-radius: var(--radius-m);
  background: var(--news-panel);
}

.news-rail__block + .news-rail__block {
  margin-top: 12px;
}

.news-rail .eyebrow {
  color: var(--mist);
  margin: 0 0 12px;
}

.rail-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 10px;
}

.rail-nav a {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 7px 0;
  font-size: 14px;
  color: var(--white);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color var(--dur) ease, border-color var(--dur) ease;
}

.rail-nav a:hover {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
}

.rail-nav__no {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--path);
}

.rail-nav a:hover .rail-nav__no {
  color: var(--cyan);
}

.news-rail__block--note {
  background: var(--paper);
  border-color: var(--paper-edge);
  color: var(--ink);
  box-shadow: var(--shadow-paper);
}

.news-rail__block--note .eyebrow {
  color: var(--path);
}

.news-rail__note {
  margin: 0;
  font-size: 13px;
  line-height: 1.72;
  color: #1c3a4f;
}

/* ---------- SECTION HEAD ---------- */
.section-head {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--news-rule);
}

.section-head .eyebrow {
  color: var(--cyan);
  margin: 0;
}

.section-head h2 {
  margin: 10px 0 0;
  font-size: clamp(24px, 3.6vw, 38px);
  line-height: 1.16;
  font-weight: 850;
  letter-spacing: -0.015em;
  max-width: 20ch;
}

.section-head__lead {
  margin: 12px 0 0;
  max-width: 42ch;
  font-size: 15px;
  line-height: 1.78;
  color: var(--mist);
}

/* ---------- TYPES ---------- */
.news-types {
  margin-top: clamp(30px, 4.4vw, 52px);
}

.type-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 22px;
}

.type-card {
  position: relative;
  padding: 20px 20px 22px;
  border: 1px solid var(--paper-edge);
  border-radius: var(--radius-m);
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow-paper);
  transition: transform var(--dur) ease, box-shadow var(--dur) ease;
}

.type-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 28px 48px -26px rgba(0, 0, 0, 0.92);
}

.type-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  border-radius: 0 0 var(--radius-m) var(--radius-m);
  background: var(--cyan);
}

.type-card:nth-child(2)::after {
  background: var(--path);
}

.type-card:nth-child(3)::after {
  background: var(--paper-edge);
}

.type-card:nth-child(4)::after {
  background: var(--orange);
}

.type-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-s);
  border: 1px solid var(--paper-edge);
  background: rgba(12, 43, 69, 0.06);
  color: var(--ink);
}

.type-card__title {
  margin: 14px 0 0;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.type-card__desc {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: #1c3a4f;
}

.type-card__impact {
  margin: 10px 0 0;
  padding-top: 10px;
  border-top: 1px dashed var(--paper-edge);
  font-size: 13px;
  line-height: 1.7;
  color: #33566c;
}

.news-types__figure {
  margin: 22px 0 0;
}

.types-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 0;
}

/* ---------- ARTICLES ---------- */
.news-articles {
  margin-top: clamp(32px, 4.6vw, 56px);
}

.articles-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--news-rule);
}

.articles-head__text .eyebrow {
  color: var(--cyan);
  margin: 0;
}

.articles-head__text h2 {
  margin: 10px 0 0;
  font-size: clamp(24px, 3.6vw, 38px);
  line-height: 1.16;
  font-weight: 850;
  letter-spacing: -0.015em;
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.filter-chips a {
  padding: 6px 13px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--mist);
  text-decoration: none;
  border: 1px solid var(--path);
  border-radius: 999px;
  transition: color var(--dur) ease, background var(--dur) ease, border-color var(--dur) ease;
}

.filter-chips a:hover {
  color: var(--ink);
  background: var(--cyan);
  border-color: var(--cyan);
}

.articles-head__figure {
  margin: 0;
}

.article-group {
  margin-top: 28px;
}

.article-group__title {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: var(--mist);
}

.article-group__no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: rgba(53, 230, 212, 0.14);
  color: var(--cyan);
  font-size: 11px;
  transform: translateY(-1px);
}

.article-list {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  border-top: 1px solid var(--news-rule);
}

.article-item {
  position: relative;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  padding: 16px 0 18px;
  border-bottom: 1px dashed var(--news-rule);
}

.article-item::after {
  content: "";
  position: absolute;
  left: 34px;
  bottom: -1px;
  width: 0;
  height: 1px;
  background: var(--cyan);
  transition: width 260ms ease;
}

.article-item:hover::after {
  width: calc(100% - 34px);
}

.article-item__no {
  padding-top: 3px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--path);
  transition: color var(--dur) ease;
}

.article-item:hover .article-item__no {
  color: var(--cyan);
}

.article-item__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
}

.tag {
  padding: 2px 9px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  border-radius: 999px;
  border: 1px solid var(--path);
  color: var(--mist);
}

.tag--new {
  color: var(--cyan);
  border-color: rgba(53, 230, 212, 0.5);
  background: rgba(53, 230, 212, 0.08);
}

.tag--path {
  color: var(--white);
  border-color: rgba(244, 250, 252, 0.4);
}

.tag--archive {
  color: var(--paper);
  border-color: var(--paper-edge);
  background: rgba(241, 231, 212, 0.08);
}

.tag--adapt {
  color: var(--orange);
  border-color: rgba(255, 154, 77, 0.5);
  background: rgba(255, 154, 77, 0.08);
}

.tag--review,
.tag--link {
  color: var(--green);
  border-color: rgba(88, 214, 141, 0.5);
  background: rgba(88, 214, 141, 0.07);
}

.article-item__issue {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--path);
}

.article-item__title {
  margin: 0;
  font-size: 17px;
  line-height: 1.45;
  font-weight: 700;
  color: var(--white);
  transition: color var(--dur) ease;
}

.article-item:hover .article-item__title {
  color: var(--cyan);
}

.article-item__excerpt {
  margin: 8px 0 0;
  max-width: 40ch;
  font-size: 14px;
  line-height: 1.76;
  color: var(--mist);
}

/* ---------- ARCHIVE ---------- */
.news-archive {
  margin-top: clamp(32px, 4.6vw, 56px);
}

.news-archive__figure {
  margin: 22px 0 0;
}

.archive-stack {
  margin-top: 22px;
}

.archive-item {
  margin-bottom: 8px;
  border: 1px solid var(--paper-edge);
  border-radius: var(--radius-s);
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow-paper);
}

.archive-item__summary {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 14px;
  padding: 13px 16px;
  cursor: pointer;
  list-style: none;
  font-size: 14px;
}

.archive-item__summary::-webkit-details-marker {
  display: none;
}

.archive-item__summary::after {
  content: "+";
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 16px;
  color: var(--path);
}

.archive-item[open] > .archive-item__summary::after {
  content: "−";
  color: var(--coral, #FF9A4D);
}

.archive-item__no {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.archive-item__topic {
  font-size: 13px;
  color: #33566c;
}

.archive-item__body {
  margin: 0;
  padding: 0 16px 16px;
  font-size: 14px;
  line-height: 1.74;
  color: #1c3a4f;
  border-top: 1px dashed var(--paper-edge);
  padding-top: 12px;
}

/* ---------- ENTERPRISE ---------- */
.news-enterprise {
  margin-top: clamp(32px, 4.6vw, 56px);
}

.enterprise-card {
  padding: clamp(22px, 3.2vw, 36px);
  border-radius: var(--radius-l);
  border: 1px solid rgba(255, 154, 77, 0.36);
  background:
    linear-gradient(140deg, rgba(255, 154, 77, 0.16), rgba(12, 43, 69, 0.9) 52%, rgba(6, 24, 38, 0.7));
}

.enterprise-card .eyebrow {
  margin: 0;
  color: var(--orange);
}

.enterprise-card h2 {
  margin: 10px 0 0;
  font-size: clamp(23px, 3.4vw, 34px);
  line-height: 1.2;
  font-weight: 850;
  letter-spacing: -0.015em;
  max-width: 22ch;
}

.enterprise-card__lead {
  margin: 14px 0 0;
  max-width: 44ch;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(244, 250, 252, 0.86);
}

.enterprise-steps {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.enterprise-steps li {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
  font-size: 14px;
  line-height: 1.74;
  color: var(--mist);
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(29, 78, 111, 0.5);
}

.enterprise-steps li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.enterprise-steps__no {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--orange);
}

.enterprise-card__note {
  margin: 20px 0 0;
  padding: 12px 14px;
  border-left: 3px solid var(--orange);
  background: rgba(6, 24, 38, 0.55);
  font-size: 13px;
  line-height: 1.72;
  color: var(--paper);
}

.enterprise-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

/* ---------- FEATURES ---------- */
.news-features {
  margin-top: clamp(32px, 4.6vw, 56px);
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  margin-top: 22px;
  border: 1px solid var(--news-rule);
  border-radius: var(--radius-m);
  overflow: hidden;
  background: var(--news-rule);
}

.feature-card {
  padding: 20px;
  background: linear-gradient(160deg, rgba(12, 43, 69, 0.9), rgba(6, 24, 38, 0.82));
  transition: background var(--dur) ease;
}

.feature-card:hover {
  background: linear-gradient(160deg, rgba(29, 78, 111, 0.85), rgba(6, 24, 38, 0.86));
}

.feature-card__tag {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--cyan);
}

.feature-card h3 {
  margin: 10px 0 0;
  font-size: 17px;
  line-height: 1.46;
  font-weight: 750;
  color: var(--white);
}

.feature-card p:last-child {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.76;
  color: var(--mist);
}

.features-foot {
  margin: 20px 0 0;
  font-size: 14px;
  line-height: 1.78;
  color: var(--mist);
}

.features-foot a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(53, 230, 212, 0.45);
}

.features-foot a:hover {
  border-bottom-color: var(--cyan);
}

/* ---------- MEDIA ---------- */
.page-news .media-frame {
  overflow: hidden;
  border-radius: var(--radius-m);
  border: 1px solid var(--news-rule);
  background: rgba(12, 43, 69, 0.5);
}

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

.page-news .media-frame--wide img {
  aspect-ratio: 2 / 1;
}

.page-news .media-frame--square img {
  aspect-ratio: 8 / 5;
}

.page-news .media-frame__caption {
  display: block;
  padding: 9px 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--mist);
  border-top: 1px solid var(--news-rule);
}

/* ---------- RESPONSIVE ---------- */
@media (min-width: 640px) {
  .summary-list {
    grid-template-columns: 1fr 1fr;
    column-gap: 28px;
  }

  .summary-item:nth-child(2) {
    border-top: 0;
    padding-top: 6px;
  }

  .type-grid {
    grid-template-columns: 1fr 1fr;
  }

  .rail-nav {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 900px) {
  .articles-head {
    grid-template-columns: minmax(0, 1fr) 300px;
    align-items: center;
    gap: 28px;
  }

  .article-item {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 16px;
  }

  .article-item::after {
    left: 46px;
  }

  .article-item:hover::after {
    width: calc(100% - 46px);
  }
}

@media (min-width: 1000px) {
  .news-body {
    grid-template-columns: 250px minmax(0, 1fr);
    align-items: start;
    gap: clamp(24px, 3vw, 46px);
  }

  .news-rail {
    position: sticky;
    top: calc(var(--header-h) + 20px);
  }

  .news-body > .news-stream > section:first-child {
    margin-top: 0;
  }
}

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

.page-news {
  --coral: currentColor;
}
