.page-news {
  --news-border: #e3dac8;
  --pill-border: #cbbfa9;
  --news-shadow: 4px 4px 0 rgba(10, 37, 64, 0.10);
  --news-shadow-hover: 8px 8px 0 rgba(10, 37, 64, 0.14);
  background-color: var(--paper-light);
  background-image:
    linear-gradient(rgba(10, 37, 64, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 37, 64, 0.035) 1px, transparent 1px);
  background-size: 30px 30px;
}

.page-news .news-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--deep-blue) 0%, var(--blue-bright) 100%);
  color: #fff;
  padding: 28px 0 60px;
}

.page-news .news-hero::before {
  content: "";
  position: absolute;
  right: -120px;
  top: -140px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  border: 42px solid rgba(0, 166, 81, 0.20);
  pointer-events: none;
}

.page-news .news-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -18px;
  height: 40px;
  background: var(--paper-light);
  transform: skewY(-1.6deg);
  transform-origin: left top;
  z-index: 1;
}

.page-news .news-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 32px;
}

.page-news .news-hero-main {
  max-width: 720px;
}

.page-news .news-hero .breadcrumbs {
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.65);
}

.page-news .news-hero .breadcrumbs a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
}

.page-news .news-hero .breadcrumbs a:hover {
  color: var(--gold-bright);
}

.page-news .page-hero-eyebrow {
  color: var(--gold-bright);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 10px;
}

.page-news .news-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(36px, 7vw, 64px);
  line-height: 1.08;
  font-weight: 700;
  margin: 0 0 14px;
  color: #fff;
}

.page-news .hero-title-accent {
  color: var(--brand-green);
}

.page-news .news-hero-desc {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
  max-width: 56ch;
  margin: 0 0 18px;
}

.page-news .news-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-news .news-hero-tags .tag {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13px;
  white-space: nowrap;
}

.page-news .news-hero-tags .tag-green {
  background: var(--brand-green);
  border-color: var(--brand-green);
  color: #fff;
}

.page-news .news-hero-index {
  background: var(--paper-light);
  color: var(--ink-dark);
  padding: 24px;
  border-left: 6px solid var(--brand-green);
  box-shadow: var(--shadow-hard);
  max-width: 380px;
}

.page-news .news-hero-index-title {
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(26, 25, 24, 0.55);
}

.page-news .news-hero-index-list {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
}

.page-news .news-hero-index-item {
  display: flex;
  gap: 16px;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px solid rgba(26, 25, 24, 0.10);
  font-size: 15px;
  font-weight: 600;
}

.page-news .news-hero-index-item:last-child {
  border-bottom: 0;
  padding-bottom: 2px;
}

.page-news .hero-index-num {
  color: var(--brand-green);
  font-size: 14px;
  font-weight: 700;
}

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

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

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

.page-news .news-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 4px;
}

.page-news .news-head-index {
  font-size: 13px;
  letter-spacing: 0.08em;
  color: rgba(26, 25, 24, 0.45);
  text-transform: uppercase;
}

.page-news .article-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 18px 0 16px;
  border-bottom: 2px solid var(--deep-blue);
  margin-bottom: 28px;
}

.page-news .filter-pill {
  display: inline-flex;
  align-items: center;
  padding: 9px 20px;
  border-radius: 999px;
  border: 1.5px solid var(--pill-border);
  background: #fffaf2;
  color: var(--ink-dark);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  transition:
    background var(--duration) var(--ease-out-expo),
    color var(--duration) var(--ease-out-expo),
    border-color var(--duration) var(--ease-out-expo),
    transform var(--duration) var(--ease-out-expo);
  scroll-margin-top: calc(var(--header-height) + 24px);
}

.page-news .filter-pill:hover {
  border-color: var(--brand-green);
  color: var(--brand-green);
}

.page-news .filter-pill.is-active {
  background: var(--brand-green);
  border-color: var(--brand-green);
  color: #fff;
}

.page-news .article-filters:has(.filter-pill:target) .filter-pill.is-active {
  background: #fffaf2;
  border-color: var(--pill-border);
  color: var(--ink-dark);
}

.page-news .filter-pill:target {
  background: var(--brand-green);
  border-color: var(--brand-green);
  color: #fff;
}

.page-news .article-filters:has(#filter-all:target) .filter-pill.is-active {
  background: var(--brand-green);
  border-color: var(--brand-green);
  color: #fff;
}

.page-news .article-filters:has(#filter-version:target) ~ .article-wrap .article-item:not([data-cat="version"]),
.page-news .article-filters:has(#filter-match:target) ~ .article-wrap .article-item:not([data-cat="match"]),
.page-news .article-filters:has(#filter-guide:target) ~ .article-wrap .article-item:not([data-cat="guide"]),
.page-news .article-filters:has(#filter-industry:target) ~ .article-wrap .article-item:not([data-cat="industry"]) {
  display: none;
}

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

.page-news .article-item {
  position: relative;
  background: #fffdf8;
  border: 2px solid var(--ink-dark);
  box-shadow: var(--news-shadow);
  padding: 20px;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition:
    transform var(--duration) var(--ease-out-expo),
    box-shadow var(--duration) var(--ease-out-expo),
    background var(--duration) var(--ease-out-expo);
}

.page-news .article-item:hover {
  transform: translateY(-4px) rotate(0.6deg);
  box-shadow: var(--news-shadow-hover);
}

.page-news .article-item::after {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: -2px;
  height: 4px;
  background: linear-gradient(90deg, var(--gold-accent) 0%, var(--gold-bright) 40%, transparent 100%);
}

.page-news .article-media {
  border: 2px solid var(--deep-blue);
  overflow: hidden;
}

.page-news .article-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 500ms var(--ease-out-expo);
}

.page-news .article-item:hover .article-media img {
  transform: scale(1.03);
}

.page-news .article-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.page-news .article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.page-news .article-meta .tag {
  border-radius: 999px;
  font-size: 12px;
  padding: 4px 12px;
}

.page-news .article-index {
  font-size: 28px;
  font-weight: 700;
  color: var(--brand-green);
  letter-spacing: -0.02em;
  line-height: 1;
}

.page-news .article-note {
  font-size: 12px;
  color: rgba(26, 25, 24, 0.48);
  margin-left: auto;
  letter-spacing: 0.04em;
}

.page-news .article-title {
  font-size: clamp(20px, 2.4vw, 26px);
  line-height: 1.3;
  font-weight: 700;
  margin: 4px 0 0;
}

.page-news .article-summary {
  font-size: 15px;
  line-height: 1.65;
  margin: 0;
  color: rgba(26, 25, 24, 0.72);
}

.page-news .article-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--green-deep);
  text-decoration: none;
  margin-top: 4px;
}

.page-news .article-more:hover {
  color: var(--brand-green);
}

.page-news .article-arrow {
  transition: transform var(--duration) var(--ease-out-expo);
}

.page-news .article-item:hover .article-arrow {
  transform: translateX(6px);
}

.page-news .article-item-plain {
  background: transparent;
  border: 0;
  border-bottom: 2px solid var(--gold-accent);
  box-shadow: none;
  padding: 20px 4px;
  margin-bottom: 0;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 4px 16px;
  transition: background var(--duration) var(--ease-out-expo);
}

.page-news .article-item-plain:hover {
  transform: none;
  box-shadow: none;
  background: rgba(0, 166, 81, 0.05);
}

.page-news .article-item-plain::after {
  display: none;
}

.page-news .article-plain-index {
  font-size: 26px;
  font-weight: 700;
  color: var(--brand-green);
  line-height: 1;
  padding-top: 4px;
}

.page-news .article-plain-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.page-news .article-plain-title {
  font-size: 19px;
  line-height: 1.35;
  font-weight: 700;
  margin: 0;
}

.page-news .article-plain-summary {
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
  color: rgba(26, 25, 24, 0.66);
}

.page-news .news-aside {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.page-news .sidebar-card {
  position: relative;
  padding: 26px 24px;
}

.page-news .sidebar-kicker {
  margin: 0 0 6px;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: rgba(26, 25, 24, 0.5);
}

.page-news .sidebar-title {
  margin: 0 0 16px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
}

.page-news .sidebar-text {
  font-size: 15px;
  line-height: 1.65;
  color: rgba(26, 25, 24, 0.75);
  margin: 0 0 18px;
}

.page-news .sidebar-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: stretch;
}

.page-news .sidebar-hot {
  background: var(--deep-blue);
  color: #fff;
  border: 2px solid var(--ink-dark);
  box-shadow: var(--shadow-hard);
  overflow: hidden;
}

.page-news .sidebar-hot .sidebar-kicker {
  color: rgba(255, 255, 255, 0.55);
}

.page-news .sidebar-hot .sidebar-title {
  color: #fff;
}

.page-news .hot-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--gold-bright);
  color: var(--ink-dark);
  font-size: 11px;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  transform: skew(-8deg);
  border-radius: 2px;
  font-weight: 700;
}

.page-news .hot-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-news .hot-list li + li {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.page-news .hot-list a {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 0;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.85);
  transition: color var(--duration) var(--ease-out-expo);
}

.page-news .hot-list a:hover {
  color: var(--brand-green);
}

.page-news .hot-num {
  font-size: 13px;
  color: var(--gold-bright);
  padding-top: 3px;
  transition: transform var(--duration) var(--ease-out-expo);
}

.page-news .hot-list a:hover .hot-num {
  transform: translateX(4px);
}

.page-news .hot-text {
  font-size: 15px;
  line-height: 1.55;
  font-weight: 500;
}

.page-news .sidebar-service {
  background: #fffdf8;
  border: 2px solid var(--ink-dark);
  box-shadow: var(--news-shadow);
}

.page-news .sidebar-service::after {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: -2px;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-green), var(--gold-accent) 80%, transparent);
}

@media (min-width: 640px) {
  .page-news .news-hero {
    padding: 40px 0 72px;
  }

  .page-news .article-item-featured {
    padding: 24px;
  }

  .page-news .article-item-plain {
    padding: 22px 6px;
    grid-template-columns: 64px 1fr;
    gap: 6px 20px;
  }

  .page-news .article-plain-title {
    font-size: 21px;
  }
}

@media (min-width: 980px) {
  .page-news .news-hero-grid {
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 48px;
    align-items: end;
  }

  .page-news .news-layout {
    grid-template-columns: minmax(0, 7fr) minmax(280px, 3fr);
    gap: 48px;
  }

  .page-news .news-aside {
    position: sticky;
    top: calc(var(--header-height) + 24px);
  }

  .page-news .article-title {
    font-size: 24px;
  }
}
