.page-news {
  --news-max: 1280px;
  color: var(--c-ink);
  font-family: var(--font-body);
  background:
    radial-gradient(1200px 600px at 85% -5%, rgba(157, 78, 221, 0.12), transparent 60%),
    var(--c-bg);
  overflow-x: hidden;
}

.page-news .news-hero {
  position: relative;
  padding-top: clamp(44px, 8vw, 96px);
  overflow: hidden;
}

.page-news .news-hero::after {
  content: "LOG";
  position: absolute;
  top: 0;
  right: var(--gutter);
  writing-mode: vertical-rl;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(100px, 14vw, 180px);
  line-height: 1;
  letter-spacing: 0.12em;
  color: rgba(224, 225, 221, 0.05);
  pointer-events: none;
  user-select: none;
}

.page-news .news-hero__inner {
  position: relative;
  width: min(100%, var(--news-max));
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: grid;
  gap: 36px;
  align-items: center;
}

.page-news .news-crumb {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--c-muted);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.page-news .news-crumb a {
  color: var(--c-lime);
  text-decoration: none;
}

.page-news .news-crumb a:hover {
  color: var(--c-orange);
}

.page-news .news-crumb__sep {
  color: var(--c-violet);
}

.page-news .news-hero__eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--c-orange);
  margin-bottom: 12px;
}

.page-news .news-hero__title {
  font-family: var(--font-display);
  font-size: clamp(44px, 8vw, 84px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
  font-weight: 800;
}

.page-news .news-hero__title-accent {
  color: var(--c-lime);
}

.page-news .news-hero__subtitle {
  font-size: clamp(18px, 2.4vw, 26px);
  font-weight: 600;
  color: var(--c-ink);
  margin: 0 0 20px;
  padding-left: 16px;
  border-left: 4px solid var(--c-violet);
}

.page-news .news-hero__desc {
  font-size: 16px;
  line-height: 1.85;
  color: var(--c-muted);
  max-width: 58ch;
  margin: 0 0 28px;
}

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

.page-news .news-hero__art {
  max-width: 520px;
  width: 100%;
  margin-left: auto;
}

.page-news .news-hero__panel {
  position: relative;
  background: var(--c-panel);
  border: 2px solid var(--c-line-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
  transform: rotate(1.2deg);
  transition: transform 0.3s ease;
}

.page-news .news-hero__panel:hover {
  transform: rotate(0deg);
}

.page-news .news-hero__panel::before {
  content: "";
  position: absolute;
  inset: -10px;
  border: 2px dashed rgba(163, 230, 53, 0.25);
  border-radius: calc(var(--radius) + 6px);
  pointer-events: none;
}

.page-news .news-hero__panel-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--c-muted);
  border-bottom: 1px solid var(--c-line);
  padding-bottom: 16px;
  margin-bottom: 20px;
}

.page-news .news-hero__panel-batch {
  color: var(--c-orange);
  font-weight: 700;
}

.page-news .news-hero__panel-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--c-lime);
}

.page-news .news-hero__panel-diagram {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  border-bottom: 1px solid var(--c-line);
  padding-bottom: 20px;
}

.page-news .news-hero__panel-num {
  font-family: var(--font-display);
  font-size: clamp(80px, 12vw, 140px);
  font-weight: 800;
  line-height: 0.85;
  color: transparent;
  -webkit-text-stroke: 2px var(--c-lime);
}

.page-news .news-hero__panel-label {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.6;
  color: var(--c-muted);
  margin-bottom: 8px;
}

.page-news .news-hero__panel-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--c-muted);
}

.page-news .news-hero__panel-coord {
  color: var(--c-violet);
}

.page-news .news-hero__panel-update {
  color: var(--c-lime);
}

.page-news .news-hero__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-top: clamp(48px, 7vw, 80px);
  border-top: 2px solid var(--c-line-strong);
  border-bottom: 2px solid var(--c-line-strong);
}

.page-news .news-hero__stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px clamp(16px, 3vw, 32px);
  border-right: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
}

.page-news .news-hero__stat:nth-child(2n) {
  border-right: 0;
}

.page-news .news-hero__stat:nth-child(n+3) {
  border-bottom: 0;
}

.page-news .news-hero__stat-num {
  font-family: var(--font-mono);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  color: var(--c-orange);
}

.page-news .news-hero__stat-label {
  font-size: 13px;
  color: var(--c-muted);
}

.page-news .news-section-head {
  width: min(100%, var(--news-max));
  margin-inline: auto;
  padding: 24px var(--gutter) 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
}

.page-news .news-section-head .section-index {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  color: var(--c-violet);
  border: 2px solid currentColor;
  border-radius: var(--radius);
  padding: 8px 13px;
}

.page-news .news-section-head .section-headline {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.1;
  margin: 0;
}

.page-news .news-section-head__group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.page-news .news-section-head__note {
  font-size: 13px;
  line-height: 1.6;
  color: var(--c-muted);
  margin: 0;
}

.page-news .news-section-head__meta {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--c-muted);
  white-space: nowrap;
}

.page-news .news-specials {
  padding-top: clamp(64px, 10vw, 128px);
}

.page-news .news-specials__track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scroll-padding-left: var(--gutter);
  padding: 8px var(--gutter) 30px;
  -webkit-overflow-scrolling: touch;
}

.page-news .news-special-card {
  flex: 0 0 clamp(280px, 82vw, 360px);
  scroll-snap-align: start;
  background: var(--c-panel);
  border: 2px solid var(--c-line);
  border-radius: var(--radius);
  overflow: hidden;
  transform: rotate(-1deg);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.page-news .news-special-card:hover {
  transform: rotate(0deg) translateY(-4px);
  border-color: var(--c-lime);
}

.page-news .news-special-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  border-bottom: 2px solid var(--c-line);
  overflow: hidden;
  background: linear-gradient(145deg, var(--c-panel-deep), var(--c-panel) 70%);
}

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

.page-news .news-special-card__media--scene {
  background:
    radial-gradient(circle at 70% 20%, rgba(157, 78, 221, 0.55) 0%, transparent 50%),
    linear-gradient(150deg, var(--c-panel-deep) 0%, var(--c-panel) 75%);
}

.page-news .news-special-card__media--service {
  background:
    radial-gradient(circle at 25% 80%, rgba(255, 107, 53, 0.35) 0%, transparent 42%),
    linear-gradient(210deg, var(--c-panel-deep) 20%, var(--c-panel) 100%);
}

.page-news .news-special-card__media-label {
  position: absolute;
  left: 14px;
  bottom: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--c-lime);
  background: rgba(11, 12, 16, 0.65);
  border: 1px solid rgba(163, 230, 53, 0.3);
  padding: 4px 10px;
  border-radius: 999px;
}

.page-news .news-special-card__body {
  padding: 20px;
}

.page-news .news-special-card__badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-lime);
  border: 1px solid rgba(163, 230, 53, 0.35);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.page-news .news-special-card__title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 10px;
}

.page-news .news-special-card__desc {
  font-size: 14px;
  line-height: 1.75;
  color: var(--c-muted);
  margin: 0 0 16px;
}

.page-news .news-special-card__foot {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--c-muted);
  margin: 0;
}

.page-news .news-logs {
  padding-top: clamp(64px, 10vw, 128px);
  padding-bottom: clamp(64px, 10vw, 128px);
}

.page-news .news-logs__head {
  margin-bottom: 10px;
}

.page-news .news-logs__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
  flex-basis: 100%;
}

.page-news .theme-filter {
  background: transparent;
  border: 1px solid var(--c-line-strong);
  border-radius: 999px;
  color: var(--c-muted);
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 8px 14px;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.page-news .theme-filter:hover {
  border-color: var(--c-lime);
  color: var(--c-ink);
}

.page-news .theme-filter.is-active {
  background: var(--c-orange);
  border-color: var(--c-orange);
  color: #0B0C10;
  font-weight: 700;
}

.page-news .news-logs__list {
  width: min(100%, var(--news-max));
  margin-inline: auto;
  border-top: 2px solid var(--c-line-strong);
}

.page-news .news-log-item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px 18px;
  align-items: start;
  width: 100%;
  padding: 28px var(--gutter);
  border-bottom: 1px solid var(--c-line);
  position: relative;
  transition: background 0.2s ease;
}

.page-news .news-log-item:hover {
  background: rgba(27, 38, 59, 0.55);
}

.page-news .news-log-item--feature::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--c-lime);
}

.page-news .news-log-item__num {
  grid-column: 1;
  grid-row: 1;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--c-violet);
  font-weight: 700;
  padding-top: 4px;
}

.page-news .news-log-item__media {
  grid-column: 1 / -1;
  grid-row: 2;
  width: 100%;
  max-width: 400px;
  justify-self: start;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--c-line);
  background: var(--c-panel-deep);
}

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

.page-news .news-log-item__main {
  grid-column: 1 / -1;
  grid-row: 3;
}

.page-news .news-log-item__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--c-muted);
  margin-bottom: 10px;
}

.page-news .news-log-item__time {
  color: var(--c-orange);
  font-weight: 700;
}

.page-news .news-log-item__batch {
  color: var(--c-muted);
}

.page-news .news-log-item__tag {
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.page-news .news-log-item__tag--version {
  background: rgba(157, 78, 221, 0.15);
  color: #b06ce6;
  border: 1px solid rgba(157, 78, 221, 0.35);
}

.page-news .news-log-item__tag--adapt {
  background: rgba(163, 230, 53, 0.12);
  color: var(--c-lime);
  border: 1px solid rgba(163, 230, 53, 0.3);
}

.page-news .news-log-item__tag--service {
  background: rgba(255, 107, 53, 0.12);
  color: var(--c-orange);
  border: 1px solid rgba(255, 107, 53, 0.3);
}

.page-news .news-log-item__tag--scene {
  background: rgba(224, 225, 221, 0.08);
  color: var(--c-ink);
  border: 1px solid var(--c-line-strong);
}

.page-news .news-log-item__title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.45;
  margin: 0 0 10px;
}

.page-news .news-log-item--feature .news-log-item__title {
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.3;
}

.page-news .news-log-item__summary {
  font-size: 14px;
  line-height: 1.8;
  color: var(--c-muted);
  margin: 0 0 12px;
  max-width: 70ch;
}

.page-news .news-log-item__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--c-lime);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.page-news .news-log-item__link:hover {
  color: var(--c-orange);
  border-color: currentColor;
}

@media (min-width: 768px) {
  .page-news .news-hero__inner {
    grid-template-columns: 55% 1fr;
    gap: 48px;
  }

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

  .page-news .news-hero__stat {
    border-bottom: 0;
  }

  .page-news .news-hero__stat:nth-child(2n) {
    border-right: 1px solid var(--c-line);
  }

  .page-news .news-hero__stat:last-child {
    border-right: 0;
  }

  .page-news .news-specials__track {
    scroll-behavior: smooth;
  }
}

@media (min-width: 900px) {
  .page-news .news-logs__filters {
    margin-left: auto;
    flex-basis: auto;
    justify-content: flex-end;
  }

  .page-news .news-log-item {
    grid-template-columns: 64px 280px 1fr;
    padding: 36px var(--gutter);
  }

  .page-news .news-log-item--feature {
    background: linear-gradient(90deg, rgba(163, 230, 53, 0.07), transparent 70%);
  }

  .page-news .news-log-item--feature {
    padding-block: 44px;
  }

  .page-news .news-log-item__num {
    grid-column: 1;
    grid-row: 1;
  }

  .page-news .news-log-item--media .news-log-item__media {
    grid-column: 2;
    grid-row: 1;
    max-width: none;
  }

  .page-news .news-log-item__main {
    grid-column: 2 / -1;
    grid-row: 1;
  }

  .page-news .news-log-item--media .news-log-item__main {
    grid-column: 3;
  }

  .page-news .news-log-item:not(.news-log-item--media) {
    grid-template-columns: 64px 1fr;
  }

  .page-news .news-log-item:not(.news-log-item--media) .news-log-item__main {
    grid-column: 2 / -1;
  }

  .page-news .news-special-card {
    flex-basis: clamp(300px, 40vw, 420px);
  }

  .page-news .news-hero::after {
    right: calc((100vw - var(--news-max)) / 2);
  }
}

@media (min-width: 1200px) {
  .page-news .news-specials__track {
    gap: 24px;
  }

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