.page-news {
  --pn-line: rgba(10, 31, 68, 0.14);
  --pn-soft: var(--c-frost);
  --pn-blue-deep: #071631;
  background: var(--c-silver);
  font-family: var(--font-body);
}

.page-news .news-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 400px;
  overflow: hidden;
  background: var(--c-blue);
  border-bottom: 4px solid var(--c-yellow);
  box-shadow: inset 0 -6px 0 var(--c-red), inset 0 -10px 0 var(--c-cyan);
}

.page-news .news-hero__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.page-news .news-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(100deg, rgba(7, 22, 49, 0.92) 0%, rgba(7, 22, 49, 0.6) 45%, rgba(0, 229, 255, 0.2) 100%);
}

.page-news .news-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: repeating-linear-gradient(115deg, transparent 0 14px, rgba(255, 215, 0, 0.14) 14px 15px, transparent 15px 28px);
}

.page-news .news-hero__overlay {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 56px 20px 48px;
}

.page-news .news-hero__title {
  margin: 0;
  font-family: var(--font-headline);
  font-size: clamp(42px, 9vw, 84px);
  line-height: 0.95;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--c-white);
}

.page-news .news-hero__lead {
  max-width: 760px;
  margin: 18px 0 0;
  font-size: 16px;
  line-height: 1.75;
  color: #dbe4f0;
}

.page-news .news-hero__note {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--c-yellow);
}

.page-news .breadcrumb {
  margin-bottom: 24px;
  font-size: 14px;
}

.page-news .breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-news .breadcrumb__item + .breadcrumb__item::before {
  content: "/";
  margin-right: 6px;
  color: var(--c-cyan);
}

.page-news .breadcrumb__link {
  color: var(--c-cyan);
  text-decoration: none;
  transition: var(--t-fast);
}

.page-news .breadcrumb__link:hover {
  color: var(--c-yellow);
}

.page-news .breadcrumb__current {
  color: var(--c-white);
  font-weight: 600;
}

.page-news .news-section {
  padding: 48px 0;
}

.page-news .news-section__head {
  max-width: 720px;
  margin-bottom: 32px;
}

.page-news .news-section__number {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--c-red);
}

.page-news .news-section__title {
  margin: 0;
  font-family: var(--font-headline);
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--c-blue);
}

.page-news .news-section__desc {
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--c-gray);
}

.page-news .news-latest {
  background:
    repeating-linear-gradient(115deg, rgba(10, 31, 68, 0.035) 0 10px, transparent 10px 20px),
    var(--pn-soft);
}

.page-news .news-filter-area {
  position: relative;
}

.page-news .filter-radio {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.page-news .news-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.page-news .filter-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  border: 2px solid var(--c-blue);
  background: transparent;
  font-size: 14px;
  font-weight: 700;
  color: var(--c-blue);
  cursor: pointer;
  transition: var(--t-fast);
}

.page-news .filter-chip:hover {
  border-color: var(--c-yellow);
}

.page-news .filter-radio:focus-visible ~ .news-toolbar .filter-chip {
  outline: 3px solid var(--c-cyan);
  outline-offset: 2px;
}

.page-news #filter-all:checked ~ .news-toolbar .filter-chip[for="filter-all"],
.page-news #filter-compare:checked ~ .news-toolbar .filter-chip[for="filter-compare"],
.page-news #filter-standings:checked ~ .news-toolbar .filter-chip[for="filter-standings"],
.page-news #filter-lineup:checked ~ .news-toolbar .filter-chip[for="filter-lineup"],
.page-news #filter-service:checked ~ .news-toolbar .filter-chip[for="filter-service"],
.page-news #filter-update:checked ~ .news-toolbar .filter-chip[for="filter-update"] {
  background: var(--c-yellow);
  color: var(--c-blue);
  border-color: var(--c-yellow);
  box-shadow: var(--shadow-card);
}

.page-news #filter-compare:checked ~ .news-index .article-item:not(.cat-compare),
.page-news #filter-standings:checked ~ .news-index .article-item:not(.cat-standings),
.page-news #filter-lineup:checked ~ .news-index .article-item:not(.cat-lineup),
.page-news #filter-service:checked ~ .news-index .article-item:not(.cat-service),
.page-news #filter-update:checked ~ .news-index .article-item:not(.cat-update) {
  display: none;
}

.page-news .news-index {
  display: flex;
  flex-direction: column;
  border-top: 3px solid var(--c-blue);
}

.page-news .article-item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: start;
  padding: 24px 8px 24px 28px;
  background: var(--c-white);
  border-bottom: 1px solid var(--pn-line);
  transition: var(--t-med);
}

.page-news .article-item::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--c-yellow), var(--c-red), var(--c-cyan));
  opacity: 0.55;
}

.page-news .article-item:hover {
  transform: translateX(6px);
  background: var(--c-white);
  box-shadow: var(--shadow-card);
}

.page-news .article-item__mark {
  position: absolute;
  left: 0;
  top: 22px;
  bottom: 22px;
  width: 8px;
  border-radius: 0 4px 4px 0;
  background: var(--c-blue);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.page-news .cat-compare .article-item__mark {
  background: var(--c-yellow);
}

.page-news .cat-standings .article-item__mark {
  background: var(--c-cyan);
}

.page-news .cat-lineup .article-item__mark {
  background: var(--c-red);
}

.page-news .cat-service .article-item__mark {
  background: var(--c-blue);
}

.page-news .cat-update .article-item__mark {
  background: var(--c-gray);
}

.page-news .article-item__body {
  min-width: 0;
}

.page-news .article-item__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-bottom: 8px;
  font-size: 13px;
}

.page-news .article-item__tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  font-weight: 800;
  color: var(--c-blue);
  background: var(--c-silver);
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}

.page-news .cat-compare .article-item__tag {
  background: var(--c-yellow);
  color: var(--c-blue);
}

.page-news .cat-standings .article-item__tag {
  background: var(--c-cyan);
  color: var(--c-blue);
}

.page-news .cat-lineup .article-item__tag {
  background: var(--c-red);
  color: var(--c-white);
}

.page-news .cat-service .article-item__tag {
  background: var(--c-blue);
  color: var(--c-white);
}

.page-news .cat-update .article-item__tag {
  background: var(--c-gray);
  color: var(--c-white);
}

.page-news .article-item__status {
  color: var(--c-gray);
  opacity: 0.8;
}

.page-news .article-item__title {
  margin: 0 0 8px;
  font-family: var(--font-headline);
  font-size: 20px;
  line-height: 1.25;
  color: var(--c-blue);
}

.page-news .article-item__title a {
  color: inherit;
  text-decoration: none;
}

.page-news .article-item__title a:hover {
  color: var(--c-red);
}

.page-news .article-item__summary {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--c-gray);
}

.page-news .article-item__arrow {
  display: none;
  align-self: center;
  font-size: 28px;
  font-weight: 700;
  color: var(--c-yellow);
  text-shadow: 2px 2px 0 var(--c-blue);
}

.page-news .news-topics {
  background: var(--c-white);
}

.page-news .topics-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 32px;
}

.page-news .topic-card {
  display: flex;
  flex-direction: column;
  background: var(--c-white);
  border: 2px solid var(--c-blue);
  box-shadow: var(--shadow-card);
  transition: var(--t-med);
}

.page-news .topic-card:hover {
  transform: translate(-4px, -4px);
  box-shadow: var(--shadow-raised);
}

.page-news .topic-card__cover {
  display: block;
  overflow: hidden;
  border-bottom: 2px solid var(--c-blue);
  background: var(--c-blue);
}

.page-news .topic-card__cover img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform var(--t-slow);
}

.page-news .topic-card:hover .topic-card__cover img {
  transform: scale(1.03);
}

.page-news .topic-card__lineup {
  display: block;
  padding: 18px;
  background: var(--c-blue);
  border-bottom: 2px solid var(--c-blue);
}

.page-news .topic-card__lineup svg {
  display: block;
  width: 100%;
  height: auto;
}

.page-news .topic-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 20px;
}

.page-news .topic-card__cat {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  background: var(--c-cyan);
  font-size: 13px;
  font-weight: 800;
  color: var(--c-blue);
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}

.page-news .topic-card__title {
  margin: 12px 0 8px;
  font-family: var(--font-headline);
  font-size: 24px;
  line-height: 1.15;
  color: var(--c-blue);
}

.page-news .topic-card__text {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-gray);
}

.page-news .news-versions {
  background: var(--c-blue);
  color: #dbe4f0;
}

.page-news .news-versions .news-section__title {
  color: var(--c-white);
}

.page-news .news-versions .news-section__desc {
  color: #b9c6dc;
}

.page-news .news-versions .news-section__number {
  color: var(--c-yellow);
}

.page-news .versions-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
  margin-top: 32px;
}

.page-news .versions-list {
  border-top: 3px solid var(--c-yellow);
}

.page-news .version-entry {
  padding: 22px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.page-news .version-entry__top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.page-news .version-entry__num {
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--c-yellow);
  animation: pn-version-flash 0.6s ease both;
}

.page-news .version-entry:first-child .version-entry__num {
  animation: pn-version-flash 0.6s ease both, pn-version-glow 2.4s ease-in-out infinite 1s;
}

.page-news .version-entry__desc {
  margin: 0;
  max-width: 560px;
  font-size: 15px;
  line-height: 1.7;
  color: #dbe4f0;
}

.page-news .version-entry .tag {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--c-cyan);
}

.page-news .version-entry .tag--hot {
  background: var(--c-red);
  border-color: var(--c-red);
  color: var(--c-white);
}

.page-news .news-versions__visual {
  margin: 0;
}

.page-news .news-versions__visual img {
  display: block;
  width: 100%;
  height: auto;
  border: 2px solid var(--c-cyan);
  box-shadow: var(--shadow-raised);
}

.page-news .news-versions__visual figcaption {
  margin-top: 12px;
  font-size: 13px;
  color: var(--c-cyan);
}

.page-news .news-cta {
  background: var(--c-cyan);
  border-top: 4px solid var(--c-yellow);
  border-bottom: 4px solid var(--c-red);
}

.page-news .news-cta__inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

.page-news .news-cta .news-section__title {
  color: var(--c-blue);
  font-size: 40px;
}

.page-news .news-cta .news-section__desc {
  color: var(--c-blue);
}

.page-news .news-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

@keyframes pn-version-flash {
  0% {
    opacity: 0.2;
    transform: translateY(8px);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}

@keyframes pn-version-glow {
  0%,
  100% {
    text-shadow: 0 0 0 transparent;
  }
  50% {
    text-shadow: 0 0 18px rgba(255, 215, 0, 0.5);
  }
}

@media (min-width: 768px) {
  .page-news .news-section {
    padding: 72px 0;
  }

  .page-news .news-hero {
    min-height: 440px;
  }

  .page-news .news-hero__overlay {
    padding: 72px 32px 56px;
  }

  .page-news .news-hero__lead {
    font-size: 18px;
  }

  .page-news .article-item {
    padding: 28px 16px 28px 36px;
  }

  .page-news .article-item__arrow {
    display: inline-block;
  }

  .page-news .topic-card__title {
    font-size: 28px;
  }

  .page-news .news-cta__inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

@media (min-width: 992px) {
  .page-news .topics-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-news .versions-layout {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .page-news .news-versions__visual {
    position: sticky;
    top: 96px;
  }

  .page-news .news-cta__actions {
    justify-content: flex-end;
  }
}
