/* =========================================================
   Off-Market Investor Brief — newsletter styles
   Every class is prefixed .nl- so nothing collides with
   existing site classes. Link this in the <head> of:
   - insights/index.html
   - insights/newsletter/index.html
   - each insights/newsletter/<slug>/index.html
   ========================================================= */

.nl-scope {
  --nl-navy: var(--navy, #004986);
  --nl-navy-dark: var(--navy-dark, #002B49);
  --nl-teal: var(--teal, #60DAE1);
  --nl-ink: #1c2630;
  --nl-muted: #5b6875;
  --nl-rule: #d7dee5;
  --nl-serif: "New Standard", Georgia, "Times New Roman", serif;
  --nl-sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  font-family: var(--nl-sans);
  color: var(--nl-ink);
}

/* ---------- Masthead (archive page hero) ---------- */
.nl-masthead {
  background: var(--nl-navy-dark);
  color: #fff;
  padding: 96px 0 72px;
  border-bottom: 6px solid var(--nl-teal);
}
.nl-masthead-kicker {
  font-size: 0.95rem;
  color: var(--nl-teal);
  margin: 0 0 16px;
  font-weight: 600;
}
.nl-masthead-title {
  font-family: var(--nl-serif);
  font-size: clamp(2.6rem, 6vw, 4.75rem);
  line-height: 1.02;
  font-weight: 400;
  margin: 0 0 24px;
  max-width: 14ch;
}
.nl-masthead-lede {
  font-size: 1.125rem;
  line-height: 1.65;
  max-width: 60ch;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

/* ---------- Signup band ---------- */
.nl-signup {
  padding: 56px 0;
  border-bottom: 1px solid var(--nl-rule);
}
.nl-signup-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.nl-signup-title {
  font-family: var(--nl-serif);
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--nl-navy);
  margin: 0 0 12px;
}
.nl-signup-copy p {
  line-height: 1.65;
  color: var(--nl-muted);
  margin: 0;
  max-width: 48ch;
}
.nl-form-slot {
  min-height: 120px;
  border: 1px dashed var(--nl-rule);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--nl-muted);
  font-size: 0.9rem;
}
.nl-form-slot:has(iframe) { border: 0; min-height: 0; display: block; }

/* ---------- Issue ledger (archive + insights) ---------- */
.nl-archive { padding: 64px 0 96px; }
.nl-section-title {
  font-family: var(--nl-serif);
  font-size: 2rem;
  font-weight: 400;
  color: var(--nl-navy);
  margin: 0 0 8px;
}
.nl-section-intro {
  color: var(--nl-muted);
  line-height: 1.6;
  max-width: 60ch;
  margin: 0 0 32px;
}
.nl-ledger { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--nl-navy); }
.nl-issue {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 32px;
  padding: 28px 0;
  border-bottom: 1px solid var(--nl-rule);
}
.nl-issue-date {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--nl-navy);
  padding-top: 6px;
}
.nl-issue-date span { display: block; font-weight: 400; color: var(--nl-muted); }
.nl-issue-title {
  font-family: var(--nl-serif);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.25;
  margin: 0 0 8px;
}
.nl-issue-title a { color: var(--nl-ink); text-decoration: none; }
.nl-issue-title a:hover,
.nl-issue-title a:focus-visible { color: var(--nl-navy); text-decoration: underline; text-underline-offset: 4px; }
.nl-issue-excerpt { margin: 0; line-height: 1.65; color: var(--nl-muted); max-width: 65ch; }

/* ---------- Insights page section ---------- */
.nl-feature {
  padding: 72px 0;
  background: #f3f6f9;
  border-top: 6px solid var(--nl-navy);
}
.nl-feature-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.nl-feature-head .nl-section-intro { margin-bottom: 0; }

/* ---------- Buttons & links ---------- */
.nl-btn {
  display: inline-block;
  background: var(--nl-navy);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 28px;
  text-decoration: none;
  border: 2px solid var(--nl-navy);
}
.nl-btn:hover, .nl-btn:focus-visible { background: var(--nl-navy-dark); border-color: var(--nl-navy-dark); color: #fff; text-decoration: none; }
.nl-btn--ghost { background: transparent; color: var(--nl-navy); }
.nl-btn--ghost:hover, .nl-btn--ghost:focus-visible { background: var(--nl-navy); color: #fff; }
.nl-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- End-of-issue CTA (issue pages) ---------- */
.nl-end-cta {
  margin: 64px 0 0;
  padding: 40px;
  background: var(--nl-navy-dark);
  color: #fff;
  border-left: 6px solid var(--nl-teal);
}
.nl-end-cta h2 {
  font-family: var(--nl-serif);
  font-weight: 400;
  font-size: 1.75rem;
  margin: 0 0 12px;
  color: #fff;
}
.nl-end-cta p { margin: 0 0 24px; line-height: 1.65; color: rgba(255,255,255,0.85); max-width: 55ch; }
.nl-end-cta .nl-btn { background: var(--nl-teal); border-color: var(--nl-teal); color: var(--nl-navy-dark); }
.nl-end-cta .nl-btn:hover, .nl-end-cta .nl-btn:focus-visible { background: #fff; border-color: #fff; color: var(--nl-navy-dark); }

/* Issue eyebrow line above the article H1 */
.nl-issue-label { font-weight: 600; color: var(--nl-navy); font-size: 0.95rem; margin: 0 0 12px; }

/* ---------- Focus & mobile ---------- */
.nl-scope a:focus-visible { outline: 2px solid var(--nl-teal); outline-offset: 3px; }

@media (max-width: 767px) {
  .nl-masthead { padding: 64px 0 48px; }
  .nl-signup-grid { grid-template-columns: 1fr; gap: 24px; }
  .nl-issue { grid-template-columns: 1fr; gap: 8px; }
  .nl-end-cta { padding: 28px 24px; }
}

/* ---------- Inset variant for the Insights page (inside .container) ---------- */
.nl-feature--inset { padding: 56px 48px; margin: 4rem 0; }
@media (max-width: 767px) { .nl-feature--inset { padding: 40px 24px; } }


/* ---------- Split hero: pitch left, form card right ---------- */
.nl-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: start;
  padding: 2rem 0 4rem;
}
.nl-hero .eyebrow {
  display: block;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--nl-navy);
}
.nl-hero-title {
  font-family: var(--nl-serif);
  font-size: clamp(2.4rem, 4.5vw, 3.5rem);
  line-height: 1.08;
  color: var(--nl-navy);
  margin: 12px 0 20px;
}
.nl-hero-lede {
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--nl-muted);
  max-width: 52ch;
  margin: 0 0 28px;
}
.nl-signup-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--nl-rule); }
.nl-signup-list li { padding: 16px 0 16px 30px; border-bottom: 1px solid var(--nl-rule); position: relative; line-height: 1.55; color: var(--nl-muted); }
.nl-signup-list li::before { content: "\f00c"; font-family: "Font Awesome 5 Free"; font-weight: 900; position: absolute; left: 0; top: 17px; color: var(--brand-teal, #1ba8e0); font-size: .9rem; }
.nl-signup-list strong { color: var(--nl-navy); font-weight: 600; }

.nl-form-card {
  background: #fff;
  border: 1px solid var(--nl-rule);
  border-top: 4px solid var(--nl-navy);
  padding: 32px 28px 12px;
  position: sticky;
  top: 9rem;
}
.nl-form-card-title {
  font-family: var(--nl-serif);
  font-size: 1.6rem;
  color: var(--nl-navy);
  margin: 0 0 4px;
}
.nl-form-card-note { color: var(--nl-muted); font-size: 0.95rem; margin: 0 0 8px; }

@media (max-width: 991px) {
  .nl-hero { grid-template-columns: 1fr; gap: 40px; padding: 1.5rem 0 3rem; }
  .nl-form-card { position: static; }
}


/* =========================================================
   Archive page v3: straight navy hero band, issue list left,
   signup card right (light gray body)
   ========================================================= */
.nl-band {
  background: linear-gradient(90deg, #15365E 0%, #0A2240 100%);
  color: #fff;
  padding: 10.5rem 0 4rem;
}
.nl-band-eyebrow {
  display: block;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--brand-teal, #1ba8e0);
  margin-bottom: 14px;
}
.nl-band-title {
  font-family: var(--nl-serif);
  font-size: clamp(2.4rem, 5vw, 3.75rem);
  line-height: 1.08;
  font-weight: 400;
  color: #fff;
  margin: 0 0 18px;
}
.nl-band-title em { font-style: italic; color: #fff; }
.nl-band-lede {
  font-size: 1.15rem;
  line-height: 1.6;
  color: rgba(255,255,255,.82);
  max-width: 58ch;
  margin: 0;
}

.nl-body { background: #f3f6f9; padding: 4rem 0 6rem; }
.nl-body-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 40px;
  align-items: start;
}
.nl-issues-label {
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--nl-navy);
  margin: 0 0 16px;
}
.nl-issue-card {
  display: block;
  background: #fff;
  border: 1px solid var(--nl-rule);
  padding: 28px 30px;
  margin-bottom: 20px;
  text-decoration: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.nl-issue-card:hover,
.nl-issue-card:focus-visible {
  border-color: var(--nl-navy);
  box-shadow: 0 6px 18px rgba(0, 43, 73, .08);
  text-decoration: none;
}
.nl-issue-card-meta { display: block; font-size: .9rem; font-weight: 600; color: var(--nl-navy); margin-bottom: 10px; }
.nl-issue-card h3 {
  font-family: var(--nl-serif);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--nl-ink);
  margin: 0 0 10px;
}
.nl-issue-card p { color: var(--nl-muted); line-height: 1.6; margin: 0 0 16px; }
.nl-issue-card-link { font-weight: 600; color: var(--brand-teal, #1ba8e0); font-size: .95rem; }
.nl-issue-card:hover .nl-issue-card-link { color: var(--nl-navy); }

.nl-signup-card {
  background: #fff;
  border-top: 4px solid var(--nl-navy);
  padding: 32px 30px 12px;
  position: sticky;
  top: 9rem;
}
.nl-signup-card-title {
  font-family: var(--nl-serif);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--nl-navy);
  margin: 0 0 8px;
}
.nl-signup-card-note { color: var(--nl-muted); line-height: 1.6; margin: 0 0 16px; }
.nl-signup-card .nl-signup-list { margin-bottom: 8px; }
.nl-signup-card .nl-signup-list li { padding: 10px 0 10px 30px; font-size: .95rem; }
.nl-signup-card .nl-signup-list li::before { top: 11px; }

@media (max-width: 991px) {
  .nl-band { padding: 8.5rem 0 3rem; }
  .nl-body-grid { grid-template-columns: 1fr; }
  .nl-signup-card { position: static; order: -1; }
}
@media (max-width: 575px) {
  .nl-issue-card { padding: 22px 20px; }
  .nl-signup-card { padding: 26px 20px 8px; }
}

/* ---------- Newsletter popup (Bootstrap modal) ---------- */
.nl-modal .modal-dialog { max-width: 560px; }
.nl-modal .modal-dialog { margin-top: 1rem; margin-bottom: 1rem; }
.nl-modal .modal-content {
  border: 0;
  border-radius: 0;
  border-top: 4px solid var(--brand-navy, #004986);
}
.nl-modal .modal-body { padding: 28px 28px 4px; }
.nl-modal .close {
  position: absolute;
  top: 10px;
  right: 16px;
  font-size: 2rem;
  font-weight: 400;
  color: var(--brand-navy, #004986);
  opacity: .6;
  z-index: 2;
}
.nl-modal .close:hover { opacity: 1; }
.nl-modal-title {
  font-family: "New Standard", Georgia, serif;
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--brand-navy, #004986);
    margin: 0 0 6px;
  padding-right: 32px;
}
.nl-modal-note { color: #5b6875; line-height: 1.5; margin: 0; text-align: left; font-size: .95rem; }
@media (max-width: 575px) {
  .nl-modal .modal-body { padding: 32px 20px 8px; }
}
/* Popups: left-align text (overrides the site's justified paragraphs) */
.nl-modal .modal-body p { text-align: left !important; }
.nl-modal .nl-modal-cta { margin-top: 14px; }