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

/* 面包屑 */
.page-news .breadcrumbs {
  padding: 22px 0 8px;
}

/* 页头 */
.page-news .news-hero {
  padding: 18px 0 36px;
}

.page-news .news-hero__inner {
  position: relative;
  background: var(--c-green);
  color: var(--c-white);
  padding: 38px 24px 42px;
  clip-path: polygon(0 0, calc(100% - 42px) 0, 100% 42px, 100% 100%, 0 100%);
}

.page-news .news-hero__inner::before {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 112px;
  height: 112px;
  background: var(--c-gold);
  clip-path: polygon(0 0, 100% 0, 0 100%);
  opacity: 0.9;
}

.page-news .news-hero__text {
  position: relative;
  z-index: 1;
}

.page-news .news-hero .eyebrow {
  color: var(--c-gold);
  margin: 0 0 8px;
}

.page-news .news-hero__title {
  font-family: var(--font-title);
  font-size: clamp(30px, 6vw, 46px);
  line-height: 1.1;
  margin: 0 0 14px;
  max-width: 780px;
}

.page-news .news-hero__lead {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.88);
  max-width: 640px;
}

/* 专题系列 */
.page-news .news-feature {
  background: var(--c-black);
  color: var(--c-white);
  padding: 44px 0 48px;
}

.page-news .news-feature__grid {
  display: grid;
  gap: 28px;
  align-items: center;
}

.page-news .news-feature__media {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.45);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%);
}

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

.page-news .news-feature .eyebrow {
  color: var(--c-gold);
  margin: 0 0 8px;
}

.page-news .news-feature__content h2 {
  font-family: var(--font-title);
  font-size: 28px;
  line-height: 1.25;
  margin: 0 0 14px;
}

.page-news .news-feature__content p {
  color: rgba(255, 255, 255, 0.84);
  font-size: 15px;
  line-height: 1.75;
  margin: 0 0 22px;
  max-width: 620px;
}

.page-news .news-feature .button--ghost {
  background: rgba(212, 175, 55, 0.08);
  border-color: var(--c-gold);
  color: var(--c-gold);
}

/* 文章列表 */
.page-news .news-listing {
  background: var(--c-light);
  padding: 46px 0 56px;
}

.page-news .news-listing__top {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-end;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.page-news .news-listing__top .eyebrow {
  margin: 0 0 6px;
}

.page-news .news-listing__top h2 {
  font-family: var(--font-title);
  font-size: 30px;
  line-height: 1.2;
  margin: 0;
}

.page-news .news-listing__hint {
  color: var(--c-muted);
  font-size: 14px;
  margin: 0;
}

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

/* 筛选栏 */
.page-news .news-filter {
  order: -1;
}

.page-news .news-filter__inner {
  background: var(--c-white);
  border-left: 4px solid var(--c-gold);
  padding: 20px 18px;
  box-shadow: 0 2px 10px rgba(17, 17, 17, 0.05);
}

.page-news .news-filter__inner h3 {
  font-family: var(--font-title);
  font-size: 18px;
  line-height: 1.3;
  margin: 0 0 14px;
  color: var(--c-green);
}

.page-news .filter-bar--vertical {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-news .filter-button {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border: 1px solid rgba(13, 79, 60, 0.3);
  background: var(--c-white);
  color: var(--c-green);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  cursor: pointer;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.page-news .filter-button:hover {
  background: var(--c-light);
  transform: translateY(-2px);
}

.page-news .filter-button.is-active {
  background: var(--c-green);
  border-color: var(--c-green);
  color: var(--c-white);
}

.page-news .news-filter__note {
  margin: 18px 0 0;
  font-size: 13px;
  line-height: 1.65;
  color: var(--c-muted);
}

.page-news .news-filter__note a {
  color: var(--c-green);
  text-underline-offset: 3px;
  text-decoration: underline;
}

/* 文章卡片流 */
.page-news .news-list {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}

.page-news .news-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  background: var(--c-white);
  box-shadow: 0 2px 8px rgba(17, 17, 17, 0.06);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.page-news .news-card:hover {
  box-shadow: var(--shadow-green);
  transform: translateY(-3px);
}

.page-news .news-card__media {
  position: relative;
  overflow: hidden;
  background: var(--c-black);
}

.page-news .news-card__media img {
  display: block;
  width: 100%;
  height: auto;
  filter: grayscale(1) contrast(1.05);
  transition: filter 0.4s ease, transform 0.5s ease;
}

.page-news .news-card:hover .news-card__media img {
  filter: grayscale(0) contrast(1);
  transform: scale(1.02);
}

.page-news .news-card__body {
  position: relative;
  padding: 20px 20px 16px;
}

/* 彩色标签与斜切角 */
.page-news .news-card__tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 12px 5px 14px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--c-white);
  background: var(--c-green);
  clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}

.page-news .news-card__tag--match { background: var(--c-green); }

.page-news .news-card__tag--data {
  background: var(--c-gold);
  color: var(--c-black);
}

.page-news .news-card__tag--platform { background: var(--c-red); }

.page-news .news-card__tag--guide { background: var(--c-green-bright); }

.page-news .news-card__tag--industry { background: var(--c-black); }

.page-news .news-card__title {
  font-family: var(--font-title);
  font-size: 20px;
  line-height: 1.35;
  margin: 14px 0 10px;
  color: var(--c-text);
  transition: color 0.2s ease;
}

.page-news .news-card:hover .news-card__title {
  color: var(--c-green);
}

.page-news .news-card__excerpt {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-muted);
}

.page-news .news-card__details {
  margin: 0 0 14px;
  border-top: 1px dashed rgba(13, 79, 60, 0.2);
  padding-top: 10px;
  font-size: 14px;
}

.page-news .news-card__details summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--c-green);
  list-style: none;
}

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

.page-news .news-card__details p {
  margin: 10px 0 0;
  line-height: 1.7;
  color: var(--c-muted);
}

.page-news .news-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border-top: 1px solid rgba(13, 79, 60, 0.12);
  padding-top: 12px;
  font-size: 13px;
}

.page-news .news-card__readtime {
  color: var(--c-muted);
}

.page-news .news-card__link {
  color: var(--c-green);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease;
}

.page-news .news-card__link:hover {
  border-color: var(--c-gold);
}

/* 订阅引导 */
.page-news .news-subscribe {
  background: var(--c-green);
  color: var(--c-white);
  padding: 48px 0 52px;
}

.page-news .news-subscribe__inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.page-news .news-subscribe .eyebrow {
  color: var(--c-gold);
  margin: 0 0 8px;
}

.page-news .news-subscribe__text h2 {
  font-family: var(--font-title);
  font-size: 28px;
  line-height: 1.25;
  margin: 0 0 14px;
}

.page-news .news-subscribe__text p {
  color: rgba(255, 255, 255, 0.86);
  font-size: 15px;
  line-height: 1.75;
  max-width: 660px;
  margin: 0;
}

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

.page-news .news-subscribe__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-news .news-subscribe .button--primary {
  background: var(--c-gold);
  border-color: var(--c-gold);
  color: var(--c-black);
}

.page-news .news-subscribe .button--ghost {
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--c-white);
  background: rgba(255, 255, 255, 0.04);
}

/* 桌面端 */
@media (min-width: 900px) {
  .page-news .breadcrumbs {
    padding: 30px 0 10px;
  }

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

  .page-news .news-hero__inner {
    padding: 54px 44px 56px;
  }

  .page-news .news-hero__title {
    font-size: 46px;
  }

  .page-news .news-feature {
    padding: 60px 0 64px;
  }

  .page-news .news-feature__grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 44px;
  }

  .page-news .news-feature__content h2 {
    font-size: 34px;
  }

  .page-news .news-listing {
    padding: 64px 0 76px;
  }

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

  .page-news .news-filter {
    order: 2;
    align-self: start;
  }

  .page-news .news-filter__inner {
    position: sticky;
    top: 100px;
  }

  .page-news .filter-bar--vertical {
    flex-direction: column;
    align-items: stretch;
  }

  .page-news .news-filter .filter-button {
    justify-content: flex-start;
  }

  .page-news .news-list {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-content: start;
  }

  .page-news .news-card--featured {
    grid-column: 1 / -1;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: stretch;
  }

  .page-news .news-card--featured .news-card__media {
    min-height: 300px;
  }

  .page-news .news-card--featured .news-card__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .page-news .news-card__body {
    padding: 24px 24px 18px;
  }

  .page-news .news-subscribe {
    padding: 64px 0 68px;
  }

  .page-news .news-subscribe__inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
  }

  .page-news .news-subscribe__text h2 {
    font-size: 32px;
  }
}

@media (min-width: 1200px) {
  .page-news .news-layout {
    grid-template-columns: 1fr 300px;
    gap: 44px;
  }

  .page-news .news-list {
    gap: 28px;
  }
}
