.page-news {
  --news-edge: clamp(20px, 4vw, 52px);
  --news-rule: rgba(140, 133, 119, 0.28);
  --news-panel-bg: rgba(30, 58, 95, 0.34);
}

.page-news .news-section {
  padding: clamp(46px, 8vw, 96px) 0;
  border-top: 1px solid var(--news-rule);
}

.page-news .news-section--feed {
  background: linear-gradient(180deg, rgba(18, 41, 74, 0.55), rgba(11, 27, 51, 0.2));
}

.page-news .news-section--next {
  background: rgba(18, 41, 74, 0.42);
}

/* ---------- Hero ---------- */

.page-news .news-hero {
  position: relative;
  padding: clamp(24px, 5vw, 54px) 0 clamp(30px, 5vw, 60px);
  overflow: hidden;
}

.page-news .news-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(118deg, rgba(34, 211, 238, 0.14) 0%, rgba(34, 211, 238, 0) 42%),
    linear-gradient(300deg, rgba(57, 255, 136, 0.1) 0%, rgba(57, 255, 136, 0) 46%);
  pointer-events: none;
}

.page-news .news-hero__frame {
  position: relative;
  border: 1px solid var(--line-hard);
  background: linear-gradient(160deg, rgba(18, 41, 74, 0.86), rgba(11, 27, 51, 0.72));
  padding: var(--news-edge);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 34px), calc(100% - 44px) 100%, 0 100%);
}

.page-news .news-hero__tick {
  position: absolute;
  top: 0;
  right: 0;
  width: 92px;
  height: 92px;
  background-image: repeating-linear-gradient(90deg, var(--stone) 0 1px, transparent 1px 11px);
  opacity: 0.5;
  pointer-events: none;
}

.page-news .news-crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: var(--stone);
  margin-bottom: clamp(20px, 3.6vw, 34px);
}

.page-news .news-crumb a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(34, 211, 238, 0.35);
}

.page-news .news-hero__grid {
  display: grid;
  gap: clamp(26px, 4vw, 44px);
  grid-template-columns: 1fr;
}

.page-news .news-hero__copy h1 {
  font-family: var(--font-cond);
  font-size: clamp(30px, 7.4vw, 62px);
  line-height: 1.1;
  letter-spacing: 0.01em;
  margin: 10px 0 0;
  color: var(--paper);
  max-width: 15em;
}

.page-news .news-hero__lede {
  margin: 20px 0 0;
  max-width: 680px;
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.75;
  color: rgba(239, 233, 220, 0.82);
}

.page-news .news-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.page-news .news-hero__jump {
  display: grid;
  gap: 2px;
  align-content: start;
  border-top: 1px solid var(--news-rule);
  padding-top: 14px;
}

.page-news .news-hero__jump a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  font-size: 14px;
  color: rgba(239, 233, 220, 0.78);
  text-decoration: none;
  border-left: 2px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.page-news .news-hero__jump a:hover,
.page-news .news-hero__jump a:focus-visible {
  color: var(--paper);
  border-left-color: var(--lime);
  background: rgba(34, 211, 238, 0.07);
}

.page-news .news-hero__jump .num {
  color: var(--cyan);
  letter-spacing: 0.08em;
}

.page-news .news-hero__stats {
  list-style: none;
  margin: clamp(30px, 4.4vw, 46px) 0 0;
  padding: clamp(20px, 3vw, 28px) 0 0;
  border-top: 1px solid var(--news-rule);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 30px);
}

.page-news .news-hero__stats li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: var(--stone);
  line-height: 1.5;
}

.page-news .news-hero__stats .num {
  font-family: var(--font-mono);
  font-size: clamp(24px, 4.6vw, 40px);
  font-weight: 600;
  color: var(--lime);
  line-height: 1;
}

/* ---------- Section heads ---------- */

.page-news .news-head {
  max-width: 720px;
  margin-bottom: clamp(26px, 4vw, 44px);
}

.page-news .news-head .section-title {
  margin: 8px 0 0;
}

.page-news .news-head__lede {
  margin: 14px 0 0;
  font-size: 16px;
  line-height: 1.75;
  color: rgba(239, 233, 220, 0.74);
}

/* ---------- Topics ---------- */

.page-news .topic-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}

.page-news .topic-card {
  border-left: 3px solid var(--clay);
  padding: clamp(20px, 3vw, 28px);
}

.page-news .topic-card__title {
  font-family: var(--font-cond);
  font-size: clamp(20px, 2.6vw, 26px);
  margin: 12px 0 10px;
  color: var(--paper);
  letter-spacing: 0.01em;
}

.page-news .topic-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(239, 233, 220, 0.76);
}

.page-news .topic-card__list {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.page-news .topic-card__list li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(239, 233, 220, 0.68);
}

.page-news .topic-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 1px;
  background: var(--cyan);
}

.page-news .topic-card__cadence {
  margin-top: 16px;
  font-size: 13px;
  color: var(--stone);
}

.page-news .topic-card__cadence .num {
  color: var(--lime);
  letter-spacing: 0.04em;
}

.page-news .topic-card__media {
  margin: 0 0 18px;
}

/* ---------- Feed ---------- */

.page-news .feed {
  position: relative;
  border-left: 1px solid var(--line-soft);
  padding-left: clamp(18px, 3vw, 32px);
  display: grid;
  gap: clamp(20px, 3vw, 30px);
}

.page-news .feed__item {
  position: relative;
  background: var(--news-panel-bg);
  border: 1px solid var(--line-soft);
  padding: clamp(18px, 2.6vw, 26px);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease);
}

.page-news .feed__item::before {
  content: "";
  position: absolute;
  left: calc(-1 * clamp(18px, 3vw, 32px) - 4px);
  top: 30px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--deep);
  border: 1px solid var(--stone);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.page-news .feed__item.is-visible::before {
  background: var(--cyan);
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.16);
}

.page-news .feed__item:hover {
  transform: translateY(-4px);
  border-color: var(--line-hard);
}

.page-news .feed__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--stone);
}

.page-news .feed__league {
  padding-left: 10px;
  border-left: 1px solid var(--news-rule);
  letter-spacing: 0.04em;
}

.page-news .feed__time {
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}

.page-news .feed__title {
  font-family: var(--font-cond);
  font-size: clamp(19px, 2.4vw, 25px);
  line-height: 1.35;
  margin: 14px 0 10px;
  color: var(--paper);
}

.page-news .feed__sum {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(239, 233, 220, 0.76);
  max-width: 680px;
}

.page-news .feed__media {
  margin: 18px 0 0;
}

.page-news .feed__more {
  margin-top: 16px;
  border-top: 1px dashed var(--news-rule);
  padding-top: 14px;
}

.page-news .feed__more summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--cyan);
  letter-spacing: 0.02em;
}

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

.page-news .feed__more summary::before {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(34, 211, 238, 0.5);
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1;
}

.page-news .feed__more[open] summary::before {
  content: "–";
  border-color: var(--lime);
  color: var(--lime);
}

.page-news .feed__body {
  margin-top: 14px;
  display: grid;
  gap: 12px;
}

.page-news .feed__body p {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(239, 233, 220, 0.7);
  max-width: 680px;
}

/* ---------- Method ---------- */

.page-news .method {
  display: grid;
  gap: clamp(26px, 4vw, 40px);
}

.page-news .method__timeline {
  margin: 0;
  padding-left: 22px;
  display: grid;
  gap: clamp(20px, 3vw, 30px);
}

.page-news .method__timeline .timeline__item h3 {
  font-family: var(--font-cond);
  font-size: clamp(17px, 2vw, 21px);
  margin: 0 0 8px;
  color: var(--paper);
}

.page-news .method__timeline .timeline__item p {
  margin: 0;
  font-size: 15px;
  line-height: 1.78;
  color: rgba(239, 233, 220, 0.74);
  max-width: 660px;
}

.page-news .method__band {
  margin: 0;
  border: 1px solid var(--line-soft);
  background: rgba(30, 58, 95, 0.28);
}

.page-news .method__band img {
  aspect-ratio: 8 / 3;
}

.page-news .method__band .media__caption {
  padding: 12px 16px;
  font-size: 13px;
  color: var(--stone);
}

/* ---------- Glossary ---------- */

.page-news .glossary {
  display: grid;
  gap: clamp(24px, 4vw, 40px);
}

.page-news .glossary__terms {
  display: grid;
  gap: 10px;
  align-content: start;
}

.page-news .term {
  border: 1px solid var(--line-soft);
  border-left: 3px solid var(--steel);
  background: rgba(30, 58, 95, 0.26);
  transition: border-left-color 0.25s var(--ease), background 0.25s var(--ease);
}

.page-news .term[open] {
  border-left-color: var(--lime);
  background: rgba(30, 58, 95, 0.4);
}

.page-news .term summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 18px;
}

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

.page-news .term__name {
  font-family: var(--font-cond);
  font-size: clamp(16px, 2vw, 19px);
  color: var(--paper);
  letter-spacing: 0.02em;
}

.page-news .term__val {
  color: var(--lime);
  font-size: clamp(18px, 2.4vw, 24px);
  letter-spacing: 0.02em;
}

.page-news .term p {
  margin: 0;
  padding: 0 18px 18px;
  font-size: 14px;
  line-height: 1.78;
  color: rgba(239, 233, 220, 0.72);
  max-width: 640px;
}

.page-news .glossary__figure {
  margin: 0;
  border: 1px solid var(--line-hard);
}

/* ---------- Alerts ---------- */

.page-news .alerts {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}

.page-news .alerts__card {
  padding: clamp(20px, 3vw, 30px);
}

.page-news .alerts__card h3 {
  font-family: var(--font-cond);
  font-size: clamp(20px, 2.6vw, 26px);
  margin: 14px 0 10px;
  color: var(--paper);
}

.page-news .alerts__card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(239, 233, 220, 0.78);
}

.page-news .alerts__list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-news .alerts__list li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(239, 233, 220, 0.68);
}

.page-news .alerts__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 9px;
  height: 1px;
  background: var(--orange);
}

/* ---------- Next ---------- */

.page-news .next-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}

.page-news .next-card {
  display: block;
  text-decoration: none;
  border: 1px solid var(--line-soft);
  border-top: 2px solid var(--steel);
  background: rgba(11, 27, 51, 0.5);
  padding: clamp(20px, 3vw, 28px);
  transition: transform 0.25s var(--ease), border-top-color 0.25s var(--ease), background 0.25s var(--ease);
}

.page-news .next-card:hover,
.page-news .next-card:focus-visible {
  transform: translateY(-4px);
  border-top-color: var(--cyan);
  background: rgba(30, 58, 95, 0.42);
}

.page-news .next-card__idx {
  color: var(--clay);
  letter-spacing: 0.12em;
}

.page-news .next-card h3 {
  font-family: var(--font-cond);
  font-size: clamp(18px, 2.3vw, 23px);
  margin: 12px 0 8px;
  color: var(--paper);
}

.page-news .next-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(239, 233, 220, 0.7);
}

.page-news .next-card__go {
  display: inline-block;
  margin-top: 16px;
  font-size: 13px;
  color: var(--cyan);
  border-bottom: 1px solid rgba(34, 211, 238, 0.4);
}

/* ---------- Media base ---------- */

.page-news .media {
  display: block;
  overflow: hidden;
  background: var(--rail);
}

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

.page-news .media--4x3 img {
  aspect-ratio: 4 / 3;
}

.page-news .media--1x1 img {
  aspect-ratio: 1 / 1;
}

/* ---------- Responsive ---------- */

@media (min-width: 720px) {
  .page-news .news-hero__stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

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

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

@media (min-width: 960px) {
  .page-news .news-hero__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
    align-items: start;
  }

  .page-news .topic-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-news .topic-card--lead {
    grid-column: span 3;
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: clamp(22px, 3vw, 36px);
    align-items: center;
  }

  .page-news .topic-card--lead .topic-card__media {
    margin: 0;
    height: 100%;
  }

  .page-news .topic-card--lead .topic-card__media img {
    height: 100%;
    aspect-ratio: 3 / 2;
  }

  .page-news .method {
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    align-items: start;
  }

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

  .page-news .next-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .page-news .feed {
    padding-left: 40px;
  }

  .page-news .feed__item::before {
    left: -44px;
  }
}

@media (min-width: 1200px) {
  .page-news .news-hero__frame {
    padding: clamp(34px, 4vw, 58px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-news .feed__item,
  .page-news .next-card {
    transition: none;
  }

  .page-news .feed__item:hover,
  .page-news .next-card:hover,
  .page-news .next-card:focus-visible {
    transform: none;
  }
}
