.page-news {
  --news-bg: var(--space-deep, #0B1E3B);
  --news-panel: rgba(255, 255, 255, 0.04);
  --news-gold: var(--space-gold, #F2B705);
  --news-electric: var(--space-electric, #6D28D9);
  --news-ultra: var(--space-ultra, #4C1D95);
  --news-cream: var(--space-cream, #F5F0E1);
  --news-ink: var(--space-ink, #2D1B0E);
  --news-white: var(--space-white, #FFFFFF);
  --news-gray: var(--space-goldgray, #D4C4AD);

  position: relative;
  background-color: var(--news-bg);
  color: var(--news-white);
}

.page-news::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 0;
}

.page-news .page-shell {
  position: relative;
  z-index: 1;
  max-width: var(--container-width, 1280px);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2.25rem);
  padding-top: 1rem;
  padding-bottom: 3rem;
}

.page-news .news-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-primary);
  font-size: var(--text-small, 0.875rem);
  padding-block: 0.875rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 1.75rem;
}

.page-news .news-breadcrumbs .breadcrumb-link {
  color: var(--news-gray);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-news .news-breadcrumbs .breadcrumb-link:hover,
.page-news .news-breadcrumbs .breadcrumb-link:focus-visible {
  color: var(--news-gold);
  outline: none;
}

.page-news .breadcrumb-separator {
  color: rgba(255, 255, 255, 0.4);
}

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

.page-news .journal-head {
  margin-bottom: 1.5rem;
}

.page-news .journal-head__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: end;
}

.page-news .journal-head__main {
  max-width: 820px;
}

.page-news .journal-head .eyebrow {
  color: var(--news-gold);
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.16em;
  margin-bottom: 0.625rem;
}

.page-news .journal-head h1 {
  font-family: var(--font-primary);
  font-weight: 900;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  line-height: 1.15;
  color: var(--news-white);
  text-shadow: 0 0 24px rgba(109, 40, 217, 0.55);
  margin: 0 0 0.875rem;
}

.page-news .journal-head__lead {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.85);
  max-width: 62ch;
  margin: 0;
}

.page-news .journal-head__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.625rem;
  margin: 0;
  background: var(--news-panel);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 0.875rem;
}

.page-news .stat-item {
  text-align: center;
}

.page-news .stat-item dt {
  font-family: var(--font-primary);
  font-size: 0.6875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.62);
  margin-bottom: 0.25rem;
  letter-spacing: 0.08em;
}

.page-news .stat-item dd {
  font-family: var(--font-primary);
  font-weight: 800;
  font-size: 1.125rem;
  color: var(--news-gold);
  margin: 0;
}

.page-news .journal-head__rule {
  height: 1px;
  margin-top: 1.5rem;
  background: linear-gradient(90deg, var(--news-gold) 0%, var(--news-electric) 46%, transparent 100%);
}

.page-news .journal-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
  margin-top: 1.5rem;
}

.page-news .journal-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
}

.page-news .filter-panel {
  background: var(--news-panel);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1rem;
}

.page-news .filter-panel h2,
.page-news .side-card h2 {
  font-family: var(--font-primary);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--news-white);
  margin: 0 0 0.75rem;
}

.page-news .side-card h2 {
  font-size: 1rem;
  margin-bottom: 0.875rem;
}

.page-news .filter-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.page-news .filter-btn {
  font-family: var(--font-primary);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1;
  padding: 0.625rem 0.875rem;
  color: rgba(255, 255, 255, 0.75);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.24);
  clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
  min-height: 44px;
}

.page-news .filter-btn:hover,
.page-news .filter-btn:focus-visible {
  border-color: var(--news-gold);
  color: var(--news-gold);
  outline: none;
}

.page-news .filter-btn.is-active {
  background: var(--news-gold);
  border-color: var(--news-gold);
  color: var(--news-ink);
  box-shadow: 0 0 18px rgba(242, 183, 5, 0.3);
}

.page-news .filter-hint {
  font-family: var(--font-primary);
  font-size: 0.75rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.48);
  margin: 0.75rem 0 0;
}

.page-news .side-card {
  background: var(--news-panel);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem;
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
}

.page-news .side-card__eyebrow {
  font-family: var(--font-primary);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--news-gold);
  letter-spacing: 0.12em;
  margin-bottom: 0.25rem;
}

.page-news .timeline-img {
  margin-bottom: 0.875rem;
}

.page-news .timeline-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.page-news .timeline-list li {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.14);
  padding-bottom: 0.5rem;
}

.page-news .timeline-year {
  font-family: var(--font-primary);
  font-weight: 800;
  font-size: 0.875rem;
  color: var(--news-gold);
  min-width: 4.4em;
}

.page-news .timeline-desc {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.82);
}

.page-news .index-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.page-news .index-links a {
  display: block;
  font-family: var(--font-primary);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  padding: 0.625rem 0.75rem;
  border-left: 3px solid var(--news-electric);
  background: rgba(255, 255, 255, 0.04);
  transition: border-color 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.page-news .index-links a:hover,
.page-news .index-links a:focus-visible {
  border-left-color: var(--news-gold);
  background: rgba(242, 183, 5, 0.1);
  color: var(--news-gold);
  outline: none;
}

.page-news .journal-main {
  min-width: 0;
}

.page-news .journal-main > .featured-card {
  margin-bottom: 1.5rem;
}

.page-news .journal-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.page-news .featured-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  background: var(--news-cream);
  color: var(--news-ink);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 10px 10px 0 rgba(242, 183, 5, 0.08);
  clip-path: polygon(24px 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%, 0 24px);
}

.page-news .featured-card__media {
  position: relative;
  min-height: 0;
}

.page-news .featured-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(109, 40, 217, 0.28) 0%, transparent 44%);
  pointer-events: none;
}

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

.page-news .featured-card__badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  background: var(--news-gold);
  color: var(--news-ink);
  font-family: var(--font-primary);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 0.4375rem 0.75rem;
  box-shadow: 0 4px 14px rgba(11, 30, 59, 0.32);
}

.page-news .featured-card__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.5rem;
}

.page-news .featured-card__body h3 {
  font-family: var(--font-primary);
  font-size: clamp(1.25rem, 2vw, 1.625rem);
  font-weight: 900;
  line-height: 1.28;
  color: var(--news-ink);
  margin: 0.625rem 0 0.75rem;
}

.page-news .article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-primary);
  font-size: 0.75rem;
  color: rgba(45, 27, 14, 0.62);
  margin: 0 0 0.25rem;
}

.page-news .journal-index {
  font-family: var(--font-primary);
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--news-ultra);
  border: 1px solid rgba(76, 29, 149, 0.3);
  background: rgba(76, 29, 149, 0.06);
  padding: 0.1875rem 0.4375rem;
}

.page-news .article-date {
  font-family: var(--font-primary);
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(45, 27, 14, 0.55);
}

.page-news .featured-card__body .article-summary {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(45, 27, 14, 0.86);
  margin: 0 0 0.875rem;
}

.page-news .article-extra {
  font-family: var(--font-body);
  font-size: 0.875rem;
  line-height: 1.65;
  color: rgba(45, 27, 14, 0.72);
  background: rgba(212, 196, 173, 0.26);
  border-left: 3px solid var(--news-electric);
  padding: 0.75rem 1rem;
  margin: 0 0 1rem;
}

.page-news .journal-item {
  position: relative;
  background: var(--news-cream);
  color: var(--news-ink);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 6px 6px 0 rgba(255, 255, 255, 0.05);
  padding: 1.25rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.page-news .journal-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.25rem;
  bottom: 1.25rem;
  width: 3px;
  background: linear-gradient(180deg, var(--news-electric), var(--news-gold));
  pointer-events: none;
}

.page-news .journal-item:hover,
.page-news .journal-item:focus-within {
  transform: translateY(-2px);
  box-shadow: 8px 10px 0 rgba(242, 183, 5, 0.08), 0 18px 40px rgba(11, 30, 59, 0.28);
  border-color: rgba(242, 183, 5, 0.4);
}

.page-news .journal-item--media {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.125rem;
}

.page-news .journal-item__content {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.page-news .journal-item h3 {
  font-family: var(--font-primary);
  font-size: 1.125rem;
  font-weight: 800;
  line-height: 1.35;
  color: var(--news-ink);
  margin: 0.5rem 0 0.5rem;
  transition: color 0.3s ease;
}

.page-news .journal-item:hover h3,
.page-news .journal-item:focus-within h3 {
  color: var(--news-ultra);
}

.page-news .article-summary {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  line-height: 1.7;
  color: rgba(45, 27, 14, 0.78);
  margin: 0 0 0.875rem;
}

.page-news .article-preview {
  font-family: var(--font-body);
  font-size: 0.875rem;
  line-height: 1.65;
  color: rgba(45, 27, 14, 0.68);
  border-top: 1px dashed rgba(45, 27, 14, 0.2);
  padding-top: 0.625rem;
  margin: 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.35s ease, margin 0.35s ease;
}

.page-news .journal-item:hover .article-preview,
.page-news .journal-item:focus-within .article-preview {
  max-height: 12rem;
  opacity: 1;
  margin-bottom: 0.875rem;
}

.page-news .journal-item__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.75rem;
}

.page-news .journal-item__media {
  overflow: hidden;
  aspect-ratio: 3 / 2;
  background: var(--news-ultra);
}

.page-news .journal-item__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-news .featured-card .btn,
.page-news .journal-item__actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  font-family: var(--font-primary);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  padding: 0.75rem 1.125rem;
  min-height: 2.75rem;
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.page-news .featured-card .btn-gold {
  background: var(--news-gold);
  color: var(--news-ink);
  border: 1px solid var(--news-gold);
  box-shadow: 0 6px 16px rgba(242, 183, 5, 0.22);
}

.page-news .featured-card .btn-gold:hover,
.page-news .featured-card .btn-gold:focus-visible {
  background: #ffc61a;
  border-color: #ffc61a;
  box-shadow: 0 8px 22px rgba(242, 183, 5, 0.35);
  outline: none;
}

.page-news .journal-item .btn-ghost {
  background: transparent;
  color: var(--news-ink);
  border: 1px solid rgba(45, 27, 14, 0.42);
}

.page-news .journal-item .btn-ghost:hover,
.page-news .journal-item .btn-ghost:focus-visible {
  border-color: var(--news-electric);
  color: var(--news-electric);
  outline: none;
}

.page-news .image-frame {
  display: block;
  overflow: hidden;
  background: var(--news-ultra);
}

.page-news .image-frame-4-3 {
  aspect-ratio: 4 / 3;
}

.page-news .image-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-news .status-badge {
  font-family: var(--font-primary);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
  padding: 0.3125rem 0.625rem;
  border-radius: 2px;
}

@media (max-width: 719px) {
  .page-news .journal-head__stats {
    gap: 0.5rem;
  }

  .page-news .stat-item dt {
    font-size: 0.625rem;
  }

  .page-news .stat-item dd {
    font-size: 1rem;
  }

  .page-news .featured-card__body {
    padding: 1.25rem;
  }

  .page-news .journal-item {
    padding: 1.125rem;
  }
}

@media (min-width: 720px) {
  .page-news .journal-item--media {
    grid-template-columns: 200px 1fr;
    gap: 1.25rem;
  }

  .page-news .journal-item__media {
    aspect-ratio: auto;
    min-height: 132px;
  }

  .page-news .journal-item__media img {
    position: absolute;
    inset: 0;
  }

  .page-news .journal-item--media {
    position: relative;
  }

  .page-news .journal-item--media .journal-item__media {
    position: relative;
    padding-bottom: 66.66%;
  }
}

@media (min-width: 860px) {
  .page-news .filter-panel {
    position: sticky;
    top: 110px;
    z-index: 5;
  }

  .page-news .journal-layout {
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 2rem;
  }

  .page-news .journal-head__grid {
    grid-template-columns: 1.5fr 0.5fr;
    gap: 2.5rem;
  }

  .page-news .journal-head__stats {
    margin: 0;
  }

  .page-news .featured-card {
    grid-template-columns: 1.05fr 1fr;
  }
}

@media (min-width: 1180px) {
  .page-news .journal-layout {
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 2.5rem;
  }

  .page-news .journal-item--media {
    grid-template-columns: 220px 1fr;
  }
}
