.page-news {
  --news-text-sub: #666666;
  --news-line-soft: rgba(255, 255, 255, 0.12);
  overflow-x: hidden;
  background: var(--c-black);
  color: var(--c-white);
}

.page-news .c-breadcrumb__link {
  color: var(--c-silver);
  transition: color var(--speed) ease;
}

.page-news .c-breadcrumb__link:hover {
  color: var(--c-white);
}

.page-news .c-breadcrumb__current {
  color: var(--c-red);
}

.news-hero {
  padding-top: var(--header-h);
  background: var(--c-black);
}

.news-hero__image {
  display: block;
  width: 100%;
  height: 160px;
  object-fit: cover;
  background: var(--c-night);
}

.news-hero__inner {
  padding: 28px 0 44px;
}

.news-hero h1 {
  font-family: var(--font-title);
  font-size: 38px;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: 0.01em;
  margin: 14px 0 10px;
}

.news-hero__desc {
  max-width: 620px;
  margin: 0;
  color: var(--c-silver);
  font-size: 15px;
  line-height: 1.75;
}

.news-log {
  padding: 48px 0 64px;
  background: var(--c-white);
  color: var(--c-dark);
}

.news-log .c-section-head {
  margin-bottom: 32px;
}

.news-log .c-kicker {
  color: var(--c-red);
}

.news-log .c-section-title {
  color: var(--c-black);
}

.news-timeline {
  border-top: 1px solid var(--c-light);
}

.news-entry {
  position: relative;
  margin: 0;
  padding: 28px 0 36px 20px;
  border-bottom: 1px solid var(--c-light);
  scroll-margin-top: calc(var(--header-h) + 30px);
}

.news-entry::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--c-light);
}

.news-entry::after {
  content: "";
  position: absolute;
  left: 0;
  top: 36px;
  width: 7px;
  height: 7px;
  background: var(--c-red);
  transform: translateX(-3px);
  transition: transform var(--speed) ease;
}

.news-entry:hover::after {
  transform: translateX(-3px) scale(1.6);
}

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

.news-entry__time {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-red);
}

.news-entry__tag {
  display: inline-block;
  padding: 2px 10px;
  border: 1px solid var(--c-light);
  color: var(--c-dark);
  font-size: 12px;
  line-height: 1.4;
}

.news-entry__title {
  font-family: var(--font-title);
  font-size: 22px;
  font-weight: 900;
  line-height: 1.35;
  margin: 0 0 10px;
  color: var(--c-black);
  transition: color var(--speed) ease;
}

.news-entry:hover .news-entry__title {
  color: var(--c-red);
}

.news-entry__desc {
  max-width: 66ch;
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--news-text-sub);
}

.news-entry__figure {
  max-width: 480px;
  margin: 0 0 16px;
}

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

.news-entry__more {
  margin-top: 2px;
}

.news-category-section {
  position: relative;
  padding: 56px 0 72px;
  background-color: var(--c-black);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 32px 32px;
}

.news-category-section .c-section-head {
  margin-bottom: 28px;
}

.news-category-section .c-kicker {
  color: var(--c-red);
}

.news-category-section .c-section-title {
  color: var(--c-white);
}

.news-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 32px;
}

.news-filter {
  display: inline-block;
  padding: 7px 16px;
  border: 1px solid rgba(184, 184, 184, 0.55);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--c-silver);
  font-size: 13px;
  line-height: 1;
  text-decoration: none;
  transition:
    background-color var(--speed) ease,
    border-color var(--speed) ease,
    color var(--speed) ease,
    transform var(--speed) ease;
}

.news-filter:hover,
.news-filter:focus-visible {
  border-color: var(--c-red);
  color: var(--c-white);
  transform: translateY(-2px);
}

.news-filter.is-active {
  background: var(--c-red);
  border-color: var(--c-red);
  color: var(--c-white);
  transform: none;
}

.news-category-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.news-category-card {
  position: relative;
  padding: 22px 18px 10px;
  background: rgba(14, 34, 57, 0.72);
  border-left: 2px solid var(--c-red);
  scroll-margin-top: calc(var(--header-h) + 24px);
  transition: background-color var(--speed) ease;
}

.news-category-card:hover {
  background: rgba(14, 34, 57, 0.92);
}

.news-category-card__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 14px;
}

.news-category-card__title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--c-white);
  font-size: 20px;
  font-weight: 900;
}

.news-category-card__title::before {
  content: "";
  width: 10px;
  height: 10px;
  flex: none;
  background: var(--c-red);
}

.news-category-card__count {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--c-silver);
}

.news-category-card__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.news-category-card__list li {
  border-top: 1px solid var(--news-line-soft);
}

.news-category-card__list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 14px;
  line-height: 1.5;
  text-decoration: none;
  transition: color var(--speed) ease;
}

.news-category-card__list a:hover {
  color: var(--c-red);
}

.news-category-card__list a:hover .news-category-card__arrow {
  transform: translateX(4px);
}

.news-category-card__arrow {
  flex: none;
  color: var(--c-red);
  font-size: 16px;
  transition: transform var(--speed) ease;
}

.news-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid var(--news-line-soft);
}

.news-links__item {
  display: inline-block;
  padding: 7px 14px;
  border: 1px solid rgba(184, 184, 184, 0.4);
  color: var(--c-silver);
  font-size: 13px;
  line-height: 1.4;
  text-decoration: none;
  transition:
    border-color var(--speed) ease,
    color var(--speed) ease;
}

.news-links__item:hover {
  border-color: var(--c-red);
  color: var(--c-white);
}

@media (min-width: 768px) {
  .news-hero__image {
    height: 240px;
  }

  .news-hero h1 {
    font-size: 46px;
  }

  .news-hero__inner {
    padding: 36px 0 56px;
  }

  .news-log {
    padding: 72px 0 88px;
  }

  .news-entry {
    padding: 32px 0 44px 44px;
  }

  .news-entry::after {
    top: 42px;
    width: 9px;
    height: 9px;
  }

  .news-entry__time {
    font-size: 13px;
  }

  .news-entry__title {
    font-size: 26px;
  }

  .news-entry__desc {
    font-size: 16px;
  }

  .news-category-section {
    padding: 72px 0 88px;
  }

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

@media (min-width: 1024px) {
  .news-hero__image {
    height: 300px;
  }

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