.page-news{
  background:
    linear-gradient(rgba(0, 255, 170, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 170, 0.03) 1px, transparent 1px),
    var(--c-bg);
  background-size: 48px 48px;
  color: var(--c-white);
  font-family: var(--font-body);
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.page-news .breadcrumb{
  margin-top: 24px;
  margin-bottom: 4px;
}

.page-news .news-hero{
  position: relative;
  padding-top: 40px;
  padding-bottom: 56px;
}

.page-news .news-hero::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: 24px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--c-accent) 0%, transparent 70%);
  opacity: 0.4;
}

.page-news .news-hero__grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.page-news .news-hero__title{
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 16px 0 20px;
}

.page-news .news-hero__title .hl{
  color: var(--c-accent);
  position: relative;
  display: inline-block;
}

.page-news .news-hero__lead{
  max-width: 60ch;
  color: var(--c-muted);
  font-size: clamp(16px, 1vw, 18px);
  margin-bottom: 32px;
}

.page-news .news-hero__meta{
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.page-news .news-hero__stat{
  border-left: 3px solid var(--c-accent);
  padding-left: 12px;
}

.page-news .news-hero__stat-num{
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 700;
  color: var(--c-white);
  display: block;
  line-height: 1.2;
}

.page-news .news-hero__stat-label{
  font-size: 13px;
  color: var(--c-muted);
  letter-spacing: 0.05em;
}

.page-news .news-hero__side{
  display: none;
  align-items: flex-end;
  justify-content: flex-end;
  padding-bottom: 8px;
}

.page-news .vertical-text{
  writing-mode: vertical-rl;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--c-accent);
  opacity: 0.7;
  text-transform: uppercase;
}

.page-news .news-section{
  padding-top: 16px;
  padding-bottom: 72px;
}

.page-news .section-head{
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  border-bottom: 2px solid rgba(136, 146, 176, 0.2);
  padding-bottom: 16px;
}

.page-news .section-head h2{
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 48px);
  margin: 8px 0 0;
}

.page-news .section-head__note{
  color: var(--c-muted);
  font-family: var(--font-mono);
  font-size: 13px;
  white-space: nowrap;
}

.page-news .journal-layout{
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.page-news .journal-index__label{
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--c-accent);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.page-news .journal-index .filter-bar{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-news .journal-index .filter-bar__btn{
  border: 1px solid var(--c-muted);
  background: transparent;
  color: var(--c-white);
  border-radius: var(--radius-pill);
  padding: 6px 12px;
  font-size: 13px;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all 0.2s ease;
}

.page-news .journal-index .filter-bar__btn.is-active{
  background: var(--c-accent);
  border-color: var(--c-accent);
  color: var(--c-ink);
  font-weight: 700;
}

.page-news .journal-index .filter-bar__count{
  font-family: var(--font-mono);
  font-size: 12px;
  margin-left: 4px;
  opacity: 0.7;
}

.page-news .journal-index__img{
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin-top: 20px;
  border-radius: var(--radius);
  border: 1px solid rgba(136, 146, 176, 0.3);
  box-shadow: var(--shadow-card);
}

.page-news .news-item{
  padding: 28px 0;
  border-bottom: 1px solid rgba(136, 146, 176, 0.2);
  position: relative;
  transition: background 0.25s ease;
}

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

.page-news .news-item::before{
  content: "";
  position: absolute;
  left: -12px;
  top: 36px;
  width: 10px;
  height: 6px;
  background: var(--c-hot);
  transform: skewX(-20deg);
  opacity: 0;
  transition: opacity 0.2s;
}

.page-news .news-item::after{
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--c-accent);
  transform: scaleY(0);
  transition: transform 0.25s ease;
}

.page-news .news-item:hover{
  background: rgba(17, 34, 64, 0.4);
}

.page-news .news-item:hover::before{
  opacity: 1;
}

.page-news .news-item:hover::after{
  transform: scaleY(1);
}

.page-news .news-item__head{
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.page-news .news-item__index{
  font-family: var(--font-mono);
  color: var(--c-accent);
  font-size: 14px;
  font-weight: 700;
}

.page-news .news-item__index::before{
  content: "#";
  color: var(--c-muted);
  margin-right: 2px;
}

.page-news .news-item__time{
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--c-muted);
  white-space: nowrap;
}

.page-news .news-item__title{
  font-family: var(--font-head);
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.35;
  margin: 4px 0 8px;
}

.page-news .news-item__summary{
  color: var(--c-muted);
  font-size: 15px;
  max-width: 65ch;
  margin-bottom: 0;
}

.page-news .news-details{
  margin-top: 12px;
}

.page-news .news-details__summary{
  display: inline-block;
  color: var(--c-link);
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  list-style: none;
  transition: color 0.2s;
}

.page-news .news-details__summary:hover{
  color: var(--c-accent);
}

.page-news .news-details__summary::-webkit-details-marker{
  display: none;
}

.page-news .news-details__summary::before{
  content: "+ ";
  color: var(--c-accent);
}

.page-news .news-details[open] .news-details__summary::before{
  content: "− ";
}

.page-news .news-details__body{
  margin-top: 12px;
  padding: 16px 18px;
  border-left: 2px solid var(--c-accent);
  background: rgba(17, 34, 64, 0.6);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--c-muted);
  font-size: 15px;
}

.page-news .news-details__body p{
  margin-bottom: 8px;
}

.page-news .news-details__body p:last-child{
  margin-bottom: 0;
}

.page-news .news-details__body ul{
  margin: 8px 0 0;
  padding-left: 18px;
}

.page-news .news-details__body li{
  margin-bottom: 4px;
}

.page-news .changelog-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.page-news .changelog{
  position: relative;
  padding-left: 32px;
}

.page-news .changelog::before{
  content: "";
  position: absolute;
  left: 5px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--c-accent) 0%, var(--c-muted) 100%);
}

.page-news .changelog__item{
  position: relative;
  padding: 16px 0;
}

.page-news .changelog__item::before{
  content: "";
  position: absolute;
  left: -32px;
  top: 28px;
  width: 14px;
  height: 6px;
  background: var(--c-hot);
  transform: skewX(-20deg);
}

.page-news .changelog__year{
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--c-accent);
  letter-spacing: 0.08em;
}

.page-news .changelog__badge{
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 800;
  margin: 4px 0 8px;
}

.page-news .changelog__list{
  margin: 0;
  padding-left: 16px;
  color: var(--c-muted);
  font-size: 15px;
}

.page-news .changelog__list li{
  margin-bottom: 4px;
}

.page-news .changelog-img{
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid rgba(136, 146, 176, 0.3);
  box-shadow: var(--shadow-card);
}

.page-news .news-section--features{
  padding-bottom: 80px;
}

.page-news .feature-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.page-news .feature-card{
  background: var(--c-card);
  border-radius: var(--radius);
  border: 1px solid rgba(136, 146, 176, 0.25);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.page-news .feature-card:hover{
  transform: translateY(-4px);
  box-shadow: var(--shadow-float);
}

.page-news .feature-card__body{
  padding: 20px;
  flex: 1;
}

.page-news .feature-card__title{
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.3;
  margin: 12px 0 10px;
}

.page-news .feature-card__text{
  color: var(--c-muted);
  font-size: 15px;
  margin-bottom: 16px;
}

.page-news .feature-card__img{
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

.page-news .feature-card--accent{
  background: linear-gradient(135deg, var(--c-card) 60%, rgba(0, 255, 170, 0.08));
  border-color: rgba(0, 255, 170, 0.3);
}

@media (min-width: 768px){
  .page-news .news-hero__grid{
    grid-template-columns: minmax(0, 1fr) 96px;
  }

  .page-news .news-hero__side{
    display: flex;
  }

  .page-news .journal-layout{
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 40px;
    align-items: start;
  }

  .page-news .journal-index{
    position: sticky;
    top: 120px;
  }

  .page-news .changelog-grid{
    grid-template-columns: minmax(0, 1fr) 320px;
    align-items: start;
  }

  .page-news .feature-grid{
    grid-template-columns: 1fr 1fr;
  }

  .page-news .feature-card--wide{
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
  }

  .page-news .feature-card--wide .feature-card__body{
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 32px;
  }

  .page-news .feature-card--wide .feature-card__img{
    width: 100%;
    height: 100%;
  }
}

@media (min-width: 992px){
  .page-news .feature-card--wide .feature-card__body{
    padding: 40px;
  }

  .page-news .news-item__title{
    font-size: 26px;
  }
}
