.page-news {
  background:
    linear-gradient(135deg, rgba(10,31,68,0.035) 25%, transparent 25%) 0 0 / 18px 18px,
    linear-gradient(225deg, rgba(10,31,68,0.035) 25%, transparent 25%) 0 0 / 18px 18px,
    var(--bg-soft);
  color: var(--text);
  overflow-x: clip;
}

.page-news .breadcrumb {
  display: flex;
  padding-top: 0;
  font-size: 0.875rem;
  color: var(--muted);
}

.page-news .breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-news .breadcrumb li + li::before {
  content: "/";
  opacity: 0.5;
  margin-right: 0.5rem;
}

.page-news .breadcrumb a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.page-news .breadcrumb a:hover,
.page-news .breadcrumb a:focus {
  color: var(--secondary);
}

.page-news__topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: calc(var(--gutter) * 0.75);
}

.page-news__about-link {
  flex-shrink: 0;
  font-family: var(--font-data);
  font-size: 0.8125rem;
  color: var(--primary);
  text-decoration: none;
  padding-bottom: 0.25rem;
  border-bottom: 2px solid var(--accent);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.page-news__about-link:hover,
.page-news__about-link:focus {
  color: var(--secondary);
  border-color: var(--secondary);
}

.page-news__layout {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
  padding-block: var(--section-space);
  align-items: start;
}

.page-news__rail {
  display: grid;
  gap: clamp(1.25rem, 3vw, 2rem);
  align-content: start;
}

.news-feature {
  background: var(--primary);
  color: var(--white);
  display: grid;
  grid-template-columns: 1fr;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 1.5rem), calc(100% - 1.5rem) 100%, 0 100%);
  box-shadow: 0 20px 44px rgba(10, 31, 68, 0.18);
}

.news-feature__figure {
  position: relative;
  margin: 0;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 1.5rem 100%, 0 calc(100% - 1.5rem));
}

.news-feature__figure img {
  width: 100%;
  height: auto;
  max-width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
}

.news-feature__stamp {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--secondary);
  color: var(--white);
  font-family: var(--font-data);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 0.3em 0.8em;
  transform: rotate(4deg);
  clip-path: polygon(0.4em 0, 100% 0, calc(100% - 0.4em) 100%, 0 100%);
}

.news-feature__body {
  padding: 1.5rem;
}

.news-feature .section-index {
  font-family: var(--font-data);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  color: var(--accent);
  display: inline-block;
  margin-bottom: 0.75rem;
}

.news-feature__kicker {
  margin: 0 0 0.5rem;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.6);
}

.news-feature h1 {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 8vw, 4rem);
  line-height: 1;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.news-feature__lead {
  margin: 0 0 1.25rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9375rem;
  line-height: 1.7;
}

.news-feature .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.news-feature__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.news-feature__stat {
  display: grid;
  gap: 0.15rem;
}

.news-feature__stat-num {
  font-family: var(--font-data);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--warning);
}

.news-feature__stat-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
}

.news-popular {
  background: var(--primary-light);
  color: var(--white);
  padding: 1.5rem 1.5rem 1.5rem 1.75rem;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 12px 28px rgba(10, 31, 68, 0.14);
}

.news-popular::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 4px;
  background: var(--accent);
}

.news-popular__title {
  font-family: var(--font-head);
  font-size: 1.125rem;
  margin: 0 0 1rem;
  color: var(--white);
  letter-spacing: 0.02em;
}

.news-popular__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.875rem;
}

.news-popular__item a {
  display: flex;
  gap: 0.75rem;
  align-items: baseline;
  color: var(--white);
  text-decoration: none;
  line-height: 1.45;
  transition: color 0.2s ease, transform 0.2s ease;
}

.news-popular__item a:hover,
.news-popular__item a:focus {
  color: var(--accent);
  transform: translateX(0.25rem);
}

.news-popular__num {
  font-family: var(--font-data);
  font-size: 0.75rem;
  color: var(--accent);
  flex-shrink: 0;
  font-weight: 700;
}

.news-popular__text {
  font-size: 0.875rem;
}

.page-news__feed {
  min-width: 0;
}

.news-feed__header {
  margin-bottom: 1.5rem;
}

.news-feed__header .section-label {
  font-family: var(--font-data);
  font-size: 0.8125rem;
  letter-spacing: 0.18em;
  color: var(--secondary);
  display: inline-block;
  margin-bottom: 0.5rem;
}

.news-feed__header h2 {
  font-family: var(--font-head);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.1;
  margin: 0 0 0.5rem;
  color: var(--primary);
}

.news-feed__desc {
  margin: 0;
  color: var(--muted);
  font-size: 0.9375rem;
}

.news-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 2px solid var(--border);
}

.news-tags__item {
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--font-data);
  font-size: 0.8125rem;
  padding: 0.45em 0.95em;
  text-decoration: none;
  clip-path: polygon(0.4em 0, 100% 0, calc(100% - 0.4em) 100%, 0 100%);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.news-tags__item:hover,
.news-tags__item:focus {
  background: var(--secondary);
  border-color: var(--secondary);
  color: var(--white);
  transform: translateY(-2px);
}

.news-list {
  display: grid;
  gap: 2.5rem;
}

.news-group {
  scroll-margin-top: calc(var(--header-h) + 2rem);
}

.news-group:target {
  animation: news-group-flash 1.2s ease;
}

@keyframes news-group-flash {
  0% {
    background: rgba(0, 194, 168, 0.16);
  }
  100% {
    background: transparent;
  }
}

.news-group__head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-head);
  font-size: 1.25rem;
  color: var(--primary);
  margin: 0 0 1rem;
}

.news-group__head::before {
  content: "";
  width: 0.5em;
  height: 0.5em;
  background: var(--accent);
  transform: rotate(45deg);
  flex-shrink: 0;
}

.news-group__count {
  font-family: var(--font-data);
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--muted);
}

.news-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  background: var(--white);
  border: 1px solid var(--border);
  padding: 1.25rem;
  margin-bottom: 1rem;
  position: relative;
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.news-card:hover,
.news-card:focus-within {
  box-shadow: 0 16px 36px rgba(10, 31, 68, 0.1);
  transform: translateY(-2px);
  border-color: rgba(0, 194, 168, 0.5);
}

.news-card__body {
  min-width: 0;
}

.news-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  align-items: center;
  margin-bottom: 0.5rem;
}

.news-card__cat {
  font-family: var(--font-data);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.3em 0.75em;
  clip-path: polygon(0.4em 0, 100% 0, calc(100% - 0.4em) 100%, 0 100%);
}

.news-card__cat--analysis {
  background: var(--accent);
  color: var(--primary);
}

.news-card__cat--platform {
  background: var(--secondary);
  color: var(--white);
}

.news-card__cat--trend {
  background: var(--warning);
  color: var(--text);
}

.news-card__cat--science {
  background: var(--primary-light);
  color: var(--white);
}

.news-card__read {
  font-family: var(--font-data);
  font-size: 0.75rem;
  color: var(--muted);
}

.news-card__title {
  font-size: 1.125rem;
  line-height: 1.4;
  margin: 0 0 0.5rem;
  color: var(--text);
}

.news-card__excerpt {
  margin: 0 0 0.875rem;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.7;
}

.news-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--secondary);
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.2s ease, gap 0.2s ease;
}

.news-card__link:hover,
.news-card__link:focus {
  color: var(--primary);
  gap: 0.65rem;
}

.news-card__link span {
  transition: transform 0.2s ease;
}

.news-card__media {
  margin: 0;
}

.news-card__media img {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 0.75rem), calc(100% - 0.75rem) 100%, 0 100%);
  transition: transform 0.3s ease;
}

.news-card:hover .news-card__media img {
  transform: scale(1.015);
}

.page-news__subscribe {
  background: linear-gradient(120deg, var(--secondary) 0%, #ff8f3c 100%);
  color: var(--white);
  margin-top: var(--section-space);
  padding-block: clamp(2.5rem, 6vw, 4rem);
  clip-path: polygon(0 1.25rem, 100% 0, 100% 100%, 0 calc(100% - 1.25rem));
}

.page-news__subscribe-inner {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  text-align: center;
}

.page-news__subscribe-copy .section-index {
  font-family: var(--font-data);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  display: inline-block;
  margin-bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.8);
}

.page-news__subscribe h2 {
  font-family: var(--font-head);
  font-size: clamp(1.625rem, 4vw, 2.25rem);
  line-height: 1.15;
  margin: 0 0 0.75rem;
}

.page-news__subscribe p {
  margin: 0;
  max-width: 62ch;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.92);
}

.page-news__email {
  font-family: var(--font-data);
  font-weight: 700;
  background: rgba(255, 255, 255, 0.16);
  padding: 0.15em 0.55em;
  border-radius: 2px;
  white-space: nowrap;
}

.page-news__subscribe-btn {
  justify-self: center;
  white-space: nowrap;
}

.page-news .btn-ghost {
  border-color: rgba(255, 255, 255, 0.75);
  color: var(--white);
}

.page-news .btn-ghost:hover,
.page-news .btn-ghost:focus {
  background: var(--white);
  border-color: var(--white);
  color: var(--secondary);
}

@media (min-width: 768px) {
  .page-news__subscribe-inner {
    grid-template-columns: 1fr auto;
    text-align: left;
    gap: 2rem;
  }

  .page-news__subscribe-btn {
    justify-self: start;
  }

  .news-card {
    padding: 1.5rem;
  }
}

@media (min-width: 960px) {
  .page-news__layout {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  }

  .page-news__rail {
    position: sticky;
    top: calc(var(--header-h) + 1.5rem);
  }

  .news-feature h1 {
    font-size: clamp(2.75rem, 4vw, 3.75rem);
  }

  .news-feature__body {
    padding: 2rem;
  }

  .news-feature__stat-num {
    font-size: 1.5rem;
  }

  .news-card--media {
    grid-template-columns: minmax(0, 1fr) minmax(0, 38%);
    align-items: center;
    gap: 1.5rem;
  }

  .news-card--offset {
    transform: translateX(1.5rem);
  }

  .news-card--offset:hover,
  .news-card--offset:focus-within {
    transform: translateX(1.5rem) translateY(-2px);
  }

  .news-card__title {
    font-size: 1.25rem;
  }
}

@media (max-width: 760px) {
  .page-news__topline {
    align-items: flex-end;
  }

  .page-news__about-link {
    font-size: 0.75rem;
  }

  .news-feature__stats {
    gap: 0.5rem;
  }

  .news-feature__stat-num {
    font-size: 1.125rem;
  }
}
