.page-news {
  --news-paper: #F5F1E8;
  padding: 0 0 72px;
  background-color: var(--color-bg);
  background-image:
    linear-gradient(rgba(110, 127, 128, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(110, 127, 128, 0.05) 1px, transparent 1px);
  background-size: 28px 28px;
}

.page-news .breadcrumb {
  padding-top: 20px;
}

.page-news .news-summary {
  padding-top: 20px;
}

.page-news .news-summary__banner {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(110, 127, 128, 0.3);
  border-radius: 3px;
}

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

.page-news .news-summary__banner::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 0 56px 56px;
  border-color: transparent transparent var(--color-accent) transparent;
  opacity: 0.88;
}

.page-news .news-summary__version {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 1;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--color-ink);
  background: var(--color-accent);
  padding: 5px 12px;
  border-radius: 2px;
  letter-spacing: 0.06em;
}

.page-news .news-summary__banner-meta {
  position: absolute;
  left: 16px;
  bottom: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-news .news-summary__banner-meta span {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--color-ink);
  background: rgba(11, 27, 43, 0.78);
  border: 1px solid rgba(110, 127, 128, 0.4);
  padding: 4px 10px;
  border-radius: 2px;
}

.page-news .news-summary__content {
  margin-top: 28px;
  max-width: 820px;
}

.page-news .news-summary__content h1 {
  font-family: var(--font-title);
  font-size: clamp(26px, 4.6vw, 42px);
  font-weight: 900;
  line-height: 1.22;
  letter-spacing: -0.01em;
  color: var(--color-ink);
  margin: 14px 0 0;
}

.page-news .news-summary__lead {
  margin-top: 14px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--color-ink);
}

.page-news .news-summary__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid rgba(110, 127, 128, 0.35);
}

.page-news .news-summary__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--color-ink-dim);
}

.page-news .news-feed {
  margin-top: 60px;
}

.page-news .news-feed__filter {
  margin-top: 22px;
  margin-bottom: 36px;
}

.page-news .news-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-news .news-timeline__item {
  position: relative;
  padding-left: 44px;
  padding-bottom: 52px;
}

.page-news .news-timeline__item:last-child {
  padding-bottom: 0;
}

.page-news .news-timeline__item::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 12px;
  bottom: 0;
  width: 1px;
  background: var(--color-border);
  opacity: 0.4;
}

.page-news .news-timeline__item:last-child::before {
  display: none;
}

.page-news .news-timeline__version {
  display: inline-block;
  position: relative;
  z-index: 1;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--color-gold);
  background: var(--color-panel);
  border: 1px solid rgba(110, 127, 128, 0.35);
  padding: 4px 10px;
  border-radius: 3px;
  letter-spacing: 0.04em;
  margin-bottom: 18px;
}

.page-news .news-timeline__dot {
  position: absolute;
  left: 13px;
  top: 6px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--color-accent);
  border: 3px solid var(--color-bg);
  box-shadow: 0 0 0 1px var(--color-accent);
  z-index: 1;
}

.page-news .news-card {
  position: relative;
  background: var(--color-panel);
  border: 1px solid rgba(110, 127, 128, 0.3);
  border-radius: 3px;
  padding: 20px;
}

.page-news .news-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 34px;
  height: 3px;
  background: var(--color-accent);
}

.page-news .news-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

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

.page-news .news-card__no {
  font-family: var(--font-index);
  font-size: 12px;
  color: var(--color-ink-dim);
  letter-spacing: 0.08em;
  white-space: nowrap;
  padding-top: 4px;
}

.page-news .news-card__title {
  font-family: var(--font-title);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.32;
  color: var(--color-ink);
  margin: 0 0 10px;
}

.page-news .news-card__text {
  font-size: 15px;
  line-height: 1.75;
  color: var(--color-ink-dim);
  margin: 0;
  max-width: 68ch;
}

.page-news .news-card__media {
  margin-top: 16px;
  border: 1px solid rgba(110, 127, 128, 0.22);
  border-radius: 2px;
  overflow: hidden;
}

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

.page-news .news-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-accent);
  text-decoration: none;
}

.page-news .news-card__link::after {
  content: "→";
  font-family: var(--font-mono);
  transition: transform 0.2s ease;
}

.page-news .news-card__link:hover {
  color: var(--color-gold);
}

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

.page-news .tag--service {
  background: rgba(201, 111, 74, 0.14);
  color: var(--color-warn);
  border-color: rgba(201, 111, 74, 0.4);
}

.page-news .news-topics {
  margin-top: 64px;
}

.page-news .news-topics__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 26px;
}

.page-news .news-topic-card {
  display: block;
  position: relative;
  background: var(--color-panel);
  border: 1px solid rgba(110, 127, 128, 0.3);
  border-radius: 3px;
  padding: 22px 20px 18px;
  color: var(--color-ink);
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.page-news .news-topic-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 24px;
  height: 2px;
  background: var(--color-accent);
}

.page-news .news-topic-card__index {
  position: absolute;
  top: 14px;
  right: 16px;
  font-family: var(--font-index);
  font-size: 12px;
  color: var(--color-accent);
}

.page-news .news-topic-card h3 {
  font-family: var(--font-title);
  font-size: 19px;
  font-weight: 700;
  margin: 0 0 8px;
}

.page-news .news-topic-card p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--color-ink-dim);
  margin: 0;
}

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

.page-news .news-rhythm {
  margin-top: 64px;
  background: var(--news-paper);
  color: var(--color-ink-dark);
  padding: 42px 0;
  border-radius: 3px;
}

.page-news .news-rhythm .section-kicker {
  color: var(--color-accent);
}

.page-news .news-rhythm .section-title {
  color: var(--color-ink-dark);
}

.page-news .news-rhythm .section-lead {
  color: rgba(11, 27, 43, 0.7);
}

.page-news .rhythm-panel {
  margin-top: 24px;
  border: 1px solid rgba(11, 27, 43, 0.15);
  background: rgba(255, 255, 255, 0.35);
}

.page-news .rhythm-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 16px;
  border-bottom: 1px solid rgba(11, 27, 43, 0.13);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--color-ink-dark);
}

.page-news .rhythm-panel__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.page-news .rhythm-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  padding: 20px 16px;
}

.page-news .rhythm-cell {
  padding-left: 14px;
  border-left: 3px solid var(--color-accent);
}

.page-news .rhythm-cell__number {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 0.08em;
}

.page-news .rhythm-cell h3 {
  font-family: var(--font-title);
  font-size: 18px;
  font-weight: 800;
  margin: 6px 0 6px;
  color: var(--color-ink-dark);
}

.page-news .rhythm-cell p {
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
  color: rgba(11, 27, 43, 0.72);
}

.page-news .news-rhythm__note {
  margin-top: 18px;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(11, 27, 43, 0.6);
}

@media (min-width: 768px) {
  .page-news .news-summary__content {
    padding-left: 2px;
  }

  .page-news .news-feed {
    margin-top: 72px;
  }

  .page-news .news-feed__filter {
    margin-top: 28px;
    margin-bottom: 44px;
  }

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

  .page-news .news-card__title {
    font-size: 25px;
  }

  .page-news .news-card__text {
    font-size: 15px;
  }

  .page-news .news-card__no {
    font-size: 13px;
  }

  .page-news .news-timeline__item {
    display: grid;
    grid-template-columns: 160px 60px 1fr;
    align-items: start;
    padding-left: 0;
    padding-bottom: 64px;
  }

  .page-news .news-timeline__version {
    margin-bottom: 0;
    text-align: right;
    justify-self: end;
    align-self: start;
  }

  .page-news .news-timeline__dot {
    position: relative;
    left: auto;
    top: 7px;
    width: 15px;
    height: 15px;
    margin: 0 auto;
  }

  .page-news .news-timeline__item::before {
    left: 190px;
    top: 10px;
  }

  .page-news .news-timeline__item:last-child::before {
    display: block;
    height: 30px;
    bottom: auto;
  }

  .page-news .news-topics {
    margin-top: 72px;
  }

  .page-news .news-topics__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
  }

  .page-news .news-rhythm {
    margin-top: 72px;
    padding: 56px 0;
  }

  .page-news .rhythm-panel {
    margin-top: 30px;
  }

  .page-news .rhythm-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 44px;
    padding: 26px 24px;
  }
}
