.page-news {
  --page-news-gap: 24px;
  --page-news-radius: 18px;
}

.page-news__container {
  padding-left: 20px;
  padding-right: 20px;
}

.page-news__hero {
  position: relative;
  overflow: hidden;
  padding: 28px 0 0;
  background:
    linear-gradient(120deg, rgba(0, 255, 136, 0.06), transparent 38%),
    radial-gradient(ellipse at 88% -8%, rgba(90, 92, 255, 0.3), transparent 58%),
    var(--bg-deep);
  border-bottom: 1px solid var(--line);
}

.page-news__hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--green), var(--violet), transparent);
  opacity: 0.6;
}

.page-news__crumb {
  margin-bottom: 24px;
  font-size: 13px;
  color: var(--gray);
}

.page-news__crumb a {
  color: var(--cyan);
  text-decoration: none;
  transition: color 0.2s ease;
}

.page-news__crumb a:hover,
.page-news__crumb a:focus-visible {
  color: var(--green);
}

.page-news__hero-inner {
  display: grid;
  gap: 20px;
  align-items: end;
}

.page-news__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 12px;
  font-family: var(--font-data);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--green);
}

.page-news__eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: currentColor;
}

.page-news__hero h1 {
  margin: 0;
  font-family: var(--font-head);
  font-size: clamp(32px, 6vw, 60px);
  line-height: 1.08;
  letter-spacing: 0.01em;
  color: #fff;
  max-width: 9em;
}

.page-news__lede {
  margin: 14px 0 0;
  max-width: 38em;
  font-size: 15px;
  line-height: 1.75;
  color: var(--gray);
}

.page-news__hero-kpis {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 16px 0 0;
}

.page-news__hero-kpis > div {
  padding: 14px 16px;
  border-radius: var(--radius);
  background: var(--glass);
  border: 1px solid var(--line);
}

.page-news__hero-kpis dt {
  margin: 0 0 6px;
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--gray);
}

.page-news__hero-kpis dd {
  margin: 0;
  font-family: var(--font-data);
  font-size: clamp(18px, 3vw, 26px);
  font-weight: 700;
  color: var(--green);
}

.page-news__hero-image,
.page-news__thumb,
.page-news__side-image {
  max-width: 100%;
  height: auto;
}

.page-news__hero-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  border-radius: var(--radius) var(--radius) 0 0;
  margin-top: 26px;
  border: 1px solid var(--line);
  border-bottom: none;
  background: var(--bg-lift);
}

.page-news__content {
  padding: 40px 0 64px;
  background-color: var(--bg-deep);
  background-image:
    linear-gradient(rgba(138, 155, 171, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(138, 155, 171, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  border-top: 1px solid var(--line);
}

.page-news__grid {
  display: grid;
  gap: 40px;
  align-items: start;
}

.page-news__section-title {
  margin: 0;
  font-family: var(--font-head);
  font-size: 28px;
  letter-spacing: 0.01em;
  color: #fff;
}

.page-news__section-desc {
  margin: 10px 0 0;
  max-width: 54em;
  font-size: 14px;
  line-height: 1.7;
  color: var(--gray);
}

.page-news__index {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 30px;
}

.page-news__filter {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--cyan);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.page-news__filter:hover,
.page-news__filter:focus-visible {
  border-color: rgba(0, 255, 136, 0.55);
  color: #fff;
  background: rgba(0, 255, 136, 0.08);
}

.page-news__filter:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

.page-news__filter.is-active {
  color: #0B1B2B;
  background: var(--green);
  border-color: var(--green);
}

.page-news__list {
  position: relative;
  padding-left: 26px;
  scroll-margin-top: 100px;
}

.page-news__list::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 12px;
  bottom: 20px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, rgba(0, 255, 136, 0.55), rgba(90, 92, 255, 0.4) 42%, rgba(255, 122, 0, 0.3) 76%, transparent);
}

.page-news__cat-title {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 34px 0 14px;
  padding-left: 2px;
  font-family: var(--font-data);
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--cyan);
  scroll-margin-top: 90px;
}

.page-news__cat-title:first-child {
  margin-top: 0;
}

.page-news__cat-index {
  font-weight: 700;
  color: var(--green);
}

.page-news__cat-count {
  margin-left: auto;
  font-size: 12px;
  color: var(--gray);
}

.page-news__item {
  position: relative;
  margin-bottom: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--glass);
  transition: border-color 0.25s ease, background 0.25s ease;
}

.page-news__item::before {
  content: "";
  position: absolute;
  left: -20px;
  top: 25px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(0, 255, 136, 0.12);
}

.page-news__item--thumb::before {
  top: 30px;
}

.page-news__item:hover,
.page-news__item:focus-within {
  border-color: rgba(0, 255, 136, 0.45);
  background: rgba(255, 255, 255, 0.08);
}

.page-news__item.is-featured {
  background: linear-gradient(135deg, rgba(0, 255, 136, 0.08), rgba(90, 92, 255, 0.05));
  border-color: rgba(0, 255, 136, 0.35);
}

.page-news__item.is-featured .page-news__title {
  font-size: clamp(20px, 3vw, 26px);
}

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

.page-news__time {
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--gray);
}

.page-news__title {
  margin: 0 0 8px;
  font-family: var(--font-head);
  font-size: 19px;
  line-height: 1.45;
  letter-spacing: 0.01em;
  color: #fff;
}

.page-news__abstract {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--gray);
}

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

.page-news__stat {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 8px;
  border: 1px solid rgba(208, 228, 245, 0.18);
  background: rgba(208, 228, 245, 0.05);
  font-family: var(--font-data);
  font-size: 12px;
  color: var(--cyan);
}

.page-news__stat-label {
  color: var(--gray);
  letter-spacing: 0.04em;
}

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

.page-news__tags span {
  font-family: var(--font-data);
  font-size: 12px;
  color: var(--violet);
  padding: 3px 10px;
  border: 1px solid rgba(90, 92, 255, 0.35);
  border-radius: 999px;
}

.page-news__thumb {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 12px;
  margin-top: 14px;
  background: var(--bg-lift);
  transition: filter 0.25s ease;
}

.page-news__item--thumb:hover .page-news__thumb {
  filter: brightness(1.12) saturate(1.2);
}

.page-news__side {
  display: grid;
  gap: 20px;
}

.page-news__topic-card,
.page-news__quick-card {
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--glass);
}

.page-news__side-title {
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-head);
  font-size: 22px;
  color: #fff;
}

.page-news__side-image {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 14px;
  background: var(--bg-lift);
}

.page-news__topic-list,
.page-news__quick-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
}

.page-news__topic-list a,
.page-news__quick-list a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  border-left: 2px solid transparent;
  color: var(--cyan);
  font-size: 14px;
  line-height: 1.5;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.page-news__topic-list a::before {
  content: "→";
  margin-right: 8px;
  font-family: var(--font-data);
  color: var(--green);
}

.page-news__topic-list a:hover,
.page-news__quick-list a:hover,
.page-news__topic-list a:focus-visible,
.page-news__quick-list a:focus-visible {
  border-left-color: var(--green);
  background: rgba(0, 255, 136, 0.06);
  color: #fff;
}

.page-news__topic-list a:focus-visible,
.page-news__quick-list a:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

.page-news__quick-note {
  margin: 12px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  line-height: 1.6;
  color: var(--gray);
}

@media (hover: hover) and (min-width: 768px) {
  .page-news__abstract {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .page-news__item:hover .page-news__abstract,
  .page-news__item:focus-within .page-news__abstract {
    -webkit-line-clamp: 8;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .page-news__hero::after {
    animation: pageNewsGlide 8s linear infinite;
  }

  .page-news__content {
    animation: pageNewsGridShift 40s linear infinite;
  }
}

@keyframes pageNewsGlide {
  0% {
    transform: translateX(-30%);
  }
  100% {
    transform: translateX(130%);
  }
}

@keyframes pageNewsGridShift {
  from {
    background-position: 0 0, 0 0;
  }
  to {
    background-position: 44px 0, 0 44px;
  }
}

@media (min-width: 768px) {
  .page-news__hero-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
  }

  .page-news__hero-kpis {
    margin: 0;
    min-width: 380px;
  }

  .page-news__hero-image {
    aspect-ratio: 24 / 5;
  }
}

@media (min-width: 1024px) {
  .page-news__grid {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 36px;
  }

  .page-news__item--thumb {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 18px;
    align-items: center;
  }

  .page-news__thumb {
    margin-top: 0;
  }
}
