.page-news {
  --news-rail-width: 280px;
  --news-deep: var(--c-deep-space);
  --news-prairie: var(--c-prairie);
  --news-accent: var(--c-accent);
  --news-ink: var(--c-ink);
  --news-white: var(--c-white);
  --news-light: var(--c-light-gray);
  --news-mid: var(--c-mid-gray);
  --news-dark: var(--c-dark-gray);
}

.page-news .news-hero {
  position: relative;
  overflow: hidden;
  background: var(--news-deep);
  color: var(--news-white);
  padding: 40px 0 48px;
}

.page-news .news-hero__container {
  position: relative;
  z-index: 1;
}

.page-news .news-hero::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: 48px 48px;
  pointer-events: none;
}

.page-news .news-hero::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: var(--news-prairie);
  clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%);
  opacity: 0.14;
  pointer-events: none;
}

.page-news .breadcrumb {
  margin: 0 0 24px;
}

.page-news .breadcrumb a {
  color: rgba(255, 255, 255, 0.72);
  text-underline-offset: 3px;
}

.page-news .breadcrumb a:hover {
  color: var(--news-accent);
}

.page-news .news-hero__grid {
  display: grid;
  gap: 28px;
}

.page-news .news-hero__kicker {
  color: var(--news-accent);
  font-family: var(--font-mono);
  letter-spacing: 0.12em;
}

.page-news .news-hero__title {
  margin: 12px 0 16px;
  font-size: 32px;
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--news-white);
}

.page-news .news-hero__desc {
  max-width: 560px;
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.72);
}

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

.page-news .news-hero__stat {
  padding: 18px 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.page-news .news-hero__stat:last-child {
  grid-column: 1 / -1;
}

.page-news .news-hero__stat-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.56);
  font-family: var(--font-mono);
}

.page-news .news-hero__stat-value {
  margin: 8px 0 0;
  font-size: 30px;
  font-weight: 900;
  color: var(--news-accent);
  font-family: var(--font-mono);
}

.page-news .news-grid {
  display: grid;
  gap: 48px;
  padding: 48px 0 64px;
}

.page-news .news-rail__section + .news-rail__section {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--news-light);
}

.page-news .news-rail__title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  font-size: 17px;
  font-weight: 900;
}

.page-news .news-rail__title::before {
  content: "";
  width: 4px;
  height: 18px;
  background: var(--news-accent);
}

.page-news .news-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-news .news-tags .tag {
  padding: 6px 12px;
  background: var(--news-deep);
  color: var(--news-white);
  border: 1px solid var(--news-deep);
  text-decoration: none;
}

.page-news .news-tags .tag--prairie {
  background: var(--news-prairie);
  border-color: var(--news-prairie);
}

.page-news .news-tags .tag--accent {
  background: var(--news-accent);
  border-color: var(--news-accent);
  color: var(--news-ink);
}

.page-news .news-tags .tag:hover {
  outline: 2px solid var(--news-accent);
  outline-offset: 2px;
}

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

.page-news .news-hot__item {
  display: grid;
  grid-template-columns: 28px 1fr;
  grid-template-areas:
    "num title"
    "num tag";
  column-gap: 10px;
  padding: 14px;
  background: var(--news-white);
  border: 1px solid var(--news-light);
  text-decoration: none;
  color: var(--news-ink);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.page-news .news-hot__item:hover {
  border-color: var(--news-accent);
  transform: translateX(4px);
}

.page-news .news-hot__num {
  grid-area: num;
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 900;
  color: var(--news-accent);
}

.page-news .news-hot__title {
  grid-area: title;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}

.page-news .news-hot__tag {
  grid-area: tag;
  font-size: 12px;
  color: var(--news-mid);
}

.page-news .news-rail__text {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--news-mid);
}

.page-news .news-rail__text a {
  color: var(--news-deep);
  text-underline-offset: 3px;
}

.page-news .news-rail__btn {
  margin-bottom: 16px;
}

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

.page-news .section-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 0 0 24px;
}

.page-news .section-head__index {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--news-accent);
}

.page-news .section-head h2 {
  margin: 0;
  font-size: 28px;
  font-weight: 900;
}

.page-news .news-brief {
  position: relative;
  overflow: hidden;
  padding: 24px;
  margin-bottom: 32px;
  background: var(--news-deep);
  color: var(--news-white);
}

.page-news .news-brief::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 140px;
  height: 100%;
  background: linear-gradient(135deg, var(--news-prairie), transparent 72%);
  opacity: 0.3;
  pointer-events: none;
}

.page-news .news-brief__title {
  margin: 0 0 12px;
  font-size: 13px;
  font-family: var(--font-mono);
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--news-accent);
}

.page-news .news-brief__list {
  columns: 1;
  column-gap: 32px;
  margin: 0 0 0 18px;
  padding: 0;
}

.page-news .news-brief__list li {
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  break-inside: avoid;
}

.page-news .news-list {
  display: block;
}

.page-news .news-list__breaker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 8px 0 4px;
  color: var(--news-mid);
  font-size: 12px;
  font-family: var(--font-mono);
  letter-spacing: 0.12em;
}

.page-news .news-list__breaker::before,
.page-news .news-list__breaker::after {
  content: "";
  height: 1px;
  background: var(--news-light);
  flex: 1;
}

.page-news .news-item {
  border-top: 1px solid var(--news-light);
  padding: 30px 0 32px;
  scroll-margin-top: 72px;
  transition: background 0.25s ease, border-color 0.25s ease, padding 0.25s ease;
}

.page-news .news-item:last-child {
  border-bottom: 1px solid var(--news-light);
}

.page-news .news-item:target {
  border-left: 4px solid var(--news-accent);
  padding-left: 18px;
  background: linear-gradient(90deg, rgba(255, 107, 53, 0.06), transparent 70%);
}

.page-news .news-item__inner {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  column-gap: 16px;
}

.page-news .news-item__index {
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
  color: var(--news-light);
}

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

.page-news .news-item .tag {
  padding: 4px 10px;
  background: var(--news-deep);
  color: var(--news-white);
  border: 1px solid var(--news-deep);
}

.page-news .news-item .tag--prairie {
  background: var(--news-prairie);
  border-color: var(--news-prairie);
}

.page-news .news-item .tag--accent {
  background: var(--news-accent);
  border-color: var(--news-accent);
  color: var(--news-ink);
}

.page-news .news-item__date,
.page-news .news-item__author {
  font-size: 12px;
  color: var(--news-mid);
  font-family: var(--font-mono);
}

.page-news .news-item__title {
  margin: 0 0 10px;
  font-size: 21px;
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.page-news .news-item__summary {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  font-weight: 300;
  color: var(--news-mid);
}

.page-news .news-item__more {
  margin-top: 10px;
}

.page-news .news-item__more summary {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  list-style: none;
  color: var(--news-deep);
}

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

.page-news .news-item__more summary::before {
  content: "+";
  font-family: var(--font-mono);
  font-weight: 900;
  color: var(--news-accent);
}

.page-news .news-item__more[open] summary::before {
  content: "–";
}

.page-news .news-item__more[open] {
  margin-top: 14px;
  padding: 4px 16px 16px;
  border-left: 3px solid var(--news-prairie);
  background: rgba(61, 153, 112, 0.06);
}

.page-news .news-item__more[open] p {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.75;
}

.page-news .news-item__link {
  margin-top: 14px;
}

.page-news .news-item__media {
  grid-column: 2;
  margin: 20px 0 0;
}

.page-news .news-item__media img {
  display: block;
  width: 100%;
  height: auto;
}

.page-news .news-item--compact .news-item__title {
  font-size: 18px;
}

.page-news .news-item--compact .news-item__summary {
  font-size: 13px;
}

.page-news .news-cross {
  background: var(--news-dark);
  padding: 56px 0 64px;
  color: var(--news-white);
}

.page-news .news-cross .section-head h2 {
  color: var(--news-white);
}

.page-news .news-cross .section-head__index {
  color: var(--news-accent);
}

.page-news .news-cross__grid {
  display: grid;
  gap: 14px;
  margin-top: 32px;
}

.page-news .news-cross__card {
  display: block;
  padding: 26px 22px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--news-white);
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.page-news .news-cross__card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--news-prairie);
}

.page-news .news-cross__num {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 900;
  color: var(--news-accent);
}

.page-news .news-cross__card h3 {
  margin: 14px 0 6px;
  font-size: 17px;
  font-weight: 900;
}

.page-news .news-cross__card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.7);
}

@media (min-width: 640px) {
  .page-news .news-hero__stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-news .news-hero__stat:last-child {
    grid-column: auto;
  }

  .page-news .news-brief__list {
    columns: 2;
  }
}

@media (min-width: 900px) {
  .page-news .news-hero {
    padding: 56px 0 64px;
  }

  .page-news .news-hero__grid {
    grid-template-columns: minmax(0, 1fr) 320px;
    align-items: end;
    gap: 48px;
  }

  .page-news .news-hero__title {
    font-size: 44px;
  }

  .page-news .news-hero__stat-value {
    font-size: 36px;
  }

  .page-news .news-grid {
    grid-template-columns: var(--news-rail-width) minmax(0, 1fr);
    gap: 56px;
    padding: 56px 0 72px;
  }

  .page-news .news-item__title {
    font-size: 23px;
  }

  .page-news .news-item__more[open] p {
    font-size: 15px;
  }

  .page-news .news-cross {
    padding: 72px 0;
  }
}

@media (min-width: 1024px) {
  .page-news .news-item--featured .news-item__inner {
    grid-template-columns: 56px minmax(0, 1fr) 220px;
    column-gap: 24px;
  }

  .page-news .news-item--featured .news-item__media {
    grid-column: 3;
    grid-row: 1;
    align-self: start;
    margin: 0;
  }

  .page-news .news-item--featured .news-item__media img {
    width: 100%;
    height: 180px;
    object-fit: cover;
  }
}
