/* ── News listing (pages/news.php), built on home-dashboard.css and clients.css ── */
.nw-lede { max-width: 620px; margin: 18px 0 0; color: #3c3d38; font-size: 15px; line-height: 1.55; }

.nw-top-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 16px; }
.nw-page .hd-figures strong { font-size: clamp(40px, 4.2vw, 60px); }
.nw-page .hd-figures small { grid-column: 2; text-align: center; }

/* Filter bar */
.nw-filters { justify-content: space-between; border-radius: 30px; }

.nw-filter {
  padding: 9px 14px;
  border-radius: 999px;
  color: #3c3d38;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: background .15s;
}

.nw-filter:hover { background: rgba(255,255,255,.85); }
.nw-filter.is-active { background: #20211f; color: #fff; }

.nw-country {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 6px 6px 16px;
  border-radius: 999px;
  background: var(--hd-accent);
  color: var(--hd-ink);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
}

.nw-country b {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 50%;
  background: rgba(32,33,31,.12);
  font-size: 15px;
  font-weight: 500;
}

.nw-country:hover b { background: #20211f; color: #fff; }

/* Stories */
.nw-list { display: grid; gap: 8px; }

.nw-item {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 14px 16px 14px 14px;
  border-radius: 24px;
  transition: background .15s, transform .15s;
}

.nw-item:hover { background: rgba(255,255,255,.9); }

.nw-flag {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 17px;
  background: #fff;
  font-size: 26px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(32,33,31,.06);
  transition: background .15s;
}

.nw-flag:hover { background: var(--hd-accent); }

.nw-title {
  display: block;
  color: var(--hd-ink);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.45;
  text-decoration: none;
}

.nw-title:hover { text-decoration: none; }

.nw-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 6px; color: var(--hd-muted); font-size: 12.5px; }

.nw-type {
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(32,33,31,.07);
  color: #3c3d38;
  font-size: 11.5px;
  font-weight: 500;
  text-decoration: none;
}

.nw-type:hover { background: var(--hd-accent); color: var(--hd-ink); }
.nw-item .hd-round { width: 40px; height: 40px; }
.nw-item:hover .hd-round { background: #20211f; color: #fff; }

@media (max-width: 760px) {
  .nw-top-actions { align-items: flex-start; }
  .nw-item { grid-template-columns: 44px minmax(0, 1fr); gap: 12px; padding: 12px; }
  .nw-flag { width: 44px; height: 44px; font-size: 22px; }
  .nw-item .hd-round { display: none; }
  .nw-title { font-size: 15px; }
}

/* ── News article (pages/news-detail.php) ── */
.nd-page .hd-welcome h1 { max-width: 900px; font-size: clamp(30px, 3.8vw, 48px); line-height: 1.1; }
.nd-page .hd-top-right { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }

.nd-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }

.nd-country,
.nd-type {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 6px;
  border-radius: 999px;
  background: #fff;
  color: var(--hd-ink);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  box-shadow: 0 3px 10px rgba(32,33,31,.05);
  transition: background .15s;
}

.nd-country span { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 50%; background: #f2f1ed; font-size: 17px; }
.nd-type { padding-left: 14px; background: #20211f; color: #fff; }
.nd-country:hover,
.nd-type:hover { background: var(--hd-accent); color: var(--hd-ink); }

.nd-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }

.nd-meta span,
.nd-meta a {
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.7);
  color: #3c3d38;
  font-size: 12.5px;
  font-weight: 500;
  text-decoration: none;
}

.nd-meta a { background: var(--hd-accent); color: var(--hd-ink); }
.nd-meta a:hover { background: #fff; }

.nd-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; align-items: start; gap: 14px; }
.nd-main,
.nd-side { display: grid; gap: 14px; }

.nd-section { padding: 26px 28px; transition: background .18s ease, box-shadow .18s ease; }
.hd-card.nd-section:hover { background: rgba(255,255,255,.85); }

.nd-label { display: block; margin-bottom: 12px; color: var(--hd-muted); font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
.nd-prose { color: #2a2c2f; font-size: 16.5px; line-height: 1.75; }
.nd-prose p { margin: 0 0 12px; }
.nd-prose p:last-child { margin-bottom: 0; }

.nd-impact { background: radial-gradient(circle at 100% 100%, var(--hd-glow), transparent 55%), var(--hd-dark); }
.nd-impact .nd-label { color: rgba(255,255,255,.55); }
.nd-impact .nd-prose { color: rgba(255,255,255,.88); }

.nd-sources { display: grid; gap: 8px; }
.nd-sources .nd-label { margin-bottom: 4px; }

.nd-sources a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 10px 10px 16px;
  border-radius: 20px;
  background: rgba(255,255,255,.8);
  color: var(--hd-ink);
  text-decoration: none;
  transition: background .15s, box-shadow .15s;
}

.nd-sources a strong { display: block; font-size: 14px; font-weight: 500; line-height: 1.35; }
.nd-sources a small { display: block; margin-top: 2px; color: var(--hd-muted); font-size: 12px; }
.nd-sources .hd-round { width: 36px; height: 36px; flex: 0 0 36px; box-shadow: none; background: #f2f1ed; }
.nd-sources .hd-round svg { width: 15px; height: 15px; }
.nd-sources a:hover { background: #fff; box-shadow: 0 0 0 2px var(--hd-accent); }
.nd-sources a:hover .hd-round { background: var(--hd-accent); }

.nd-verification .nd-prose { padding-left: 14px; border-left: 4px solid var(--hd-accent); color: #3c3d38; font-size: 14px; line-height: 1.65; }

/* Locked analysis */
.nd-gate {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding: 30px;
  background: radial-gradient(circle at 100% 100%, var(--hd-glow), transparent 55%), var(--hd-dark);
}

.nd-lock { display: grid; width: 54px; height: 54px; place-items: center; border-radius: 18px; background: var(--hd-accent); color: var(--hd-ink); }
.nd-lock svg { width: 24px; height: 24px; }
.nd-gate .nd-label { color: rgba(255,255,255,.55); }
.nd-gate h2 { margin: 0 0 10px; color: #fff; font-size: 26px; font-weight: 400; letter-spacing: -.02em; white-space: normal; }
.nd-gate p { max-width: 640px; margin: 0 0 20px; color: rgba(255,255,255,.75); font-size: 15px; line-height: 1.6; }

.nd-gate-button {
  display: inline-flex;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--hd-accent);
  color: var(--hd-ink);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background .15s;
}

.nd-gate-button:hover { background: #fff; }

@media (max-width: 1000px) {
  .nd-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 760px) {
  .nd-page .hd-top-right { align-items: flex-start; }
  .nd-section, .nd-gate { padding: 22px; }
  .nd-gate { grid-template-columns: 1fr; }
}
