/* ============================================================
   CN NEWSWIRE — News listing page styles (responsive)
   ============================================================ */
.page-hero {
  background: linear-gradient(180deg, oklch(0.90 0.02 250), var(--paper));
  padding: clamp(40px, 7vw, 72px) 0 8px;
  border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  font-size: var(--fs-h1);
  margin: 10px 0 12px;
}
.page-hero p { max-width: 620px; color: var(--muted); }
.page-hero .kicker { color: var(--gold-deep); }

.news-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}
.chip {
  min-height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-soft);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all .18s;
}
.chip:hover { border-color: var(--gold); color: var(--gold-deep); }
.chip.active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white-soft);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.news-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  background: #fff;
  transition: transform .2s var(--ease-out), box-shadow .25s var(--ease-out);
}
.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-2);
}
.news-card__cover {
  height: 168px;
  background: linear-gradient(135deg, oklch(0.90 0.03 250), oklch(0.80 0.045 255));
  position: relative;
  display: block;
  color: transparent;
}
.news-card__cover::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 85% 10%, oklch(0.53 0.19 27 / 0.30), transparent 55%),
    linear-gradient(160deg, transparent 55%, rgba(0,0,0,0.35));
}
.news-card__cover .cover-letter {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-family: "Playfair Display", serif;
  font-size: 54px; font-weight: 800;
  color: rgba(255,255,255,0.9);
  text-shadow: 0 2px 24px rgba(0,0,0,.25);
  z-index: 1;
}
.news-card__cover img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 1;
}
.news-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 20px 20px 22px;
}
.news-card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.news-card__cat {
  background: oklch(0.53 0.19 27 / 0.10);
  color: var(--gold-deep);
  font-weight: 700;
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 999px;
  letter-spacing: .03em;
}
.news-card__title {
  font-size: var(--fs-h3);
  line-height: 1.3;
  margin-bottom: 8px;
}
.news-card__title a { color: var(--ink); }
.news-card__title a:hover { color: var(--gold-deep); }
.news-card__summary {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card__foot {
  margin-top: auto;
  padding-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--muted);
}
.news-card__foot a { color: var(--gold-deep); font-weight: 700; }
.news-card__foot a:hover { text-decoration: underline; }

.news-loadmore { text-align: center; margin-top: 36px; }
.news-empty { text-align: center; color: var(--muted); padding: 40px 0; }

/* Mobile */
@media (max-width: 900px) {
  .news-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
@media (max-width: 560px) {
  .news-grid { grid-template-columns: 1fr; }
  .news-card__cover { height: 150px; }
  .news-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 6px;
    margin-bottom: 22px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    mask-image: linear-gradient(90deg, #000 94%, transparent);
    -webkit-mask-image: linear-gradient(90deg, #000 94%, transparent);
  }
  .news-filters::-webkit-scrollbar { display: none; }
  .chip {
    flex-shrink: 0;
    min-height: 44px;
    font-size: 14px;
    padding: 0 20px;
  }
  .news-card__cat { font-size: 12.5px; padding: 4px 12px; }
  .news-card__body { padding: 18px 16px 16px; }
  .news-card__foot { padding-top: 14px; }
  .news-card__foot a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
}
/* ============================================================
   EMPHASIS PASS - news listing
   ============================================================ */
/* Filter chip: active state solid brand red */
.chip.active {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  box-shadow: 0 4px 12px oklch(0.53 0.19 27 / 0.25);
}
/* News card hover: border emphasis + shadow */
.news-card {
  border: 1px solid var(--line);
  transition: transform .2s var(--ease-out), box-shadow .25s var(--ease-out), border-color .2s;
}
.news-card:hover {
  border-color: oklch(0.66 0.08 78 / 0.5);
  box-shadow: 0 14px 30px oklch(0.22 0.03 255 / 0.12);
}
.news-card__cat { color: var(--red); }
