.page-news {
  --news-panel: #132A47;
  --news-line: rgba(154, 167, 184, 0.2);
  --news-orange-glow: rgba(255, 107, 44, 0.16);

  position: relative;
  background:
    radial-gradient(1100px 480px at 88% -6%, rgba(123, 93, 255, 0.14), transparent 60%),
    radial-gradient(820px 420px at 2% 28%, rgba(0, 229, 255, 0.07), transparent 55%),
    var(--c-ink);
  color: var(--c-fog);
  overflow: hidden;
}

.page-news .section-kicker {
  color: var(--c-cyan);
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.page-news .section-kicker::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 3px;
  background: var(--c-orange);
  transform: skewX(-28deg);
  flex-shrink: 0;
}

.page-news .section-head-left {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

.news-hero {
  position: relative;
  padding: calc(var(--header-h) + 48px) 0 52px;
  background:
    radial-gradient(700px 320px at 85% 20%, rgba(255, 107, 44, 0.16), transparent 60%),
    radial-gradient(520px 280px at 8% 85%, rgba(0, 229, 255, 0.1), transparent 55%),
    linear-gradient(180deg, var(--c-ink), var(--c-deep) 120%);
  overflow: hidden;
}

.news-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 229, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
}

.news-hero > .container {
  position: relative;
  z-index: 1;
}

.news-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 32px;
}

.page-news .breadcrumb-link {
  color: var(--c-cyan);
  text-decoration: none;
  font-size: 14px;
  transition: color var(--t-fast);
}

.page-news .breadcrumb-link:hover {
  color: var(--c-fog);
}

.breadcrumb-sep {
  color: var(--c-silver);
  font-size: 14px;
}

.breadcrumb-current {
  color: var(--c-fog);
  font-size: 14px;
  font-weight: 600;
}

.news-hero-title {
  font-family: var(--font-head);
  font-size: clamp(44px, 8vw, 88px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 18px;
  background: linear-gradient(135deg, #f5f7fa 30%, #9ff3ff 68%, var(--c-orange) 108%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.news-hero-desc {
  max-width: 680px;
  margin: 0 0 34px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--c-silver);
}

.news-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
}

.news-filter-btn {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(154, 167, 184, 0.32);
  background: rgba(11, 30, 58, 0.5);
  color: var(--c-silver);
  font-size: 14px;
  font-weight: 500;
  font-family: var(--font-body);
  text-decoration: none;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
}

.news-filter-btn:hover {
  border-color: var(--c-cyan);
  color: var(--c-cyan);
  transform: translateY(-2px);
}

.news-filter-btn.is-active {
  border-color: var(--c-orange);
  background: var(--c-orange);
  color: #fff;
}

.updates-section {
  padding: 72px 0;
}

.updates-list {
  display: grid;
  gap: 28px;
  margin-top: 44px;
}

.log-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
  background: linear-gradient(145deg, rgba(11, 30, 58, 0.92), rgba(5, 10, 24, 0.85));
  border: 1px solid var(--news-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: transform var(--t-fast), box-shadow var(--t-fast);
}

.log-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-fab);
}

.log-card::before {
  content: "";
  position: absolute;
  top: 14px;
  right: 14px;
  width: 12px;
  height: 12px;
  background: var(--c-cyan);
  opacity: 0.55;
  clip-path: polygon(0 0, 100% 0, 0 100%);
  z-index: 2;
}

.log-card::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, transparent 48%, rgba(255, 107, 44, 0.8) 50%);
  z-index: 2;
}

.log-card-media {
  overflow: hidden;
  min-height: 0;
}

.log-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--t-mid);
}

.log-card:hover .log-card-media img {
  transform: scale(1.03);
}

.log-card-body {
  padding: 24px 22px 26px;
}

.log-card-body-full {
  padding: 28px 24px 32px;
}

.log-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-bottom: 14px;
}

.log-version {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  color: var(--c-cyan);
  letter-spacing: 0.02em;
}

.log-time {
  font-size: 13px;
  color: var(--c-silver);
}

.log-card-title {
  font-family: var(--font-head);
  font-size: clamp(20px, 3vw, 26px);
  line-height: 1.2;
  margin: 0 0 12px;
  color: var(--c-fog);
}

.log-card-text {
  font-size: 15px;
  line-height: 1.72;
  color: rgba(245, 247, 250, 0.78);
  margin: 0 0 18px;
}

.log-card-diff {
  list-style: none;
  margin: 0 0 6px;
  padding: 0;
  display: grid;
  gap: 8px;
}

.log-card-diff li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(245, 247, 250, 0.88);
}

.log-card-diff li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 7px;
  height: 7px;
  background: var(--c-orange);
  border-radius: 2px;
  transform: rotate(45deg);
}

.log-expand {
  border-top: 1px dashed rgba(154, 167, 184, 0.24);
  margin-top: 18px;
  padding-top: 14px;
  margin-bottom: 18px;
}

.log-expand summary {
  cursor: pointer;
  list-style: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--c-cyan);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color var(--t-fast);
}

.log-expand summary::-webkit-details-marker {
  display: none;
}

.log-expand summary::after {
  content: "+";
  font-size: 18px;
  line-height: 1;
  color: var(--c-orange);
  transition: transform var(--t-fast);
}

.log-expand[open] summary::after {
  transform: rotate(45deg);
}

.log-expand-text {
  margin-top: 12px;
  padding: 14px 16px;
  background: rgba(0, 229, 255, 0.07);
  border-left: 2px solid var(--c-cyan);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--c-silver);
}

.log-card-footer {
  margin-top: 6px;
}

.timeline-section {
  padding: 72px 0;
  background:
    radial-gradient(800px 400px at 100% 20%, rgba(0, 229, 255, 0.08), transparent 60%),
    linear-gradient(180deg, transparent, rgba(11, 30, 58, 0.55) 30%, rgba(11, 30, 58, 0.55) 70%, transparent);
}

.timeline-intro-media {
  max-width: 900px;
  margin: 48px auto 0;
  border-radius: var(--radius-lg);
  border: 1px solid var(--news-line);
  overflow: hidden;
  box-shadow: var(--shadow-fab);
  transform: rotate(0.6deg);
  transition: transform var(--t-mid);
}

.timeline-intro-media img {
  width: 100%;
  height: auto;
  display: block;
}

.timeline {
  position: relative;
  max-width: 860px;
  margin: 64px auto 0;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 7px;
  width: 2px;
  background: linear-gradient(to bottom, var(--c-orange) 0%, var(--c-cyan) 70%, rgba(0, 229, 255, 0.15) 100%);
  border-radius: 999px;
}

.timeline-item {
  position: relative;
  padding-left: 42px;
  margin-bottom: 30px;
}

.timeline-node {
  position: absolute;
  left: 0;
  top: 18px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--c-orange);
  box-shadow: 0 0 0 5px rgba(255, 107, 44, 0.15), 0 0 18px rgba(255, 107, 44, 0.55);
}

.timeline-node::after {
  content: "";
  position: absolute;
  inset: 3px;
  background: var(--c-ink);
  border-radius: 50%;
}

.timeline-node.is-current {
  background: var(--c-cyan);
  box-shadow: 0 0 0 6px rgba(0, 229, 255, 0.14), 0 0 22px rgba(0, 229, 255, 0.6);
}

.timeline-content {
  position: relative;
  padding: 18px 20px;
  background: rgba(11, 30, 58, 0.7);
  border: 1px solid var(--news-line);
  border-left: 3px solid var(--c-orange);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  transition: background var(--t-fast), transform var(--t-fast), border-color var(--t-fast);
}

.timeline-item:hover .timeline-content {
  background: rgba(18, 42, 71, 0.8);
  transform: translateX(5px);
}

.timeline-item:last-child .timeline-content {
  border-left-color: var(--c-cyan);
  background: rgba(0, 229, 255, 0.06);
}

.timeline-version {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--c-cyan);
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.2);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.timeline-title {
  font-family: var(--font-head);
  font-size: 19px;
  line-height: 1.25;
  margin: 0 0 8px;
  color: var(--c-fog);
}

.timeline-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-silver);
  margin: 0;
}

.capsule-section {
  padding: 72px 0;
  background:
    radial-gradient(640px 320px at 0% 50%, rgba(0, 229, 255, 0.1), transparent 60%),
    linear-gradient(160deg, rgba(11, 30, 58, 0.9), rgba(5, 10, 24, 0.4));
}

.capsule-layout {
  display: grid;
  gap: 40px;
  align-items: center;
}

.capsule-media {
  border-radius: var(--radius-lg);
  border: 1px solid var(--news-line);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  position: relative;
}

.capsule-media img {
  width: 100%;
  height: auto;
  display: block;
}

.capsule-content {
  padding: 8px 0;
}

.capsule-desc {
  font-size: 15px;
  line-height: 1.75;
  color: var(--c-silver);
  margin: 22px 0 28px;
}

.capsule-channels {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 32px;
}

.channel-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.24);
  color: rgba(245, 247, 250, 0.9);
  font-size: 13px;
  font-weight: 500;
  transition: border-color var(--t-fast), color var(--t-fast), transform var(--t-fast);
}

.channel-pill:hover {
  border-color: var(--c-cyan);
  color: var(--c-cyan);
  transform: translateY(-2px);
}

.subscription-section {
  padding: 72px 0 88px;
}

.sub-layout {
  display: grid;
  gap: 40px;
  align-items: center;
}

.sub-content {
  padding: 8px 0;
}

.sub-desc {
  font-size: 15px;
  line-height: 1.75;
  color: var(--c-silver);
  margin: 22px 0 28px;
}

.sub-list {
  list-style: none;
  margin: 0 0 36px;
  padding: 0;
  display: grid;
  gap: 14px;
}

.sub-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(11, 30, 58, 0.68);
  border: 1px solid var(--news-line);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(245, 247, 250, 0.88);
  transition: transform var(--t-fast), border-color var(--t-fast);
}

.sub-list li:hover {
  transform: translateX(6px);
  border-color: rgba(255, 107, 44, 0.6);
}

.sub-item-num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 22px;
  color: var(--c-orange);
  flex-shrink: 0;
}

.sub-media {
  border-radius: var(--radius-lg);
  border: 1px solid var(--news-line);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  position: relative;
}

.sub-media img {
  width: 100%;
  height: auto;
  display: block;
}

.guide-section {
  padding: 72px 0 88px;
  background:
    linear-gradient(180deg, transparent, rgba(11, 30, 58, 0.55) 20%, rgba(11, 30, 58, 0.55) 80%, transparent);
}

.guide-steps {
  display: grid;
  gap: 32px 24px;
  margin-top: 48px;
}

.guide-step {
  position: relative;
  background: rgba(18, 42, 71, 0.8);
  border: 1px solid var(--news-line);
  border-radius: var(--radius-md);
  padding: 40px 24px 24px;
  transition: transform var(--t-fast), box-shadow var(--t-fast);
}

.guide-step:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-fab);
}

.step-num {
  position: absolute;
  top: -18px;
  left: 20px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--c-orange);
  color: #fff;
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 700;
  box-shadow: 0 8px 22px rgba(255, 107, 44, 0.35);
}

.guide-step-title {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--c-fog);
}

.guide-step-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-silver);
  margin: 0;
}

.guide-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 56px;
}

.news-outro {
  position: relative;
  padding: 88px 0 96px;
  margin-top: 56px;
  background:
    radial-gradient(720px 320px at 85% 0%, rgba(255, 107, 44, 0.18), transparent 60%),
    linear-gradient(150deg, #0A1830, #050A18 55%, #081D33);
  border-top: 2px solid var(--c-cyan);
  overflow: hidden;
}

.news-outro::before {
  content: "";
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(123, 93, 255, 0.3), transparent 65%);
  right: -120px;
  top: -120px;
  pointer-events: none;
}

.news-outro-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.news-outro-title {
  font-family: var(--font-head);
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.15;
  margin: 0 0 14px;
  color: var(--c-fog);
}

.news-outro-desc {
  font-size: 15px;
  line-height: 1.75;
  color: var(--c-silver);
  margin: 0 0 32px;
}

.news-outro-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.page-news .btn-inverse {
  border-color: rgba(245, 247, 250, 0.55);
  color: var(--c-fog);
  background: transparent;
}

.page-news .btn-inverse:hover {
  border-color: var(--c-orange);
  background: var(--c-orange);
  color: #fff;
}

@media (min-width: 768px) {
  .news-hero {
    padding-top: calc(var(--header-h) + 80px);
  }

  .news-hero-desc {
    font-size: 18px;
  }

  .timeline-intro-media img {
    height: 400px;
    object-fit: cover;
  }

  .log-card {
    grid-template-columns: 300px 1fr;
  }

  .timeline-item {
    padding-left: 60px;
    margin-bottom: 36px;
  }

  .timeline::before {
    left: 9px;
  }

  .timeline-node {
    width: 18px;
    height: 18px;
  }

  .timeline-content {
    padding: 22px 26px 22px 28px;
  }

  .timeline-title {
    font-size: 22px;
  }

  .timeline-version {
    font-size: 13px;
  }

  .guide-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

@media (min-width: 992px) {
  .news-hero {
    padding-top: calc(var(--header-h) + 96px);
  }

  .log-card {
    grid-template-columns: 360px 1fr;
  }

  .log-card-body {
    padding: 32px 36px;
  }

  .log-card-body-full {
    grid-column: 1 / -1;
    padding: 34px 40px 38px;
  }

  .capsule-layout {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 72px;
  }

  .sub-layout {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 72px;
  }
}
