.page-news {
  --news-sidebar: 320px;
  --news-gap: 24px;
}

.page-news__hero {
  background: var(--c-primary);
  color: var(--c-text-dark);
  padding: 32px 0 48px;
  position: relative;
  overflow: hidden;
}

.page-news__hero::before {
  content: "";
  position: absolute;
  top: -70px;
  right: -40px;
  width: 260px;
  height: 260px;
  border: 1px solid var(--c-line-dark);
  transform: rotate(45deg);
  pointer-events: none;
}

.page-news__hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--c-accent);
  pointer-events: none;
}

.page-news__hero .breadcrumbs {
  margin-bottom: 36px;
  font-size: 13px;
}

.page-news__hero .breadcrumbs a {
  color: var(--c-text-dim);
  text-decoration: none;
  transition: color 0.2s ease;
}

.page-news__hero .breadcrumbs a:hover {
  color: var(--c-accent);
}

.page-news__hero .breadcrumbs__sep {
  color: var(--c-line-dark);
  margin: 0 4px;
}

.page-news__hero .breadcrumbs span[aria-current="page"] {
  color: var(--c-text-dark);
  font-weight: 600;
}

.page-news__hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.page-news__hero-copy h1 {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: var(--text-h1);
  margin: 0;
  letter-spacing: 0.03em;
  color: var(--c-text-dark);
}

.page-news__hero-lead {
  margin: 12px 0 0;
  font-size: 16px;
  color: var(--c-text-dim);
  max-width: 56ch;
  line-height: 1.7;
}

.page-news__hero-side {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

.page-news__hero-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--c-text-dim);
  padding: 8px 14px;
  border: 1px solid var(--c-line-dark);
  background: rgba(255, 255, 255, 0.02);
}

.page-news__hero-dot {
  width: 8px;
  height: 8px;
  background: var(--c-accent);
  transform: rotate(45deg);
}

.page-news__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  padding-top: 40px;
  padding-bottom: 64px;
}

.page-news__main {
  min-width: 0;
}

.page-news__section {
  margin-bottom: 64px;
}

.page-news__section:last-child {
  margin-bottom: 0;
}

.page-news__log-hero {
  margin: 24px 0 8px;
  border: 1px solid var(--c-line-light);
  background: var(--c-light);
  overflow: hidden;
}

.page-news__log-hero img {
  width: 100%;
  height: auto;
  display: block;
}

.page-news__log-legend {
  margin: 16px 0 0;
  padding: 14px 0 18px;
  border-bottom: 1px solid var(--c-line-light);
  gap: 16px;
}

.page-news__log-legend .legend__dot {
  width: 8px;
  height: 8px;
  transform: rotate(45deg);
  border-radius: 0;
}

.page-news__log-legend .legend__dot--line {
  background: var(--c-accent);
}

.page-news__log-legend .legend__dot--data {
  background: var(--c-data);
}

.page-news__log {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

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

.page-news__log-item {
  position: relative;
  padding: 28px 24px 28px 48px;
  border-bottom: 1px solid var(--c-line-light);
  transition: background-color 0.2s ease;
}

.page-news__log-item:last-child {
  border-bottom: none;
}

.page-news__log-item:hover {
  background-color: var(--c-light);
}

.page-news__log-item::after {
  content: "→";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: 16px;
  color: var(--c-accent);
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.page-news__log-item:hover::after {
  opacity: 1;
}

.page-news__log-dot {
  position: absolute;
  left: 11px;
  top: 40px;
  width: 10px;
  height: 10px;
  background: var(--c-accent);
  transform: rotate(45deg);
}

.page-news__log-body {
  min-width: 0;
}

.page-news__log-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.page-news__log-version {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--c-data);
  letter-spacing: 0.04em;
}

.page-news__log-body .tag {
  font-size: 12px;
  line-height: 1;
  padding: 4px 10px;
}

.page-news__log-body h3 {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.4;
  margin: 0 0 8px;
  color: var(--c-text-body);
}

.page-news__log-body p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-text-soft);
  margin: 0;
  max-width: 62ch;
}

.page-news__topics {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 32px;
}

.page-news__topic {
  overflow: hidden;
  border: 1px solid var(--c-line-light);
}

.page-news__topic-cover {
  margin: 0;
  aspect-ratio: 16 / 10;
  background: var(--c-light);
  overflow: hidden;
  border-bottom: 1px solid var(--c-line-light);
}

.page-news__topic-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.page-news__topic:hover .page-news__topic-cover img {
  transform: scale(1.03);
}

.page-news__topic-body {
  padding: 24px;
}

.page-news__topic-body .tag {
  font-size: 12px;
  line-height: 1;
  padding: 4px 10px;
}

.page-news__topic-body h3 {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.4;
  margin: 12px 0 8px;
  color: var(--c-text-body);
}

.page-news__topic-body p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-text-soft);
  margin: 0 0 16px;
}

.page-news__topic-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--c-primary);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.2s ease;
}

.page-news__topic-link::after {
  content: "→";
  font-family: var(--font-mono);
  font-size: 14px;
  transition: transform 0.2s ease;
}

.page-news__topic-link:hover {
  color: var(--c-accent);
}

.page-news__topic-link:hover::after {
  transform: translateX(4px);
}

.page-news__aside {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  min-width: 0;
}

.page-news__widget {
  background: var(--c-white);
  border: 1px solid var(--c-line-light);
  padding: 24px;
}

.page-news__widget-title {
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font-body);
  letter-spacing: 0.06em;
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--c-primary);
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--c-text-body);
}

.page-news__widget-title::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--c-accent);
  transform: rotate(45deg);
  flex-shrink: 0;
}

.page-news__tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-news__tag {
  display: inline-block;
  padding: 6px 12px;
  font-size: 12px;
  font-family: var(--font-body);
  color: var(--c-text-soft);
  background: var(--c-light);
  border: 1px solid var(--c-line-light);
  transition: all 0.2s ease;
  line-height: 1.4;
  cursor: default;
}

.page-news__tag:hover {
  border-color: var(--c-accent);
  color: var(--c-primary);
  background: var(--c-white);
  box-shadow: 2px 2px 0 var(--c-accent);
}

.page-news__tag--active {
  background: var(--c-primary);
  color: var(--c-accent);
  border-color: var(--c-primary);
  font-weight: 600;
}

.page-news__tag--active:hover {
  background: var(--c-primary);
  color: var(--c-accent);
  box-shadow: 2px 2px 0 var(--c-accent);
}

.page-news__report-cover {
  margin: 0 0 16px;
  border: 1px solid var(--c-line-light);
  background: var(--c-light);
  max-width: 260px;
}

.page-news__report-cover img {
  width: 100%;
  height: auto;
  display: block;
}

.page-news__report-note {
  font-size: 13px;
  line-height: 1.7;
  color: var(--c-text-soft);
  margin: 0 0 16px;
}

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

.page-news__quick li + li {
  border-top: 1px solid var(--c-line-light);
}

.page-news__quick a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 4px;
  color: var(--c-text-body);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.page-news__quick a::after {
  content: "→";
  font-family: var(--font-mono);
  color: var(--c-text-dim);
  font-size: 14px;
  transition: all 0.2s ease;
}

.page-news__quick a:hover {
  color: var(--c-primary);
  padding-left: 8px;
}

.page-news__quick a:hover::after {
  color: var(--c-accent);
  transform: translateX(4px);
}

.page-news__notices {
  padding: 64px 0 72px;
  position: relative;
  overflow: hidden;
}

.page-news__notices::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -40px;
  width: 280px;
  height: 280px;
  border: 1px solid var(--c-line-dark);
  transform: rotate(45deg);
  pointer-events: none;
}

.page-news__notice {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
  position: relative;
  z-index: 1;
  margin-top: 40px;
}

.page-news__notice-img {
  margin: 0;
  border: 1px solid var(--c-line-dark);
  background: var(--c-primary);
  max-width: 200px;
}

.page-news__notice-img img {
  width: 100%;
  height: auto;
  display: block;
}

.page-news__notice-body h3 {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 900;
  color: var(--c-text-dark);
  margin: 0 0 20px;
}

.page-news__steps {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  counter-reset: news-step;
}

.page-news__steps li {
  counter-increment: news-step;
  position: relative;
  padding-left: 44px;
  margin-bottom: 16px;
  color: var(--c-text-dark);
  line-height: 1.7;
  font-size: 15px;
}

.page-news__steps li::before {
  content: counter(news-step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 2px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--c-accent);
  border: 1px solid var(--c-line-dark);
  background: rgba(57, 255, 20, 0.04);
}

.page-news__steps strong {
  color: var(--c-text-dark);
  font-weight: 600;
}

.page-news__notice-tip {
  font-size: 13px;
  line-height: 1.7;
  color: var(--c-text-dim);
  margin: 0 0 24px;
  padding: 12px 16px;
  border-left: 2px solid var(--c-data);
  background: rgba(255, 107, 53, 0.06);
  max-width: 60ch;
}

.page-news__notice-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (min-width: 768px) {
  .page-news__hero-grid {
    grid-template-columns: 1.4fr 0.6fr;
    gap: 32px;
    align-items: end;
  }

  .page-news__hero-side {
    align-items: flex-end;
    text-align: right;
  }

  .page-news__topic {
    grid-template-columns: 200px 1fr;
  }

  .page-news__topic-cover {
    aspect-ratio: auto;
    height: 100%;
    min-height: 200px;
    border-bottom: none;
    border-right: 1px solid var(--c-line-light);
  }

  .page-news__topic-cover img {
    height: 100%;
  }

  .page-news__notice {
    grid-template-columns: 200px 1fr;
    gap: 56px;
  }
}

@media (min-width: 992px) {
  .page-news__layout {
    grid-template-columns: minmax(0, 1fr) var(--news-sidebar);
    gap: 48px;
    padding-top: 56px;
    align-items: start;
  }

  .page-news__aside {
    position: sticky;
    top: 88px;
  }
}
