/* NJ V38 Production Insights-only presentation R1. */

body.njv38-route-insights {
  --nj-insight-anchor-offset: 8rem;
  --nj-editorial-navy: #071a2a;
  --nj-editorial-navy-soft: #0d2b40;
  --nj-editorial-ivory: #f5f0e5;
  --nj-editorial-gold: #c6a15b;
  --nj-editorial-ink: #122535;
  --nj-editorial-line: rgba(198, 161, 91, .42);
}

body.njv38-route-insights .nj-insights-hub-hero {
  background: linear-gradient(118deg, #061725 0%, #0b2b40 70%, #071a2a 100%);
  color: var(--nj-editorial-ivory);
  overflow: hidden;
  padding: clamp(4.4rem, 8vw, 8rem) 0;
  position: relative;
}

body.njv38-route-insights .nj-insights-hub-hero::after {
  background: linear-gradient(90deg, transparent, rgba(198, 161, 91, .22), transparent);
  bottom: 0;
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  right: 0;
}

body.njv38-route-insights .nj-insights-hub-hero__grid {
  align-items: center;
  display: grid;
  gap: clamp(2rem, 6vw, 6rem);
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
}

body.njv38-route-insights .nj-insights-hub-visual {
  min-width: 0;
  opacity: .78;
}

body.njv38-route-insights .nj-insights-hub-visual svg {
  display: block;
  height: auto;
  max-width: 100%;
  overflow: visible;
  width: 100%;
}

body.njv38-route-insights .nj-insights-hub-visual path,
body.njv38-route-insights .nj-insights-hub-visual circle {
  fill: none;
  stroke: var(--nj-editorial-gold);
  stroke-width: 1.2;
  vector-effect: non-scaling-stroke;
}

body.njv38-route-insights .nj-insights-hub-visual .nj-map-contour {
  opacity: .28;
}

body.njv38-route-insights .nj-insights-hub-visual .nj-map-land {
  fill: rgba(13, 43, 64, .68);
  opacity: .85;
}

body.njv38-route-insights .nj-insights-hub-visual .nj-map-route {
  stroke-dasharray: 5 8;
  opacity: .55;
}

body.njv38-route-insights .nj-insights-hub-visual circle {
  fill: var(--nj-editorial-gold);
}

body.njv38-route-insights .nj-insights-hub-copy {
  max-width: 39rem;
}

body.njv38-route-insights .nj-insights-hub-copy h1,
body.njv38-route-insights .nj-insight-subject-hero h1 {
  color: var(--nj-editorial-ivory);
  font-family: var(--font-display);
  font-size: clamp(3rem, 5.8vw, 5.4rem);
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: .98;
  margin: .6rem 0 1.35rem;
}

body.njv38-route-insights .nj-insights-hub-copy > p:not(.eyebrow) {
  color: rgba(245, 240, 229, .78);
  font-size: clamp(1rem, 1.45vw, 1.22rem);
  line-height: 1.75;
  margin: 0 0 1.6rem;
}

/* Insights R2: readable hero navigation and sticky-header-safe anchors. */
body.njv38-route-insights .nj-insights-hub-hero a.arrow-link,
body.njv38-route-insights .nj-insights-hub-hero a.arrow-link:visited {
  color: #e6c77d;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .3em;
}

body.njv38-route-insights .nj-insights-hub-hero a.arrow-link:hover,
body.njv38-route-insights .nj-insights-hub-hero a.arrow-link:focus-visible {
  color: #fff2d4;
  text-decoration-thickness: 2px;
}

body.njv38-route-insights .nj-insights-hub-hero a.arrow-link:focus-visible {
  outline: 3px solid #e6c77d;
  outline-offset: 5px;
}

body.njv38-route-insights #insight-subjects {
  scroll-margin-top: var(--nj-insight-anchor-offset);
}

body.njv38-route-insights .insights-hub-grid {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 2.5rem;
}

body.njv38-route-insights .insights-hub-card {
  align-items: center;
  background: rgba(255, 255, 255, .48);
  border: 1px solid rgba(7, 26, 42, .12);
  color: var(--nj-editorial-ink);
  display: grid;
  gap: 1.25rem;
  grid-template-columns: auto minmax(0, 1fr) auto;
  min-height: 10rem;
  padding: clamp(1.35rem, 3vw, 2.25rem);
  text-decoration: none;
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}

body.njv38-route-insights .insights-hub-card:hover,
body.njv38-route-insights .insights-hub-card:focus-visible {
  background: #fff;
  border-color: var(--nj-editorial-gold);
  transform: translateY(-2px);
}

body.njv38-route-insights .insights-hub-card:focus-visible {
  outline: 3px solid var(--nj-editorial-gold);
  outline-offset: 3px;
}

body.njv38-route-insights .insights-hub-card__number {
  color: #9c7838;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .14em;
}

body.njv38-route-insights .insights-hub-card__copy {
  display: grid;
  gap: .55rem;
}

body.njv38-route-insights .insights-hub-card__copy strong {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  font-weight: 600;
  line-height: 1.1;
}

body.njv38-route-insights .insights-hub-card__copy span {
  color: rgba(18, 37, 53, .72);
  line-height: 1.6;
}

body.njv38-route-insights .insights-hub-card__arrow {
  color: #a77d30;
  font-size: 1.5rem;
}

body.njv38-route-insights .nj-insights-articles {
  background: var(--nj-editorial-navy);
  color: var(--nj-editorial-ivory);
  text-align: center;
}

body.njv38-route-insights .nj-insights-articles h2 {
  color: var(--nj-editorial-ivory);
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4vw, 3.6rem);
  font-weight: 500;
  margin: .6rem 0 0;
}

body.njv38-route-insights .nj-insight-subject-hero {
  background: linear-gradient(118deg, #061725, #0d2b40);
  color: var(--nj-editorial-ivory);
  padding: clamp(4rem, 7vw, 7rem) 0 clamp(3.6rem, 6vw, 5.8rem);
}

body.njv38-route-insights .nj-insight-standfirst {
  color: rgba(245, 240, 229, .8);
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  line-height: 1.75;
  max-width: 52rem;
}

body.njv38-route-insights .nj-insight-core {
  border-left: 2px solid var(--nj-editorial-gold);
  display: grid;
  gap: .5rem;
  margin-top: 2rem;
  max-width: 50rem;
  padding: .4rem 0 .4rem 1.3rem;
}

body.njv38-route-insights .nj-insight-core span {
  color: var(--nj-editorial-gold);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .16em;
}

body.njv38-route-insights .nj-insight-core strong {
  color: var(--nj-editorial-ivory);
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.3vw, 2rem);
  font-weight: 500;
  line-height: 1.25;
}

body.njv38-route-insights .nj-insight-essay-section {
  background: #eae3d4;
  padding: clamp(3rem, 6vw, 6rem) 0;
}

body.njv38-route-insights .nj-insight-essay-layout {
  align-items: start;
  display: grid;
  gap: clamp(1.4rem, 3vw, 3rem);
  grid-template-columns: minmax(10rem, 13rem) minmax(0, 1fr) minmax(13rem, 17rem);
}

body.njv38-route-insights .nj-insight-toc,
body.njv38-route-insights .nj-insight-lens {
  min-width: 0;
  position: sticky;
  top: 1.5rem;
}

body.njv38-route-insights .nj-insight-toc > p,
body.njv38-route-insights .nj-insight-lens h2 {
  color: #8a672a;
  font-family: var(--font-sans);
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .13em;
  line-height: 1.45;
  margin: 0 0 .8rem;
}

body.njv38-route-insights .nj-insight-toc ol {
  display: grid;
  gap: .15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

body.njv38-route-insights .nj-insight-toc a {
  align-items: baseline;
  border-bottom: 1px solid rgba(18, 37, 53, .12);
  color: rgba(18, 37, 53, .8);
  display: grid;
  font-size: .72rem;
  gap: .6rem;
  grid-template-columns: auto minmax(0, 1fr);
  line-height: 1.4;
  padding: .65rem 0;
  text-decoration: none;
}

body.njv38-route-insights .nj-insight-toc a:hover,
body.njv38-route-insights .nj-insight-toc a:focus-visible {
  color: #7b581d;
}

body.njv38-route-insights .nj-insight-toc a:focus-visible {
  outline: 2px solid var(--nj-editorial-gold);
  outline-offset: 3px;
}

body.njv38-route-insights .nj-insight-toc a span {
  color: #a77d30;
  font-size: .6rem;
}

body.njv38-route-insights .nj-insight-reading {
  background: var(--nj-editorial-ivory);
  box-shadow: 0 24px 60px rgba(7, 26, 42, .08);
  color: var(--nj-editorial-ink);
  min-width: 0;
  padding: clamp(1.6rem, 4vw, 4rem);
}

body.njv38-route-insights .nj-insight-reading > :first-child {
  margin-top: 0;
}

body.njv38-route-insights .nj-insight-reading h2 {
  border-top: 1px solid var(--nj-editorial-line);
  color: var(--nj-editorial-navy);
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  font-weight: 600;
  margin: 3rem 0 1rem;
  padding-top: 1.5rem;
  scroll-margin-top: var(--nj-insight-anchor-offset);
}

body.njv38-route-insights .nj-insight-reading p {
  font-size: 1.03rem;
  line-height: 1.85;
}

body.njv38-route-insights .nj-insight-lens {
  display: grid;
  gap: 1px;
}

body.njv38-route-insights .nj-insight-lens section {
  background: rgba(7, 26, 42, .94);
  color: var(--nj-editorial-ivory);
  padding: 1.15rem;
}

body.njv38-route-insights .nj-insight-lens p,
body.njv38-route-insights .nj-insight-lens li {
  color: rgba(245, 240, 229, .78);
  font-size: .76rem;
  line-height: 1.65;
}

body.njv38-route-insights .nj-insight-lens p,
body.njv38-route-insights .nj-insight-lens ul {
  margin: 0;
}

body.njv38-route-insights .nj-insight-lens ul {
  display: grid;
  gap: .45rem;
  padding-left: 1rem;
}

body.njv38-route-insights .nj-insight-publication-standard {
  background: var(--nj-editorial-navy);
  color: var(--nj-editorial-ivory);
  text-align: center;
}

body.njv38-route-insights .nj-insight-publication-standard p:not(.eyebrow) {
  color: rgba(245, 240, 229, .78);
  font-size: 1.05rem;
  line-height: 1.75;
}

@media (max-width: 1024px) {
  body.njv38-route-insights .nj-insight-essay-layout {
    grid-template-columns: minmax(9rem, 12rem) minmax(0, 1fr);
  }

  body.njv38-route-insights .nj-insight-lens {
    grid-column: 1 / -1;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    position: static;
  }
}

@media (max-width: 760px) {
  body.njv38-route-insights {
    --nj-insight-anchor-offset: 7rem;
  }

  body.njv38-route-insights .nj-insights-hub-hero__grid,
  body.njv38-route-insights .insights-hub-grid,
  body.njv38-route-insights .nj-insight-essay-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  body.njv38-route-insights .nj-insights-hub-visual {
    margin-inline: auto;
    max-width: 30rem;
    order: 2;
  }

  body.njv38-route-insights .nj-insights-hub-copy {
    order: 1;
  }

  body.njv38-route-insights .insights-hub-card {
    min-height: 8.5rem;
  }

  body.njv38-route-insights .nj-insight-toc,
  body.njv38-route-insights .nj-insight-lens {
    position: static;
  }

  body.njv38-route-insights .nj-insight-toc ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.njv38-route-insights .nj-insight-lens {
    grid-column: auto;
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 420px) {
  body.njv38-route-insights .nj-insights-hub-card {
    gap: .8rem;
    grid-template-columns: auto minmax(0, 1fr);
  }

  body.njv38-route-insights .insights-hub-card__arrow {
    display: none;
  }

  body.njv38-route-insights .nj-insight-toc ol {
    grid-template-columns: minmax(0, 1fr);
  }

  body.njv38-route-insights .nj-insight-reading {
    padding: 1.35rem 1.1rem;
  }
}
