.page-news {
  --news-ring: #F5F0E6;
}

.page-news__hero {
  padding: 36px 0 28px;
}

.page-news__lead {
  margin: 14px 0 0;
  max-width: 680px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--gray);
}

.page-news__facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 22px;
}

.page-news__fact {
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--radius-pill);
  padding: 10px 14px;
  box-shadow: 3px 3px 0 var(--ink);
  font-size: 12px;
  color: var(--gray);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
}

.page-news__fact strong {
  font-family: var(--font-display);
  font-size: 17px;
  letter-spacing: .02em;
  color: var(--ink);
}

.page-news__chip-list {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-news__chip {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-size: 13px;
  color: var(--ink);
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  box-shadow: 2px 2px 0 var(--ink);
}

.page-news__chip b {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--ink);
}

.page-news__chip--teal {
  background: var(--teal);
}

.page-news__chip--coral {
  background: var(--coral);
}

.page-news__chip--lilac {
  background: var(--lilac);
  color: var(--white);
}

.page-news__chip--lilac b {
  color: var(--white);
}

.page-news__chip--blue {
  background: var(--blue);
  color: var(--white);
}

.page-news__chip--blue b {
  color: var(--white);
}

.page-news__chip--orange {
  background: var(--orange);
}

.page-news__section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  margin-bottom: 26px;
}

.page-news__section-sub {
  width: 100%;
  max-width: 580px;
  color: var(--gray);
  font-size: 14px;
  line-height: 1.7;
  margin: 4px 0 0;
}

.page-news__log-stamp {
  font-family: var(--font-tag);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--ink);
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--radius-pill);
  padding: 3px 10px;
}

.page-news__timeline-section,
.page-news__batch-section,
.page-news__version-section,
.page-news__tag-section,
.page-news__adjust-section {
  border-radius: var(--radius-lg);
}

.page-news__timeline-grid,
.page-news__batch-grid,
.page-news__adjust-grid {
  display: grid;
  gap: 24px;
  align-items: start;
}

.page-news__timeline-main,
.page-news__batch-list-wrap {
  min-width: 0;
}

.page-news__timeline-side,
.page-news__batch-side {
  display: grid;
  gap: 14px;
  align-content: start;
}

.page-news__side-img {
  width: 100%;
  max-width: 100%;
  height: auto;
  border: 2px solid var(--ink);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}

.page-news__side-img--timeline {
  max-width: 300px;
}

.page-news__side-img--version {
  display: block;
  max-width: 320px;
  margin: 22px auto 0;
}

.page-news__side-img--adjust {
  max-width: 280px;
}

.page-news__side-note {
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  box-shadow: var(--shadow-card);
  font-size: 13px;
  color: var(--gray);
  line-height: 1.6;
}

.page-news__side-note p {
  margin: 6px 0 0;
}

.page-news__side-note strong {
  font-family: var(--font-display);
  color: var(--ink);
  font-size: 15px;
}

.page-news__side-note-label {
  display: inline-block;
  font-family: var(--font-tag);
  font-size: 11px;
  letter-spacing: .06em;
  background: var(--ink);
  color: var(--yellow);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}

.page-news__side-note--ink {
  background: var(--ink);
  color: var(--yellow);
}

.page-news__side-note--ink p {
  color: var(--yellow);
}

.page-news__side-note--ink strong {
  color: var(--yellow);
}

.page-news__side-note--ink .page-news__side-note-label {
  background: var(--yellow);
  color: var(--ink);
}

.page-news__timeline {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 18px;
}

.page-news__timeline::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 14px;
  bottom: 14px;
  width: 3px;
  border-radius: var(--radius-pill);
  background: var(--ink);
}

.page-news__timeline-item {
  position: relative;
  padding-left: 38px;
}

.page-news__timeline-dot {
  position: absolute;
  left: 0;
  top: 20px;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  border: 3px solid var(--ink);
  box-shadow: 0 0 0 4px var(--yellow);
  background: var(--yellow);
}

.page-news__timeline-dot--teal {
  background: var(--teal);
}

.page-news__timeline-dot--orange {
  background: var(--orange);
}

.page-news__timeline-dot--lilac {
  background: var(--lilac);
}

.page-news__timeline-dot--blue {
  background: var(--blue);
}

.page-news__timeline-card {
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  box-shadow: var(--shadow-card);
  transition: transform .16s ease, box-shadow .16s ease;
}

.page-news__timeline-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--ink);
}

.page-news__timeline-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.page-news__time {
  font-family: var(--font-tag);
  font-size: 12px;
  color: var(--gray);
  background: var(--paper-deep);
  border-radius: var(--radius-pill);
  padding: 3px 12px;
}

.page-news__timeline-card h3 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
}

.page-news__timeline-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--gray);
}

.page-news__timeline-link {
  display: inline-block;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
}

.page-news__batch-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-news__batch-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 6px 12px;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  box-shadow: 3px 3px 0 var(--ink);
}

.page-news__batch-row--latest {
  background: var(--teal);
}

.page-news__batch-row--latest .page-news__batch-code {
  background: var(--ink);
  color: var(--yellow);
}

.page-news__batch-row--first {
  background: var(--paper-deep);
}

.page-news__batch-code {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--ink);
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: var(--radius-pill);
  padding: 3px 14px;
  line-height: 1.4;
}

.page-news__batch-time {
  font-size: 12px;
  color: var(--gray);
  background: var(--paper-deep);
  border-radius: var(--radius-pill);
  padding: 3px 10px;
  justify-self: start;
}

.page-news__batch-count {
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--orange);
  justify-self: end;
  white-space: nowrap;
}

.page-news__batch-tags {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.page-news__batch-tags .tag {
  margin: 0;
}

.page-news__version-cards {
  display: grid;
  gap: 18px;
}

.page-news__version-card {
  position: relative;
  overflow: hidden;
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: var(--shadow-card);
  transition: transform .16s ease, box-shadow .16s ease;
}

.page-news__version-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--ink);
}

.page-news__version-card::after {
  content: "";
  position: absolute;
  right: -28px;
  top: -28px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .32);
  pointer-events: none;
}

.page-news__version-card--v30 {
  background: var(--yellow);
}

.page-news__version-card--v31 {
  background: var(--teal);
}

.page-news__version-card--v32 {
  background: var(--coral);
}

.page-news__version-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.page-news__version-num {
  font-family: var(--font-display);
  font-size: 30px;
  letter-spacing: .02em;
  color: var(--ink);
}

.page-news__version-card h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--ink);
}

.page-news__version-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink);
}

.page-news__version-stat {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 14px;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  font-size: 13px;
  color: var(--gray);
  box-shadow: 2px 2px 0 var(--ink);
}

.page-news__version-stat strong {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--ink);
}

.page-news__version-points {
  position: relative;
  z-index: 1;
  list-style: none;
  margin: 12px 0 0;
  padding: 12px 0 0;
  border-top: 2px solid rgba(29, 29, 27, .18);
  display: grid;
  gap: 6px;
}

.page-news__version-points li {
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink);
  padding-left: 18px;
  position: relative;
}

.page-news__version-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ink);
}

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

.page-news__tag-item {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--radius-pill);
  padding: 8px 18px;
  box-shadow: 3px 3px 0 var(--ink);
  font-family: var(--font-tag);
  font-size: 14px;
  color: var(--ink);
}

.page-news__tag-item b {
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--gray);
}

.page-news__tag-item--hot {
  background: var(--yellow);
  font-size: 16px;
  transform: translateY(-2px);
}

.page-news__tag-item--new {
  background: var(--teal);
}

.page-news__tag-item--old {
  background: var(--paper-deep);
}

.page-news__adjust-table {
  width: 100%;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--radius-md);
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
}

.page-news__adjust-table th,
.page-news__adjust-table td {
  padding: 12px 16px;
  text-align: left;
  vertical-align: top;
  font-size: 13px;
  line-height: 1.6;
  border-bottom: 1px solid var(--ink);
}

.page-news__adjust-table th {
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: .05em;
}

.page-news__adjust-table th:last-child,
.page-news__adjust-table td:last-child {
  text-align: right;
  white-space: nowrap;
  font-weight: 600;
}

.page-news__adjust-table tr:last-child td {
  border-bottom: 0;
}

.page-news__cta-section {
  padding-top: 8px;
  padding-bottom: 8px;
}

.page-news__cta-heading {
  font-family: var(--font-display);
  font-size: 22px;
  margin: 0;
  color: var(--ink);
}

.page-news__cta-grid {
  display: grid;
  gap: 16px;
}

.page-news__cta-card {
  position: relative;
  display: block;
  text-decoration: none;
  border: 2px solid var(--ink);
  border-radius: var(--radius-lg);
  padding: 20px 54px 20px 22px;
  background: var(--yellow);
  box-shadow: var(--shadow-card);
  transition: transform .16s ease, box-shadow .16s ease;
}

.page-news__cta-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--ink);
}

.page-news__cta-card--orange {
  background: var(--orange);
}

.page-news__cta-card--blue {
  background: var(--blue);
}

.page-news__cta-label {
  display: block;
  font-family: var(--font-tag);
  font-size: 12px;
  letter-spacing: .05em;
  color: var(--ink);
  margin-bottom: 6px;
}

.page-news__cta-title {
  display: block;
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--ink);
}

.page-news__cta-arrow {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  color: var(--ink);
}

.page-news__cta-card--blue .page-news__cta-label,
.page-news__cta-card--blue .page-news__cta-title,
.page-news__cta-card--blue .page-news__cta-arrow {
  color: var(--white);
}

@media (min-width: 768px) {
  .page-news__hero {
    padding: 48px 0 36px;
  }

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

  .page-news__timeline-grid {
    grid-template-columns: minmax(0, 1fr) 280px;
  }

  .page-news__batch-grid {
    grid-template-columns: minmax(0, 1fr) 260px;
  }

  .page-news__batch-side {
    position: sticky;
    top: 24px;
  }

  .page-news__version-cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-news__version-card {
    padding: 22px;
  }

  .page-news__adjust-grid {
    grid-template-columns: minmax(0, 1fr) 260px;
  }

  .page-news__cta-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-news__cta-card {
    padding: 24px 60px 24px 24px;
  }
}

@media (min-width: 1024px) {
  .page-news__hero {
    padding: 56px 0 40px;
  }

  .page-news__lead {
    font-size: 16px;
  }
}
