.page-news {
  --news-max: 1180px;
  --news-gap: 24px;
  background: var(--color-bg-soft);
  color: var(--color-text);
  font-family: var(--font-body);
}

.page-news .news-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 300px;
  overflow: hidden;
  background: var(--color-primary);
  color: var(--color-white);
}

.page-news .news-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.55;
}

.page-news .news-hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 30, 63, 0.1) 0%, rgba(10, 30, 63, 0.7) 72%, rgba(7, 21, 48, 0.9) 100%),
    radial-gradient(ellipse at 76% 20%, rgba(255, 106, 0, 0.28) 0%, rgba(10, 30, 63, 0) 58%);
}

.page-news .news-hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--news-max);
  margin: 0 auto;
  padding: 40px 20px 30px;
}

.page-news .news-crumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.72);
}

.page-news .news-crumb__link {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color var(--duration) var(--ease-out);
}

.page-news .news-crumb__link:hover {
  color: var(--color-accent-soft);
}

.page-news .news-crumb__sep {
  color: rgba(255, 255, 255, 0.4);
}

.page-news .news-crumb__current {
  color: var(--color-white);
  font-weight: 700;
}

.page-news .news-hero__title {
  max-width: 880px;
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.55rem, 4.2vw, 2.6rem);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.page-news .news-hero__lead {
  max-width: 720px;
  margin: 14px 0 0;
  font-size: var(--text-md);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.84);
}

.page-news .news-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 0;
  margin-top: 24px;
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.82);
}

.page-news .news-hero__stat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-right: 18px;
}

.page-news .news-hero__stat + .news-hero__stat {
  padding-left: 18px;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.page-news .news-hero__num {
  font-family: var(--font-mono);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-accent-soft);
}

.page-news .filter-bar {
  display: flex;
  gap: 10px;
  max-width: var(--news-max);
  margin: 28px auto 0;
  padding: 0 20px;
  overflow-x: auto;
  scrollbar-width: none;
}

.page-news .filter-bar::-webkit-scrollbar {
  display: none;
}

.page-news .filter-radio {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.page-news .filter-label {
  flex: 0 0 auto;
  padding: 9px 20px;
  border: 1px solid var(--color-line);
  border-radius: 999px;
  background: var(--color-white);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text);
  cursor: pointer;
  transition:
    background-color var(--duration) var(--ease-out),
    border-color var(--duration) var(--ease-out),
    color var(--duration) var(--ease-out),
    box-shadow var(--duration) var(--ease-out);
}

.page-news .filter-label:hover {
  border-color: var(--color-accent-soft);
  color: var(--color-accent);
}

.page-news .filter-radio:checked + .filter-label {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 6px 16px rgba(10, 30, 63, 0.2);
}

.page-news .filter-radio:focus-visible + .filter-label {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}

.page-news .news-layout {
  max-width: var(--news-max);
  margin: 0 auto;
  padding: 38px 20px 44px;
}

.page-news .section-heading__eyebrow {
  margin: 0;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.page-news .section-heading__title {
  position: relative;
  margin: 8px 0 0;
  padding-left: 16px;
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 900;
  line-height: 1.2;
}

.page-news .section-heading__title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.22em;
  bottom: 0.22em;
  width: 4px;
  border-radius: 4px;
  background: var(--color-accent);
}

.page-news .timeline {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 26px;
}

.page-news .timeline-item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 14px;
}

.page-news .timeline-item__head {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-news .timeline-item__ver {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--color-accent);
  color: var(--color-white);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 8px 18px rgba(255, 106, 0, 0.32);
  transition:
    transform var(--duration) var(--ease-out),
    box-shadow var(--duration) var(--ease-out);
}

.page-news .timeline-item__head:hover .timeline-item__ver {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(255, 106, 0, 0.4);
}

.page-news .timeline-item__date {
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--color-text-muted);
}

.page-news .timeline-item__head::after {
  content: "";
  position: absolute;
  top: 46px;
  bottom: -58px;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(to bottom, var(--color-line) 0%, rgba(203, 213, 224, 0.15) 100%);
}

.page-news .timeline-item:last-child .timeline-item__head::after {
  display: none;
}

.page-news .timeline-card {
  display: grid;
  gap: 16px;
  padding: 20px;
  background: var(--color-white);
  border: 1px solid rgba(203, 213, 224, 0.68);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  transition:
    border-color var(--duration) var(--ease-out),
    box-shadow var(--duration) var(--ease-out),
    transform var(--duration) var(--ease-out);
}

.page-news .timeline-card:hover {
  border-color: var(--color-accent-soft);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}

.page-news .timeline-card__feature {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: calc(var(--radius-card) - 4px);
  background: var(--color-bg-soft);
}

.page-news .timeline-card__feature img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-news .timeline-card__note {
  padding: 8px 10px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--color-text-muted);
  background: rgba(237, 242, 247, 0.92);
}

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

.page-news .timeline-card__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.page-news .timeline-card__type {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.page-news .timeline-card__title {
  margin: 12px 0 0;
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 800;
  line-height: 1.45;
  transition: color var(--duration) var(--ease-out);
}

.page-news .timeline-card:hover .timeline-card__title {
  color: var(--color-accent);
}

.page-news .timeline-card__text {
  margin: 10px 0 0;
  font-size: var(--text-sm);
  line-height: 1.7;
  color: var(--color-text-muted);
}

.page-news .card__link {
  display: inline-flex;
  margin-top: 14px;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-accent);
  text-decoration: none;
  transition:
    color var(--duration) var(--ease-out),
    transform var(--duration) var(--ease-out);
}

.page-news .card__link:hover {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.page-news .topic-panel {
  padding: 48px 20px;
  background:
    radial-gradient(circle at 86% 18%, rgba(255, 106, 0, 0.22) 0%, rgba(10, 30, 63, 0) 46%),
    linear-gradient(135deg, var(--color-primary-deep) 0%, var(--color-primary) 58%, var(--color-secondary) 100%);
  color: var(--color-white);
}

.page-news .topic-panel__inner {
  max-width: var(--news-max);
  margin: 0 auto;
  display: grid;
  gap: 32px;
}

.page-news .topic-panel__kicker,
.page-news .news-contact__kicker {
  margin: 0;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent-soft);
}

.page-news .topic-panel__title {
  margin: 10px 0 0;
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 900;
  line-height: 1.25;
}

.page-news .topic-panel__lead {
  margin: 14px 0 0;
  font-size: var(--text-md);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
}

.page-news .topic-panel__figure {
  margin: 24px 0 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
}

.page-news .topic-panel__figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-news .topic-panel__figure-note {
  padding: 10px 14px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.64);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.page-news .topic-panel__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-news .topic-panel__item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-card);
  transition:
    border-color var(--duration) var(--ease-out),
    transform var(--duration) var(--ease-out),
    background-color var(--duration) var(--ease-out);
}

.page-news .topic-panel__item:hover {
  border-color: var(--color-accent);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.page-news .topic-panel__num {
  font-family: var(--font-mono);
  font-size: var(--text-xl);
  font-weight: 800;
  line-height: 1;
  color: var(--color-accent);
}

.page-news .topic-panel__content {
  min-width: 0;
}

.page-news .topic-panel__item-title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: var(--text-md);
  font-weight: 800;
  line-height: 1.4;
  transition: color var(--duration) var(--ease-out);
}

.page-news .topic-panel__item:hover .topic-panel__item-title {
  color: var(--color-accent-soft);
}

.page-news .topic-panel__item-text {
  margin: 8px 0 0;
  font-size: var(--text-sm);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
}

.page-news .topic-panel__link {
  display: inline-flex;
  margin-top: 12px;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-accent-soft);
  text-decoration: none;
  transition:
    color var(--duration) var(--ease-out),
    text-decoration-color var(--duration) var(--ease-out);
}

.page-news .topic-panel__link:hover {
  color: var(--color-white);
  text-decoration: underline;
  text-decoration-color: var(--color-accent);
  text-underline-offset: 4px;
}

.page-news .category-browse__inner {
  max-width: var(--news-max);
  margin: 0 auto;
  padding: 44px 20px 52px;
}

.page-news .category-grid {
  display: grid;
  gap: 18px;
  margin-top: 28px;
  grid-template-columns: 1fr;
}

.page-news .category-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px;
  background: var(--color-white);
  border: 1px solid rgba(203, 213, 224, 0.7);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  transition:
    border-color var(--duration) var(--ease-out),
    box-shadow var(--duration) var(--ease-out),
    transform var(--duration) var(--ease-out);
}

.page-news .category-card:hover {
  border-color: var(--color-accent-soft);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-3px);
}

.page-news .category-card__icon {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  object-fit: cover;
}

.page-news .category-card__title {
  margin: 18px 0 0;
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 800;
  line-height: 1.3;
}

.page-news .category-card__desc {
  margin: 10px 0 0;
  font-size: var(--text-sm);
  line-height: 1.7;
  color: var(--color-text-muted);
}

.page-news .category-card__link {
  display: inline-flex;
  margin-top: auto;
  padding-top: 18px;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-accent);
  text-decoration: none;
  transition:
    color var(--duration) var(--ease-out),
    transform var(--duration) var(--ease-out);
}

.page-news .category-card__link:hover {
  color: var(--color-primary);
  transform: translateX(4px);
}

.page-news .news-contact {
  padding: 52px 20px;
  background:
    linear-gradient(120deg, rgba(255, 106, 0, 0.14) 0%, rgba(10, 30, 63, 0) 42%),
    var(--color-primary-deep);
  color: var(--color-white);
}

.page-news .news-contact__inner {
  max-width: var(--news-max);
  margin: 0 auto;
  display: grid;
  gap: 32px;
}

.page-news .news-contact__title {
  margin: 10px 0 0;
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 900;
  line-height: 1.25;
}

.page-news .news-contact__text {
  margin: 14px 0 0;
  max-width: 560px;
  font-size: var(--text-md);
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.78);
}

.page-news .news-contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.page-news .news-contact__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 700;
  text-decoration: none;
  transition:
    transform var(--duration) var(--ease-out),
    box-shadow var(--duration) var(--ease-out),
    background-color var(--duration) var(--ease-out),
    border-color var(--duration) var(--ease-out);
}

.page-news .news-contact__btn--primary {
  background: var(--color-accent);
  color: var(--color-white);
  box-shadow: 0 10px 22px rgba(255, 106, 0, 0.3);
}

.page-news .news-contact__btn--primary:hover {
  background: var(--color-accent-soft);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(255, 106, 0, 0.36);
}

.page-news .news-contact__btn--ghost {
  border: 1px solid rgba(255, 255, 255, 0.38);
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.04);
}

.page-news .news-contact__btn--ghost:hover {
  border-color: var(--color-accent-soft);
  color: var(--color-accent-soft);
  transform: translateY(-2px);
}

.page-news .news-contact__channels {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-news .news-contact__channel {
  display: flex;
  flex-direction: column;
  padding: 18px 20px;
  border-left: 3px solid var(--color-accent);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 0 12px 12px 0;
}

.page-news .news-contact__channel-label {
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.page-news .news-contact__channel-value {
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: var(--text-md);
  font-weight: 700;
  color: var(--color-white);
}

.page-news .news-contact__channel-note {
  margin-top: 4px;
  font-size: var(--text-xs);
  color: var(--color-accent-soft);
}

.page-news:has(#f-version:checked) .timeline-item--version,
.page-news:has(#f-guide:checked) .timeline-item--guide,
.page-news:has(#f-event:checked) .timeline-item--event,
.page-news:has(#f-trend:checked) .timeline-item--trend {
  display: grid;
}

.page-news:has(#f-version:checked) .timeline-item:not(.timeline-item--version),
.page-news:has(#f-guide:checked) .timeline-item:not(.timeline-item--guide),
.page-news:has(#f-event:checked) .timeline-item:not(.timeline-item--event),
.page-news:has(#f-trend:checked) .timeline-item:not(.timeline-item--trend) {
  display: none;
}

.page-news:has(#f-version:checked) .timeline-item--version,
.page-news:has(#f-guide:checked) .timeline-item--guide,
.page-news:has(#f-event:checked) .timeline-item--event,
.page-news:has(#f-trend:checked) .timeline-item--trend {
  animation: newsCardIn 280ms var(--ease-out) both;
}

@keyframes newsCardIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 720px) {
  .page-news .news-hero {
    min-height: 340px;
  }

  .page-news .news-hero__content {
    padding: 60px 32px 40px;
  }

  .page-news .news-hero__title {
    max-width: 920px;
  }

  .page-news .filter-bar {
    padding: 0 32px;
  }

  .page-news .news-layout {
    padding: 44px 32px 52px;
  }

  .page-news .timeline-item {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 22px;
  }

  .page-news .timeline-item__head::after {
    top: 48px;
    bottom: -64px;
  }

  .page-news .timeline-card {
    padding: 24px;
  }

  .page-news .timeline-item--featured .timeline-card {
    grid-template-columns: 190px minmax(0, 1fr);
    align-items: start;
  }

  .page-news .timeline-card__feature {
    height: 100%;
    min-height: 160px;
  }

  .page-news .timeline-card__feature img {
    height: 100%;
    min-height: 160px;
    object-fit: cover;
  }

  .page-news .topic-panel {
    padding: 60px 32px;
  }

  .page-news .topic-panel__inner {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 40px;
    align-items: start;
  }

  .page-news .category-browse__inner {
    padding: 52px 32px 60px;
  }

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

  .page-news .news-contact {
    padding: 60px 32px;
  }

  .page-news .news-contact__inner {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 48px;
    align-items: start;
  }

  .page-news .news-contact__text {
    max-width: 620px;
  }
}

@media (min-width: 1024px) {
  .page-news .news-layout {
    padding-top: 52px;
  }

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

  .page-news .topic-panel__item {
    padding: 22px;
  }
}
