.page-news {
  --news-c-gold: #f5b81e;
  --news-c-purple: #9b4dff;
  --news-c-amber: #ffc54a;
  --news-c-silver: #b0b8c8;
  --news-track-w: 220px;
}

.page-news .news-hero {
  position: relative;
  display: grid;
  gap: 16px;
  padding: 44px 0 32px;
  border-bottom: 1px solid var(--line-gold);
}

.page-news .news-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 120px;
  height: 4px;
  background: linear-gradient(90deg, rgba(245, 184, 30, 0.9), rgba(155, 77, 255, 0.5));
}

.page-news .news-hero__title {
  margin: 4px 0 0;
  font-size: 36px;
  line-height: 1.25;
  letter-spacing: 0.02em;
}

.page-news .news-hero__subtitle {
  max-width: 680px;
  margin: 0;
}

.page-news .news-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-news .news-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  font-size: 13px;
  color: var(--c-silver);
  border: 1px solid var(--line-silver);
  background: var(--c-night);
}

.page-news .news-hero__badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-gold);
}

.page-news .news-hero__badge--gold {
  color: var(--c-gold);
  border-color: rgba(245, 184, 30, 0.4);
  background: rgba(245, 184, 30, 0.08);
}

.page-news .news-hero__badge--gold::before {
  box-shadow: 0 0 12px rgba(245, 184, 30, 0.9);
}

.page-news .news-cats {
  padding: 24px 0 8px;
}

.page-news .news-cats__inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.page-news .news-cats__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-news .news-cat {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  font-size: 14px;
  color: var(--c-silver);
  border: 1px solid rgba(176, 184, 200, 0.25);
  border-radius: 999px;
  background: rgba(18, 26, 46, 0.6);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease), transform 0.3s var(--ease);
}

.page-news .news-cat:hover {
  color: var(--c-white);
  border-color: var(--c-gold);
  transform: translateY(-2px);
}

.page-news .news-cat.is-active {
  color: #0a0e1a;
  font-weight: 500;
  border-color: transparent;
  background: linear-gradient(90deg, var(--c-gold), var(--c-purple));
  box-shadow: 0 8px 24px rgba(155, 77, 255, 0.22);
}

.page-news .news-cats__search {
  position: relative;
  max-width: 460px;
}

.page-news .news-cats__input {
  width: 100%;
  padding: 10px 16px;
  font-size: 14px;
  color: var(--c-white);
  background: var(--c-night);
  border: 1px solid var(--line-silver);
  border-radius: 999px;
  outline: none;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.page-news .news-cats__input::placeholder {
  color: rgba(176, 184, 200, 0.6);
}

.page-news .news-cats__input:focus {
  border-color: var(--c-gold);
  box-shadow: var(--shadow-gold);
}

.page-news .news-cats__hint {
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--c-silver);
}

.page-news .news-featured {
  margin: 40px 0 48px;
}

.page-news .news-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px 16px;
  margin-bottom: 22px;
}

.page-news .news-section-head__title {
  margin: 0;
  font-size: 28px;
}

.page-news .news-section-head__note {
  font-size: 14px;
  letter-spacing: 0.08em;
}

.page-news .news-featured__grid {
  display: grid;
  gap: var(--gap);
}

.page-news .news-featured__main,
.page-news .news-featured__side {
  border: 1px solid var(--line-silver);
  background: linear-gradient(145deg, rgba(18, 26, 46, 0.9), rgba(10, 14, 26, 0.95));
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.page-news .news-featured__main:hover,
.page-news .news-featured__side:hover {
  border-color: var(--line-gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.page-news .news-featured__media,
.page-news .news-item__media {
  aspect-ratio: auto;
  overflow: hidden;
}

.page-news .news-featured__media img,
.page-news .news-item__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-news .news-featured__main .news-featured__media img {
  height: 260px;
}

.page-news .news-featured__side .news-featured__media img {
  height: 180px;
}

.page-news .news-featured__title {
  margin: 10px 0 8px;
  font-size: 20px;
  line-height: 1.4;
}

.page-news .news-featured__summary {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--c-silver);
}

.page-news .news-featured__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--c-gold);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}

.page-news .news-featured__link::after {
  content: "→";
  transition: transform 0.3s var(--ease);
}

.page-news .news-featured__link:hover {
  color: var(--c-amber);
  border-color: rgba(245, 184, 30, 0.4);
}

.page-news .news-featured__link:hover::after {
  transform: translateX(4px);
}

.page-news .news-archive {
  margin: 48px 0;
  scroll-margin-top: 64px;
}

.page-news .news-timeline {
  position: relative;
  padding-left: 52px;
  margin-top: 24px;
}

.page-news .news-timeline::before {
  content: "";
  position: absolute;
  left: 44px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(180deg, rgba(245, 184, 30, 0.55), rgba(155, 77, 255, 0.35), transparent);
}

.page-news .news-item {
  position: relative;
  margin-bottom: 20px;
  scroll-margin-top: 72px;
}

.page-news .news-item__axis {
  position: absolute;
  left: -52px;
  top: 0;
  width: 52px;
  height: 100%;
}

.page-news .news-item__dot {
  position: absolute;
  left: 37px;
  top: 24px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--c-gold);
  background: var(--c-space);
  box-shadow: 0 0 0 4px rgba(245, 184, 30, 0.12);
  z-index: 1;
}

.page-news .news-item__dot--purple {
  border-color: var(--c-purple);
  box-shadow: 0 0 0 4px rgba(155, 77, 255, 0.14);
}

.page-news .news-item__dot--amber {
  border-color: var(--c-amber);
  box-shadow: 0 0 0 4px rgba(255, 197, 74, 0.14);
}

.page-news .news-item__dot--silver {
  border-color: var(--c-silver);
  box-shadow: 0 0 0 4px rgba(176, 184, 200, 0.12);
}

.page-news .news-item__when {
  display: none;
}

.page-news .news-item__card {
  border: 1px solid var(--line-silver);
  background: linear-gradient(135deg, rgba(18, 26, 46, 0.8), rgba(10, 14, 26, 0.92));
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.page-news .news-item__card:hover {
  border-color: var(--line-gold);
  background: var(--c-nebula);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

.page-news .news-item__media {
  border-bottom: 1px solid var(--line-silver);
}

.page-news .news-item__media img {
  height: 200px;
}

.page-news .news-item__title {
  margin: 10px 0 8px;
  font-size: 20px;
  line-height: 1.45;
}

.page-news .news-item__summary {
  margin: 0;
  max-height: 76px;
  overflow: hidden;
  font-size: 15px;
  line-height: 1.7;
  color: var(--c-silver);
  transition: max-height 0.4s var(--ease), color 0.3s var(--ease);
}

.page-news .news-item__card:hover .news-item__summary {
  max-height: 240px;
  color: rgba(255, 255, 255, 0.85);
}

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

.page-news .news-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  border: 1px solid;
  border-radius: 999px;
}

.page-news .news-tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.page-news .news-tag--activity {
  color: var(--c-gold);
  border-color: rgba(245, 184, 30, 0.45);
  background: rgba(245, 184, 30, 0.08);
}

.page-news .news-tag--update {
  color: #b78aff;
  border-color: rgba(155, 77, 255, 0.4);
  background: rgba(155, 77, 255, 0.1);
}

.page-news .news-tag--company {
  color: var(--c-amber);
  border-color: rgba(255, 197, 74, 0.4);
  background: rgba(255, 197, 74, 0.08);
}

.page-news .news-tag--industry {
  color: var(--c-silver);
  border-color: rgba(176, 184, 200, 0.35);
  background: rgba(176, 184, 200, 0.06);
}

.page-news .news-time {
  font-size: 13px;
  color: var(--c-silver);
}

.page-news .news-empty {
  padding: 32px 20px;
  margin-top: 20px;
  text-align: center;
  color: var(--c-silver);
  border: 1px dashed rgba(176, 184, 200, 0.3);
}

.page-news .news-empty[hidden] {
  display: none;
}

.page-news .news-context {
  margin: 48px 0;
}

.page-news .news-context__card {
  border-color: rgba(245, 184, 30, 0.28);
  background: linear-gradient(135deg, var(--c-night), var(--c-ink));
}

.page-news .news-context__grid {
  display: grid;
  gap: 20px;
  padding: 24px;
}

.page-news .news-context__intro h2 {
  margin: 0 0 10px;
  font-size: 24px;
}

.page-news .news-context__intro p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--c-silver);
}

.page-news .news-context__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.page-news .news-context__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--c-white);
}

.page-news .news-context__mark {
  flex-shrink: 0;
  min-width: 40px;
  padding: 2px 8px;
  text-align: center;
  font-size: 12px;
  color: var(--c-gold);
  border: 1px solid rgba(245, 184, 30, 0.4);
  border-radius: 999px;
}

.page-news .news-cta {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 28px 24px;
  margin: 48px 0;
  border: 1px solid var(--line-gold);
  background: radial-gradient(circle at 82% 18%, rgba(155, 77, 255, 0.14), transparent 42%), linear-gradient(135deg, var(--c-night), var(--c-ink));
}

.page-news .news-cta__body h2 {
  margin: 0 0 8px;
  font-size: 24px;
}

.page-news .news-cta__body p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--c-silver);
}

.page-news .news-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (min-width: 768px) {
  .page-news .news-hero__title {
    font-size: 42px;
  }

  .page-news .news-cats__inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .page-news .news-context__grid {
    grid-template-columns: 1fr 1fr;
    padding: 28px;
  }

  .page-news .news-cta {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 32px 36px;
  }
}

@media (min-width: 1024px) {
  .page-news .news-featured__grid {
    grid-template-columns: 1.45fr 1fr;
    grid-template-rows: auto auto;
  }

  .page-news .news-featured__main {
    grid-row: span 2;
  }

  .page-news .news-featured__main .news-featured__media img {
    height: calc(100%);
    min-height: 360px;
  }

  .page-news .news-featured__side .news-featured__media img {
    height: 170px;
  }

  .page-news .news-featured__main .news-featured__media {
    height: 420px;
  }

  .page-news .news-timeline {
    padding-left: var(--news-track-w);
  }

  .page-news .news-timeline::before {
    left: var(--news-track-w);
  }

  .page-news .news-item__axis {
    left: calc(var(--news-track-w) * -1);
    width: var(--news-track-w);
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
  }

  .page-news .news-item__dot {
    left: auto;
    right: 7px;
    top: 22px;
  }

  .page-news .news-item__when {
    display: block;
    padding: 21px 34px 0 0;
    font-size: 14px;
    text-align: right;
    color: var(--c-silver);
  }

  .page-news .news-item__media img {
    height: 220px;
  }
}
