.page-news {
  --news-line: rgba(27, 21, 16, 0.16);
  --news-line-soft: rgba(247, 239, 223, 0.24);
  --news-card: var(--paper-soft);
  --news-gap: clamp(28px, 5vw, 60px);
  background: var(--paper);
  color: var(--ink);
  padding-bottom: clamp(44px, 8vw, 96px);
}

.page-news .breadcrumbs {
  padding-top: clamp(14px, 2.4vw, 22px);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
}

.page-news .breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-news .breadcrumb-list li + li::before {
  content: "／";
  color: var(--orange);
  margin-right: 8px;
}

.page-news .breadcrumb-list a {
  color: var(--green);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.page-news .breadcrumb-list a:hover,
.page-news .breadcrumb-list a:focus-visible {
  border-bottom-color: var(--orange);
}

/* ---------- masthead ---------- */
.page-news .news-masthead {
  margin-top: clamp(14px, 2.4vw, 22px);
  background: var(--green);
  color: var(--paper-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

.page-news .news-masthead::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 6px;
  background: linear-gradient(90deg, var(--orange), var(--amber) 45%, var(--blue));
}

.page-news .news-masthead-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(24px, 4vw, 44px);
  padding: clamp(24px, 4.4vw, 54px);
}

.page-news .news-eyebrow {
  color: var(--amber);
  font-family: var(--font-mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 12px;
  margin: 0 0 14px;
}

.page-news .news-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 6.4vw, 62px);
  line-height: 1.06;
  letter-spacing: -0.01em;
  margin: 0 0 18px;
  color: var(--paper-soft);
  text-wrap: balance;
}

.page-news .news-lead {
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.8;
  max-width: 46ch;
  margin: 0 0 22px;
  color: rgba(255, 249, 238, 0.84);
}

.page-news .masthead-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 13px;
  color: rgba(255, 249, 238, 0.86);
}

.page-news .masthead-meta li {
  padding: 6px 14px;
  border: 1px solid var(--news-line-soft);
  border-radius: var(--radius-pill);
}

.page-news .meta-k {
  font-family: var(--font-mono);
  color: var(--amber);
  margin-right: 8px;
  letter-spacing: 0.08em;
}

.page-news .news-facts {
  background: var(--green-deep);
  border: 1px solid var(--news-line-soft);
  border-radius: var(--radius-md);
  padding: clamp(16px, 2.6vw, 24px);
}

.page-news .fact-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--news-line-soft);
}

.page-news .fact-label {
  font-size: 13px;
  color: rgba(255, 249, 238, 0.72);
  letter-spacing: 0.04em;
}

.page-news .fact-num {
  font-family: var(--font-mono);
  font-size: clamp(26px, 3.4vw, 34px);
  line-height: 1;
  color: var(--amber);
  letter-spacing: 0.04em;
}

.page-news .fact-note {
  margin: 14px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255, 249, 238, 0.66);
}

/* ---------- frame + rail ---------- */
.page-news .news-frame {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(24px, 4vw, 48px);
  margin-top: var(--news-gap);
}

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

.page-news .news-rail-list {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: grid;
  gap: 4px;
  counter-reset: none;
}

.page-news .news-rail-list .rail-link {
  display: block;
  padding: 7px 10px;
  border-left: 3px solid transparent;
  font-size: 14px;
  text-decoration: none;
  color: var(--green);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.page-news .news-rail-list .rail-link:hover,
.page-news .news-rail-list .rail-link:focus-visible {
  border-left-color: var(--orange);
  background: var(--grass);
  color: var(--ink);
}

.page-news .news-kw {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
}

.page-news .news-quick {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.page-news .news-quick a {
  display: block;
  padding: 10px 14px;
  background: var(--news-card);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--green);
  text-decoration: none;
  box-shadow: 3px 3px 0 rgba(27, 21, 16, 0.14);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.page-news .news-quick a:hover,
.page-news .news-quick a:focus-visible {
  transform: translate(-1px, -1px);
  box-shadow: 5px 5px 0 rgba(27, 21, 16, 0.18);
  color: var(--ink);
}

/* ---------- sections ---------- */
.page-news .news-body {
  min-width: 0;
}

.page-news .news-section + .news-section {
  margin-top: var(--news-gap);
  padding-top: var(--news-gap);
  border-top: 2px solid var(--ink);
}

.page-news .news-section .section-head {
  margin-bottom: clamp(20px, 3vw, 32px);
}

.page-news .news-section .eyebrow {
  font-family: var(--font-mono);
  color: var(--orange);
  letter-spacing: 0.14em;
  font-size: 12px;
  text-transform: uppercase;
}

.page-news .section-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.4vw, 38px);
  line-height: 1.14;
  letter-spacing: -0.01em;
  color: var(--green);
  margin: 8px 0 12px;
  text-wrap: balance;
}

.page-news .section-lead {
  font-size: 15px;
  line-height: 1.8;
  max-width: 60ch;
  color: rgba(27, 21, 16, 0.78);
}

/* ---------- feature ---------- */
.page-news .feature-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  border: 2px solid var(--ink);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--news-card);
  box-shadow: 6px 6px 0 rgba(14, 59, 46, 0.16);
}

.page-news .feature-card .feature-media {
  margin: 0;
  border: 0;
  border-radius: 0;
  position: relative;
  background: var(--green);
}

.page-news .feature-card .feature-media img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
  aspect-ratio: 3 / 2;
}

.page-news .feature-overlay {
  position: absolute;
  left: 14px;
  bottom: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-news .feature-copy {
  padding: clamp(20px, 3.2vw, 34px);
}

.page-news .feature-kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--orange);
  margin: 0 0 10px;
}

.page-news .feature-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.16;
  margin: 0 0 12px;
  color: var(--ink);
  text-wrap: balance;
}

.page-news .feature-text {
  font-size: 15px;
  line-height: 1.8;
  margin: 0 0 18px;
  color: rgba(27, 21, 16, 0.82);
}

.page-news .feature-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
}

.page-news .feature-meta span {
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--grass);
  color: var(--green);
}

.page-news .news-aside {
  margin: 18px 0 0;
  padding: 14px 18px;
  border-left: 4px solid var(--amber);
  background: rgba(207, 227, 212, 0.5);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(27, 21, 16, 0.82);
}

.page-news .news-aside strong {
  color: var(--green);
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
}

/* ---------- post list ---------- */
.page-news .post-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--news-line);
}

.page-news .post-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  padding: clamp(18px, 3vw, 26px) 0;
  border-bottom: 1px solid var(--news-line);
  min-width: 0;
}

.page-news .post-num {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.16em;
  color: var(--orange);
}

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

.page-news .post-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.page-news .post-stage {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--green);
  background: var(--grass);
  border-radius: var(--radius-pill);
  padding: 3px 10px;
}

.page-news .post-title {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.4vw, 24px);
  line-height: 1.24;
  margin: 0 0 8px;
  color: var(--ink);
  text-wrap: balance;
}

.page-news .post-summary {
  font-size: 14.5px;
  line-height: 1.78;
  margin: 0;
  color: rgba(27, 21, 16, 0.78);
}

.page-news .post-more {
  margin: 10px 0 0;
  font-size: 13.5px;
}

.page-news .post-more a {
  color: var(--blue);
  text-decoration: none;
  border-bottom: 1.5px solid rgba(47, 111, 237, 0.35);
  padding-bottom: 1px;
}

.page-news .post-more a:hover,
.page-news .post-more a:focus-visible {
  border-bottom-color: var(--orange);
  color: var(--ink);
}

.page-news .post-thumb {
  margin: 4px 0 0;
  border: 2px solid var(--ink);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--paper);
}

.page-news .post-thumb img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

/* ---------- filters + category index ---------- */
.page-news .news-filters {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
  margin-bottom: 20px;
  scrollbar-width: thin;
}

.page-news .filter-pill {
  flex: 0 0 auto;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--ink);
  background: var(--paper-soft);
  color: var(--green);
  font-size: 13.5px;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.page-news .filter-pill:hover,
.page-news .filter-pill:focus-visible {
  background: var(--amber);
  color: var(--ink);
  transform: translateY(-1px);
}

.page-news .cat-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

.page-news .cat-card {
  background: var(--news-card);
  border: 1.5px solid var(--ink);
  border-top-width: 6px;
  border-radius: var(--radius-md);
  padding: 18px 18px 16px;
  min-width: 0;
}

.page-news .cat-card--orange { border-top-color: var(--orange); }
.page-news .cat-card--blue { border-top-color: var(--blue); }
.page-news .cat-card--amber { border-top-color: var(--amber); }
.page-news .cat-card--green { border-top-color: var(--green); }

.page-news .cat-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--ink);
}

.page-news .cat-num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  border-radius: var(--radius-pill);
  background: var(--green);
  color: var(--paper-soft);
}

.page-news .cat-count {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: rgba(27, 21, 16, 0.6);
  letter-spacing: 0.06em;
}

.page-news .cat-desc {
  font-size: 13.5px;
  line-height: 1.72;
  margin: 0 0 12px;
  color: rgba(27, 21, 16, 0.72);
}

.page-news .index-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px dashed var(--news-line);
}

.page-news .index-link {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px dashed var(--news-line);
  text-decoration: none;
  color: var(--ink);
  font-size: 14px;
  transition: color 0.16s ease;
}

.page-news .index-link:hover,
.page-news .index-link:focus-visible {
  color: var(--blue);
}

.page-news .index-num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--orange);
}

.page-news .index-title {
  min-width: 0;
}

/* ---------- next step ---------- */
.page-news .next-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

.page-news .next-card {
  display: block;
  padding: 20px;
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--paper-soft);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  min-width: 0;
}

.page-news .next-card--orange {
  background: var(--orange);
  color: var(--ink);
  box-shadow: 4px 4px 0 rgba(27, 21, 16, 0.2);
}

.page-news .next-card--blue {
  background: var(--blue);
  box-shadow: 4px 4px 0 rgba(27, 21, 16, 0.2);
}

.page-news .next-card--green {
  background: var(--green);
  box-shadow: 4px 4px 0 rgba(27, 21, 16, 0.2);
}

.page-news .next-card:hover,
.page-news .next-card:focus-visible {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 rgba(27, 21, 16, 0.26);
}

.page-news .next-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: rgba(27, 21, 16, 0.16);
  margin-bottom: 12px;
}

.page-news .next-card--orange .next-tag {
  background: rgba(255, 249, 238, 0.55);
}

.page-news .next-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.24;
  margin: 0 0 10px;
}

.page-news .next-card p {
  font-size: 14px;
  line-height: 1.75;
  margin: 0 0 16px;
  opacity: 0.9;
}

.page-news .next-cta {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  border-bottom: 2px solid currentColor;
  padding-bottom: 2px;
}

.page-news .news-note {
  margin: 20px 0 0;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(27, 21, 16, 0.76);
  padding-left: 16px;
  border-left: 3px solid var(--amber);
}

.page-news .news-note a {
  color: var(--blue);
  text-decoration: none;
  border-bottom: 1.5px solid rgba(47, 111, 237, 0.35);
}

.page-news .news-note a:hover,
.page-news .news-note a:focus-visible {
  color: var(--ink);
  border-bottom-color: var(--orange);
}

/* ---------- responsive ---------- */
@media (min-width: 620px) {
  .page-news .cat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .page-news .next-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 760px) {
  .page-news .post-item {
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 10px 22px;
    align-items: start;
  }
  .page-news .post-item--thumb {
    grid-template-columns: 62px minmax(0, 1fr) 196px;
  }
  .page-news .post-num {
    padding-top: 6px;
  }
  .page-news .post-thumb {
    margin-top: 2px;
  }
  .page-news .next-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .page-news .news-masthead-inner {
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
    align-items: end;
  }
  .page-news .feature-card {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  }
  .page-news .feature-card .feature-media img {
    height: 100%;
    aspect-ratio: auto;
  }
}

@media (min-width: 980px) {
  .page-news .news-frame {
    grid-template-columns: 218px minmax(0, 1fr);
    align-items: start;
  }
  .page-news .news-rail {
    position: relative;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-news .news-quick a,
  .page-news .filter-pill,
  .page-news .next-card,
  .page-news .index-link {
    transition: none;
  }
  .page-news .news-quick a:hover,
  .page-news .filter-pill:hover,
  .page-news .next-card:hover {
    transform: none;
  }
}
