.page-news {
  --page-line-light: rgba(236, 240, 241, 0.16);
  background: var(--bg-panel-a);
  color: var(--text-dark);
  font-family: var(--font-body);
}

.news-hero {
  position: relative;
  background: var(--bg-page);
  color: var(--text-light);
  padding: 32px 0 44px;
  overflow: hidden;
}
.news-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(236, 240, 241, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(236, 240, 241, 0.05) 1px, transparent 1px);
  background-size: 26px 26px;
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  gap: 24px;
  align-items: center;
}
.hero-copy { max-width: 760px; }
.news-hero .breadcrumbs { margin-bottom: 26px; }
.news-hero .breadcrumbs a,
.news-hero .breadcrumbs span[aria-current="page"] {
  color: var(--text-light);
}
.eyebrow--light { color: var(--card-yellow); }
.hero-lead {
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.8;
  color: rgba(236, 240, 241, 0.85);
}
.hero-art {
  width: 100%;
  max-width: 200px;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 2px solid rgba(236, 240, 241, 0.35);
  background: var(--bg-page);
  justify-self: start;
}
.scope-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.news-hero .btn--ghost {
  border-color: rgba(236, 240, 241, 0.5);
  color: var(--text-light);
  background: transparent;
}
.news-hero .btn--ghost:hover,
.news-hero .btn--ghost:focus {
  background: rgba(236, 240, 241, 0.12);
}

.section-head { margin-bottom: 32px; }
.section-title {
  margin: 4px 0 8px;
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 800;
  transform: skewX(-2deg);
  letter-spacing: -0.01em;
}
.section-desc {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
  max-width: 640px;
}
.section-head--light .section-title { color: var(--text-light); }
.section-head--light .eyebrow { color: var(--card-yellow); }
.section-head--light .section-desc { color: rgba(236, 240, 241, 0.7); }

.log-batches { background: var(--bg-panel-b); }
.timeline-wrap { display: grid; gap: 28px; }
.batch-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}
.batch-timeline::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 30px;
  bottom: 30px;
  width: 2px;
  background: var(--line);
}
.batch-entry {
  position: relative;
  padding: 14px 0 14px 48px;
}
.batch-entry::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 34px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 3px solid var(--bg-panel-b);
  box-shadow: 0 0 0 2px var(--line);
  background: var(--card-orange);
}
.batch-entry:nth-child(4n+1)::before { background: var(--card-orange); }
.batch-entry:nth-child(4n+2)::before { background: var(--card-yellow); }
.batch-entry:nth-child(4n+3)::before { background: var(--card-green); }
.batch-entry:nth-child(4n+4)::before { background: var(--card-blue); }
.batch-num {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 800;
  color: var(--text-dark);
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-left: 4px solid var(--card-orange);
  padding: 4px 12px 4px 10px;
  margin-bottom: 10px;
}
.batch-entry:nth-child(4n+1) .batch-num { border-left-color: var(--card-orange); }
.batch-entry:nth-child(4n+2) .batch-num { border-left-color: var(--card-yellow); }
.batch-entry:nth-child(4n+3) .batch-num { border-left-color: var(--card-green); }
.batch-entry:nth-child(4n+4) .batch-num { border-left-color: var(--card-blue); }
.batch-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-top: 4px solid var(--card-orange);
  box-shadow: var(--shadow-card);
  padding: 16px 18px 14px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.batch-entry:nth-child(4n+1) .batch-card { border-top-color: var(--card-orange); }
.batch-entry:nth-child(4n+2) .batch-card { border-top-color: var(--card-yellow); }
.batch-entry:nth-child(4n+3) .batch-card { border-top-color: var(--card-green); }
.batch-entry:nth-child(4n+4) .batch-card { border-top-color: var(--card-blue); }
.batch-card:hover {
  box-shadow: var(--shadow-lift);
  transform: translateY(-1px);
}
.batch-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px 12px;
}
.batch-time {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-muted);
}
.batch-note {
  margin: 12px 0 0;
  font-size: 15px;
  font-weight: 600;
}
.timeline-art {
  width: 100%;
  max-width: 300px;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border: 1px solid var(--line);
  background: var(--bg-card);
  box-shadow: var(--shadow-card);
  justify-self: center;
}

.log-categories {
  background: var(--bg-page);
  color: var(--text-light);
}
.category-layout { display: grid; gap: 28px; }
.category-art {
  width: 100%;
  max-width: 300px;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border: 1px solid rgba(236, 240, 241, 0.28);
  background: var(--bg-card);
  justify-self: center;
}
.adjust-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.adjust-row {
  display: block;
  padding: 16px 0;
  border-bottom: 1px solid var(--page-line-light);
}
.adjust-time {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--card-yellow);
  background: rgba(241, 196, 15, 0.10);
  border: 1px solid rgba(241, 196, 15, 0.35);
  padding: 4px 8px;
  margin-bottom: 6px;
}
.adjust-title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-light);
  line-height: 1.5;
}
.adjust-meta {
  margin: 4px 0 8px;
  font-size: 14px;
  color: rgba(236, 240, 241, 0.65);
  line-height: 1.6;
}

.log-versions { background: var(--bg-panel-a); }
.version-layout { display: grid; gap: 28px; }
.version-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.version-row {
  display: block;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.version-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 800;
  color: var(--card-blue);
  margin-bottom: 6px;
}
.version-main {
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.7;
}
.version-row .status-badge { display: inline-block; }
.version-art {
  width: 100%;
  max-width: 200px;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid var(--line);
  background: var(--bg-card);
  box-shadow: var(--shadow-card);
  justify-self: center;
}

.log-archive { background: var(--bg-panel-b); }
.archive-list {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
}
.archive-row {
  display: block;
  padding: 14px 0;
  border-bottom: 1px dashed var(--line);
}
.archive-id {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--card-green);
  margin-bottom: 4px;
}
.archive-main {
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.6;
}
.archive-row .status-badge { display: inline-block; }

.log-pager {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 2px solid var(--line);
}

@media (min-width: 768px) {
  .hero-grid { grid-template-columns: 1fr auto; }
  .timeline-wrap { grid-template-columns: 1fr 300px; align-items: start; }
  .timeline-art { order: 2; position: sticky; top: 120px; }
  .category-layout { grid-template-columns: 300px 1fr; align-items: start; }
  .category-art { order: -1; }
  .version-layout { grid-template-columns: 1fr 200px; align-items: start; }
  .version-art { order: 2; }
}

@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr 220px; }
  .batch-timeline::before { left: 148px; }
  .batch-entry {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 24px;
    align-items: start;
    padding: 16px 0 16px 24px;
  }
  .batch-entry::before { left: 140px; top: 38px; }
  .batch-num {
    justify-self: end;
    text-align: right;
    margin-bottom: 0;
  }
  .adjust-row {
    display: grid;
    grid-template-columns: 100px 1fr 110px;
    gap: 16px;
    align-items: center;
  }
  .adjust-time { margin-bottom: 0; }
  .adjust-meta { margin-bottom: 0; }
  .adjust-row .status-badge { justify-self: end; }
  .version-row {
    display: grid;
    grid-template-columns: 72px 1fr 110px;
    gap: 16px;
    align-items: center;
  }
  .version-num { margin-bottom: 0; }
  .version-main { margin-bottom: 0; }
  .version-row .status-badge { justify-self: end; }
  .archive-row {
    display: grid;
    grid-template-columns: 100px 1fr 110px;
    gap: 16px;
    align-items: center;
  }
  .archive-id { margin-bottom: 0; }
  .archive-main { margin-bottom: 0; }
  .archive-row .status-badge { justify-self: end; }
}
