/* ==========================================================================
   News (slug: news) — page-specific rules
   Requires jnp.css. Figma 56:89 "v2 Portfolio — News (Desktop 1728)"
   ========================================================================== */

/* --- 01 Hero (56:90) ---------------------------------------------------- */
.news-hero { padding-bottom: 104px; }
/* Figma: header 52px top, nav rule, then 80px to copy → ~272px; kit .jnp-hero is 268px (close enough) */
.news-hero-copy { gap: 20px; }
.news-hero-title { font-size: 64px; line-height: 68px; letter-spacing: -0.032em; max-width: 1000px; }
.news-hero-lede { font-size: 19px; line-height: 32px; color: rgba(255,255,255,.82); max-width: 760px; }

/* --- 02 Index (56:109) -------------------------------------------------- */
.news-index { padding: 104px 0 110px; }
.news-index .jnp-wrap { display: flex; flex-direction: column; gap: 40px; }

/* Filter pills */
.news-filter-list { display: flex; flex-wrap: wrap; gap: 12px; }
.news-filter {
  display: inline-flex; align-items: center; padding: 10px 20px; border-radius: 999px;
  background: var(--jnp-line); color: var(--jnp-slate);
  font-weight: 600; font-size: 11px; letter-spacing: 0.13em; text-transform: uppercase; line-height: 1.2;
  white-space: nowrap; transition: background .18s, color .18s;
}
.news-filter:hover { background: #D9D8E6; color: var(--jnp-ink); }
.news-filter.is-active { background: var(--jnp-grad-1); color: #fff; }

/* Article list */
.news-list { display: flex; flex-direction: column; width: 100%; }
.news-item {
  display: grid; grid-template-columns: 220px minmax(0,1fr); gap: 44px; align-items: start;
  padding: 30px 0; border-top: 1px solid var(--jnp-line);
}
.news-item-meta { display: flex; flex-direction: column; gap: 7px; }
.news-item-cat { font-weight: 600; font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--jnp-rust); line-height: 1.2; }
.news-item-date { font-size: 13px; color: var(--jnp-slate); line-height: 1.2; }
.news-item-body { display: flex; flex-direction: column; gap: 10px; }
.news-item-title {
  font-family: var(--jnp-display); font-weight: 600; font-size: 27px; line-height: 35px;
  letter-spacing: -0.018em; color: var(--jnp-ink);
}
.news-item-title a:hover { color: var(--jnp-rust); }
.news-item-excerpt { font-size: 16.5px; line-height: 27px; color: var(--jnp-slate); }

/* --- Responsive ---------------------------------------------------------- */
@media (max-width: 1200px) {
  .news-hero-title { font-size: 56px; line-height: 60px; }
  .news-item { grid-template-columns: 180px minmax(0,1fr); gap: 32px; }
}
@media (max-width: 991px) {
  .news-hero { padding-bottom: 80px; }
  .news-hero-title { font-size: 48px; line-height: 52px; }
  .news-index { padding: 80px 0; }
  .news-index .jnp-wrap { gap: 32px; }
  .news-item { grid-template-columns: 1fr; gap: 12px; padding: 26px 0; }
  .news-item-meta { flex-direction: row; align-items: baseline; gap: 14px; }
  .news-item-title { font-size: 24px; line-height: 31px; }
}
@media (max-width: 767px) {
  .news-hero { padding-bottom: 64px; }
  .news-hero-title { font-size: 40px; line-height: 44px; }
  .news-hero-lede { font-size: 17px; line-height: 28px; }
  .news-index { padding: 64px 0; }
  .news-filter-list { gap: 8px; }
  .news-filter { padding: 9px 16px; font-size: 10.5px; }
  .news-item { padding: 22px 0; }
  .news-item-title { font-size: 22px; line-height: 28px; }
  .news-item-excerpt { font-size: 16px; line-height: 26px; }
}
