/* =========================================================
   NY Notary Public Services — Rebuild CSS (SCOPED)
   Applies ONLY inside: <div class="nynps-rebuild"> ... </div>
   Goal: calm authority, consistent hierarchy, tighter rhythm.
   ========================================================= */

/* ---------- Base typography (keep current font family for now) ---------- */
.nynps-rebuild {
  line-height: 1.55;
}

.nynps-rebuild,
.nynps-rebuild p,
.nynps-rebuild li,
.nynps-rebuild .vir,
.nynps-rebuild .np {
  /* Slightly soften pure black for a more premium feel */
  color: #1f2328;
}

/* Make paragraphs and text blocks breathe consistently */
.nynps-rebuild p {
  margin: 0 0 12px 0;
}

/* ---------- Headings: consistent hierarchy across pages ---------- */
.nynps-rebuild h2,
.nynps-rebuild h2.vir,
.nynps-rebuild h2.np {
  font-weight: 700;
  line-height: 1.25;
  margin: 18px 0 10px 0;
}

.nynps-rebuild h3 {
  font-weight: 700;
  line-height: 1.25;
  margin: 16px 0 8px 0;
}

.nynps-rebuild h4 {
  font-weight: 600;
  line-height: 1.25;
  margin: 12px 0 6px 0;
}

.nynps-rebuild h5,
.nynps-rebuild h6 {
  font-weight: 600;
  line-height: 1.25;
  margin: 10px 0 6px 0;
}

/* ---------- Section rhythm (Joomla row-fluid spacing) ---------- */
.nynps-rebuild .row-fluid {
  margin-bottom: 18px;
}

/* ---------- Lists: reduce “wall of text” and normalize spacing ---------- */
.nynps-rebuild ul {
  margin-top: 8px;
  margin-bottom: 12px;
}

.nynps-rebuild ul.vir {
  padding-left: 22px;
}

.nynps-rebuild ul.vir > li.vir {
  margin: 7px 0;
}

/* If you have list items with no bullets (your “title” list items) keep spacing clean */
.nynps-rebuild li[style*="list-style-type: none"] {
  margin: 0;
  padding: 0;
}

/* ---------- Bold discipline (reduce visual shouting) ---------- */
/* Make <strong> consistent and less “black ink” heavy */
.nynps-rebuild strong {
  font-weight: 600;
}

/* If entire paragraphs are wrapped in <strong>, this prevents giant bold blocks */
.nynps-rebuild p strong {
  font-weight: 600;
}

/* ---------- Links: calm, consistent, professional ---------- */
.nynps-rebuild a {
  text-decoration: none;
}

.nynps-rebuild a:hover,
.nynps-rebuild a:focus {
  text-decoration: underline;
}

/* ---------- Dividers: consistent and lighter ---------- */
.nynps-rebuild hr {
  margin: 18px 0;
  opacity: 0.9;
}

/* ---------- Optional “callout” box for key rules (use sparingly) ---------- */
/* Add class="nynps-callout" to any div/p block you want to highlight */
.nynps-rebuild .nynps-callout {
  padding: 12px 14px;
  margin: 14px 0;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 6px;
  background: rgba(0,0,0,0.02);
}

/* ---------- Optional “tight note” style (small supportive text) ---------- */
.nynps-rebuild .nynps-note {
  font-size: 0.95em;
  color: rgba(31, 35, 40, 0.85);
}

/* ---------- Mobile tweaks ---------- */
@media (max-width: 768px) {
  .nynps-rebuild .row-fluid {
    margin-bottom: 16px;
  }

  .nynps-rebuild ul.vir {
    padding-left: 18px;
  }

  .nynps-rebuild h2,
  .nynps-rebuild h2.vir,
  .nynps-rebuild h2.np {
    margin: 16px 0 8px 0;
  }
}
/* ---------- Fix legacy over-bold sections ---------- */

/* Remove heavy bolding inside headings */
.nynps-rebuild h2 strong,
.nynps-rebuild h3 strong,
.nynps-rebuild h4 strong {
  font-weight: inherit;
}

/* Prevent entire paragraphs from looking bold */
.nynps-rebuild p strong {
  font-weight: 600;
}

/* If a whole block is wrapped in <strong>, normalize it */
.nynps-rebuild strong {
  font-weight: 600;
}




/* =========================================================
   NYNPS — Apostille Page Styling (SCOPED)
   Applies ONLY inside: <div class="nynps-apostille"> ... </div>
   Goal: clean, premium, readable, structured.
   ========================================================= */

/* Base text */
.nynps-apostille {
  color: #1f2328;
  line-height: 1.6;
}

/* Paragraph rhythm */
.nynps-apostille p {
  margin: 0 0 12px 0;
}

/* Headings (consistent hierarchy) */
.nynps-apostille h1 {
  font-weight: 800;
  line-height: 1.18;
  margin: 18px 0 12px 0;
}

.nynps-apostille h2 {
  font-weight: 750;
  line-height: 1.22;
  margin: 18px 0 10px 0;
}

.nynps-apostille h3 {
  font-weight: 700;
  line-height: 1.25;
  margin: 16px 0 8px 0;
}

.nynps-apostille h4,
.nynps-apostille h5,
.nynps-apostille h6 {
  font-weight: 650;
  line-height: 1.25;
  margin: 12px 0 6px 0;
}

/* Lists (less “wall of bullets”) */
.nynps-apostille ul,
.nynps-apostille ol {
  margin: 8px 0 12px 0;
  padding-left: 22px;
}

.nynps-apostille li {
  margin: 7px 0;
}

/* Bold discipline */
.nynps-apostille strong,
.nynps-apostille b {
  font-weight: 650;
}

/* Links */
.nynps-apostille a {
  text-decoration: none;
}

.nynps-apostille a:hover,
.nynps-apostille a:focus {
  text-decoration: underline;
}

/* Dividers */
.nynps-apostille hr {
  margin: 18px 0;
  opacity: 0.9;
}

/* Optional: callout box for key rules (use sparingly) */
.nynps-apostille .nynps-callout {
  padding: 12px 14px;
  margin: 14px 0;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 6px;
  background: rgba(0,0,0,0.02);
}

/* Optional: subtle note text */
.nynps-apostille .nynps-note {
  font-size: 0.95em;
  color: rgba(31, 35, 40, 0.85);
}

/* Mobile */
@media (max-width: 768px) {
  .nynps-apostille h1 { margin: 16px 0 10px 0; }
  .nynps-apostille h2 { margin: 16px 0 8px 0; }
  .nynps-apostille ul,
  .nynps-apostille ol { padding-left: 18px; }
}

.nynps-rebuild h3.med {
  font-weight: 500;
}

.nynps-apostille h3.med {
  font-weight: 500;
}
.nynps-rebuild p.np,
.nynps-apostille p.np {
  font-size: 16.5px;
  line-height: 1.65;
}


/* Headings: consistent weight + spacing */
.nynps-rebuild h2,
.nynps-apostille h2 {
  font-weight: 700;
  margin: 0 0 10px 0;
}

.nynps-rebuild h3,
.nynps-apostille h3 {
  font-weight: 600;
  margin: 18px 0 10px 0;
}

.nynps-rebuild h4,
.nynps-apostille h4,
.nynps-rebuild .med,
.nynps-apostille .med {
  font-weight: 500;
}

/* Reduce “too-bold” feeling in body copy */
.nynps-rebuild p.np strong,
.nynps-apostille p.np strong,
.nynps-rebuild li strong,
.nynps-apostille li strong {
  font-weight: 600;
}

/* Lists: match paragraph readability */
.nynps-rebuild ul,
.nynps-apostille ul {
  line-height: 1.6;
}

.nynps-rebuild li.vir,
.nynps-apostille li.vir {
  margin-bottom: 8px;
}







/* Accent color (matches your existing #08c family) */


/* Links: consistent + professional */
.nynps-rebuild a,
.nynps-apostille a {
  color: var(--nynps-accent);
  text-decoration: none;
}

.nynps-rebuild a:hover,
.nynps-apostille a:hover {
  text-decoration: underline;
}

/* H3 accent (subtle) */
.nynps-rebuild h3,
.nynps-apostille h3 {
  color: var(--nynps-accent);
}

/* Callouts: soft background + left border */
.nynps-rebuild .nynps-callout,
.nynps-apostille .nynps-callout {
  background: var(--nynps-accent-soft);
  border-left: 4px solid var(--nynps-accent);
  padding: 12px 14px;
  margin: 16px 0;
  border-radius: 6px;
}

/* “Related:” rows: make them look intentional */
.nynps-rebuild h5.np strong,
.nynps-apostille h5.np strong {
  color: #1f2a33;
}

.nynps-rebuild h5.np a,
.nynps-apostille h5.np a {
  font-weight: 600;
}


.nynps-rebuild h2,
.nynps-apostille h2 {
  position: relative;
  padding-bottom: 6px;
}

.nynps-rebuild h2::after,
.nynps-apostille h2::after {
  content: "";
  display: block;
  width: 36px;
  height: 2px;
  background: var(--nynps-accent);
  margin-top: 6px;
}

/* H2: keep text dark, add subtle accent underline */
.nynps-rebuild h2,
.nynps-apostille h2 {
  position: relative;
  padding-bottom: 6px;
}

.nynps-rebuild h2::after,
.nynps-apostille h2::after {
  content: "";
  display: block;
  width: 36px;
  height: 2px;
  background: var(--nynps-accent);
  margin-top: 6px;
}

