/* Owner-requested About foundation blue. Content surfaces only; no hero,
   globe, header, footer, geometry, breakpoint, content or anchor changes.
   The subject renderer owns six pages. The seventh existing detail page is
   the permanent civil-defence article, scoped by its exact route below. */

main[data-nj-astra-route="/insights"] > #insight-subjects,
main.nj-insight-subject > .nj-insight-essay-section,
main[data-nj-astra-route="/insights/defence-national-security/civil-defence-preparedness-india"] > #article {
  background: #091b2d;
  color: #bac5cd;
}

/* Hub: retain the existing grid, row-wide links and all card dimensions. */
main[data-nj-astra-route="/insights"] #insight-subjects .section-heading h2 {
  color: #ffffff;
}
main[data-nj-astra-route="/insights"] #insight-subjects .section-heading > p {
  color: #bac5cd;
}
main[data-nj-astra-route="/insights"] #insight-subjects .section-heading > .eyebrow {
  color: #e6c77d;
}
main[data-nj-astra-route="/insights"] #insight-subjects .insights-hub-grid {
  background: #ffffff29;
}
main[data-nj-astra-route="/insights"] #insight-subjects .insights-hub-card,
main[data-nj-astra-route="/insights"] #insight-subjects .insights-hub-card:visited {
  background: #091b2d;
  border-color: #ffffff29;
  color: #ffffff;
}
main[data-nj-astra-route="/insights"] #insight-subjects .insights-hub-card:is(:hover, :focus-visible) {
  background: #091b2d;
  border-color: #e6c77d;
  color: #ffffff;
}
main[data-nj-astra-route="/insights"] #insight-subjects .insights-hub-card:focus-visible {
  outline: 2px solid #e6c77d;
  outline-offset: 3px;
}
main[data-nj-astra-route="/insights"] #insight-subjects .insights-hub-card__copy strong {
  color: #ffffff;
}
main[data-nj-astra-route="/insights"] #insight-subjects .insights-hub-card__copy > span {
  color: #bac5cd;
}
main[data-nj-astra-route="/insights"] #insight-subjects :is(.insights-hub-card__number, .insights-hub-card__arrow) {
  color: #e6c77d;
}

/* Six subjects: keep the reading/contents/lens arrangement and typography. */
main.nj-insight-subject > .nj-insight-essay-section .nj-insight-toc,
main.nj-insight-subject > .nj-insight-essay-section .nj-insight-lens section {
  background: #091b2d;
  color: #bac5cd;
}
main.nj-insight-subject .nj-insight-lens h2 {
  color: #ffffff;
}
main.nj-insight-subject .nj-insight-lens :is(p, li) {
  color: #bac5cd;
}
main.nj-insight-subject .nj-insight-toc :is(summary, a, a:visited, a span) {
  color: #e6c77d;
}
main.nj-insight-subject .nj-insight-toc a {
  text-decoration: underline;
  text-underline-offset: .2em;
}
main.nj-insight-subject .nj-insight-toc a:is(:hover, :focus-visible) {
  color: #fff3dc;
}
main.nj-insight-subject .nj-insight-toc :is(a, summary):focus-visible {
  outline: 2px solid #e6c77d;
  outline-offset: 3px;
}
main.nj-insight-subject .nj-insight-toc,
main.nj-insight-subject .nj-insight-toc a {
  border-color: #ffffff29;
}
/* Owner R3 correction: the entire central authored column returns to the
   exact accepted 38.2.7 ivory/ink cascade, including its original paired
   heading/link colours. The surrounding contents/lens/foundation stay blue. */
main.nj-insight-subject > .nj-insight-essay-section .nj-insight-reading {
  background: var(--nj-editorial-ivory);
  color: var(--nj-editorial-ink);
}
/* Existing measured header + 16px clearance, with a 1px rounding guard.
   Only authored section anchors; no global scroll padding/double offset. */
main.nj-insight-subject .nj-insight-reading > h2[id^="insight-section-"] {
  /* R5 pre-fragment fallback: actual accepted header breakpoints, independent
     of the older presentation variable until JavaScript measures this owner. */
  --nj-insight-hash-header-height: 85px;
  scroll-margin-top: calc(var(--nj-insight-hash-header-height) + 17px);
}
@media (max-width: 600px) {
  main.nj-insight-subject .nj-insight-reading > h2[id^="insight-section-"] {
    --nj-insight-hash-header-height: 73px;
  }
}

/* Permanent essay: the backdrop is full-width, but its opaque hero and
   next-reading panel keep their existing appearance. Only reading text and
   the adjacent contents receive the dark-surface palette. */
main[data-nj-astra-route="/insights/defence-national-security/civil-defence-preparedness-india"] #article .article-body,
main[data-nj-astra-route="/insights/defence-national-security/civil-defence-preparedness-india"] #article .article-toc {
  color: #bac5cd;
}
main[data-nj-astra-route="/insights/defence-national-security/civil-defence-preparedness-india"] .article-body > :is(h2, h3, h4),
main[data-nj-astra-route="/insights/defence-national-security/civil-defence-preparedness-india"] .article-body > .faq-section :is(h2, h3),
main[data-nj-astra-route="/insights/defence-national-security/civil-defence-preparedness-india"] .article-body > blockquote p,
main[data-nj-astra-route="/insights/defence-national-security/civil-defence-preparedness-india"] .article-body > .recommendations strong,
main[data-nj-astra-route="/insights/defence-national-security/civil-defence-preparedness-india"] .article-body > p.closing {
  color: #ffffff;
}
main[data-nj-astra-route="/insights/defence-national-security/civil-defence-preparedness-india"] .article-body > p:not(.editorial-source-note):not(.panel-kicker):not(.closing),
main[data-nj-astra-route="/insights/defence-national-security/civil-defence-preparedness-india"] .article-body > :is(ul, ol),
main[data-nj-astra-route="/insights/defence-national-security/civil-defence-preparedness-india"] .article-body > .recommendations li,
main[data-nj-astra-route="/insights/defence-national-security/civil-defence-preparedness-india"] .article-body > .faq-section p,
main[data-nj-astra-route="/insights/defence-national-security/civil-defence-preparedness-india"] .article-share__label {
  color: #bac5cd;
}
main[data-nj-astra-route="/insights/defence-national-security/civil-defence-preparedness-india"] .article-body > .lead-dropcap::first-letter,
main[data-nj-astra-route="/insights/defence-national-security/civil-defence-preparedness-india"] .article-body > .panel-kicker,
main[data-nj-astra-route="/insights/defence-national-security/civil-defence-preparedness-india"] .article-body > .recommendations li::before,
main[data-nj-astra-route="/insights/defence-national-security/civil-defence-preparedness-india"] .article-toc > p,
main[data-nj-astra-route="/insights/defence-national-security/civil-defence-preparedness-india"] .article-toc :is(a, a:visited, a span),
main[data-nj-astra-route="/insights/defence-national-security/civil-defence-preparedness-india"] .article-body a:not(:where(.framework-summary a, .suraksha-card a, .editorial-source-note a, .source-note a, .related-links a, .article-share a)) {
  color: #e6c77d;
}
main[data-nj-astra-route="/insights/defence-national-security/civil-defence-preparedness-india"] .article-toc a {
  text-decoration: underline;
  text-underline-offset: .2em;
}
main[data-nj-astra-route="/insights/defence-national-security/civil-defence-preparedness-india"] .article-toc a:is(:hover, :focus-visible),
main[data-nj-astra-route="/insights/defence-national-security/civil-defence-preparedness-india"] .article-body a:not(:where(.framework-summary a, .suraksha-card a, .editorial-source-note a, .source-note a, .related-links a, .article-share a)):is(:hover, :focus-visible) {
  color: #fff3dc;
}
main[data-nj-astra-route="/insights/defence-national-security/civil-defence-preparedness-india"] .article-toc a:focus-visible,
main[data-nj-astra-route="/insights/defence-national-security/civil-defence-preparedness-india"] .article-body a:not(:where(.framework-summary a, .suraksha-card a, .editorial-source-note a, .source-note a, .related-links a)):focus-visible,
main[data-nj-astra-route="/insights/defence-national-security/civil-defence-preparedness-india"] .article-share__button:focus-visible {
  outline: 2px solid #e6c77d;
  outline-offset: 3px;
}
main[data-nj-astra-route="/insights/defence-national-security/civil-defence-preparedness-india"] .article-toc,
main[data-nj-astra-route="/insights/defence-national-security/civil-defence-preparedness-india"] .article-toc :is(ol, li),
main[data-nj-astra-route="/insights/defence-national-security/civil-defence-preparedness-india"] .article-body > .recommendations,
main[data-nj-astra-route="/insights/defence-national-security/civil-defence-preparedness-india"] .article-body > .recommendations li,
main[data-nj-astra-route="/insights/defence-national-security/civil-defence-preparedness-india"] .article-body > .faq-section,
main[data-nj-astra-route="/insights/defence-national-security/civil-defence-preparedness-india"] .article-share {
  border-color: #ffffff29;
}
/* Preserve light editorial-card backgrounds and existing explicit text/link
   colors. Restore only their original inherited ink, not white descendants. */
main[data-nj-astra-route="/insights/defence-national-security/civil-defence-preparedness-india"] .article-body :is(.framework-summary, .suraksha-card, .source-note, .related-links) {
  color: #17202a;
}
/* The existing fact panel is already About-blue. Its text remains local to
   that dark panel; its content, grid and dimensions are not modified. */
main[data-nj-astra-route="/insights/defence-national-security/civil-defence-preparedness-india"] .article-body > .fact-panel > .panel-kicker {
  color: #e6c77d;
}
