.page-news {
  background: var(--c-bg);
  color: var(--c-ink);
  font-family: var(--font-body);
}

.page-news .container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 20px;
}

.page-news .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 28px 0 12px;
  font-size: 13px;
  color: var(--c-muted);
}

.page-news .breadcrumb a {
  color: var(--c-primary);
  text-decoration: none;
  transition: color var(--dur) ease-out;
}

.page-news .breadcrumb a:hover {
  color: var(--c-cyan);
}

.page-news .breadcrumb [aria-current="page"] {
  color: var(--c-ink);
  font-weight: 600;
}

.page-news .news-hero {
  position: relative;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: 2px;
  padding: 28px 22px 22px;
  margin-bottom: 20px;
}

.page-news .news-hero::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 10px;
  right: 10px;
  height: 4px;
  background: linear-gradient(90deg, var(--c-red) 0 20%, var(--c-yellow) 20% 40%, var(--c-green) 40% 60%, var(--c-cyan) 60% 80%, var(--c-purple) 80% 100%);
}

.page-news .news-hero::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 16px;
  width: 18px;
  height: 18px;
  border-top: 3px solid var(--c-accent);
  border-right: 3px solid var(--c-accent);
}

.page-news .news-hero__vol {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--c-accent);
  font-family: var(--font-heading);
  margin-bottom: 12px;
}

.page-news .news-hero__vol::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--c-primary);
  transform: rotate(45deg);
}

.page-news .news-hero h1 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 32px;
  line-height: 1.2;
  margin: 0 0 14px;
  color: var(--c-ink);
  max-width: 800px;
}

.page-news .news-hero__lead {
  font-size: 15px;
  line-height: 1.75;
  color: var(--c-muted);
  margin: 0 0 20px;
  max-width: 680px;
}

.page-news .news-hero__lead strong {
  color: var(--c-primary);
  font-weight: 700;
}

.page-news .news-hero__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
  padding: 14px 0;
  margin-bottom: 18px;
}

.page-news .news-hero__stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.page-news .news-hero__stat strong {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  color: var(--c-primary);
}

.page-news .news-hero__stat span {
  font-size: 12px;
  color: var(--c-muted);
}

.page-news .news-hero__media {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--c-primary-deep);
  position: relative;
}

.page-news .news-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(30, 90, 168, 0.18), transparent 58%);
  pointer-events: none;
}

.page-news .news-hero__img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
}

.page-news .news-ticker {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--c-primary);
  border-left: 4px solid var(--c-accent);
  border-radius: var(--radius);
  padding: 12px 16px;
  margin-bottom: 44px;
}

.page-news .news-ticker__label {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 800;
  color: var(--c-ink);
  background: var(--c-accent);
  padding: 3px 10px;
  border-radius: 999px;
  letter-spacing: 0.06em;
}

.page-news .news-ticker__viewport {
  overflow: hidden;
  flex: 1;
  min-width: 0;
}

.page-news .news-ticker__track {
  display: inline-flex;
  align-items: center;
  gap: 48px;
  padding-right: 48px;
  white-space: nowrap;
  transform: translateX(0);
  animation: news-ticker-loop 32s linear infinite;
}

.page-news .news-ticker__item {
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
  line-height: 1.5;
}

.page-news .news-section-head {
  margin-bottom: 28px;
}

.page-news .news-section-head .section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--c-accent);
  text-transform: uppercase;
}

.page-news .news-section-head .section-kicker::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--c-accent);
}

.page-news .news-section-head h2 {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  line-height: 1.2;
  margin: 8px 0 8px;
  color: var(--c-ink);
}

.page-news .news-section-head p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--c-muted);
  max-width: 640px;
}

.page-news .news-latest {
  background: var(--c-white);
  border-radius: var(--radius);
  padding: 28px 20px;
  margin-bottom: 44px;
  border-top: 4px solid var(--c-primary);
}

.page-news .news-magazine {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
}

.page-news .news-index {
  display: flex;
  flex-direction: row;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 2px 10px;
  scrollbar-width: none;
}

.page-news .news-index::-webkit-scrollbar {
  display: none;
}

.page-news .news-index__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--c-line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--c-muted);
  text-decoration: none;
  white-space: nowrap;
  transition: background var(--dur) ease-out, color var(--dur) ease-out, border-color var(--dur) ease-out;
}

.page-news .news-index__num {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--c-accent);
  font-size: 12px;
}

.page-news .news-index__item:hover,
.page-news .news-index__item.is-active {
  background: var(--c-ink);
  border-color: var(--c-ink);
  color: var(--c-white);
}

.page-news .news-index__item:hover .news-index__num,
.page-news .news-index__item.is-active .news-index__num {
  color: var(--c-accent);
}

.page-news .news-entries {
  display: flex;
  flex-direction: column;
}

.page-news .news-entry {
  padding: 26px 0;
  border-bottom: 1px solid var(--c-line);
  position: relative;
}

.page-news .news-entry:first-of-type {
  padding-top: 0;
}

.page-news .news-entry:last-of-type {
  border-bottom: 0;
  padding-bottom: 0;
}

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

.page-news .news-entry__date {
  font-size: 12px;
  color: var(--c-muted);
}

.page-news .news-entry h3 {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.35;
  margin: 0 0 8px;
  padding-left: 14px;
  position: relative;
}

.page-news .news-entry h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 6px;
  height: 6px;
  background: var(--c-primary);
  transform: rotate(45deg);
}

.page-news .news-entry h3 a {
  color: var(--c-ink);
  text-decoration: none;
  transition: color var(--dur) ease-out;
}

.page-news .news-entry h3 a:hover {
  color: var(--c-primary);
}

.page-news .news-entry__summary {
  font-size: 14px;
  line-height: 1.75;
  color: var(--c-muted);
  margin: 0;
  max-height: 96px;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.page-news .tag-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  position: relative;
  padding: 4px 12px 4px 20px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  border-radius: 999px;
  background: rgba(30, 90, 168, 0.08);
  color: var(--c-primary);
  text-decoration: none;
}

.page-news .tag-chip::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: linear-gradient(135deg, var(--c-red) 0 40%, var(--c-yellow) 40% 70%, var(--c-green) 70% 100%);
}

.page-news .tag-chip--accent {
  background: rgba(245, 158, 11, 0.12);
  color: #b45309;
}

.page-news .tag-chip--accent::before {
  background: linear-gradient(135deg, var(--c-yellow) 0 40%, var(--c-red) 40% 70%, var(--c-purple) 70% 100%);
}

.page-news .tag-chip--green {
  background: rgba(16, 185, 129, 0.12);
  color: #047857;
}

.page-news .tag-chip--green::before {
  background: linear-gradient(135deg, var(--c-green) 0 40%, var(--c-cyan) 40% 70%, var(--c-yellow) 70% 100%);
}

.page-news .news-topic {
  margin-bottom: 44px;
}

.page-news .news-topic__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
}

.page-news .topic-card {
  background: var(--c-white);
  border-radius: var(--radius);
  border: 1px solid var(--c-line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.page-news .topic-card__media {
  position: relative;
  overflow: hidden;
}

.page-news .topic-card__media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.3s ease-out;
}

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

.page-news .topic-card__body {
  padding: 22px 22px 26px;
}

.page-news .topic-card__body h3 {
  font-size: 19px;
  font-weight: 800;
  line-height: 1.35;
  margin: 12px 0 10px;
}

.page-news .topic-card__body h3 a {
  color: var(--c-ink);
  text-decoration: none;
}

.page-news .topic-card__body h3 a:hover {
  color: var(--c-primary);
}

.page-news .topic-card__body p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--c-muted);
  margin: 0 0 18px;
}

.page-news .news-updates {
  background: var(--c-ink);
  border-radius: var(--radius);
  padding: 32px 22px;
  margin-bottom: 44px;
}

.page-news .news-updates .news-section-head h2 {
  color: var(--c-white);
}

.page-news .news-updates .news-section-head p {
  color: rgba(255, 255, 255, 0.6);
}

.page-news .updates-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
}

.page-news .updates-layout__media {
  order: 2;
  border-radius: var(--radius);
  overflow: hidden;
}

.page-news .updates-layout__media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-news .updates-timeline {
  order: 1;
  display: flex;
  flex-direction: column;
}

.page-news .timeline-item {
  position: relative;
  padding: 0 0 22px 22px;
  border-left: 2px solid rgba(255, 255, 255, 0.14);
  margin-left: 6px;
}

.page-news .timeline-item::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 20px;
  width: 10px;
  height: 10px;
  background: var(--c-accent);
  transform: rotate(45deg);
}

.page-news .timeline-item summary {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  outline-offset: 4px;
  border-radius: 4px;
}

.page-news .timeline-item summary::-webkit-details-marker {
  display: none;
}

.page-news .timeline-item summary:hover {
  color: var(--c-cyan);
}

.page-news .timeline-item__version {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 800;
  color: var(--c-cyan);
  background: rgba(6, 182, 212, 0.16);
  padding: 3px 10px;
  border-radius: 999px;
  letter-spacing: 0.04em;
}

.page-news .timeline-item__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--c-white);
  flex: 1 1 auto;
}

.page-news .timeline-item__status {
  font-size: 11px;
  font-weight: 700;
  color: var(--c-green);
  background: rgba(16, 185, 129, 0.15);
  padding: 2px 10px;
  border-radius: 999px;
}

.page-news .timeline-item p {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.64);
  max-width: 680px;
}

.page-news .news-stories {
  margin-bottom: 44px;
}

.page-news .stories-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
}

.page-news .story-card {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  overflow: hidden;
}

.page-news .story-card__media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-news .story-card__body {
  padding: 22px;
}

.page-news .story-card__body h3 {
  font-size: 17px;
  font-weight: 800;
  line-height: 1.4;
  margin: 10px 0 8px;
  color: var(--c-ink);
}

.page-news .story-card__body p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--c-muted);
}

.page-news .news-cta {
  position: relative;
  background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-deep) 100%);
  border-radius: var(--radius);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  margin-bottom: 48px;
  overflow: hidden;
}

.page-news .news-cta::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 160px;
  height: 160px;
  background: rgba(255, 255, 255, 0.06);
  transform: rotate(45deg);
}

.page-news .news-cta::after {
  content: "";
  position: absolute;
  left: -80px;
  bottom: -80px;
  width: 130px;
  height: 130px;
  background: rgba(245, 158, 11, 0.14);
  transform: rotate(45deg);
}

.page-news .news-cta p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--c-white);
  font-size: 18px;
  font-weight: 700;
}

.page-news .news-cta .btn {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
}

.page-news .topic-card__body .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@media (hover: hover) {
  .page-news .news-entry:hover .news-entry__summary {
    max-height: 240px;
  }
}

@media (max-width: 767px) {
  .page-news .news-entry__summary {
    max-height: none;
  }
}

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

  .page-news .news-index {
    flex-direction: column;
    align-items: stretch;
    overflow: visible;
    border-left: 1px solid var(--c-line);
    padding: 0 0 24px;
    position: sticky;
    top: 96px;
    align-self: start;
    gap: 4px;
  }

  .page-news .news-index__item {
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--c-muted);
    white-space: normal;
    padding: 10px 14px;
    margin-left: -1px;
    border-left: 2px solid transparent;
  }

  .page-news .news-index__item:hover,
  .page-news .news-index__item.is-active {
    background: transparent;
    border-left-color: var(--c-accent);
    color: var(--c-primary);
  }

  .page-news .news-index__item:hover .news-index__num,
  .page-news .news-index__item.is-active .news-index__num {
    color: var(--c-accent);
  }

  .page-news .updates-layout {
    grid-template-columns: minmax(0, 0.38fr) minmax(0, 0.62fr);
    gap: 40px;
  }

  .page-news .updates-layout__media {
    order: 1;
  }

  .page-news .updates-timeline {
    order: 2;
  }
}

@media (min-width: 992px) {
  .page-news .news-hero {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    grid-template-rows: auto auto 1fr auto;
    column-gap: 32px;
    padding: 36px 32px 32px;
    min-height: 460px;
  }

  .page-news .news-hero__vol {
    grid-column: 1;
    grid-row: 1;
  }

  .page-news .news-hero h1 {
    grid-column: 1;
    grid-row: 2;
  }

  .page-news .news-hero__lead {
    grid-column: 1;
    grid-row: 3;
  }

  .page-news .news-hero__stats {
    grid-column: 1;
    grid-row: 4;
    margin-bottom: 0;
  }

  .page-news .news-hero__media {
    grid-column: 2;
    grid-row: 1 / 5;
    margin: 0;
    min-height: 360px;
    align-self: stretch;
  }

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

  .page-news .news-topic__grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 28px;
    align-items: start;
  }

  .page-news .topic-card:last-child {
    margin-top: 48px;
  }

  .page-news .topic-card:first-child .topic-card__media img {
    max-height: 330px;
  }

  .page-news .topic-card:last-child .topic-card__media img {
    max-height: 250px;
  }

  .page-news .stories-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    grid-template-areas:
      "first second"
      "first third";
    gap: 24px;
  }

  .page-news .story-card:first-child {
    grid-area: first;
    display: grid;
    grid-template-rows: auto 1fr;
  }

  .page-news .story-card:nth-child(2) {
    grid-area: second;
  }

  .page-news .story-card:nth-child(3) {
    grid-area: third;
  }
}

@keyframes news-ticker-loop {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-news .news-ticker__track {
    animation: none;
    transform: none;
  }

  .page-news .topic-card__media img {
    transition: none;
  }
}
