/* ============================================================
   North Shore Health — sections.css
   ALL section styling lives here (no inline CSS in patterns).
   Ported from the approved desktop design; responsive rules
   authored for tablet/mobile.
   ============================================================ */

:root {
  --p-900: #122c3c;
  --p-800: #173a4f;
  --p-700: #234f68;
  --p-600: #2b5e7c;
  --p-500: #346a8c;
  --p-400: #5688a5;
  --p-300: #84aabf;
  --p-100: #dde9ef;
  --p-50:  #eef4f7;
  --stone-700: #8f8c7c;
  --stone-500: #ceccbf;
  --stone-300: #e1dfd4;
  --stone-50:  #f7f6f1;
  --clin-700: #15384c;
  --clin-500: #2b5e7c;
  --clin-100: #dbe7ee;
  --ink:   #16252f;
  --body:  #3f4f59;
  --muted: #6c7a83;
  --faint: #93a0a8;
  --paper: #fafbfc;
  --surface: #f4f6f8;
  --line:   #e4e8eb;
  --line-strong: #d3d9dd;
  --accent: var(--p-500);
  --accent-strong: var(--p-700);
  --accent-soft: var(--p-50);
  --accent-line: var(--p-100);
  --font-head: "Poppins", system-ui, sans-serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 22px;
  --sh-sm: 0 1px 2px rgba(18,44,60,.06), 0 1px 3px rgba(18,44,60,.04);
  --sh-md: 0 4px 14px rgba(18,44,60,.07), 0 1px 4px rgba(18,44,60,.05);
  --sh-lg: 0 18px 48px rgba(18,44,60,.12), 0 4px 12px rgba(18,44,60,.06);
  --ease: cubic-bezier(.22,.61,.36,1);
}

body {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* reference container gutters come from theme.json root padding */

/* ============================================================
   GENERIC HELPERS
   ============================================================ */
.nsh-section { padding-top: clamp(30px, 8vw, 104px); padding-bottom: clamp(30px, 8vw, 104px); }
.nsh-section-sm { padding-top: clamp(40px, 5vw, 62px); padding-bottom: clamp(40px, 5vw, 62px); }

/* kicker / eyebrow */
.nsh-kicker {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.nsh-kicker::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--stone-500);
  display: inline-block;
}
.nsh-kicker-light { color: #bcd2dd; }

.nsh-lead { font-size: clamp(18px, 1.4vw, 21px); line-height: 1.55; color: var(--body); }
.nsh-display { font-size: clamp(40px, 5vw, 56px) !important; line-height: 1.06 !important; letter-spacing: -0.02em; }

/* ============================================================
   BUTTONS
   ============================================================ */
.wp-block-button .wp-block-button__link {
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease), transform .15s var(--ease);
  line-height: 1;
}
.wp-block-button .wp-block-button__link:active { transform: translateY(1px); }

.is-style-nsh-ghost .wp-block-button__link {
  background: #fff;
  color: var(--accent);
  border: 1.5px solid var(--line-strong);
}
.is-style-nsh-ghost .wp-block-button__link:hover {
  border-color: var(--accent);
  color: var(--accent-strong);
  background: var(--accent-soft);
}
.is-style-nsh-outline-light .wp-block-button__link {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.5);
}
.is-style-nsh-outline-light .wp-block-button__link:hover {
  background: rgba(255,255,255,.12);
  border-color: #fff;
  color: #fff;
}
.nsh-btn-lg .wp-block-button__link { padding: 16px 28px; font-size: 16px; }

/* arrow affordance */
.nsh-btn-arrow .wp-block-button__link::after {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  margin-left: 9px;
  vertical-align: -0.2em;
  background-color: currentColor;
  -webkit-mask: var(--nsh-mask-arrow) center/contain no-repeat;
  mask: var(--nsh-mask-arrow) center/contain no-repeat;
  transition: transform .2s var(--ease);
}
.nsh-btn-arrow .wp-block-button__link:hover::after { transform: translateX(3px); }

/* text link with arrow */
.nsh-tlink a {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  color: var(--accent);
  text-decoration: none;
}
.nsh-tlink a::after {
  content: "";
  display: inline-block;
  width: 17px;
  height: 17px;
  margin-left: 7px;
  vertical-align: -0.2em;
  background-color: currentColor;
  -webkit-mask: var(--nsh-mask-arrow) center/contain no-repeat;
  mask: var(--nsh-mask-arrow) center/contain no-repeat;
  transition: transform .2s var(--ease);
}
.nsh-tlink a:hover::after { transform: translateX(3px); }

/* ============================================================
   CARDS
   ============================================================ */
.nsh-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: box-shadow .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.nsh-card-hover:hover { box-shadow: var(--sh-lg); transform: translateY(-3px); }

/* ============================================================
   TOPBAR
   ============================================================ */
.nsh-topbar { background: var(--p-900); color: #b7c7d1; font-size: 13px; }
.nsh-topbar .nsh-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 40px;
  flex-wrap: wrap;
  gap: 6px;
}
.nsh-topbar a { color: #b7c7d1; text-decoration: none; transition: color .15s; }
.nsh-topbar a:hover { color: #fff; }
.nsh-topbar p { margin: 0; }
.nsh-topbar-left { display: flex; align-items: center; gap: 18px; }
.nsh-topbar-right { font-family: var(--font-head); font-weight: 600; letter-spacing: .02em; }

/* ============================================================
   HEADER
   ============================================================ */
header.wp-block-template-part {
  position: sticky;
  top: -40px;
  z-index: 60;
}
.nsh-header {
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nsh-header-inner { display: flex; align-items: center; gap: 30px; min-height: 76px; }
.nsh-header .wp-block-site-logo img {
  height: 54px;
  width: 54px;
  object-fit: contain;
  border-radius: 9px;
}
/* classic menu (wp_nav_menu) base */
.nsh-menu .nsh-menu-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.nsh-menu .nsh-menu-list a { text-decoration: none; }

.nsh-header .nsh-menu-list a,
.nsh-header .wp-block-navigation a {
  position: relative;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14.5px;
  color: var(--body);
  padding: 10px 15px;
  border-radius: var(--r-sm);
  transition: color .15s;
}
.nsh-header .nsh-menu-list a::after,
.nsh-header .wp-block-navigation a::after {
  content: "";
  position: absolute;
  left: 15px; right: 15px; bottom: 4px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s var(--ease);
}
.nsh-header .nsh-menu-list a:hover,
.nsh-header .wp-block-navigation a:hover { color: var(--accent); }
.nsh-header .nsh-menu-list a:hover::after,
.nsh-header .wp-block-navigation a:hover::after { transform: scaleX(.5); }
.nsh-header .nsh-menu-list .current-menu-item > a,
.nsh-header .wp-block-navigation .current-menu-item > a { color: var(--accent); }
.nsh-header .nsh-menu-list .current-menu-item > a::after,
.nsh-header .wp-block-navigation .current-menu-item > a::after { transform: scaleX(1); }
.nsh-header-inner > .nsh-header-cta,
.nsh-header-cta { margin-left: auto !important; display: flex; align-items: center; gap: 14px; }

/* ============================================================
   FOOTER
   ============================================================ */
.nsh-footer { background: var(--p-900); color: #c9d6de; }
.nsh-footer .wp-block-site-logo img { width: 124px; height: auto; opacity: .9; }
.nsh-footer h5,
.nsh-footer .nsh-footer-h {
  color: #fff;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin: 0 0 16px;
  font-weight: 600;
  font-family: var(--font-head);
}
.nsh-footer a { color: #a9bcc7; text-decoration: none; font-size: 15px; transition: color .15s; }
.nsh-footer a:hover { color: #fff; }
.nsh-footer .wp-block-navigation { display: block; }
.nsh-footer .wp-block-navigation .wp-block-navigation-item { display: block; padding: 5px 0; }
.nsh-footer .nsh-menu-list { display: block; }
.nsh-footer .nsh-menu-list li { display: block; padding: 5px 0; }
.nsh-footer p { color: #a9bcc7; }
.nsh-footer-tagline { max-width: 300px; font-size: 15.5px; }
.nsh-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  margin-top: 56px;
  padding-top: 24px;
  padding-bottom: 24px;
  font-size: 13.5px;
  color: #8aa0ac;
}
.nsh-footer-bottom p, .nsh-footer-bottom a { color: #8aa0ac; font-size: 13.5px; }
.nsh-footer-bottom a:hover { color: #fff; }

/* footer column proportions (kept out of markup — no inline CSS) */
@media (min-width: 901px) {
  .nsh-footer-cols > .wp-block-column:nth-child(1) { flex-basis: 38%; }
  .nsh-footer-cols > .wp-block-column:nth-child(2) { flex-basis: 19%; }
  .nsh-footer-cols > .wp-block-column:nth-child(3) { flex-basis: 19%; }
  .nsh-footer-cols > .wp-block-column:nth-child(4) { flex-basis: 24%; }
}

/* ============================================================
   HERO (split layout)
   ============================================================ */
.nsh-hero { background: linear-gradient(160deg, var(--p-50) 0%, #fff 60%); }
.nsh-hero-inner { padding-top: clamp(56px, 7vw, 92px); padding-bottom: clamp(56px, 7vw, 92px); }
.nsh-hero h1 { font-size: clamp(40px, 5vw, 56px); line-height: 1.06; letter-spacing: -0.02em; }
.nsh-hero-sub { max-width: 520px; }
.nsh-hero-trust { display: flex; gap: 26px; flex-wrap: wrap; align-items: center; }
.nsh-hero-trust p {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  color: var(--muted);
  font-size: 14.5px;
  font-family: var(--font-head);
  font-weight: 600;
  margin: 0;
}

/* brand panel (right side of hero) */
.nsh-brand-panel {
  position: relative;
  min-height: 520px;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: linear-gradient(155deg, var(--p-600) 0%, var(--p-800) 55%, var(--p-900) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 32px;
  text-align: center;
}
.nsh-brand-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.10) 1.2px, transparent 1.2px);
  background-size: 24px 24px;
  opacity: .6;
}
.nsh-brand-panel::after {
  content: "";
  position: absolute;
  width: 460px; height: 460px;
  right: -150px; top: -150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(134,170,191,.35), transparent 65%);
}
.nsh-brand-panel .wp-block-image { position: relative; z-index: 2; margin: 0; }
.nsh-brand-panel .wp-block-image img { width: 132px; height: auto; filter: drop-shadow(0 12px 28px rgba(0,0,0,.28)); }
.nsh-brand-panel-rule { width: 44px; height: 2px; background: var(--stone-500); border-radius: 2px; position: relative; z-index: 2; }
.nsh-brand-panel-label {
  position: relative; z-index: 2;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--stone-500);
  max-width: 280px;
  line-height: 1.5;
  margin: 0;
}

/* floating 24/7 card over the hero panel */
.nsh-hero-float {
  position: absolute;
  left: -28px;
  bottom: 36px;
  z-index: 3;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.nsh-hero-panel-wrap { position: relative; }
.nsh-hero-float-title { font-family: var(--font-head); font-weight: 800; color: var(--ink); font-size: 17px; margin: 0; }
.nsh-hero-float a { color: var(--accent); font-weight: 600; font-family: var(--font-head); font-size: 15px; text-decoration: none; }

/* ============================================================
   ICON BADGE (generic, replaces emoji squares)
   ============================================================ */
.nsh-ico {
  width: 52px;
  height: 52px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 24px;
}
.nsh-ico p { margin: 0; line-height: 1; display: flex; }
.nsh-ico .nsh-i { width: 27px; height: 27px; }
.nsh-ico-clin { background: var(--clin-100); color: var(--clin-700); }

/* ============================================================
   AUDIENCE SPLIT (track cards)
   ============================================================ */
.nsh-split { gap: 26px; }
.nsh-track {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  transition: box-shadow .3s var(--ease), transform .3s var(--ease);
  display: flex;
  flex-direction: column;
  padding: 0;
  text-align: left;
}
.nsh-track:hover { box-shadow: var(--sh-lg); transform: translateY(-3px); }
.nsh-track::before { content: ""; display: block; height: 4px; }
.nsh-track-fac::before { background: var(--p-500); }
.nsh-track-clin::before { background: var(--p-500); }
.nsh-track-body { padding: 36px; display: flex; flex-direction: column; gap: 16px; flex: 1; }
.nsh-track-tag {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin: 0;
}
.nsh-track-fac .nsh-track-tag { color: var(--p-500); }
.nsh-track-clin .nsh-track-tag { color: var(--p-500); }
.nsh-track h3 { font-size: clamp(21px, 1.7vw, 25px); line-height: 1.3; }
.nsh-track .wp-block-buttons { margin-top: auto; padding-top: 14px; }

/* clinician button variant */
.is-style-nsh-clin .wp-block-button__link { background: var(--clin-500); color: #fff; }
.is-style-nsh-clin .wp-block-button__link:hover { background: var(--clin-700); }

/* ============================================================
   WHAT WE DO (stone band)
   ============================================================ */
.nsh-whatwedo {
  background: var(--stone-50);
  border-top: 1px solid var(--stone-300);
  border-bottom: 1px solid var(--stone-300);
}
.nsh-whatwedo .nsh-lead { font-size: 19px; }

/* ============================================================
   SERVICES SNAPSHOT (two checklist cards)
   ============================================================ */
.nsh-services-card { padding: 32px; }
.nsh-services-card .nsh-svc-head { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.nsh-services-card .nsh-svc-head h3 { margin: 0; }
.nsh-checklist { list-style: none; margin: 0; padding: 0; }
.nsh-checklist li {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 500;
  color: var(--ink);
}
.nsh-checklist li::before {
  content: "";
  width: 18px;
  height: 18px;
  flex: none;
  background-color: var(--p-500);
  -webkit-mask: var(--nsh-mask-check) center/contain no-repeat;
  mask: var(--nsh-mask-check) center/contain no-repeat;
}
.nsh-checklist-clin li::before { background-color: var(--clin-500); }
.nsh-services-card .nsh-tlink { margin-top: 22px; }

/* ============================================================
   WHY US (dark feature grid)
   ============================================================ */
.nsh-whyus { background: var(--p-900); }
.nsh-whyus h2 { color: #fff; }
.nsh-feat {
  padding: 28px;
  border-radius: var(--r-lg);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  transition: border-color .2s, box-shadow .2s;
}
.nsh-feat:hover { border-color: rgba(255,255,255,.25); box-shadow: var(--sh-md); }
.nsh-feat .nsh-ico { width: 46px; height: 46px; border-radius: 11px; background: rgba(255,255,255,.08); color: #bcd2dd; margin-bottom: 18px; }
.nsh-feat h3 { color: #fff; font-size: 19px; margin: 0 0 10px; }
.nsh-feat p { color: #9fb4bf; font-size: 15.5px; margin: 0; }

/* ============================================================
   CREDENTIALING TEASER
   ============================================================ */
.nsh-cred {
  padding: clamp(28px, 4vw, 48px);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: linear-gradient(120deg, var(--p-50), #fff);
  align-items: center;
}
.nsh-cred-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}
.nsh-cred-item .nsh-ico { width: 42px; height: 42px; border-radius: 10px; font-size: 20px; }
.nsh-cred-item p {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--ink);
  font-size: 16.5px;
  margin: 0;
}
.nsh-cred-item::after {
  content: "";
  width: 22px;
  height: 22px;
  margin-left: auto;
  background-color: var(--accent);
  -webkit-mask: var(--nsh-mask-checkcircle) center/contain no-repeat;
  mask: var(--nsh-mask-checkcircle) center/contain no-repeat;
}

/* ============================================================
   DUAL CTA BAND
   ============================================================ */
.nsh-cta-fac, .nsh-cta-clin {
  border-radius: var(--r-xl);
  padding: clamp(36px, 4vw, 52px) clamp(26px, 3.5vw, 44px);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.nsh-cta-fac { background: var(--p-700); }
.nsh-cta-clin { background: var(--clin-700); }
.nsh-cta-fac h3, .nsh-cta-clin h3 { color: #fff; font-size: clamp(27px, 2.6vw, 35px); margin-top: 12px; }
.nsh-cta-fac p, .nsh-cta-clin p { color: rgba(255,255,255,.8); margin-top: 12px; max-width: 360px; }
.nsh-cta-fac .nsh-track-tag { color: #bcd2dd; }
.nsh-cta-clin .nsh-track-tag { color: #b6cdda; }
.nsh-cta-fac .wp-block-buttons, .nsh-cta-clin .wp-block-buttons { margin-top: 26px; }

/* ============================================================
   CONTACT BAND
   ============================================================ */
.nsh-contact {
  background: var(--stone-50);
  border-top: 1px solid var(--stone-300);
}
.nsh-contact-list { display: flex; flex-direction: column; gap: 4px; margin-top: 30px; }
.nsh-contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 0;
}
.nsh-contact-item .nsh-ico {
  width: 44px; height: 44px;
  border-radius: 11px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--accent);
  font-size: 18px;
}
.nsh-contact-item p, .nsh-contact-item a {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--ink);
  font-size: 16.5px;
  word-break: break-word;
  text-decoration: none;
  margin: 0;
}
.nsh-contact-247 {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  margin-top: 18px;
  color: var(--clin-700);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
}
.nsh-contact-picker { padding: clamp(24px, 3vw, 40px); }
.nsh-contact-choice {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px;
  text-align: left;
  text-decoration: none;
  border: 1px solid var(--p-100);
  border-radius: var(--r-lg);
  background: #fff;
  transition: box-shadow .25s var(--ease), transform .25s var(--ease);
}
.nsh-contact-choice:hover { box-shadow: var(--sh-md); transform: translateY(-2px); }
.nsh-contact-choice-clin { border-color: var(--clin-100); }
.nsh-contact-choice-title { font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: 18px; margin: 0; }
.nsh-contact-choice-sub { color: var(--muted); font-size: 14.5px; margin: 0; }

/* ============================================================
   OPPORTUNITIES (job board)
   ============================================================ */
.nsh-page-hero {
  background: linear-gradient(160deg, var(--p-50) 0%, #fff 70%);
  padding-top: clamp(48px, 6vw, 72px);
  padding-bottom: clamp(48px, 6vw, 72px);
}
.nsh-opp-grid { gap: 22px; }
.nsh-opp-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: box-shadow .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
}
.nsh-opp-card:hover { box-shadow: var(--sh-lg); transform: translateY(-3px); border-color: var(--accent-line); }
.nsh-opp-card .wp-block-post-title { font-size: 20px; line-height: 1.3; margin: 0; }
.nsh-opp-card .wp-block-post-title a { color: var(--ink); text-decoration: none; }
.nsh-opp-card .wp-block-post-title a:hover { color: var(--accent); }
.nsh-opp-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.nsh-opp-meta .wp-block-post-terms {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: .04em;
}
.nsh-opp-meta .wp-block-post-terms a {
  display: inline-flex;
  align-items: center;
  background: var(--accent-soft);
  color: var(--accent-strong);
  border-radius: 999px;
  padding: 4px 12px;
  text-decoration: none;
}
.nsh-opp-card .wp-block-post-excerpt { color: var(--muted); font-size: 15.5px; }
.nsh-opp-card .wp-block-post-excerpt__more-link {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}
.nsh-opp-card .wp-block-buttons { margin-top: auto; padding-top: 12px; }

/* single opportunity */
.nsh-opp-single-meta { display: flex; flex-wrap: wrap; gap: 10px; }
.nsh-opp-single-meta .wp-block-post-terms a {
  display: inline-flex;
  background: var(--accent-soft);
  color: var(--accent-strong);
  border-radius: 999px;
  padding: 5px 14px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 13px;
  text-decoration: none;
}

/* pagination */
.nsh-opp-pagination { margin-top: 48px; }
.nsh-opp-pagination a, .nsh-opp-pagination .page-numbers {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--accent);
}

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  .nsh-reveal { opacity: 0; transform: translateY(16px); }
  .nsh-reveal.in {
    opacity: 1;
    transform: none;
    transition: opacity .6s var(--ease), transform .6s var(--ease);
  }
}

/* editor: no JS reveal runs there — always show sections */
.editor-styles-wrapper .nsh-reveal,
.block-editor-block-list__layout .nsh-reveal {
  opacity: 1 !important;
  transform: none !important;
}

/* ============================================================
   RESPONSIVE — authored for WP block markup
   ============================================================ */

/* Tablet ≤1024px */
@media (max-width: 1024px) {
  .nsh-brand-panel { min-height: 420px; }
  .nsh-hero-float { left: 0; bottom: 20px; }
}

/* Mobile/tablet ≤900px (design's main breakpoint) */
@media (max-width: 900px) {
  body { font-size: 16px; }

  /* columns collapse */
  .nsh-split.wp-block-columns,
  .nsh-cta-band.wp-block-columns,
  .nsh-services-cols.wp-block-columns,
  .nsh-contact.wp-block-columns,
  .nsh-contact-cols.wp-block-columns,
  .nsh-cred-cols.wp-block-columns,
  .nsh-whatwedo-cols.wp-block-columns,
  .nsh-hero-cols.wp-block-columns {
    flex-wrap: wrap !important;
  }
  .nsh-split.wp-block-columns > .wp-block-column,
  .nsh-cta-band.wp-block-columns > .wp-block-column,
  .nsh-services-cols.wp-block-columns > .wp-block-column,
  .nsh-contact-cols.wp-block-columns > .wp-block-column,
  .nsh-cred-cols.wp-block-columns > .wp-block-column,
  .nsh-whatwedo-cols.wp-block-columns > .wp-block-column,
  .nsh-hero-cols.wp-block-columns > .wp-block-column {
    flex-basis: 100% !important;
  }

  /* feature grid 3 → 1 */
  .nsh-feature-grid.wp-block-columns { flex-wrap: wrap !important; }
  .nsh-feature-grid.wp-block-columns > .wp-block-column { flex-basis: 100% !important; }

  /* hero */
  .nsh-hero-inner { padding-top: 48px; padding-bottom: 48px; }
  .nsh-hero-sub { max-width: 100%; }
  .nsh-brand-panel { min-height: 340px; margin-top: 28px; }
  .nsh-hero-float { position: static; margin-top: 14px; box-shadow: var(--sh-md); }

  /* track cards */
  .nsh-track-body { padding: 26px 22px; }

  /* topbar hidden on mobile — its content appears inside the toggle menu */
  .nsh-topbar { display: none; }

  /* header CTAs hidden on mobile; menu becomes a toggled dropdown */
  .nsh-header-cta .wp-block-buttons { display: none; }
  .nsh-header { position: relative; }
  .nsh-header .nsh-menu { display: none; }
  .nsh-nav-toggle { display: inline-flex; }
  .nsh-nav-open .nsh-header .nsh-menu {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--sh-md);
    padding: 10px 15px 16px;
    z-index: 70;
  }
  .nsh-nav-open .nsh-header .nsh-menu .nsh-menu-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .nsh-nav-open .nsh-header .nsh-menu .nsh-menu-list a {
    display: block;
    padding: 13px 10px;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }
  .nsh-nav-open .nsh-header .nsh-menu .nsh-menu-list li:last-child a { border-bottom: 0; }
  .nsh-nav-open .nsh-header .nsh-menu .nsh-menu-list a::after { display: none; }
  .nsh-header-inner { min-height: 64px; gap: 16px; }
  .nsh-header .wp-block-site-logo img { height: 44px; width: 44px; }

  /* opportunities grid 3 → 1 */
  .nsh-opp-grid.wp-block-post-template { grid-template-columns: 1fr !important; }

  /* footer grid collapses */
  .nsh-footer-cols.wp-block-columns { flex-wrap: wrap !important; }
  .nsh-footer-cols.wp-block-columns > .wp-block-column { flex-basis: 100% !important; }
  .nsh-footer-bottom { margin-top: 32px; }

  /* dual CTA cards stack with smaller padding */
  .nsh-cta-fac, .nsh-cta-clin { padding: 34px 24px; }
}

/* Small phones ≤600px */
@media (max-width: 600px) {
  .nsh-hero h1 { font-size: 34px; }
  .nsh-brand-panel { min-height: 280px; padding: 22px; }
  .nsh-track-body { padding: 22px 18px; }
  .nsh-services-card { padding: 22px 18px; }
  .nsh-feat { padding: 22px 18px; }
  .nsh-opp-card { padding: 20px 16px; }
  .nsh-cred { padding: 22px 16px; }
  .nsh-contact-choice { padding: 16px; gap: 12px; }
  .nsh-hero-trust { gap: 14px; }
}

/* WP grid for opportunities listing (3-col desktop, 2-col tablet) */
.nsh-opp-grid.wp-block-post-template {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 1024px) and (min-width: 901px) {
  .nsh-opp-grid.wp-block-post-template { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   ICONS (CSS mask, currentColor) — generated from design icon set
   ============================================================ */
.nsh-i{display:inline-block;width:1.15em;height:1.15em;background-color:currentColor;vertical-align:-0.2em;flex:none;}
.nsh-i-phone{-webkit-mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M14.5%203.5a5%205%200%200%201%206%206M13.7%206.4a2.5%202.5%200%200%201%203%203M4.5%205.5c-.6%205.5%208.5%2014.6%2014%2014%201.2-.1%202-1%202-2.2v-1.8a1.5%201.5%200%200%200-1.2-1.5l-2.5-.5a1.5%201.5%200%200%200-1.5.6l-.6.9a11%2011%200%200%201-4.7-4.7l.9-.6a1.5%201.5%200%200%200%20.6-1.5l-.5-2.5A1.5%201.5%200%200%200%208.3%204.5H6.5c-1.1%200-2%20.9-2%202Z%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M14.5%203.5a5%205%200%200%201%206%206M13.7%206.4a2.5%202.5%200%200%201%203%203M4.5%205.5c-.6%205.5%208.5%2014.6%2014%2014%201.2-.1%202-1%202-2.2v-1.8a1.5%201.5%200%200%200-1.2-1.5l-2.5-.5a1.5%201.5%200%200%200-1.5.6l-.6.9a11%2011%200%200%201-4.7-4.7l.9-.6a1.5%201.5%200%200%200%20.6-1.5l-.5-2.5A1.5%201.5%200%200%200%208.3%204.5H6.5c-1.1%200-2%20.9-2%202Z%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;}
.nsh-i-mail{-webkit-mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%222.5%22%20y%3D%224.5%22%20width%3D%2219%22%20height%3D%2215%22%20rx%3D%222.5%22%2F%3E%3Cpath%20d%3D%22m3%206%209%206%209-6%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%222.5%22%20y%3D%224.5%22%20width%3D%2219%22%20height%3D%2215%22%20rx%3D%222.5%22%2F%3E%3Cpath%20d%3D%22m3%206%209%206%209-6%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;}
.nsh-i-pin{-webkit-mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M20%2010c0%205-8%2011-8%2011s-8-6-8-11a8%208%200%200%201%2016%200Z%22%2F%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2210%22%20r%3D%222.6%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M20%2010c0%205-8%2011-8%2011s-8-6-8-11a8%208%200%200%201%2016%200Z%22%2F%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2210%22%20r%3D%222.6%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;}
.nsh-i-arrow{-webkit-mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M5%2012h14M13%206l6%206-6%206%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M5%2012h14M13%206l6%206-6%206%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;}
.nsh-i-check{-webkit-mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M5%2012.5%2010%2017.5%2019.5%206.5%22%20stroke-width%3D%222%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M5%2012.5%2010%2017.5%2019.5%206.5%22%20stroke-width%3D%222%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;}
.nsh-i-checkCircle{-webkit-mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%229%22%2F%3E%3Cpath%20d%3D%22m8.5%2012%202.5%202.5L16%209%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%229%22%2F%3E%3Cpath%20d%3D%22m8.5%2012%202.5%202.5L16%209%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;}
.nsh-i-building{-webkit-mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%2021V6a2%202%200%200%201%202-2h7a2%202%200%200%201%202%202v15%22%2F%3E%3Cpath%20d%3D%22M15%209h3a2%202%200%200%201%202%202v10%22%2F%3E%3Cpath%20d%3D%22M2.5%2021h19%22%2F%3E%3Cpath%20d%3D%22M8%208h3M8%2012h3M8%2016h3%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%2021V6a2%202%200%200%201%202-2h7a2%202%200%200%201%202%202v15%22%2F%3E%3Cpath%20d%3D%22M15%209h3a2%202%200%200%201%202%202v10%22%2F%3E%3Cpath%20d%3D%22M2.5%2021h19%22%2F%3E%3Cpath%20d%3D%22M8%208h3M8%2012h3M8%2016h3%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;}
.nsh-i-stethoscope{-webkit-mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M5%203v5a4%204%200%200%200%208%200V3%22%2F%3E%3Cpath%20d%3D%22M5%203H3.5M13%203h1.5%22%2F%3E%3Cpath%20d%3D%22M9%2016a5%205%200%200%200%2010%200v-2%22%2F%3E%3Ccircle%20cx%3D%2219%22%20cy%3D%2211%22%20r%3D%222.4%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M5%203v5a4%204%200%200%200%208%200V3%22%2F%3E%3Cpath%20d%3D%22M5%203H3.5M13%203h1.5%22%2F%3E%3Cpath%20d%3D%22M9%2016a5%205%200%200%200%2010%200v-2%22%2F%3E%3Ccircle%20cx%3D%2219%22%20cy%3D%2211%22%20r%3D%222.4%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;}
.nsh-i-shield{-webkit-mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%203%205%206v5c0%204.5%203%207.7%207%209%204-1.3%207-4.5%207-9V6l-7-3Z%22%2F%3E%3Cpath%20d%3D%22m9%2012%202%202%204-4%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%203%205%206v5c0%204.5%203%207.7%207%209%204-1.3%207-4.5%207-9V6l-7-3Z%22%2F%3E%3Cpath%20d%3D%22m9%2012%202%202%204-4%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;}
.nsh-i-clock{-webkit-mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%229%22%2F%3E%3Cpath%20d%3D%22M12%207.5V12l3%202%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%229%22%2F%3E%3Cpath%20d%3D%22M12%207.5V12l3%202%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;}
.nsh-i-award{-webkit-mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%229%22%20r%3D%225.5%22%2F%3E%3Cpath%20d%3D%22m8.5%2013.5-1.5%207%205-2.5%205%202.5-1.5-7%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%229%22%20r%3D%225.5%22%2F%3E%3Cpath%20d%3D%22m8.5%2013.5-1.5%207%205-2.5%205%202.5-1.5-7%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;}
.nsh-i-fileCheck{-webkit-mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M14%203H7a2%202%200%200%200-2%202v14a2%202%200%200%200%202%202h10a2%202%200%200%200%202-2V8Z%22%2F%3E%3Cpath%20d%3D%22M14%203v5h5%22%2F%3E%3Cpath%20d%3D%22m9%2014%202%202%204-4%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M14%203H7a2%202%200%200%200-2%202v14a2%202%200%200%200%202%202h10a2%202%200%200%200%202-2V8Z%22%2F%3E%3Cpath%20d%3D%22M14%203v5h5%22%2F%3E%3Cpath%20d%3D%22m9%2014%202%202%204-4%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;}
.nsh-i-users{-webkit-mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%229%22%20cy%3D%228%22%20r%3D%223.2%22%2F%3E%3Cpath%20d%3D%22M3.5%2020a5.5%205.5%200%200%201%2011%200%22%2F%3E%3Cpath%20d%3D%22M16%205.3a3.2%203.2%200%200%201%200%206.2M17.5%2014.2A5.5%205.5%200%200%201%2020.5%2019%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%229%22%20cy%3D%228%22%20r%3D%223.2%22%2F%3E%3Cpath%20d%3D%22M3.5%2020a5.5%205.5%200%200%201%2011%200%22%2F%3E%3Cpath%20d%3D%22M16%205.3a3.2%203.2%200%200%201%200%206.2M17.5%2014.2A5.5%205.5%200%200%201%2020.5%2019%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;}
.nsh-i-rocket{-webkit-mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M5%2015c-1.5%201-2%204-2%204s3-.5%204-2a2.1%202.1%200%200%200-2-2Z%22%2F%3E%3Cpath%20d%3D%22M9%2013c5-7%209-9%2011.5-9%200%202.5-2%206.5-9%2011.5%22%2F%3E%3Cpath%20d%3D%22M9%2013l-2.5-.5L11%208m2%205%20.5%202.5L17%2011%22%2F%3E%3Ccircle%20cx%3D%2214.5%22%20cy%3D%229.5%22%20r%3D%221.2%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M5%2015c-1.5%201-2%204-2%204s3-.5%204-2a2.1%202.1%200%200%200-2-2Z%22%2F%3E%3Cpath%20d%3D%22M9%2013c5-7%209-9%2011.5-9%200%202.5-2%206.5-9%2011.5%22%2F%3E%3Cpath%20d%3D%22M9%2013l-2.5-.5L11%208m2%205%20.5%202.5L17%2011%22%2F%3E%3Ccircle%20cx%3D%2214.5%22%20cy%3D%229.5%22%20r%3D%221.2%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;}
.nsh-i-handshake{-webkit-mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m11%2017%202%202a1.4%201.4%200%200%200%202-2%22%2F%3E%3Cpath%20d%3D%22m13%2017%202.5%202.5a1.4%201.4%200%200%200%202-2L14%2014%22%2F%3E%3Cpath%20d%3D%22m21%2010-4.5-4.5a2%202%200%200%200-1.4-.6H13L9%208%22%2F%3E%3Cpath%20d%3D%22M3%2013.5%207%2017M3%209l4-4%203%203-2.5%202.5a1.8%201.8%200%200%201-2.5%200%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m11%2017%202%202a1.4%201.4%200%200%200%202-2%22%2F%3E%3Cpath%20d%3D%22m13%2017%202.5%202.5a1.4%201.4%200%200%200%202-2L14%2014%22%2F%3E%3Cpath%20d%3D%22m21%2010-4.5-4.5a2%202%200%200%200-1.4-.6H13L9%208%22%2F%3E%3Cpath%20d%3D%22M3%2013.5%207%2017M3%209l4-4%203%203-2.5%202.5a1.8%201.8%200%200%201-2.5%200%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;}
.nsh-i-target{-webkit-mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%228.5%22%2F%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%224.5%22%2F%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%221%22%20fill%3D%22black%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%228.5%22%2F%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%224.5%22%2F%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%221%22%20fill%3D%22black%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;}
.nsh-i-headset{-webkit-mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%2014v-2a8%208%200%200%201%2016%200v2%22%2F%3E%3Cpath%20d%3D%22M4%2014a2%202%200%200%201%202-2h1v6H6a2%202%200%200%201-2-2Zm16%200a2%202%200%200%200-2-2h-1v6h1a2%202%200%200%200%202-2Z%22%2F%3E%3Cpath%20d%3D%22M20%2017v1a3%203%200%200%201-3%203h-3%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%2014v-2a8%208%200%200%201%2016%200v2%22%2F%3E%3Cpath%20d%3D%22M4%2014a2%202%200%200%201%202-2h1v6H6a2%202%200%200%201-2-2Zm16%200a2%202%200%200%200-2-2h-1v6h1a2%202%200%200%200%202-2Z%22%2F%3E%3Cpath%20d%3D%22M20%2017v1a3%203%200%200%201-3%203h-3%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;}
.nsh-i-facebook{-webkit-mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20fill%3D%22black%22%20stroke%3D%22none%22%20d%3D%22M14%209V7.5c0-.7.4-1%201.1-1H16.5V4h-2.3C11.8%204%2010.5%205.4%2010.5%207.4V9H8.5v2.6h2v8h2.9v-8h2.2l.4-2.6H13.4Z%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20fill%3D%22black%22%20stroke%3D%22none%22%20d%3D%22M14%209V7.5c0-.7.4-1%201.1-1H16.5V4h-2.3C11.8%204%2010.5%205.4%2010.5%207.4V9H8.5v2.6h2v8h2.9v-8h2.2l.4-2.6H13.4Z%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;}
.nsh-i-instagram{-webkit-mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%224%22%20y%3D%224%22%20width%3D%2216%22%20height%3D%2216%22%20rx%3D%225%22%2F%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%223.6%22%2F%3E%3Ccircle%20cx%3D%2217%22%20cy%3D%227%22%20r%3D%221%22%20fill%3D%22black%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%224%22%20y%3D%224%22%20width%3D%2216%22%20height%3D%2216%22%20rx%3D%225%22%2F%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%223.6%22%2F%3E%3Ccircle%20cx%3D%2217%22%20cy%3D%227%22%20r%3D%221%22%20fill%3D%22black%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;}
.nsh-i-linkedin{-webkit-mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%224%22%20y%3D%224%22%20width%3D%2216%22%20height%3D%2216%22%20rx%3D%223%22%2F%3E%3Cpath%20d%3D%22M8%2010.5V16M8%207.6v.1M11.5%2016v-3.2a1.8%201.8%200%200%201%203.6%200V16%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%224%22%20y%3D%224%22%20width%3D%2216%22%20height%3D%2216%22%20rx%3D%223%22%2F%3E%3Cpath%20d%3D%22M8%2010.5V16M8%207.6v.1M11.5%2016v-3.2a1.8%201.8%200%200%201%203.6%200V16%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;}

/* ============================================================
   REFERENCE-MATCH REFINEMENTS
   ============================================================ */
/* mask vars used by pseudo-elements */
:root {
  --nsh-mask-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
  --nsh-mask-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5 10 17.5 19.5 6.5'/%3E%3C/svg%3E");
  --nsh-mask-checkcircle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='m8.5 12 2.5 2.5L16 9'/%3E%3C/svg%3E");
  --nsh-mask-building: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 21V6a2 2 0 0 1 2-2h7a2 2 0 0 1 2 2v15'/%3E%3Cpath d='M15 9h3a2 2 0 0 1 2 2v10'/%3E%3Cpath d='M2.5 21h19'/%3E%3Cpath d='M8 8h3M8 12h3M8 16h3'/%3E%3C/svg%3E");
  --nsh-mask-steth: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 3v5a4 4 0 0 0 8 0V3'/%3E%3Cpath d='M5 3H3.5M13 3h1.5'/%3E%3Cpath d='M9 16a5 5 0 0 0 10 0v-2'/%3E%3Ccircle cx='19' cy='11' r='2.4'/%3E%3C/svg%3E");
}

/* topbar icons tinted like reference */
.nsh-topbar .nsh-i { color: var(--p-300); background-color: var(--p-300); width: 15px; height: 15px; margin-right: 2px; }

/* hero trust icons accent */
.nsh-hero-trust .nsh-i { background-color: var(--accent); width: 18px; height: 18px; }

/* contact 24/7 line clock */
.nsh-contact-247 .nsh-i { background-color: var(--clin-700); width: 18px; height: 18px; }

/* footer contact icons */
.nsh-footer .nsh-i { background-color: #a9bcc7; width: 16px; height: 16px; margin-right: 4px; }

/* why-us dark cards icon tint */
.nsh-feat .nsh-i { background-color: #bcd2dd; }
.nsh-feat .nsh-ico .nsh-i { width: 24px; height: 24px; }

/* footer social icons */
.nsh-footer-social { display: flex; gap: 10px; margin-top: 22px; }
.nsh-footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.16);
  transition: border-color .15s, background .15s;
}
.nsh-footer-social a:hover { border-color: rgba(255,255,255,.45); background: rgba(255,255,255,.06); }
.nsh-footer-social .nsh-i { background-color: #cdd9e0; width: 18px; height: 18px; margin: 0; }

/* dual CTA watermark icons (reference: oversized faded icon bottom-right) */
.nsh-cta-fac::after,
.nsh-cta-clin::after {
  content: "";
  position: absolute;
  right: -16px;
  bottom: -20px;
  width: 120px;
  height: 120px;
  background-color: #fff;
  opacity: .1;
}
.nsh-cta-fac::after  { -webkit-mask: var(--nsh-mask-building) center/contain no-repeat; mask: var(--nsh-mask-building) center/contain no-repeat; }
.nsh-cta-clin::after { -webkit-mask: var(--nsh-mask-steth) center/contain no-repeat; mask: var(--nsh-mask-steth) center/contain no-repeat; opacity: .12; }

/* who-we-serve "cards" mode: both tracks share the brand accent (reference default) */
.nsh-track .nsh-ico-clin { background: var(--accent-soft); }
.nsh-track .nsh-ico-clin .nsh-i { background-color: var(--accent); }
.nsh-track .is-style-nsh-clin .wp-block-button__link { background: var(--accent); }
.nsh-track .is-style-nsh-clin .wp-block-button__link:hover { background: var(--accent-strong); }

/* ============================================================
   REFERENCE GRID RATIOS & GAPS (desktop)
   ============================================================ */
@media (min-width: 901px) {
  /* hero: 1.05fr / .95fr, gap 56 */
  .nsh-hero-cols { gap: 56px !important; }
  .nsh-hero-cols > .wp-block-column:nth-child(1) { flex-basis: 52.5%; flex-grow: 0; }
  .nsh-hero-cols > .wp-block-column:nth-child(2) { flex-basis: 47.5%; flex-grow: 0; }

  /* what we do: .8fr / 1.2fr, gap 56 */
  .nsh-whatwedo-cols { gap: 56px !important; }
  .nsh-whatwedo-cols > .wp-block-column:nth-child(1) { flex-basis: 40%; flex-grow: 0; }
  .nsh-whatwedo-cols > .wp-block-column:nth-child(2) { flex-basis: 60%; flex-grow: 0; }

  /* services snapshot: gap 26 */
  .nsh-services-cols { gap: 26px !important; }

  /* split tracks: gap 26 */
  .nsh-split { gap: 26px !important; }

  /* dual CTA: gap 26 */
  .nsh-cta-band { gap: 26px !important; }

  /* contact: gap 64 */
  .nsh-contact-cols { gap: 64px !important; }

  /* why-us feature grid: gap 22 */
  .nsh-feature-grid { gap: 22px !important; }
  .nsh-feature-grid + .nsh-feature-grid { margin-top: 22px; }

  /* credentialing inner: gap 48 */
  .nsh-cred-cols { gap: 48px !important; }
}

/* space comes from the heading wrapper instead (see nsh-section-head rule) */

/* header shadow once scrolled (toggled by main.js) */
header.wp-block-template-part.nsh-stuck .nsh-header { box-shadow: var(--sh-sm); }

/* ============================================================
   NAV TOGGLE (mobile burger)
   ============================================================ */
.nsh-nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  cursor: pointer;
  flex: none;
}
.nsh-nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .2s var(--ease), opacity .2s var(--ease);
}
.nsh-nav-open .nsh-nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nsh-nav-open .nsh-nav-toggle-bar:nth-child(2) { opacity: 0; }
.nsh-nav-open .nsh-nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 900px) {
  /* toggle sits at the right edge since CTAs are hidden */
  .nsh-header-cta { display: none; }
}

/* ============================================================
   REMOVE DEFAULT BLOCK GAP BETWEEN TEMPLATE SECTIONS
   (white strip between contact band and footer)
   ============================================================ */
.wp-site-blocks > * + * { margin-block-start: 0 !important; }
.wp-site-blocks > main { margin-block-start: 0 !important; }

/* toggle visibility — must come AFTER the base .nsh-nav-toggle rule */
@media (max-width: 900px) {
  .nsh-nav-toggle { display: inline-flex !important; }
}
@media (min-width: 901px) {
  .nsh-nav-toggle { display: none !important; }
}

/* extra items cloned into the mobile dropdown (contact info + CTAs) */
.nsh-menu-extra { display: none; }
.nsh-nav-open .nsh-menu .nsh-menu-extra {
  display: block;
  margin-top: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.nsh-menu-extra a {
  display: flex !important;
  align-items: center;
  gap: 9px;
  padding: 10px !important;
  border-bottom: 0 !important;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14px;
  color: var(--body);
}
.nsh-menu-extra .nsh-i { background-color: var(--accent); width: 16px; height: 16px; }
.nsh-menu-extra .nsh-menu-support {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px;
  font-size: 13px;
  color: var(--muted);
  font-family: var(--font-head);
  font-weight: 600;
}
.nsh-menu-extra .wp-block-buttons,
.nsh-menu-extra .nsh-menu-ctas {
  display: flex;
  gap: 10px;
  padding: 12px 10px 4px;
}
.nsh-menu-extra .nsh-menu-ctas a {
  flex: 1;
  justify-content: center;
  display: inline-flex !important;
  padding: 13px !important;
  border-radius: 8px;
  font-size: 14.5px;
}
.nsh-menu-extra .nsh-menu-cta-ghost { background: #fff; color: var(--accent); border: 1.5px solid var(--line-strong); }
.nsh-menu-extra .nsh-menu-cta-primary { background: var(--accent); color: #fff !important; }

/* mobile menu extras: smaller text, no overflow, full-width buttons */
.nsh-menu-extra a {
  font-size: 13px;
  word-break: break-all;
  text-decoration: none;
}
.nsh-menu-extra .nsh-menu-support { font-size: 12px; }
.nsh-menu-extra .nsh-menu-ctas { flex-direction: column; gap: 8px; }
.nsh-menu-extra .nsh-menu-ctas a {
  width: 100%;
  font-size: 15px;
  word-break: normal;
  text-decoration: none;
  white-space: nowrap;
}

/* mobile menu CTAs: more breathing room */
.nsh-nav-open .nsh-header .nsh-menu { padding-right: 15px; padding-left: 15px; }
.nsh-menu-extra .nsh-menu-ctas {
  gap: 12px;
  padding: 12px 10px 8px;
  box-sizing: border-box;
}
.nsh-menu-extra .nsh-menu-ctas a { box-sizing: border-box; }

/* mobile dropdown: enough bottom padding so the last button isn't clipped */
.nsh-nav-open .nsh-header .nsh-menu { padding-bottom: 24px; }
.nsh-menu-extra .nsh-menu-ctas { padding-bottom: 0; }

/* mobile dropdown: never taller than the viewport — scroll inside the panel */
.nsh-nav-open .nsh-header .nsh-menu {
  max-height: calc(100vh - 90px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* ── mobile menu polish ─────────────────────────────────────── */
/* lock page scroll while the menu is open (panel scrolls instead) */
body.nsh-no-scroll { overflow: hidden; }

/* uniform row spacing: every nav row keeps its divider (Apply included) */
.nsh-nav-open .nsh-header .nsh-menu .nsh-menu-list li:last-child a {
  border-bottom: 1px solid var(--line);
}
/* extras section: no extra divider on top of Apply's, tighter rhythm */
.nsh-nav-open .nsh-menu .nsh-menu-extra {
  border-top: 0;
  margin-top: 4px;
  padding-top: 6px;
}

/* generous bottom room so button border/radius is never flush with the edge */
.nsh-nav-open .nsh-header .nsh-menu { padding-bottom: 28px; }
.nsh-menu-extra .nsh-menu-ctas { padding-bottom: 2px; }

/* the generic extras rule strips border-bottom from ALL anchors —
   restore the CTA buttons' full borders */
.nsh-menu-extra .nsh-menu-ctas .nsh-menu-cta-ghost {
  border: 1.5px solid var(--line-strong) !important;
}
.nsh-menu-extra .nsh-menu-ctas .nsh-menu-cta-primary {
  border: 0 !important;
}

/* ============================================================
   FOOTER — reference spec match
   (72px top / 0 bottom; bottom bar supplies its own 24px,
    1.6fr 1fr 1fr 1.2fr grid, 40px gap, 124px mark)
   ============================================================ */
.nsh-footer.nsh-section {
  padding-top: 72px;
  padding-bottom: 0;
}
.nsh-footer .nsh-footer-mark { margin: 0; }
.nsh-footer .nsh-footer-mark img { width: 124px; height: auto; opacity: .9; }
.nsh-footer-tagline { margin-top: 20px; font-size: 15.5px; max-width: 300px; }

@media (min-width: 901px) {
  .nsh-footer-cols { gap: 40px !important; }
  /* 1.6fr / 1fr / 1fr / 1.2fr of the reference grid */
  .nsh-footer-cols > .wp-block-column:nth-child(1) { flex-basis: 33.3%; flex-grow: 0; }
  .nsh-footer-cols > .wp-block-column:nth-child(2) { flex-basis: 20.8%; flex-grow: 0; }
  .nsh-footer-cols > .wp-block-column:nth-child(3) { flex-basis: 20.8%; flex-grow: 0; }
  .nsh-footer-cols > .wp-block-column:nth-child(4) { flex-basis: 25%; flex-grow: 0; }
}

/* contact rows: icon + text on one flex line (email wraps beside the icon) */
.nsh-footer-cols > .wp-block-column:nth-child(4) p,
.nsh-footer-cols > .wp-block-column:nth-child(4) p a {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}
.nsh-footer-cols > .wp-block-column:nth-child(4) p { padding: 5px 0; margin: 0; }
.nsh-footer-cols > .wp-block-column:nth-child(4) .nsh-i { margin-top: 3px; margin-right: 0; }
.nsh-footer-cols > .wp-block-column:nth-child(4) a { word-break: break-word; }

/* bottom bar: 56px above, 24px padding (reference .footer-bottom) */
.nsh-footer-bottom {
  margin-top: 56px;
  padding-top: 24px;
  padding-bottom: 24px;
}
@media (max-width: 900px) {
  .nsh-footer.nsh-section { padding-top: 48px; }
  .nsh-footer-bottom { margin-top: 32px; }
}

/* ============================================================
   GRID RATIO FIX — fr ratios via flex-grow (percent bases + gaps
   overflowed 100% and pushed the last column off-screen)
   ============================================================ */
@media (min-width: 901px) {
  .nsh-footer-cols > .wp-block-column,
  .nsh-hero-cols > .wp-block-column,
  .nsh-whatwedo-cols > .wp-block-column { flex-basis: 0 !important; }

  .nsh-footer-cols > .wp-block-column:nth-child(1) { flex-grow: 1.6 !important; }
  .nsh-footer-cols > .wp-block-column:nth-child(2) { flex-grow: 1 !important; }
  .nsh-footer-cols > .wp-block-column:nth-child(3) { flex-grow: 1 !important; }
  .nsh-footer-cols > .wp-block-column:nth-child(4) { flex-grow: 1.2 !important; }

  .nsh-hero-cols > .wp-block-column:nth-child(1) { flex-grow: 1.05 !important; }
  .nsh-hero-cols > .wp-block-column:nth-child(2) { flex-grow: 0.95 !important; }

  .nsh-whatwedo-cols > .wp-block-column:nth-child(1) { flex-grow: 0.8 !important; }
  .nsh-whatwedo-cols > .wp-block-column:nth-child(2) { flex-grow: 1.2 !important; }
}

/* footer menu rows: identical rhythm to the contact rows (block links, 5px 0) */
.nsh-footer .nsh-menu-list li { padding: 0; }
.nsh-footer .nsh-menu-list a { display: block; padding: 5px 0; }

/* bottom-bar legal links: 22px apart like the reference */
.nsh-footer-legal { gap: 22px !important; }
.nsh-footer-legal p { margin: 0; }

/* footer fine-tuning per review */
/* 1. no margin-top on footer columns from the generic section rule */
.nsh-footer > .wp-block-columns { margin-top: 0 !important; }
/* 2. footer menu links: padding only below */
.nsh-footer .nsh-menu-list a { padding: 0 0 10px; }
/* 4. contact column: same font size for all rows (plain text matched link rows) */
.nsh-footer-cols > .wp-block-column:nth-child(4) p { font-size: 15px; }

/* centered kickers: inline-flex shrink-wraps and ignores text-align —
   switch to a centered flex row (line + label), like the reference */
.nsh-kicker.has-text-align-center {
  display: flex;
  justify-content: center;
}

/* section-head rhythm per reference: kicker 16px above title, intro 18px below */
.nsh-kicker + .wp-block-heading { margin-top: 16px !important; }
.wp-block-heading + .nsh-lead { margin-top: 18px !important; }

/* reference resets: h1-h5 and p carry no top margin (spacing comes from gaps) */
.nsh-track h3,
.nsh-track p,
.nsh-feat h3,
.nsh-feat p,
.nsh-card h3,
.nsh-card p {
  margin-top: 0;
}
/* dual-CTA keeps the reference's own 12px rhythm (set earlier) */

/* hero floating card: tight line spacing like reference */
.nsh-hero-float p { margin-top: 0 !important; }

/* brand panel: corner glow merged into the panel background,
   freeing ::after for the missing shield watermark (bottom-right, 10%) */
.nsh-brand-panel {
  background:
    radial-gradient(460px circle at calc(100% + 150px) -150px, rgba(134,170,191,.35), transparent 65%),
    linear-gradient(155deg, var(--p-600) 0%, var(--p-800) 55%, var(--p-900) 100%);
}
.nsh-brand-panel::after {
  content: "";
  position: absolute;
  width: 62%;
  max-width: 360px;
  aspect-ratio: 1;
  height: auto;
  right: -56px;
  bottom: -52px;
  top: auto;
  border-radius: 0;
  background: url("../images/logoShield.png") center/contain no-repeat;
  opacity: .1;
}

/* sections stack flush: kill the 24px block-gap margin between top-level sections */
.wp-block-post-content > * + *,
.entry-content > * + * {
  margin-block-start: 0 !important;
}

/* ============================================================
   CONTACT BAND — reference match
   ============================================================ */
/* contact rows: tight stack (10px rows, 4px apart), not block-gap spaced */
.nsh-contact-list { margin-top: 30px !important; }
.nsh-contact-list .nsh-contact-item { margin-top: 0 !important; padding: 10px 0; gap: 16px; }
.nsh-contact-item p { margin: 0 !important; }

/* 24/7 promise line sits close under the list */
.nsh-contact-247 { margin-top: 18px !important; }

/* picker card rhythm: subtext 8px under title, choices 28px below, 16px apart */
.nsh-contact-picker > p { margin-top: 8px !important; color: var(--muted); }
.nsh-contact-choices { margin-top: 28px !important; }
.nsh-contact-choices > .nsh-contact-choice { margin-top: 0 !important; }
.nsh-contact-choices > .nsh-contact-choice + .nsh-contact-choice { margin-top: 16px !important; }
.nsh-contact-choice p { margin: 0 !important; }

/* choice titles: ink, no underline (reference uses plain bold text) */
.nsh-contact-choice-title a {
  color: var(--ink);
  text-decoration: none;
}
.nsh-contact-choice-title a:hover { color: var(--accent); }

/* right-aligned arrow on each choice row (accent / clinician tint) */
.nsh-contact-choice { position: relative; padding-right: 56px; }
.nsh-contact-choice::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background-color: var(--accent);
  -webkit-mask: var(--nsh-mask-arrow) center/contain no-repeat;
  mask: var(--nsh-mask-arrow) center/contain no-repeat;
}
.nsh-contact-choice-clin::after { background-color: var(--clin-500); }

/* title → content space: carried by the heading wrapper, not the content */
.nsh-section > .wp-block-group.nsh-reveal:first-child { margin-bottom: 48px; }
.nsh-feature-grid + .nsh-feature-grid { margin-top: 22px !important; }

/* icon sizes per context — matched to the reference component sizes */
.nsh-contact-item .nsh-ico .nsh-i { width: 20px; height: 20px; }
.nsh-track .nsh-ico .nsh-i { width: 28px; height: 28px; }
.nsh-svc-head .nsh-ico .nsh-i { width: 26px; height: 26px; }
.nsh-contact-choice .nsh-ico .nsh-i { width: 26px; height: 26px; }
.nsh-cred-item .nsh-ico .nsh-i { width: 22px; height: 22px; }
.nsh-hero-float .nsh-ico .nsh-i { width: 24px; height: 24px; }

/* hero CTAs: full width on mobile */
@media (max-width: 600px) {
  .nsh-hero .wp-block-buttons { width: 100%; }
  .nsh-hero .wp-block-buttons .wp-block-button { width: 100%; }
  .nsh-hero .wp-block-buttons .wp-block-button__link { width: 100%; justify-content: center; display: inline-flex; }
}

/* light-tile icons: brand blue #346a8c */
.nsh-contact-item .nsh-ico .nsh-i,
.nsh-contact-choice .nsh-ico .nsh-i,
.nsh-cred-item .nsh-ico .nsh-i,
.nsh-svc-head .nsh-ico .nsh-i,
.nsh-track .nsh-ico .nsh-i,
.nsh-hero-float .nsh-ico .nsh-i {
  background-color: #346a8c;
}

/* ============================================================
   SERVICES PAGE (reference: services.jsx)
   ============================================================ */
/* missing icon masks */
.nsh-i-briefcase {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='7' width='18' height='13' rx='2.5'/%3E%3Cpath d='M8 7V5.5A2.5 2.5 0 0 1 10.5 3h3A2.5 2.5 0 0 1 16 5.5V7'/%3E%3Cpath d='M3 12h18'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='7' width='18' height='13' rx='2.5'/%3E%3Cpath d='M8 7V5.5A2.5 2.5 0 0 1 10.5 3h3A2.5 2.5 0 0 1 16 5.5V7'/%3E%3Cpath d='M3 12h18'/%3E%3C/svg%3E") center/contain no-repeat;
}
.nsh-i-clipboard {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='4' width='14' height='17' rx='2.5'/%3E%3Cpath d='M9 4a1.5 1.5 0 0 1 1.5-1.5h3A1.5 1.5 0 0 1 15 4v.5a1 1 0 0 1-1 1h-4a1 1 0 0 1-1-1Z'/%3E%3Cpath d='M8.5 11h7M8.5 15h5'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='4' width='14' height='17' rx='2.5'/%3E%3Cpath d='M9 4a1.5 1.5 0 0 1 1.5-1.5h3A1.5 1.5 0 0 1 15 4v.5a1 1 0 0 1-1 1h-4a1 1 0 0 1-1-1Z'/%3E%3Cpath d='M8.5 11h7M8.5 15h5'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* intro hero */
.nsh-svc-hero { background: linear-gradient(160deg, var(--p-50), #fff 70%); }
.nsh-svc-hero-inner { padding-top: clamp(48px, 6vw, 80px); padding-bottom: clamp(48px, 6vw, 80px); }
.nsh-h1 { font-size: clamp(32px, 3.4vw, 44px) !important; line-height: 1.14 !important; }
.nsh-brand-panel-sm { min-height: 360px; }
.nsh-brand-panel-sm .wp-block-image img { width: 110px; }
@media (min-width: 901px) {
  .nsh-svchero-cols { gap: 56px !important; }
  .nsh-svchero-cols > .wp-block-column { flex-basis: 0 !important; }
  .nsh-svchero-cols > .wp-block-column:nth-child(1) { flex-grow: 1.1 !important; }
  .nsh-svchero-cols > .wp-block-column:nth-child(2) { flex-grow: 0.9 !important; }
}

/* service rows */
.nsh-svc-row {
  display: flex;
  gap: 18px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
  align-items: flex-start;
}
.nsh-svc-row + .nsh-svc-row { margin-top: 14px !important; }
.nsh-svc-row .nsh-ico { width: 44px; height: 44px; border-radius: 11px; }
.nsh-svc-row .nsh-ico .nsh-i { width: 22px; height: 22px; }
.nsh-svc-row h4 { margin: 0; font-size: 18px; font-weight: 700; color: var(--ink); }
.nsh-svc-row p { margin: 4px 0 0 !important; color: var(--body); font-size: 15.5px; }
.nsh-svc-row-clin .nsh-ico { background: var(--clin-100); }
.nsh-svc-row-clin .nsh-ico .nsh-i { background-color: var(--clin-700); }

/* sticky side column */
@media (min-width: 901px) {
  .nsh-svc-cols { gap: 56px !important; }
  .nsh-svc-cols > .wp-block-column { flex-basis: 0 !important; }
  .nsh-svc-cols-fac > .wp-block-column:nth-child(1) { flex-grow: 0.82 !important; }
  .nsh-svc-cols-fac > .wp-block-column:nth-child(2) { flex-grow: 1.18 !important; }
  .nsh-svc-cols-clin > .wp-block-column:nth-child(1) { flex-grow: 1.18 !important; }
  .nsh-svc-cols-clin > .wp-block-column:nth-child(2) { flex-grow: 0.82 !important; }
  .nsh-svc-sticky { position: sticky; top: 110px; align-self: flex-start; }
}
.nsh-svc-sticky-btn { margin-top: 26px !important; }

/* how-it-works cards */
@media (min-width: 901px) { .nsh-hiw-cols { gap: 26px !important; } }
.nsh-hiw-card { padding: 32px; }
.nsh-hiw-card .nsh-svc-head { margin-bottom: 26px; }
.nsh-steps .nsh-step { position: relative; padding-bottom: 24px; gap: 18px; margin-top: 0 !important; }
.nsh-steps .nsh-step:last-child { padding-bottom: 0; }
.nsh-steps .nsh-step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 40px;
  bottom: 0;
  width: 2px;
  background: var(--line);
}
.nsh-step-n {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  flex: none;
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 15px;
  color: #fff !important;
  background: var(--p-500);
  margin: 0 !important;
  position: relative;
  z-index: 1;
}
.nsh-hiw-card-clin .nsh-step-n { background: var(--clin-500); }
.nsh-step-t {
  padding-top: 6px;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--ink);
  font-size: 17px;
  margin: 0 !important;
}

/* credentialing timeline (dark) */
.nsh-credfull { background: var(--p-900); }
.nsh-credfull h2 { color: #fff; }
.nsh-lead-light { color: rgba(255,255,255,.82) !important; }
.nsh-credtl { position: relative; max-width: 880px; margin: 60px auto 0 !important; }
.nsh-credtl::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 10px;
  bottom: 10px;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(to bottom, transparent, var(--p-400) 8%, var(--p-400) 92%, transparent);
  opacity: .55;
}
.nsh-credrow {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 72px 1fr;
  align-items: center;
  padding: 14px 0;
  margin-top: 0 !important;
}
.nsh-cred-node {
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  z-index: 2;
  background: var(--p-800);
  border: 1.5px solid rgba(255,255,255,.16);
  box-shadow: 0 0 0 6px var(--p-900), 0 10px 24px rgba(0,0,0,.28);
}
.nsh-cred-node p { margin: 0; display: flex; }
.nsh-cred-node .nsh-i { width: 24px; height: 24px; background-color: var(--stone-500); }
.nsh-cred-content { grid-row: 1; display: flex; flex-direction: column; gap: 5px; position: relative; }
.nsh-credrow-left .nsh-cred-content { grid-column: 1; text-align: right; padding-right: 34px; align-items: flex-end; }
.nsh-credrow-right .nsh-cred-content { grid-column: 3; text-align: left; padding-left: 34px; align-items: flex-start; }
.nsh-cred-num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--p-300);
  white-space: nowrap;
  margin: 0 !important;
}
.nsh-cred-title { color: #fff !important; font-size: 19px !important; line-height: 1.25; margin: 0 !important; }
.nsh-cred-content::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 26px;
  height: 2px;
  background: var(--p-400);
  opacity: .45;
  transform: translateY(-50%);
}
.nsh-credrow-left .nsh-cred-content::after { right: 0; }
.nsh-credrow-right .nsh-cred-content::after { left: 0; }

/* services dual CTA (white cards) */
@media (min-width: 901px) { .nsh-svccta-cols { gap: 26px !important; } }
.nsh-svccta { padding: 44px; }
.nsh-svccta > * + * { margin-top: 14px !important; }
.nsh-svccta-fac { border-color: var(--p-100); }
.nsh-svccta-clin { border-color: var(--clin-100); }
.nsh-svccta .wp-block-buttons { margin-top: 22px !important; }

/* services mobile */
@media (max-width: 900px) {
  .nsh-svc-cols.wp-block-columns,
  .nsh-svchero-cols.wp-block-columns,
  .nsh-hiw-cols.wp-block-columns,
  .nsh-svccta-cols.wp-block-columns { flex-wrap: wrap !important; }
  .nsh-svc-cols.wp-block-columns > .wp-block-column,
  .nsh-svchero-cols.wp-block-columns > .wp-block-column,
  .nsh-hiw-cols.wp-block-columns > .wp-block-column,
  .nsh-svccta-cols.wp-block-columns > .wp-block-column { flex-basis: 100% !important; }
  .nsh-svc-cols-clin > .nsh-svc-listcol { order: 2; }
  .nsh-svc-cols-clin > .nsh-svc-sticky { order: 1; }
  .nsh-hiw-card { padding: 22px 18px; margin-top: 14px; }
  .nsh-svccta { padding: 26px 20px; margin-top: 14px; }
  .nsh-brand-panel-sm { min-height: 280px; margin-top: 24px; }
  /* timeline: spine on the left */
  .nsh-credtl { max-width: 460px; }
  .nsh-credtl::before { left: 29px; transform: none; }
  .nsh-credrow { grid-template-columns: 58px 1fr; padding: 10px 0; }
  .nsh-cred-node { grid-column: 1; }
  .nsh-credrow-left .nsh-cred-content,
  .nsh-credrow-right .nsh-cred-content {
    grid-column: 2;
    grid-row: 1;
    text-align: left;
    padding: 0 0 0 22px;
    align-items: flex-start;
  }
  .nsh-cred-content::after { display: none; }
}

/* facility service-row icons: brand blue */
.nsh-svc-row .nsh-ico .nsh-i { background-color: #346a8c; }
.nsh-svc-row-clin .nsh-ico .nsh-i { background-color: var(--clin-700); }

/* ============================================================
   OPPORTUNITIES JOB BOARD (reference: opportunities.jsx)
   ============================================================ */
/* search + chevron + calendar masks */
.nsh-i-search {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") center/contain no-repeat;
}
.nsh-i-filter {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5h16l-6 7v6l-4 2v-8L4 5Z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5h16l-6 7v6l-4 2v-8L4 5Z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.nsh-i-calendar {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='5' width='17' height='16' rx='2.5'/%3E%3Cpath d='M3.5 9.5h17M8 3v4M16 3v4'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='5' width='17' height='16' rx='2.5'/%3E%3Cpath d='M3.5 9.5h17M8 3v4M16 3v4'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* hero */
.nsh-opp-hero { background: linear-gradient(160deg, var(--clin-100), #fff 70%); }
.nsh-opp-hero-inner { padding-top: clamp(48px, 5.5vw, 72px); padding-bottom: 40px; }
.nsh-opp-hero-title { max-width: 720px; }
.nsh-opp-hero-sub { max-width: 580px; margin-top: 18px !important; }

/* filter bar pulled up over the hero */
.nsh-opp-filterwrap { margin-top: -24px; position: relative; z-index: 5; }
.nsh-filterbar {
  padding: 18px;
  box-shadow: var(--sh-md);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.nsh-filter-search {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  height: 50px;
}
.nsh-filter-search .nsh-i { width: 20px; height: 20px; background-color: var(--muted); }
.nsh-filter-search input {
  border: 0;
  outline: 0;
  width: 100%;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--ink);
  background: transparent;
}
.nsh-filterbar-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr) auto;
  gap: 12px;
}
.nsh-filter-field { position: relative; }
.nsh-filter-lbl {
  position: absolute;
  top: -8px;
  left: 12px;
  background: #fff;
  padding: 0 6px;
  font-size: 11px;
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--muted);
  text-transform: uppercase;
  z-index: 1;
}
.nsh-filter-field select {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 0 38px 0 14px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14.5px;
  color: var(--ink);
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236c7a83' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 13px center/17px no-repeat;
  cursor: pointer;
}
.nsh-filter-btn {
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  color: #fff;
  background: var(--accent);
  border: 0;
  border-radius: 8px;
  padding: 0 22px;
  cursor: pointer;
  transition: background .2s var(--ease);
}
.nsh-filter-btn:hover { background: var(--accent-strong); }
.nsh-filter-btn .nsh-i { width: 17px; height: 17px; background-color: #fff; }

/* count row */
.nsh-oppboard { padding-top: 40px; }
.nsh-opp-countrow { margin-bottom: 22px; }
.nsh-opp-count { color: var(--muted); font-size: 15px; margin: 0; }
.nsh-opp-count strong { color: var(--ink); font-family: var(--font-head); }
.nsh-opp-countnote { color: var(--faint); font-size: 14px; margin: 0; }

/* board columns: rows 1.45fr / detail .95fr */
@media (min-width: 901px) {
  .nsh-oppboard-cols { gap: 28px !important; }
  .nsh-oppboard-cols > .wp-block-column { flex-basis: 0 !important; }
  .nsh-oppboard-cols > .nsh-opp-listcol { flex-grow: 1.45 !important; }
  .nsh-oppboard-cols > .nsh-opp-detailcol { flex-grow: 0.95 !important; }
}

/* job rows */
.nsh-opp-rows { display: flex; flex-direction: column; gap: 14px; }
.nsh-opp-rows > li, .nsh-opp-rows > .wp-block-post { margin: 0 !important; }
.nsh-opp-row {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px;
  cursor: pointer;
  transition: box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.nsh-opp-row:hover { box-shadow: var(--sh-md); }
.nsh-opp-row.nsh-active { border-color: var(--accent); box-shadow: var(--sh-md); }
.nsh-opp-row-head { gap: 12px; margin-bottom: 10px; }
.nsh-opp-row .wp-block-post-title { font-size: 19px !important; margin: 0; }
.nsh-opp-row .wp-block-post-title a { color: var(--ink); text-decoration: none; }
.nsh-opp-row .wp-block-post-title a:hover { color: var(--accent); }

/* type pill — tones by term slug */
.nsh-opp-typepill a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 5px 11px;
  border-radius: 999px;
  text-decoration: none;
}
.nsh-opp-typepill a::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.nsh-opp-typepill a[href*="locum"]      { color: var(--p-500); }
.nsh-opp-typepill a[href*="short-term"] { color: var(--clin-500); }
.nsh-opp-typepill a[href*="long-term"]  { color: var(--p-700); }
.nsh-opp-typepill a[href*="contract"]   { color: var(--stone-700); }

/* meta line */
.nsh-opp-row-meta { gap: 8px 16px; margin-bottom: 10px; }
.nsh-opp-meta-item, .nsh-opp-meta-item a { color: var(--muted) !important; font-size: 13.5px; text-decoration: none; margin: 0 !important; }
.nsh-opp-meta-item { display: inline-flex; align-items: center; gap: 6px; }
.nsh-opp-meta-spec::before, .nsh-opp-meta-prov::before, .nsh-opp-meta-loc::before {
  content: "";
  width: 16px; height: 16px;
  background-color: var(--muted);
  flex: none;
}
.nsh-opp-meta-spec::before { -webkit-mask: var(--nsh-mask-steth) center/contain no-repeat; mask: var(--nsh-mask-steth) center/contain no-repeat; }
.nsh-opp-meta-prov::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3.2'/%3E%3Cpath d='M3.5 20a5.5 5.5 0 0 1 11 0'/%3E%3Cpath d='M16 5.3a3.2 3.2 0 0 1 0 6.2M17.5 14.2A5.5 5.5 0 0 1 20.5 19'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3.2'/%3E%3Cpath d='M3.5 20a5.5 5.5 0 0 1 11 0'/%3E%3Cpath d='M16 5.3a3.2 3.2 0 0 1 0 6.2M17.5 14.2A5.5 5.5 0 0 1 20.5 19'/%3E%3C/svg%3E") center/contain no-repeat;
}
.nsh-opp-meta-loc::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 5-8 11-8 11s-8-6-8-11a8 8 0 0 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='2.6'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 5-8 11-8 11s-8-6-8-11a8 8 0 0 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='2.6'/%3E%3C/svg%3E") center/contain no-repeat;
}
.nsh-opp-start { display: inline-flex; align-items: center; gap: 6px; }
.nsh-opp-start .nsh-i { width: 16px; height: 16px; background-color: var(--muted); }

.nsh-opp-row-sum { color: var(--body) !important; font-size: 14.5px; max-width: 540px; margin: 0 0 10px !important; }
.nsh-opp-row-link { margin: 0 !important; }

/* detail panel (filled by main.js) */
.nsh-opp-detail {
  padding: 32px;
  position: sticky;
  top: 100px;
}
.nsh-opp-detail:empty { display: none; }
.nsh-opp-detail .nsh-opp-typepill-d {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--p-500);
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 5px 11px;
  border-radius: 999px;
}
.nsh-opp-detail h3 { margin: 14px 0 0; font-size: clamp(21px, 1.7vw, 25px); }
.nsh-opp-detail .nsh-opp-d-meta { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px 16px; color: var(--muted); font-size: 14.5px; }
.nsh-opp-detail hr { height: 1px; background: var(--line); border: 0; margin: 22px 0; }
.nsh-opp-detail h5 {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--ink);
  font-size: 14px;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin: 0 0 10px;
}
.nsh-opp-detail .nsh-opp-d-desc { color: var(--body); font-size: 15px; margin: 0; }
.nsh-opp-detail ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.nsh-opp-detail ul li { display: flex; gap: 11px; align-items: flex-start; font-size: 14.5px; color: var(--body); }
.nsh-opp-detail ul li::before {
  content: "";
  width: 18px; height: 18px; flex: none; margin-top: 1px;
  background-color: var(--accent);
  -webkit-mask: var(--nsh-mask-check) center/contain no-repeat;
  mask: var(--nsh-mask-check) center/contain no-repeat;
}
.nsh-opp-d-comp {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 22px;
  padding: 16px 18px;
  background: var(--surface);
  border-radius: var(--r-md);
}
.nsh-opp-d-comp span:first-child { color: var(--muted); font-size: 14px; }
.nsh-opp-d-comp span:last-child { font-family: var(--font-head); font-weight: 700; color: var(--ink); }
.nsh-opp-d-actions { margin-top: 22px; display: grid; gap: 10px; }
.nsh-opp-d-actions a {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  padding: 13px 22px;
  border-radius: 8px;
  text-decoration: none;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.nsh-opp-d-apply { background: var(--accent); color: #fff !important; }
.nsh-opp-d-apply:hover { background: var(--accent-strong); }
.nsh-opp-d-ask { background: #fff; color: var(--accent) !important; border: 1.5px solid var(--line-strong); }
.nsh-opp-d-ask:hover { border-color: var(--accent); background: var(--accent-soft); }

/* join card */
.nsh-opp-join {
  margin-top: 28px !important;
  padding: 40px;
  text-align: center;
  border-style: dashed;
  background: var(--stone-50);
}
.nsh-opp-join-ico {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--stone-300);
  margin: 0 auto 16px;
}
.nsh-opp-join-ico .nsh-i { width: 28px; height: 28px; background-color: var(--clin-700); }
.nsh-opp-join h3 { margin: 0; }
.nsh-opp-join p { color: var(--body); margin-top: 10px !important; }
.nsh-opp-join .wp-block-buttons { margin-top: 22px !important; }

/* dark CTA band */
.nsh-opp-cta {
  border-radius: var(--r-xl);
  background: var(--p-800);
  color: #fff;
  padding: clamp(34px, 4vw, 56px) clamp(24px, 3.5vw, 48px);
  gap: 32px;
}
.nsh-opp-cta h2 { color: #fff; }
.nsh-opp-cta-copy { max-width: 560px; }
.nsh-opp-cta-copy .nsh-lead-light { margin-top: 12px !important; }

/* mobile */
@media (max-width: 900px) {
  .nsh-filterbar-row { grid-template-columns: 1fr 1fr; }
  .nsh-filter-btn { grid-column: 1 / -1; }
  .nsh-oppboard-cols.wp-block-columns { flex-wrap: wrap !important; }
  .nsh-oppboard-cols.wp-block-columns > .wp-block-column { flex-basis: 100% !important; }
  .nsh-opp-detailcol { display: none; }
  .nsh-opp-row { padding: 18px 16px; }
  .nsh-opp-join { padding: 26px 18px; }
}
@media (max-width: 600px) {
  .nsh-filterbar-row { grid-template-columns: 1fr; }
}

form.nsh-filterbar.nsh-card {
    margin-top: -24px;
}

/* ============================================================
   SCREENING FORMS (Apply / Contact — CF7 styled as the reference wizard)
   ============================================================ */
.nsh-screen-hero-fac { background: linear-gradient(160deg, var(--p-50), #fff 70%); }

/* track switcher */
.nsh-track-switch {
  display: inline-flex;
  padding: 5px;
  background: var(--surface);
  border-radius: 999px;
  border: 1px solid var(--line);
  margin: 0 auto 36px;
  gap: 4px;
}
.nsh-screen { text-align: center; }
.nsh-screen .nsh-screen-card { text-align: left; }
.nsh-track-tab {
  border: 0;
  padding: 11px 26px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15.5px;
  background: transparent;
  color: var(--body);
  cursor: pointer;
  transition: all .2s var(--ease);
}
.nsh-track-tab-clin.is-active { background: var(--clin-500); color: #fff; }
.nsh-track-tab-fac.is-active { background: var(--accent); color: #fff; }

/* form cards */
.nsh-screen-card { padding: clamp(24px, 4vw, 44px); margin-top: 0 !important; }
.nsh-screen-card + .nsh-screen-card { margin-top: 26px !important; }
.nsh-screen-card h3 { margin: 0; }
.nsh-screen-blurb { color: var(--muted); margin: 8px 0 0 !important; }
.nsh-screen-card .wpcf7 { margin-top: 26px; }
.nsh-screen .nsh-screen-facility { display: none; }
.nsh-screen.nsh-show-facility .nsh-screen-facility { display: block; }
.nsh-screen.nsh-show-facility .nsh-screen-clinician { display: none; }

/* wizard progress */
.nsh-f-progress {
  display: flex;
  gap: 8px;
  margin-bottom: 26px;
}
.nsh-f-progress span {
  flex: 1;
  text-align: center;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--faint);
  padding-bottom: 10px;
  border-bottom: 3px solid var(--line);
  transition: color .2s, border-color .2s;
}
.nsh-f-progress span.is-active { color: var(--accent); border-color: var(--accent); }
.nsh-f-progress span.is-done { color: var(--muted); border-color: var(--p-300); }

/* steps */
.nsh-fstep { border: 0; padding: 0; margin: 0; display: none; }
.nsh-fstep.is-active { display: block; }
.nsh-fstep-head { margin-bottom: 22px; }
.nsh-fstep-title { font-family: var(--font-head); font-weight: 700; font-size: 21px; color: var(--ink); margin: 0; }
.nsh-fstep-desc { color: var(--muted); font-size: 15px; margin: 6px 0 0; }

/* fields */
.nsh-f-row { display: flex; gap: 16px; flex-wrap: wrap; }
.nsh-f-row .nsh-f-half { flex: 1 1 calc(50% - 8px); min-width: 220px; }
.nsh-f-field { margin-bottom: 18px; }
.nsh-f-label {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
  margin-bottom: 8px;
}
.nsh-f-help { display: block; font-size: 13px; color: var(--faint); margin-top: 6px; }

.nsh-screen-card input[type="text"],
.nsh-screen-card input[type="email"],
.nsh-screen-card input[type="tel"],
.nsh-screen-card input[type="number"],
.nsh-screen-card input[type="date"],
.nsh-screen-card select,
.nsh-screen-card textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 15.5px;
  color: var(--ink);
  background: #fff;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
  box-sizing: border-box;
}
.nsh-screen-card input:focus,
.nsh-screen-card select:focus,
.nsh-screen-card textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--p-50);
}
.nsh-screen-card textarea { min-height: 96px; resize: vertical; }

/* radio / checkbox pills */
.nsh-screen-card .wpcf7-radio,
.nsh-screen-card .wpcf7-checkbox {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.nsh-screen-card .wpcf7-radio .wpcf7-list-item,
.nsh-screen-card .wpcf7-checkbox .wpcf7-list-item { margin: 0; }
.nsh-screen-card .wpcf7-radio label,
.nsh-screen-card .wpcf7-checkbox label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 10px 16px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14px;
  color: var(--body);
  cursor: pointer;
  background: #fff;
  transition: border-color .15s, background .15s, color .15s;
}
.nsh-screen-card .wpcf7-list-item:has(input:checked) label,
.nsh-screen-card .wpcf7-radio label:has(input:checked),
.nsh-screen-card .wpcf7-checkbox label:has(input:checked) {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent-strong);
}
.nsh-screen-card .wpcf7-radio input,
.nsh-screen-card .wpcf7-checkbox input { accent-color: var(--accent); }

/* consent */
.nsh-f-consent { font-size: 14.5px; color: var(--body); }
.nsh-f-consent .wpcf7-list-item { margin: 0; }
.nsh-f-consent input { accent-color: var(--accent); margin-right: 8px; }

/* file input */
.nsh-screen-card input[type="file"] { font-size: 14px; color: var(--muted); }

/* wizard nav buttons */
.nsh-f-nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.nsh-f-back, .nsh-f-next {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  padding: 13px 26px;
  border-radius: 8px;
  cursor: pointer;
  transition: all .2s var(--ease);
}
.nsh-f-back { background: #fff; color: var(--body); border: 1.5px solid var(--line-strong); }
.nsh-f-back:hover { border-color: var(--accent); color: var(--accent); }
.nsh-f-back[disabled] { opacity: 0; pointer-events: none; }
.nsh-f-next { background: var(--accent); color: #fff; border: 0; }
.nsh-f-next:hover { background: var(--accent-strong); }

/* submit (hidden until last step; wizard shows it) */
.nsh-f-submit { display: none; margin-top: 0; }
.nsh-fstep-last-visible .nsh-f-submit,
.nsh-f-submit.is-visible { display: block; }
.nsh-f-submit input[type="submit"] {
  background: var(--accent);
  color: #fff;
  border: 0;
  border-radius: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 16px;
  padding: 15px 30px;
  cursor: pointer;
  transition: background .2s var(--ease);
}
.nsh-f-submit input[type="submit"]:hover { background: var(--accent-strong); }

/* CF7 feedback */
.nsh-screen-card .wpcf7-not-valid-tip { font-size: 13px; color: #c0392b; margin-top: 6px; }
.nsh-screen-card .wpcf7 form .wpcf7-response-output {
  margin: 22px 0 0;
  padding: 14px 18px;
  border-radius: var(--r-md);
  border-width: 1.5px;
  font-size: 14.5px;
}
.nsh-screen-card .wpcf7 form.sent .wpcf7-response-output {
  border-color: var(--p-300);
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-weight: 600;
}
.nsh-screen-card .wpcf7-spinner { margin: 0 12px; }

@media (max-width: 600px) {
  .nsh-f-row .nsh-f-half { flex-basis: 100%; }
  .nsh-track-tab { padding: 10px 16px; font-size: 14px; }
  .nsh-f-progress span { font-size: 10.5px; }
}

/* ============================================================
   SCREENING v2 — chooser + individual screens (reference match)
   ============================================================ */
/* chooser hidden once a track is open */
.nsh-screen-open .nsh-screen-choose { display: none; }
.nsh-screen .nsh-screen-card { display: none; }
.nsh-screen.nsh-show-clinician .nsh-screen-clinician { display: block; }
.nsh-screen.nsh-show-facility .nsh-screen-facility { display: block; }

/* screen header bar */
.nsh-screen-card { padding: 0; overflow: hidden; }
.nsh-screen-card .wpcf7 { margin: 0; padding: clamp(22px, 3.5vw, 36px); }
.nsh-screen-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px clamp(22px, 3.5vw, 36px);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.nsh-screen-head-l { display: flex; align-items: center; gap: 14px; }
.nsh-screen-head .nsh-ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); }
.nsh-screen-head .nsh-ico-clin { background: var(--clin-100); }
.nsh-screen-head .nsh-i { width: 24px; height: 24px; background-color: #346a8c; }
.nsh-screen-head-title { font-family: var(--font-head); font-weight: 700; font-size: 17px; color: var(--ink); margin: 0; }
.nsh-screen-head-step { font-size: 13px; color: var(--muted); margin: 2px 0 0; }
.nsh-screen-head-tag {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* applying-for banner */
.nsh-applying-for {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px clamp(22px, 3.5vw, 36px);
  background: var(--p-50);
  border-bottom: 1px solid var(--p-100);
}
.nsh-applying-for[hidden] { display: none; }
.nsh-applying-for .nsh-ico { width: 42px; height: 42px; border-radius: 11px; background: var(--accent-soft); display: grid; place-items: center; flex: none; }
.nsh-applying-for .nsh-i { width: 20px; height: 20px; background-color: #346a8c; }
.nsh-applying-for-lbl {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 11.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0;
}
.nsh-applying-for-job { font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: 17px; margin: 2px 0 0; }
.nsh-applying-for-pills { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.nsh-applying-for-pills span {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 13px;
  color: var(--body);
}

/* progress: numbered circles with connectors (replaces tab style) */
.nsh-f-progress { gap: 0; align-items: center; }
.nsh-f-progress span {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 0 !important;
  padding: 0;
  text-transform: none;
  letter-spacing: 0;
  font-size: 14.5px;
  color: var(--muted);
}
.nsh-f-progress span::before {
  content: attr(data-n);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  color: var(--muted);
  border: 1.5px solid var(--line-strong);
  background: #fff;
  transition: all .2s var(--ease);
}
.nsh-f-progress span.is-active { color: var(--ink); }
.nsh-f-progress span.is-active::before { background: var(--p-800); border-color: var(--p-800); color: #fff; }
.nsh-f-progress span.is-done::before { background: var(--accent-soft); border-color: var(--p-300); color: var(--accent); }
.nsh-f-progress span:not(:last-child)::after {
  content: "";
  width: clamp(18px, 4vw, 56px);
  height: 1.5px;
  background: var(--line-strong);
  margin: 0 12px;
}

/* selected radio pill: filled navy like reference */
.nsh-screen-card .wpcf7-radio label:has(input:checked),
.nsh-screen-card .wpcf7-checkbox label:has(input:checked) {
  border-color: var(--p-700);
  background: var(--p-700);
  color: #fff;
}
.nsh-screen-card .wpcf7-radio input,
.nsh-screen-card .wpcf7-checkbox input { position: absolute; opacity: 0; pointer-events: none; }
.nsh-screen-card .wpcf7-list-item { position: relative; }

/* back link */
.nsh-back-choose { padding: 0 clamp(22px, 3.5vw, 36px) 24px; margin: 0; }
.nsh-back-choose a {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
}
.nsh-back-choose a:hover { color: var(--accent); }

/* progress labels hide on small phones, keep circles */
@media (max-width: 600px) {
  .nsh-f-progress span { font-size: 0; gap: 0; }
  .nsh-f-progress span::before { font-size: 14px; }
  .nsh-f-progress span:not(:last-child)::after { width: 14px; margin: 0 6px; }
  .nsh-applying-for-pills { margin-left: 0; }
  .nsh-applying-for { flex-wrap: wrap; }
}

/* ============================================================
   SCREENING v3 — hero banners, shadow, validation (reference match)
   ============================================================ */
/* gradient hero on chooser + each screen */
.nsh-screenhero {
  background: linear-gradient(160deg, var(--p-50), #fff 70%);
  padding-top: clamp(40px, 5vw, 64px);
  padding-bottom: clamp(36px, 4.5vw, 56px);
}
.nsh-screenhero-sub { max-width: 620px; margin-left: auto !important; margin-right: auto !important; }
.nsh-screen-choose-cards { padding-top: 0 !important; }

/* form card: shadow like reference */
.nsh-screen-body { padding-top: 0 !important; padding-bottom: clamp(40px, 5vw, 62px); }
.nsh-screen-card {
  box-shadow: var(--sh-lg);
  border-radius: var(--r-lg);
  margin-top: -18px !important;
  position: relative;
  z-index: 2;
}

/* remove the divider line above the wizard nav */
.nsh-f-nav { border-top: 0; padding-top: 6px; }

/* prefer to call */
.nsh-prefer-call {
  text-align: center;
  margin: 22px 0 0 !important;
  color: var(--ink);
  font-size: 15px;
}
.nsh-prefer-call .nsh-i { width: 17px; height: 17px; background-color: var(--accent); }
.nsh-prefer-call strong { font-family: var(--font-head); }
.nsh-prefer-call a {
  color: var(--accent);
  font-family: var(--font-head);
  font-weight: 700;
  text-decoration: none;
}
.nsh-back-choose { text-align: center; padding: 8px 0 0; }

/* inline validation (wizard) */
.nsh-f-field.nsh-f-invalid input,
.nsh-f-field.nsh-f-invalid select,
.nsh-f-field.nsh-f-invalid textarea {
  border-color: #c0392b;
}
.nsh-f-err {
  display: block;
  color: #c0392b;
  font-size: 13px;
  margin-top: 6px;
  font-weight: 600;
  font-family: var(--font-head);
}
.nsh-f-summary {
  display: none;
  background: #fdf0ee;
  border: 1.5px solid #e5b6af;
  color: #c0392b;
  border-radius: var(--r-md);
  padding: 12px 16px;
  font-size: 14.5px;
  font-weight: 600;
  font-family: var(--font-head);
  margin-top: 18px;
}
.nsh-f-summary.is-visible { display: block; }

/* v3 structure: visibility lives on the track wrappers, cards always render */
.nsh-screen .nsh-screen-card { display: block; }
.nsh-screen .nsh-screen-track { display: none; }
.nsh-screen.nsh-show-clinician .nsh-screen-track.nsh-screen-clinician { display: block; }
.nsh-screen.nsh-show-facility .nsh-screen-track.nsh-screen-facility { display: block; }

/* ── screening layout polish ───────────────────────────────── */
/* no gap above a track hero (hidden sibling still triggers block-gap) */
.nsh-screen > .nsh-screen-track,
.nsh-screen-track > .nsh-screenhero { margin-top: 0 !important; }

/* card overlaps the gradient like the reference */
.nsh-screenhero { padding-bottom: clamp(90px, 10vw, 130px); }
.nsh-screen-card { margin-top: -72px !important; }

/* centered, tight under-card text */
.nsh-prefer-call {
  text-align: center !important;
  margin: 24px auto 0 !important;
}
.nsh-back-choose {
  text-align: center !important;
  padding: 10px 0 0 !important;
  margin: 0 auto !important;
}
.nsh-screen-body { padding-bottom: clamp(36px, 4vw, 56px); }

/* acceptance rows: bordered cards like the reference */
.nsh-f-consent {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 16px 18px;
  background: #fff;
}
.nsh-f-consent .wpcf7-list-item label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}
.nsh-f-consent input[type="checkbox"] {
  width: 19px;
  height: 19px;
  margin: 2px 0 0;
  flex: none;
  accent-color: var(--accent);
}

/* thank-you screen */
.nsh-f-success {
  text-align: center;
  padding: clamp(28px, 4vw, 48px) clamp(18px, 3vw, 40px);
}
.nsh-f-success-ico {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--accent-soft);
  display: grid;
  place-items: center;
  margin: 0 auto 22px;
}
.nsh-f-success-ico .nsh-i {
  width: 32px;
  height: 32px;
  background-color: var(--accent);
}
.nsh-f-success h3 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(26px, 3vw, 34px);
  color: var(--ink);
  margin: 0;
}
.nsh-f-success-body {
  color: var(--body);
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.55;
  max-width: 560px;
  margin: 14px auto 0;
}
.nsh-f-success-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}
.nsh-f-success-tags span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 13.5px;
  color: var(--muted);
}
.nsh-f-success-tags span::before {
  content: "";
  width: 15px;
  height: 15px;
  background-color: var(--muted);
  -webkit-mask: var(--nsh-mask-checkcircle) center/contain no-repeat;
  mask: var(--nsh-mask-checkcircle) center/contain no-repeat;
}
.nsh-f-success-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.nsh-f-success-actions a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  padding: 13px 24px;
  border-radius: 8px;
  text-decoration: none;
  transition: all .2s var(--ease);
}
.nsh-f-success-call { background: var(--accent); color: #fff !important; }
.nsh-f-success-call:hover { background: var(--accent-strong); }
.nsh-f-success-call .nsh-i { width: 17px; height: 17px; background-color: #fff; }
.nsh-f-success-home { background: #fff; color: var(--accent) !important; border: 1.5px solid var(--line-strong); }
.nsh-f-success-home:hover { border-color: var(--accent); background: var(--accent-soft); }
.nsh-f-success-note {
  margin-top: 20px;
  font-size: 13.5px;
  color: var(--faint);
}

/* upload icon mask */
.nsh-i-upload {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 16V4m0 0L8 8m4-4 4 4'/%3E%3Cpath d='M4 16v2.5A1.5 1.5 0 0 0 5.5 20h13a1.5 1.5 0 0 0 1.5-1.5V16'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 16V4m0 0L8 8m4-4 4 4'/%3E%3Cpath d='M4 16v2.5A1.5 1.5 0 0 0 5.5 20h13a1.5 1.5 0 0 0 1.5-1.5V16'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* CV dropzone (reference style) */
.nsh-f-drop {
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1.5px dashed var(--line-strong);
  border-radius: var(--r-lg);
  padding: 16px 18px;
  background: var(--paper);
  cursor: pointer;
  transition: border-color .15s, background .15s;
}
.nsh-f-drop:hover { border-color: var(--accent); background: var(--accent-soft); }
.nsh-f-drop.has-file { border-color: var(--accent); background: var(--accent-soft); border-style: solid; }
.nsh-f-drop-ico {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  flex: none;
}
.nsh-f-drop-ico .nsh-i { width: 20px; height: 20px; background-color: var(--ink); }
.nsh-f-drop-t { display: flex; flex-direction: column; gap: 2px; }
.nsh-f-drop-t strong { font-family: var(--font-head); font-weight: 700; font-size: 16px; color: var(--ink); }
.nsh-f-drop-t em { font-style: normal; font-size: 13.5px; color: var(--muted); }
.nsh-f-drop input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.nsh-f-drop .wpcf7-form-control-wrap { position: absolute; width: 1px; height: 1px; overflow: hidden; }

/* nav buttons: equal height, vertically centered like reference */
.nsh-f-nav { align-items: center; }
.nsh-f-back,
.nsh-f-next,
.nsh-f-submit input[type="submit"] {
  height: 50px;
  padding: 0 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  line-height: 1;
}
.nsh-f-submit { display: none; }
.nsh-f-submit.is-visible { display: inline-flex; align-items: center; }

/* acceptance boxes: kill CF7's stray <br>/<p> spacing inside */
.nsh-f-consent { padding: 14px 18px; }
.nsh-f-consent br { display: none; }
.nsh-f-consent p { margin: 0 !important; }
.nsh-f-consent .wpcf7-form-control-wrap { display: block; line-height: 1.5; }

/* submit: the CF7 spinner reserves space at the right — only show while submitting */
.nsh-f-submit .wpcf7-spinner { display: none; margin: 0 0 0 10px; }
form.submitting .nsh-f-submit .wpcf7-spinner { display: inline-block; }

/* acceptance: no highlight background when checked (both forms) */
.nsh-f-consent .wpcf7-list-item label,
.nsh-f-consent .wpcf7-list-item:has(input:checked) label,
.nsh-f-consent label:has(input:checked) {
  background: transparent !important;
  border: 0 !important;
  color: var(--body) !important;
  padding: 0 !important;
}
.nsh-f-consent .wpcf7-list-item-label { background: transparent !important; color: var(--body); }
.nsh-f-consent input[type="checkbox"] {
  position: static;
  opacity: 1;
  pointer-events: auto;
}

/* thank-you screen: breathing room */
.nsh-f-success h3 { margin: 26px 0 0 !important; line-height: 1.2; }
.nsh-f-success-body { margin-top: 16px !important; }
.nsh-f-success-tags { margin-top: 28px !important; }
.nsh-f-success-actions { margin-top: 32px !important; }
.nsh-f-success-note { margin-top: 26px !important; }

/* even field rhythm in both forms (all steps) */
/* CF7 autop inserts stray <br> between field divs — they create the uneven gaps */
.nsh-screen-card .wpcf7-form br { display: none; }
.nsh-screen-card .wpcf7-form > p { margin: 0; }
.nsh-f-field { margin-bottom: 18px !important; }
.nsh-f-row { margin-bottom: 0 !important; }
@media (max-width: 600px) {
  .nsh-f-row { gap: 0; }
  .nsh-f-row .nsh-f-half { margin-bottom: 18px !important; }
}

/* bulletproof even spacing: each step is a flex column with one fixed gap */
.nsh-fstep.is-active {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.nsh-fstep .nsh-f-field,
.nsh-fstep .nsh-f-row,
.nsh-fstep .nsh-fstep-head { margin: 0 !important; }
.nsh-fstep .nsh-f-row .nsh-f-field { margin: 0 !important; }
.nsh-screen-card .wpcf7-form p { margin: 0 !important; }
.nsh-f-row { gap: 16px; }
@media (max-width: 600px) {
  .nsh-f-row { flex-direction: column; gap: 20px; }
  .nsh-f-row .nsh-f-half { margin: 0 !important; }
}

/* mobile: wizard nav fits the card — submit never overflows */
@media (max-width: 600px) {
  .nsh-f-nav { flex-wrap: wrap; gap: 10px; }
  .nsh-f-submit { flex: 1 1 100%; }
  .nsh-f-submit.is-visible { display: flex; }
  .nsh-f-submit input[type="submit"] {
    width: 100%;
    padding: 0 16px;
    font-size: 15px;
    white-space: normal;
  }
  .nsh-f-back { padding: 0 18px; }
  .nsh-f-next { flex: 1; }
}

/* chooser hero: no card overlap there, so no need for the deep bottom padding */
.nsh-screen-choose .nsh-screenhero { padding-bottom: clamp(28px, 4vw, 48px); }
@media (max-width: 600px) {
  .nsh-screen-choose .nsh-screenhero { padding-bottom: 24px; }
  .nsh-screen-choose-cards { padding-top: 8px !important; }
}

/* detail panel: hide the secondary View-full-details button */
.nsh-opp-detail .nsh-opp-d-ask { display: none; }

/* ============================================================
   404 PAGE
   ============================================================ */
.nsh-404 {
  background: linear-gradient(160deg, var(--p-50), #fff 70%);
  padding-top: clamp(56px, 7vw, 96px);
  padding-bottom: clamp(56px, 7vw, 96px);
}
.nsh-404-code {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(80px, 12vw, 140px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--p-100);
  margin: 0 0 6px !important;
}
.nsh-404-inner .nsh-h1 { margin-top: 14px !important; }
.nsh-404-inner .nsh-lead { margin-top: 14px !important; }
.nsh-404-inner .wp-block-buttons { margin-top: 28px !important; }
.nsh-404-links { margin-top: 48px !important; }
.nsh-404-links .nsh-contact-choice { background: #fff; margin-top: 0 !important; }
.nsh-404-links .nsh-contact-choice + .nsh-contact-choice { margin-top: 14px !important; }
.nsh-404 .nsh-prefer-call { margin-top: 36px !important; }
@media (max-width: 600px) {
  .nsh-404-code { font-size: 72px; }
}

/* 404: fully centered content */
.nsh-404 { text-align: center; }
.nsh-404-inner > * { margin-left: auto; margin-right: auto; }

/* the 404 numeral: earlier margin shorthand killed the auto-centering — restore it */
.nsh-404-code { margin: 0 auto 6px !important; }
