.page-news {
  --news-space: 1.5rem;
  background: var(--ou-bg-deep);
  color: var(--ou-cream);
}
.page-news .ou-container {
  padding-top: 2rem;
  padding-bottom: 4rem;
}
.page-news .ou-crumbs {
  margin-bottom: 2rem;
}
.page-news .news-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  position: relative;
  margin-bottom: 3.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--ou-line);
}
.page-news .news-hero__inner {
  position: relative;
  z-index: 1;
}
.page-news .news-hero h1 {
  font-family: var(--ou-font-head);
  font-size: clamp(2.4rem, 7vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0.6rem 0 0.9rem;
}
.page-news .news-hero__lead {
  max-width: 56ch;
  font-size: 1.02rem;
  line-height: 1.85;
  color: rgba(240, 235, 225, 0.82);
  margin: 0;
}
.page-news .news-hero__lead strong {
  color: var(--ou-moss);
  font-weight: 600;
}
.page-news .news-hero__panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.2rem;
  min-height: 10rem;
  padding: 1.5rem;
  background:
    linear-gradient(150deg, rgba(0, 179, 255, 0.14), rgba(43, 213, 118, 0.03)),
    var(--ou-charcoal);
  border: 1px solid var(--ou-line);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 1.5rem), 0 100%);
  position: relative;
}
.page-news .news-hero__panel-label {
  font-family: var(--ou-font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--ou-steel);
}
.page-news .news-hero__panel-count {
  font-family: var(--ou-font-head);
  font-size: 3.4rem;
  font-weight: 700;
  line-height: 1;
  color: var(--ou-moss);
}
.page-news .news-hero__panel-status {
  font-style: normal;
  font-size: 0.82rem;
  color: rgba(240, 235, 225, 0.68);
  line-height: 1.5;
}
.page-news .news-hero__stats {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--ou-line);
  border: 1px solid var(--ou-line);
}
.page-news .news-hero__stats > div {
  background: var(--ou-charcoal);
  padding: 1rem 1.2rem;
  font-family: var(--ou-font-mono);
  font-size: 0.76rem;
  color: rgba(240, 235, 225, 0.62);
  line-height: 1.5;
}
.page-news .news-hero__stats > div span {
  display: block;
  font-family: var(--ou-font-head);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.05;
  color: var(--ou-moss);
  margin-bottom: 0.35rem;
}
.page-news .news-block-head {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  margin-bottom: 2rem;
}
.page-news .news-block-head__num {
  font-family: var(--ou-font-mono);
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--ou-moss);
  flex: none;
  min-width: 3.2ch;
}
.page-news .news-block-head h2 {
  font-family: var(--ou-font-head);
  font-size: 1.7rem;
  line-height: 1.2;
  margin: 0.1rem 0 0.35rem;
}
.page-news .news-block-head p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: rgba(240, 235, 225, 0.6);
  margin: 0;
}
.page-news .news-cats {
  margin-bottom: 4.5rem;
}
.page-news .news-cats__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.page-news .news-cat {
  position: relative;
  padding: 1.4rem 1.4rem 1.2rem;
  border: 1px solid var(--ou-line);
  background: linear-gradient(180deg, var(--ou-charcoal), rgba(26, 30, 29, 0.55));
  overflow: hidden;
  transition: transform 0.35s var(--ou-ease), border-color 0.35s var(--ou-ease), box-shadow 0.35s var(--ou-ease);
}
.page-news .news-cat::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 3px;
  width: 100%;
  background: linear-gradient(90deg, var(--ou-moss), transparent 75%);
}
.page-news .news-cat:hover {
  transform: translateY(-4px);
  border-color: rgba(43, 213, 118, 0.5);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
}
.page-news .news-cat__mark {
  display: block;
  font-family: var(--ou-font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--ou-blue);
  margin-bottom: 1rem;
}
.page-news .news-cat h3 {
  font-family: var(--ou-font-head);
  font-size: 1.14rem;
  margin-bottom: 0.7rem;
}
.page-news .news-cat p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(240, 235, 225, 0.68);
  margin-bottom: 1.2rem;
}
.page-news .news-cat__tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
}
.page-news .news-cat__tags li {
  font-family: var(--ou-font-mono);
  font-size: 0.7rem;
  padding: 0.22rem 0.55rem;
  border: 1px solid var(--ou-line);
  color: var(--ou-pale-moss);
}
.page-news .news-tagscloud {
  padding: 1.4rem 1.5rem;
  border: 1px dashed var(--ou-line);
  background: rgba(13, 34, 48, 0.2);
}
.page-news .news-tagscloud h3 {
  font-family: var(--ou-font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ou-steel);
  margin-bottom: 1rem;
}
.page-news .news-tagscloud ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
}
.page-news .news-tagscloud a {
  display: inline-block;
  padding: 0.4rem 0.85rem;
  font-family: var(--ou-font-mono);
  font-size: 0.8rem;
  color: var(--ou-cream);
  text-decoration: none;
  border: 1px solid var(--ou-line);
  transition: color 0.3s, border-color 0.3s, background 0.3s;
}
.page-news .news-tagscloud a:hover {
  color: var(--ou-steel);
  border-color: var(--ou-blue);
  background: rgba(0, 179, 255, 0.08);
}
.page-news .news-articles {
  margin-bottom: 4.5rem;
}
.page-news .news-articles__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
.page-news .news-aside {
  padding: 1.5rem;
  background: rgba(13, 34, 48, 0.42);
  border: 1px solid var(--ou-line);
  align-self: start;
}
.page-news .news-aside h2 {
  font-family: var(--ou-font-head);
  font-size: 1.25rem;
  margin: 0.1rem 0 0.6rem;
}
.page-news .news-aside > p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgba(240, 235, 225, 0.6);
  margin-bottom: 1.3rem;
}
.page-news .news-aside__list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: aside-count;
}
.page-news .news-aside__list li {
  counter-increment: aside-count;
  border-top: 1px solid var(--ou-line);
}
.page-news .news-aside__list li:last-child {
  border-bottom: 1px solid var(--ou-line);
}
.page-news .news-aside__list a {
  display: flex;
  gap: 0.75rem;
  align-items: baseline;
  padding: 0.8rem 0;
  font-size: 0.88rem;
  line-height: 1.45;
  color: rgba(240, 235, 225, 0.75);
  text-decoration: none;
  transition: color 0.3s;
}
.page-news .news-aside__list a::before {
  content: counter(aside-count, decimal-leading-zero);
  font-family: var(--ou-font-mono);
  font-size: 0.72rem;
  color: var(--ou-blue);
  flex: none;
}
.page-news .news-aside__list a:hover {
  color: var(--ou-moss);
}
.page-news .news-articles__list {
  display: grid;
  gap: 1.8rem;
}
.page-news .news-post {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  background: var(--ou-charcoal);
  border: 1px solid var(--ou-line);
  transition: transform 0.35s var(--ou-ease), border-color 0.35s var(--ou-ease), box-shadow 0.35s var(--ou-ease);
}
.page-news .news-post:hover {
  transform: translateY(-3px);
  border-color: rgba(43, 213, 118, 0.45);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.4);
}
.page-news .news-post__media {
  position: relative;
  overflow: hidden;
  background: var(--ou-bg-navy);
}
.page-news .news-post__media img {
  width: 100%;
  max-width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.6s var(--ou-ease);
}
.page-news .news-post:hover .news-post__media img {
  transform: scale(1.04);
}
.page-news .news-post__body {
  position: relative;
  padding: 1.7rem 1.5rem 1.4rem;
}
.page-news .news-post__num {
  display: inline-flex;
  font-family: var(--ou-font-mono);
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
  color: var(--ou-moss);
  margin-bottom: 0.9rem;
}
.page-news .news-post__num::after {
  content: '';
  display: block;
  width: 3.2rem;
  height: 3px;
  margin-top: 0.5rem;
  background: linear-gradient(90deg, var(--ou-moss) 0%, var(--ou-blue) 65%, transparent 100%);
}
.page-news .news-post__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  margin-bottom: 0.8rem;
  font-family: var(--ou-font-mono);
  font-size: 0.76rem;
  color: var(--ou-blue);
  letter-spacing: 0.02em;
}
.page-news .news-post__tag {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  font-size: 0.68rem;
  color: var(--ou-moss);
  border: 1px solid rgba(43, 213, 118, 0.35);
}
.page-news .news-post__body h3 {
  font-family: var(--ou-font-head);
  font-size: 1.3rem;
  line-height: 1.35;
  margin-bottom: 0.7rem;
}
.page-news .news-post__body p {
  font-size: 0.93rem;
  line-height: 1.75;
  color: rgba(240, 235, 225, 0.7);
  margin-bottom: 1.2rem;
}
.page-news .news-post__tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
}
.page-news .news-post__tags li {
  font-family: var(--ou-font-mono);
  font-size: 0.7rem;
  padding: 0.22rem 0.55rem;
  background: rgba(0, 179, 255, 0.07);
  border: 1px solid rgba(0, 179, 255, 0.22);
  color: var(--ou-steel);
}
.page-news .news-topics {
  margin-bottom: 1rem;
}
.page-news .news-topics__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.page-news .news-topic {
  padding: 1.25rem 1.4rem;
  background: var(--ou-charcoal);
  border: 1px solid var(--ou-line);
  transition: border-color 0.3s;
}
.page-news .news-topic[open] {
  border-color: rgba(43, 213, 118, 0.45);
}
.page-news .news-topic summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  cursor: pointer;
}
.page-news .news-topic summary::-webkit-details-marker {
  display: none;
}
.page-news .news-topic__num {
  font-family: var(--ou-font-mono);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--ou-blue);
  flex: none;
  line-height: 1;
}
.page-news .news-topic summary strong {
  font-family: var(--ou-font-head);
  font-size: 1.05rem;
  flex: 1;
}
.page-news .news-topic__badge {
  font-family: var(--ou-font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  color: var(--ou-terra);
  border: 1px solid rgba(184, 106, 74, 0.4);
  padding: 0.15rem 0.42rem;
  flex: none;
}
.page-news .news-topic summary::after {
  content: '+';
  font-family: var(--ou-font-mono);
  font-size: 1.2rem;
  color: var(--ou-moss);
  flex: none;
  transition: transform 0.3s var(--ou-ease);
}
.page-news .news-topic[open] summary::after {
  transform: rotate(45deg);
}
.page-news .news-topic__body {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--ou-line);
}
.page-news .news-topic__body p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(240, 235, 225, 0.68);
  margin-bottom: 1.25rem;
}

@media (min-width: 720px) {
  .page-news .news-hero__stats {
    grid-template-columns: repeat(4, 1fr);
  }
  .page-news .news-post__body {
    padding: 2rem 1.8rem 1.6rem;
  }
}

@media (min-width: 880px) {
  .page-news .news-topics__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.2rem;
  }
}

@media (min-width: 960px) {
  .page-news .news-hero {
    grid-template-columns: minmax(0, 1fr) 17rem;
    gap: 2.5rem;
  }
  .page-news .news-articles__layout {
    grid-template-columns: 15.5rem minmax(0, 1fr);
    gap: 3rem;
  }
  .page-news .news-aside {
    position: sticky;
    top: 2rem;
  }
  .page-news .news-post {
    grid-template-columns: 300px minmax(0, 1fr);
  }
  .page-news .news-post__media {
    min-height: 100%;
  }
  .page-news .news-post__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
  }
}
