.page-news {
  --news-line: rgba(35, 31, 27, 0.12);
  --news-line-deep: rgba(35, 31, 27, 0.22);
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

.page-news .container {
  width: min(92%, 1200px);
  margin-inline: auto;
}

/* ============ HERO ============ */
.page-news .news-hero {
  position: relative;
  padding: 96px 0 48px;
  overflow: hidden;
}
.page-news .news-hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 54%;
  height: 100%;
  background:
    linear-gradient(115deg, transparent 0 78%, rgba(232, 93, 42, 0.16) 78% 80%, transparent 80%),
    linear-gradient(115deg, transparent 0 88%, rgba(0, 59, 115, 0.12) 88% 90%, transparent 90%);
  pointer-events: none;
}
.page-news .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}
.page-news .breadcrumb a {
  color: var(--orange);
  text-decoration: none;
  font-weight: 600;
}
.page-news .breadcrumb a:hover {
  text-decoration: underline;
}
.page-news .breadcrumb .breadcrumb-sep {
  color: var(--gray);
}
.page-news .breadcrumb [aria-current="page"] {
  color: var(--gray);
}
.page-news .news-hero-grid {
  display: grid;
  gap: 28px;
  position: relative;
  z-index: 1;
}
.page-news .news-hero-copy .overline-label,
.page-news .section-head .overline-label,
.page-news .subscribe-content .overline-label {
  font-family: var(--font-data);
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--orange);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.page-news .overline-label::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(182, 255, 0, 0.2);
}
.page-news .news-hero h1 {
  font-family: var(--font-head);
  font-size: 42px;
  line-height: 1.12;
  margin: 14px 0 16px;
  transform: skew(-2deg);
  letter-spacing: -1px;
}
.page-news .news-hero-desc {
  font-size: 17px;
  color: var(--gray);
  max-width: 620px;
  margin: 0 0 24px;
}
.page-news .news-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 36px;
}
.page-news .news-hero-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.page-news .news-hero-stat .data-digit,
.page-news .news-hero-stat .data-digit-green {
  font-family: var(--font-data);
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
}
.page-news .news-hero-stat .data-digit {
  color: var(--ink);
}
.page-news .news-hero-stat .data-digit-green {
  color: var(--green);
  background: var(--blue);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
}
.page-news .news-hero-stat-label {
  font-size: 13px;
  color: var(--gray);
}
.page-news .news-hero-art {
  border-radius: var(--radius-lg);
  border: 2px solid var(--ink);
  box-shadow: 8px 8px 0 var(--orange);
  overflow: hidden;
  background: var(--panel);
}
.page-news .news-hero-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* ============ SECTION SHARED ============ */
.page-news .section {
  padding: 56px 0 0;
}
.page-news .section-head {
  margin-bottom: 24px;
}
.page-news .section-head .section-title {
  font-family: var(--font-head);
  font-size: 32px;
  line-height: 1.15;
  margin: 10px 0 10px;
  transform: skew(-2deg);
  letter-spacing: -0.5px;
}
.page-news .section-head .section-desc {
  color: var(--gray);
  font-size: 15px;
  max-width: 620px;
}

/* ============ FILTER BAR ============ */
.page-news .news-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--news-line);
}
.page-news .filter-chip {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  background: var(--panel);
  padding: 8px 16px;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
}
.page-news .filter-chip:hover {
  background: var(--orange);
  color: #fff;
  transform: translateY(-2px);
}
.page-news .filter-chip.is-current {
  background: var(--ink);
  color: var(--cream);
}

/* ============ LATEST LOG GRID ============ */
.page-news .news-latest-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.page-news .news-card {
  background: var(--panel);
  border: 1px solid var(--news-line);
  border-left: 4px solid transparent;
  border-radius: var(--radius-md);
  padding: 20px;
  position: relative;
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.page-news .news-card[open] {
  background: #fff;
  border-left-color: var(--orange);
  box-shadow: 6px 6px 0 rgba(35, 31, 27, 0.08);
}
.page-news .news-card summary {
  list-style: none;
  cursor: pointer;
}
.page-news .news-card summary::-webkit-details-marker {
  display: none;
}
.page-news .news-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.page-news .tag-chip {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  letter-spacing: 0.04em;
}
.page-news .tag-chip-blue {
  background: var(--blue);
}
.page-news .tag-chip-green {
  background: var(--green);
  color: var(--ink);
}
.page-news .tag-chip-ink {
  background: var(--ink);
  color: var(--cream);
}
.page-news .news-rel-time {
  font-family: var(--font-data);
  font-size: 13px;
  color: var(--gray);
}
.page-news .news-card h3 {
  font-family: var(--font-head);
  font-size: 19px;
  line-height: 1.3;
  margin: 0;
  letter-spacing: -0.2px;
}
.page-news .expand-hint {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--orange);
}
.page-news .expand-hint::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-3px);
  transition: transform 0.2s var(--ease);
}
.page-news .news-card[open] .expand-hint {
  display: none;
}
.page-news .news-card-body {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--news-line);
}
.page-news .news-card-body img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  object-fit: cover;
}
.page-news .news-card-body p {
  font-size: 15px;
  color: var(--ink);
  margin: 0 0 14px;
}

/* ============ BUTTONS ============ */
.page-news .btn {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transform: skew(-2deg);
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}
.page-news .btn-primary {
  background: var(--orange);
  color: #fff;
}
.page-news .btn-primary:hover {
  background: var(--ink);
  transform: skew(-2deg) translateY(-2px);
}
.page-news .btn-outline {
  background: transparent;
  color: var(--ink);
  border: 2px solid var(--ink);
}
.page-news .btn-outline:hover {
  background: var(--ink);
  color: var(--cream);
  transform: skew(-2deg) translateY(-2px);
}

/* ============ ARCHIVE TIMELINE ============ */
.page-news .news-archive {
  background: var(--blue);
  color: var(--cream);
  margin-top: 64px;
  padding: 72px 0 64px;
  position: relative;
  overflow: hidden;
}
.page-news .news-archive::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 85% 15%, rgba(182, 255, 0, 0.14), transparent 34%),
    repeating-linear-gradient(135deg, transparent 0 14px, rgba(245, 239, 224, 0.04) 14px 16px);
  pointer-events: none;
}
.page-news .news-archive .section-head .section-title {
  color: var(--cream);
}
.page-news .news-archive .section-head .section-desc {
  color: rgba(245, 239, 224, 0.75);
}
.page-news .news-archive .section-head .overline-label {
  color: var(--green);
}
.page-news .archive-timeline {
  position: relative;
  margin-top: 36px;
}
.page-news .archive-timeline::before {
  content: "";
  position: absolute;
  left: 33px;
  top: 24px;
  bottom: 24px;
  width: 2px;
  background: rgba(182, 255, 0, 0.25);
}
.page-news .archive-node {
  position: relative;
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 12px 18px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(245, 239, 224, 0.16);
}
.page-news .archive-node:last-child {
  border-bottom: none;
}
.page-news .archive-node::before {
  content: "";
  position: absolute;
  left: 29px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  transform: translateY(-50%);
  z-index: 1;
}
.page-news .version-badge {
  font-family: var(--font-data);
  font-size: 24px;
  font-weight: 700;
  color: var(--cream);
  background: rgba(245, 239, 224, 0.1);
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  letter-spacing: -0.5px;
}
.page-news .version-badge-green {
  color: var(--green);
  border: 1px solid rgba(182, 255, 0, 0.5);
  background: rgba(182, 255, 0, 0.08);
}
.page-news .archive-body h3 {
  font-family: var(--font-head);
  font-size: 19px;
  margin: 0 0 6px;
}
.page-news .archive-body p {
  font-size: 15px;
  color: rgba(245, 239, 224, 0.85);
  margin: 0 0 8px;
}
.page-news .archive-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(182, 255, 0, 0.14);
  color: var(--green);
  border: 1px solid rgba(182, 255, 0, 0.2);
}

/* ============ TOPICS ============ */
.page-news .news-topics {
  padding-top: 72px;
}
.page-news .topics-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.page-news .topic-card {
  background: var(--panel);
  border: 1px solid var(--news-line);
  border-radius: var(--radius-md);
  padding: 22px;
}
.page-news .topic-card-feature {
  padding: 0;
  overflow: hidden;
}
.page-news .topic-card-img img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}
.page-news .topic-card-content {
  padding: 22px;
}
.page-news .topic-card h3 {
  font-family: var(--font-head);
  font-size: 20px;
  line-height: 1.3;
  margin: 8px 0 8px;
}
.page-news .topic-card p {
  font-size: 15px;
  color: var(--gray);
  margin: 0 0 14px;
}
.page-news .topic-card .topic-link {
  color: var(--orange);
  font-weight: 700;
  text-decoration: none;
  font-size: 15px;
}
.page-news .topic-card .topic-link::after {
  content: "→";
  margin-left: 4px;
}

/* ============ SUBSCRIBE ============ */
.page-news .news-subscribe {
  padding: 72px 0 96px;
}
.page-news .subscribe-panel {
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
  position: relative;
}
.page-news .subscribe-panel::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -60px;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: rgba(232, 93, 42, 0.3);
  filter: blur(50px);
  pointer-events: none;
}
.page-news .subscribe-panel > img {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.page-news .subscribe-content {
  padding: 28px 24px 32px;
  position: relative;
  z-index: 1;
}
.page-news .subscribe-content .overline-label {
  color: var(--green);
}
.page-news .subscribe-content h2 {
  font-family: var(--font-head);
  font-size: 28px;
  line-height: 1.2;
  margin: 10px 0 12px;
  transform: skew(-2deg);
}
.page-news .subscribe-content p {
  font-size: 15px;
  color: rgba(245, 239, 224, 0.9);
  margin: 0 0 12px;
  max-width: 520px;
}
.page-news .subscribe-content strong {
  color: var(--green);
  font-weight: 600;
}
.page-news .subscribe-demo {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 8px;
}
.page-news .demo-mail {
  font-family: var(--font-data);
  font-size: 14px;
  padding: 10px 14px;
  border: 1px solid rgba(245, 239, 224, 0.28);
  border-radius: var(--radius-sm);
  background: rgba(245, 239, 224, 0.08);
  color: var(--cream);
}
.page-news .demo-btn {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 18px;
  background: var(--orange);
  color: #fff;
  border-radius: var(--radius-sm);
  transform: skew(-2deg);
}
.page-news .subscribe-note {
  font-size: 13px;
  color: rgba(245, 239, 224, 0.6);
}

/* ============ MEDIA QUERIES ============ */
@media (min-width: 768px) {
  .page-news .news-hero {
    padding-top: 120px;
  }
  .page-news .news-hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 40px;
  }
  .page-news .news-hero h1 {
    font-size: 52px;
  }
  .page-news .news-latest-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 24px 28px;
  }
  .page-news .news-card:nth-child(even) {
    transform: translateY(48px);
  }
}

@media (min-width: 1024px) {
  .page-news .section {
    padding: 72px 0 0;
  }
  .page-news .section-head {
    margin-bottom: 32px;
  }
  .page-news .section-head .section-title {
    font-size: 38px;
  }
  .page-news .news-hero-stats {
    gap: 28px 44px;
  }
  .page-news .topics-grid {
    grid-template-columns: 1fr 1fr;
  }
  .page-news .topic-card-feature {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: 0;
  }
  .page-news .topic-card-feature .topic-card-img {
    height: 100%;
  }
  .page-news .topic-card-feature .topic-card-img img {
    height: 100%;
    object-fit: cover;
  }
  .page-news .topic-card:not(.topic-card-feature) {
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .page-news .subscribe-panel {
    grid-template-columns: 280px 1fr;
  }
  .page-news .subscribe-panel > img {
    height: 100%;
    min-height: 260px;
  }
  .page-news .subscribe-content {
    padding: 40px 36px;
  }
  .page-news .subscribe-content h2 {
    font-size: 34px;
  }
  .page-news .news-subscribe {
    padding-top: 96px;
  }
}
