/* Shared refinements for the editable ZIP-content site.
 * The spacing, actions and responsive grids follow AlliedHealth's proven
 * brand components, using this site's existing navy / violet palette.
 * Scoped to the public site; hero compositions live in heroes.css.
 */
body.ndsp-refined {
  --ndsp-border: #d9d0e5;
  --ndsp-soft-ink: #dcd5e8;
  --ndsp-header-height: 120px;
}

/* Low specificity allows each editorial hero to own its type scale. */
body.ndsp-refined :where(main) :where(h1, .h1) {
  font-size: clamp(38px, 4.3vw, 68px);
  line-height: 1.08;
  letter-spacing: -.035em;
}
body.ndsp-refined :where(main) :where(h2, .h2) {
  font-size: clamp(29px, 3.1vw, 44px);
  line-height: 1.16;
  letter-spacing: -.025em;
}
body.ndsp-refined :where(main) :where(h3, .h3) {
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.3;
  letter-spacing: -.015em;
}
body.ndsp-refined :where(main) :where(h4, .h4) {
  font-size: 20px;
  line-height: 1.4;
}
body.ndsp-refined :where(main) :where(p, li) { line-height: 1.7; }
body.ndsp-refined main [id] { scroll-margin-top: calc(var(--ndsp-header-height) + 24px); }
body.ndsp-refined :where(main) :where(ul, ol) { text-align: left; }
body.ndsp-refined :where(main) :where(li)::marker { color: var(--brand-action); }

/* Actions retain their ZIP-authored labels, including long service names. */
body.ndsp-refined .ndsp-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-block: 26px 0;
}
body.ndsp-refined .ndsp-actions + :is(p, ul, ol) { margin-top: 22px; }
body.ndsp-refined :is(.btn-pink, .hs-button) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  max-width: 100%;
  padding: 12px 24px;
  border: 1px solid var(--brand-action);
  border-radius: 26px;
  background: var(--brand-action);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  white-space: normal;
  overflow-wrap: normal;
  word-break: normal;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
body.ndsp-refined .btn-pink:hover {
  color: #fff;
  background: var(--brand-heading);
  border-color: var(--brand-heading);
  box-shadow: 0 5px 16px rgb(81 48 128 / 14%);
}
body.ndsp-refined .btn-pink.ndsp-button-secondary {
  color: var(--brand-heading);
  background: transparent;
  border-color: var(--brand-action);
  box-shadow: none;
}
body.ndsp-refined .btn-pink.ndsp-button-secondary:hover {
  color: var(--brand-heading);
  background: var(--brand-surface);
  border-color: var(--brand-heading);
}
body.ndsp-refined :is(.btn-pink, .hs-button, .btn-top):focus-visible {
  outline: 3px solid var(--brand-lavender);
  outline-offset: 4px;
}
body.ndsp-refined :is(.hs-button, .btn-pink, .btn-top):is(:disabled, [aria-disabled="true"]) {
  background: #e6e1ed !important;
  border-color: #bcb2c9 !important;
  color: #6b6178 !important;
  box-shadow: none;
  cursor: not-allowed;
}

/* A complete page ending, with enough space before the footer's navigation. */
body.ndsp-refined :is(section.ndsp-cta, section.bg-blue:has(> .quote)) {
  padding-block: clamp(48px, 5vw, 80px);
  background: var(--brand-navy);
}
body.ndsp-refined :is(section.ndsp-cta, section.bg-blue) > .quote {
  max-width: 1040px;
  margin-inline: auto;
}
body.ndsp-refined .ndsp-cta :is(h2, h3, .heading) {
  color: #fff;
  margin-bottom: 24px;
}
body.ndsp-refined .ndsp-cta p { max-width: 72ch; margin-inline: auto; }
body.ndsp-refined :is(.ndsp-cta, .quote) .ndsp-actions { justify-content: center; margin-top: 28px; }
body.ndsp-refined :is(.ndsp-cta, .bg-blue, .site-footer) .btn-pink.ndsp-button-secondary {
  color: #fff;
  border-color: var(--brand-lavender);
  background: transparent;
}
body.ndsp-refined :is(.ndsp-cta, .bg-blue, .site-footer) .btn-pink.ndsp-button-secondary:hover {
  color: var(--brand-navy);
  background: #fff;
  border-color: #fff;
}

/* Header: reserve room for the brand and complete contact copy at every width. */
body.ndsp-refined .site-header { box-shadow: 0 2px 12px rgb(18 43 94 / 9%); }
body.ndsp-refined .navigation-bar { padding-block: 16px; }
body.ndsp-refined .navigation-bar > .container-fluid > .row {
  display: grid;
  grid-template-columns: minmax(260px, .85fr) minmax(0, 1.4fr);
  gap: 24px;
  align-items: center;
}
body.ndsp-refined .navigation-bar > .container-fluid > .row > * {
  width: auto;
  max-width: none;
  min-width: 0;
}
body.ndsp-refined .site-header .logo {
  width: 380px;
  height: auto;
  aspect-ratio: 5.5 / 1;
}
body.ndsp-refined .navigation-bar .hamburger { flex-shrink: 0; margin-right: 14px; padding: 12px; }
body.ndsp-refined .site-header .btn-tops {
  padding-block: 0;
  grid-template-columns: minmax(200px, 1fr) max-content max-content;
  gap: 4px 14px;
}
body.ndsp-refined .site-header .btn-tops > p,
body.ndsp-refined .site-header .btn-tops > a[href^="mailto:"] {
  font-size: 12px !important;
  line-height: 1.5;
  white-space: nowrap;
  overflow-wrap: normal;
}
body.ndsp-refined .site-header .btn-tops > .btn-top {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid var(--brand-action);
  border-radius: 25px;
  font-size: 14px;
  line-height: 1.35;
  box-shadow: none;
}
body.ndsp-refined .site-header .phone-button {
  background: #fff;
  color: var(--brand-heading);
}
body.ndsp-refined .site-header .phone-button:hover { background: var(--brand-surface); color: var(--brand-heading); }

/* Preserve the source drawer / dropdown mechanics; only its geometry changes. */
body.ndsp-refined .side-navigation {
  top: 100%;
  width: min(520px, 100vw);
  max-height: calc(100dvh - var(--ndsp-header-height));
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  box-shadow: 8px 12px 24px rgb(18 43 94 / 12%);
}
body.ndsp-refined .side-navigation .navigation a {
  min-height: 46px;
  padding: 12px 24px;
  font-size: 16px;
  line-height: 1.5;
  overflow-wrap: normal;
  word-break: normal;
}
body.ndsp-refined .navigation > ul > li > ul > li > a { padding-left: 34px; }
body.ndsp-refined .navigation > ul > li > ul > li > ul > li > a { padding-left: 46px; }
body.ndsp-refined .side-navigation .close-navigation { width: 44px; height: 44px; margin: 12px 20px 8px; border-radius: 50%; }

/* Footer has fixed type sizes, not compounded percentages in nested lists. */
body.ndsp-refined .site-footer { padding-top: 0; font-size: 16px; background: var(--brand-navy); color: #fff; }
body.ndsp-refined .site-footer > .container-fluid { padding-top: 56px; }
body.ndsp-refined .site-footer > .container-fluid > .row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.1fr);
  gap: 44px;
  margin-inline: 0;
}
body.ndsp-refined .site-footer > .container-fluid > .row > * { width: auto; max-width: none; padding-inline: 0; min-width: 0; }
body.ndsp-refined .site-footer > .container-fluid > .row > :last-child > .row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr) minmax(0, 1.25fr);
  gap: 28px;
  margin-inline: 0;
}
body.ndsp-refined .site-footer > .container-fluid > .row > :last-child > .row > * { width: auto; max-width: none; padding-inline: 0; min-width: 0; }
body.ndsp-refined .site-footer :is(h2, h3, h4, .h4) { color: #fff; }
body.ndsp-refined .site-footer h3 { font-size: 23px; line-height: 1.3; margin-block: 24px 14px; }
body.ndsp-refined .site-footer :is(h4, .h4) { font-size: 17px; line-height: 1.4; margin-bottom: 18px; text-transform: none; }
body.ndsp-refined .site-footer .tagline { display: block; font-size: 17px; line-height: 1.5; }
body.ndsp-refined .site-footer .logo { width: 100%; max-width: 380px; height: auto; aspect-ratio: 5.5 / 1; }
body.ndsp-refined .site-footer :is(.footer-menu, .footer-menu ul, .footer-menu li) { font-size: 15px; line-height: 1.6; }
body.ndsp-refined .site-footer .footer-menu :is(a, p) {
  padding: 7px 0;
  margin: 0;
  color: var(--ndsp-soft-ink);
  text-transform: none;
  font-size: 15px;
  line-height: 1.6;
  white-space: normal;
  overflow-wrap: normal;
  word-break: normal;
}
body.ndsp-refined .site-footer .footer-menu a:hover { color: #fff; font-weight: inherit; text-decoration: underline; text-underline-offset: 4px; background: transparent; }
body.ndsp-refined .site-footer .footer-menu a[href^="mailto:"] { overflow-wrap: anywhere; }
body.ndsp-refined .site-footer > .container-fluid > p {
  border-top: 1px solid rgb(185 155 213 / 30%);
  padding-top: 28px;
  margin-top: 32px !important;
  color: var(--ndsp-soft-ink);
  font-size: 14px;
  line-height: 1.75;
}
body.ndsp-refined .ndsp-footer-contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 32px;
  margin-top: 32px;
  padding-block: 28px;
  border-top: 1px solid rgb(185 155 213 / 30%);
}
body.ndsp-refined .ndsp-footer-contact h3 { margin: 0 0 8px; font-size: 23px; }
body.ndsp-refined .ndsp-footer-contact p { margin: 0; color: var(--ndsp-soft-ink); font-size: 15px; }
body.ndsp-refined .ndsp-footer-contact .ndsp-actions { gap: 12px 24px; margin: 0; }
body.ndsp-refined .ndsp-footer-contact-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-block: 6px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: underline;
  text-decoration-color: var(--brand-lavender);
  text-underline-offset: 6px;
}
body.ndsp-refined .ndsp-footer-contact-link:hover { color: var(--brand-lavender); }
body.ndsp-refined .site-footer .copyright { margin-top: 32px; padding-block: 22px; font-size: 13px; line-height: 1.7; }
body.ndsp-refined .site-footer .copyright p { margin-bottom: 0; }
body.ndsp-refined .site-footer .copyright a { display: inline-block; padding-block: 5px; }

/* Forms: native controls, visible boundaries, aligned choice / label pairs. */
body.ndsp-refined .hs-form[data-content-form] { text-align: left; }
body.ndsp-refined .hs-form[data-content-form] .input { margin-right: 0; }
body.ndsp-refined .hs-form[data-content-form] label { font-size: 16px; line-height: 1.5; }
body.ndsp-refined .hs-form[data-content-form] .hs-input:not([type="radio"]):not([type="checkbox"]) {
  width: 100% !important;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #9d8aaf;
  border-radius: 8px;
  background: #fff;
  color: var(--brand-navy);
  font-size: 16px;
  line-height: 1.5;
  box-shadow: none;
}
body.ndsp-refined .hs-form[data-content-form] textarea.hs-input { min-height: 144px !important; resize: vertical; }
body.ndsp-refined .hs-form[data-content-form] select.hs-input { -webkit-appearance: auto; appearance: auto; }
body.ndsp-refined .hs-form[data-content-form] .hs-input:is([type="radio"], [type="checkbox"]) {
  width: 20px !important;
  height: 20px;
  min-width: 20px;
  min-height: 20px !important;
  padding: 0;
  margin: 3px 0 0 !important;
  flex: 0 0 20px;
  accent-color: var(--brand-heading);
  vertical-align: middle;
}
body.ndsp-refined .hs-form[data-content-form] :is(.input, .hs-form-field):has(> input:is([type="radio"], [type="checkbox"])) {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: 36px;
}
body.ndsp-refined .hs-form[data-content-form] input:is([type="radio"], [type="checkbox"]) + label {
  display: block !important;
  flex: 1;
  min-width: 0;
  margin: 0 !important;
  font-weight: 400;
  line-height: 1.6;
  cursor: pointer;
}
body.ndsp-refined .hs-form[data-content-form] .hs-input:focus-visible { outline: 3px solid var(--brand-lavender); outline-offset: 3px; }
body.ndsp-refined .hs-form[data-content-form] [data-content-condition-field][hidden] { display: none !important; }
body.ndsp-refined .hs-form[data-content-form] .hs-button { margin-top: 16px; }

/* Card action alignment works with the source row / column markup. */
body.ndsp-refined .ndsp-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-inline: 0; }
body.ndsp-refined .ndsp-card-grid > * { width: auto; max-width: none; min-width: 0; padding-inline: 0; margin-bottom: 0 !important; }
body.ndsp-refined .ndsp-card-grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
body.ndsp-refined .ndsp-card-grid--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
body.ndsp-refined .ndsp-card-grid .box-g { display: flex; flex-direction: column; }
body.ndsp-refined .ndsp-card-grid .box-g > .row { flex: 1; flex-flow: column nowrap; }
body.ndsp-refined .ndsp-card-grid .box-g > .row > * { flex: 0 0 auto; }
body.ndsp-refined .ndsp-card-grid .box-g > .row > :last-child { display: flex; flex: 1; flex-direction: column; }
body.ndsp-refined .ndsp-card-grid .box-g .ndsp-actions { margin-top: auto; padding-top: 22px; }
body.ndsp-refined .ndsp-card-grid .box-g :is(h3, p) { overflow-wrap: normal; word-break: normal; }
body.ndsp-refined .ndsp-card-grid .box-g h3 { font-size: clamp(22px, 1.8vw, 27px); }

/* Reuse the existing plus / minus paths as masks so the glyph inherits brand ink. */
body.ndsp-refined .accordion-home .pointer {
  position: relative;
  padding: 23px 52px 23px 0;
  color: var(--brand-navy);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-transform: none;
  background-image: none;
}
body.ndsp-refined .accordion-home .pointer::after {
  content: "";
  position: absolute;
  width: 24px;
  height: 24px;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  background: var(--brand-action);
  -webkit-mask: url('/assets/vendor/a43187c605f5-icon-minus.svg') center / contain no-repeat;
  mask: url('/assets/vendor/a43187c605f5-icon-minus.svg') center / contain no-repeat;
}
body.ndsp-refined .accordion-home .pointer.collapsed::after {
  -webkit-mask-image: url('/assets/vendor/fec423072a1d-icon-plus.svg');
  mask-image: url('/assets/vendor/fec423072a1d-icon-plus.svg');
}
body.ndsp-refined .accordion-home .item { border-color: var(--ndsp-border); }
body.ndsp-refined .accordion-home .content-collapse { padding: 0 48px 24px 0; }
body.ndsp-refined .accordion-home .pointer:focus-visible { outline: 3px solid var(--brand-lavender); outline-offset: 4px; }

@media (max-width: 1399px) and (min-width: 768px) {
  body.ndsp-refined .navigation-bar > .container-fluid > .row { grid-template-columns: minmax(240px, .7fr) minmax(0, 1.3fr); gap: 18px; }
  body.ndsp-refined .site-header .btn-tops { grid-template-columns: max-content max-content; grid-template-rows: auto auto; justify-content: end; gap: 8px 16px; }
  body.ndsp-refined .site-header .btn-tops > p { grid-column: 1; grid-row: 1; font-size: 11px !important; }
  body.ndsp-refined .site-header .btn-tops > a[href^="mailto:"] { grid-column: 2; grid-row: 1; font-size: 11px !important; }
  body.ndsp-refined .site-header .btn-tops > .make-a-referral-button { grid-column: 1; grid-row: 2; justify-self: end; }
  body.ndsp-refined .site-header .btn-tops > .phone-button { grid-column: 2; grid-row: 2; justify-self: end; }
}
@media (max-width: 1199px) {
  body.ndsp-refined .site-footer > .container-fluid > .row { grid-template-columns: 1fr; gap: 36px; }
  body.ndsp-refined .site-footer > .container-fluid > .row > :last-child { margin-top: 0 !important; }
  body.ndsp-refined .site-footer > .container-fluid > .row > :first-child { max-width: 600px; text-align: left !important; }
  body.ndsp-refined .site-footer .logo { max-width: 340px; }
  body.ndsp-refined .site-footer > .container-fluid > .row > :last-child > .row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
  body.ndsp-refined .ndsp-footer-contact { grid-template-columns: 1fr; gap: 14px; }
  body.ndsp-refined .ndsp-card-grid--four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 991px) {
  body.ndsp-refined .navigation-bar > .container-fluid > .row { grid-template-columns: 1fr; gap: 8px; }
  body.ndsp-refined .site-header .logo { max-width: 330px; }
  body.ndsp-refined .site-header .btn-tops { grid-template-columns: 1fr 1fr max-content max-content; grid-template-rows: 1fr; align-items: center; gap: 12px; }
  body.ndsp-refined .site-header .btn-tops > p { grid-column: 1; grid-row: 1; text-align: left; white-space: normal; }
  body.ndsp-refined .site-header .btn-tops > a[href^="mailto:"] { grid-column: 2; grid-row: 1; }
  body.ndsp-refined .site-header .btn-tops > .make-a-referral-button { grid-column: 3; grid-row: 1; }
  body.ndsp-refined .site-header .btn-tops > .phone-button { grid-column: 4; grid-row: 1; }
  body.ndsp-refined .site-header .btn-tops > .btn-top { font-size: 12px; padding-inline: 14px; }
  body.ndsp-refined .ndsp-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
}
@media (max-width: 767px) {
  body.ndsp-refined .navigation-bar { padding-block: 10px; }
  body.ndsp-refined .navigation-bar > .container-fluid > .row { gap: 4px; }
  body.ndsp-refined .navigation-bar .hamburger { margin-right: 8px; padding: 8px; transform: scale(.85); }
  body.ndsp-refined .site-header .logo { width: calc(100% - 60px) !important; max-width: 290px; }
  body.ndsp-refined .site-header .btn-tops { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto auto auto; gap: 2px 8px; margin-top: 2px; text-align: center; }
  body.ndsp-refined .site-header .btn-tops > p { grid-column: 1 / 3; grid-row: 1; text-align: center; font-size: 10px !important; line-height: 1.4; white-space: normal; }
  body.ndsp-refined .site-header .btn-tops > a[href^="mailto:"] { grid-column: 1 / 3; grid-row: 2; font-size: 11px !important; line-height: 1.4; }
  body.ndsp-refined .site-header .btn-tops > .make-a-referral-button { grid-column: 1; grid-row: 3; justify-self: stretch; margin-top: 4px; }
  body.ndsp-refined .site-header .btn-tops > .phone-button { grid-column: 2; grid-row: 3; justify-self: stretch; margin-top: 4px; }
  body.ndsp-refined .site-header .btn-tops > .btn-top { min-height: 44px; padding: 9px 8px; font-size: 12px; }
  body.ndsp-refined .side-navigation { width: 100%; max-width: 100%; }
  body.ndsp-refined .side-navigation .navigation a { font-size: 16px; padding-right: 30px; }
  body.ndsp-refined .navigation > ul > li > ul > li > a { padding-left: 30px; }
  body.ndsp-refined .navigation > ul > li > ul > li > ul > li > a { padding-left: 38px; }
  body.ndsp-refined .ndsp-actions { gap: 12px; margin-top: 22px; }
  body.ndsp-refined :is(.btn-pink, .hs-button) { padding: 12px 18px; font-size: 14px; min-height: 48px; }
  body.ndsp-refined .ndsp-actions > .btn-pink { flex: 0 1 auto; }
  body.ndsp-refined .ndsp-cta .heading { font-size: 32px; }
  body.ndsp-refined .site-footer > .container-fluid { padding-top: 40px; }
  body.ndsp-refined .site-footer > .container-fluid > .row > :last-child > .row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; }
  body.ndsp-refined .site-footer > .container-fluid > .row > :last-child > .row > :last-child { grid-column: 1 / -1; }
  body.ndsp-refined .site-footer .copyright .row > * { text-align: left !important; }
  body.ndsp-refined .site-footer .copyright .row > :last-child { margin-top: 12px; }
  body.ndsp-refined .site-footer .copyright a { margin-left: 0 !important; margin-right: 12px !important; }
  body.ndsp-refined .accordion-home .pointer { font-size: 17px; padding-block: 20px; }
  body.ndsp-refined .accordion-home .content-collapse { padding-right: 12px; }
}
@media (max-width: 599px) {
  body.ndsp-refined .ndsp-card-grid { grid-template-columns: 1fr; }
  body.ndsp-refined .ndsp-cta .ndsp-actions > .btn-pink { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  body.ndsp-refined :is(.btn-pink, .hs-button, .btn-top, .hamburger__inner, .hamburger__hidden),
  body.ndsp-refined :is(.hamburger__inner, .hamburger__hidden)::before,
  body.ndsp-refined :is(.hamburger__inner, .hamburger__hidden)::after { transition: none; }
}
/* Header contact details share the logo row; primary actions form the second row. */
body.ndsp-refined .navigation-bar > .container-fluid > .row {
  margin-inline: 0;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: auto auto auto;
  gap: 0 16px;
}
body.ndsp-refined .navigation-bar > .container-fluid > .row > :first-child {
  grid-column: 1; grid-row: 1 / 3; align-self: center; padding-inline: 0;
}
body.ndsp-refined .site-header .btn-tops { display: contents; }
body.ndsp-refined .site-header .btn-tops > p {
  grid-column: 2; grid-row: 1; align-self: end; text-align: right;
  margin: 0 !important; white-space: normal; font-size: 13px !important;
}
body.ndsp-refined .site-header .btn-tops > a[href^="mailto:"] {
  grid-column: 2; grid-row: 2; align-self: start; text-align: right;
  margin: 4px 0 0 !important; overflow-wrap: anywhere; white-space: normal; font-size: 13px !important;
}
body.ndsp-refined .site-header .btn-tops > .make-a-referral-button { grid-column: 1; grid-row: 3; }
body.ndsp-refined .site-header .btn-tops > .phone-button { grid-column: 2; grid-row: 3; }
body.ndsp-refined .site-header .btn-tops > .btn-top {
  justify-self: stretch; width: 100%; margin: 12px 0 0 !important;
}
@media(max-width:599px) {
  body.ndsp-refined .navigation-bar > .container-fluid > .row { column-gap: 10px; }
  body.ndsp-refined .site-header .btn-tops > p,
  body.ndsp-refined .site-header .btn-tops > a[href^="mailto:"] { font-size: 10px !important; line-height: 1.4; }
  body.ndsp-refined .navigation-bar .hamburger { margin-right: 4px; padding: 4px; }
}
@media (min-width: 1100px) {
  body.ndsp-refined .navigation-bar > .container-fluid > .row {
    grid-template-columns: minmax(300px, 1fr) max-content max-content max-content;
    grid-template-rows: 1fr 1fr;
    column-gap: 24px;
  }
  body.ndsp-refined .site-header .btn-tops > p,
  body.ndsp-refined .site-header .btn-tops > a[href^="mailto:"] { text-align: left; }
  body.ndsp-refined .site-header .btn-tops > .make-a-referral-button { grid-column: 3; grid-row: 1 / 3; }
  body.ndsp-refined .site-header .btn-tops > .phone-button { grid-column: 4; grid-row: 1 / 3; }
  body.ndsp-refined .site-header .btn-tops > .btn-top {
    align-self: center; width: auto; margin: 0 !important; padding-inline: 24px;
  }
  body.ndsp-refined .site-header .logo { max-width: calc(100% - 64px); }
}
/* Sitemap navigation: linked overview, visual service groups, mobile actions. */
body.ndsp-refined .navigation li { position: relative; }
body.ndsp-refined .ndsp-mobile-menu-cta, body.ndsp-refined .ndsp-mobile-menu-phone { display:none; }
@media(max-width:767px) {
 body.ndsp-refined .navigation > ul > li:last-child { display:none; }
 body.ndsp-refined .navigation .ndsp-mobile-menu-cta { display:block; margin:20px 24px 12px; padding:14px; background:#79559b; color:#fff; border-radius:28px; text-align:center; font-weight:700; }
 body.ndsp-refined .navigation .ndsp-mobile-menu-phone { display:block; padding:8px 24px 24px; text-align:center; color:#192d59; }
}

/* Shared dropdown component used by both top-level menu groups. */
body.ndsp-refined .navigation .ndsp-menu-link { position:relative; padding-right:64px; }
body.ndsp-refined .navigation .ndsp-menu-toggle {
  position:absolute; right:18px; top:4px; width:40px; height:40px;
  display:flex; align-items:center; justify-content:center;
  border:0; padding:0; border-radius:0; background:transparent;
  color:#192d59; font-family:inherit; font-size:26px; font-weight:400; line-height:1; cursor:pointer;
}
body.ndsp-refined .navigation li:hover > .ndsp-menu-toggle,
body.ndsp-refined .navigation .ndsp-menu-toggle[aria-expanded="true"] { font-weight:700; }
/* Original drawer hierarchy: tinted child panels and progressively indented links. */
body.ndsp-refined .navigation .dropdown { background:#e5ecef; }
body.ndsp-refined .navigation .dropdown .dropdown { background:#edf2f4; }
body.ndsp-refined .navigation > ul > li > .dropdown > li > a { padding-left:30px; }
body.ndsp-refined .navigation .dropdown .dropdown > li > a { padding-left:48px; }
/* Reuse the captured reference menu's second/third-level hierarchy. */
body.ndsp-refined .navigation > ul > li > ul { background:rgb(227,235,238); }
body.ndsp-refined .navigation > ul > li > ul > li > a { background:rgb(227,235,238); padding-left:40px; }
body.ndsp-refined .navigation > ul > li > ul > li > ul { background:rgb(241,245,246); }
body.ndsp-refined .navigation > ul > li > ul > li > ul > li > a {
  background:rgb(241,245,246); padding:8px 20px 8px 60px;
  min-height:0; font-size:inherit; line-height:inherit; font-weight:400; text-transform:none;
}
body.ndsp-refined .navigation > ul > li > ul > li > ul > li > a:hover,
body.ndsp-refined .navigation > ul > li > ul > li > ul > li > a:focus-visible { font-weight:700; text-decoration:none; }
/* Homepage hero uses a straight rectangular image edge. */
body.ndsp-refined .ndsp-hero--home .ndsp-hero-media,
body.ndsp-refined .ndsp-hero--home .ndsp-hero-image { border-radius:0 !important; }
/* Homepage section actions: group-level navigation has its own closing row. */
body.ndsp-refined:has(.ndsp-hero--home) :is(#section-p021, #section-p071) > .container-fluid > .ndsp-actions {
  display:flex; justify-content:center; align-items:center; gap:24px;
  margin-top:44px; padding-top:0; padding-bottom:28px; width:100%;
  border-top:0; border-bottom:1px solid #e4deec;
}
body.ndsp-refined:has(.ndsp-hero--home) :is(#section-p021, #section-p071) > .container-fluid > .ndsp-actions > .btn-pink {
  min-width:230px; min-height:50px; padding:14px 28px; text-align:center;
}
body.ndsp-refined:has(.ndsp-hero--home) #section-p021 .ndsp-card-grid .ndsp-actions { margin-top:24px; }
body.ndsp-refined:has(.ndsp-hero--home) #section-p021 .ndsp-card-grid .ndsp-actions > .btn-pink {
  background:transparent; color:#563781; border:1px solid #aa94c2; min-height:44px; padding:10px 22px;
}
body.ndsp-refined:has(.ndsp-hero--home) #section-p021 .ndsp-card-grid .ndsp-actions > .btn-pink:hover {
  background:#f1edf6; border-color:#79559b;
}
body.ndsp-refined:has(.ndsp-hero--home) .ndsp-reading-body > .ndsp-actions { margin-top:28px; gap:14px; }
@media(max-width:767px) {
 body.ndsp-refined:has(.ndsp-hero--home) :is(#section-p021, #section-p071) > .container-fluid > .ndsp-actions { margin-top:28px; padding-top:0; padding-bottom:24px; }
 body.ndsp-refined:has(.ndsp-hero--home) :is(#section-p021, #section-p071) > .container-fluid > .ndsp-actions > .btn-pink { width:100%; max-width:340px; min-width:0; }
}
/* Keep homepage reading images alongside long copy, within their own section. */
@media(min-width:801px) {
 body.ndsp-refined:has(.ndsp-hero--home) .ndsp-reading-section,
 body.ndsp-refined:has(.ndsp-hero--home) .ndsp-reading-section > .ndsp-component-layout { overflow:visible; }
 body.ndsp-refined:has(.ndsp-hero--home) .ndsp-reading-section > .ndsp-component-layout:not(.ndsp-component-layout--2) > .ndsp-component-photo {
   position:sticky; top:calc(var(--ndsp-header-height, 100px) + 24px); align-self:start;
   max-height:calc(100vh - var(--ndsp-header-height, 100px) - 48px); object-fit:cover;
 }
}
/* Document-defined footer: CTA precedes five desktop columns. */
body.ndsp-refined .ndsp-global-footer-cta {
 margin:0; padding:40px max(24px, calc((100vw - 1440px) / 2));
 background:#122b5e; color:#fff; border-top:0; border-bottom:1px solid rgba(255,255,255,.14);
}
body.ndsp-refined .ndsp-global-footer-cta h3 { color:#fff; }
body.ndsp-refined .ndsp-global-footer-cta p { color:#d5dceb; }
body.ndsp-refined .ndsp-global-footer-cta .ndsp-footer-contact-link {
 color:#fff; padding:12px 20px; border:1px solid #b5a0cd; border-radius:28px; font-weight:700;
}
body.ndsp-refined .ndsp-global-footer-cta .ndsp-footer-contact-link:first-child { color:#fff; background:#79559b; border-color:#79559b; }
body.ndsp-refined .ndsp-global-footer-cta .ndsp-footer-contact-link:hover { color:#fff; background:rgba(255,255,255,.10); border-color:#fff; }
body.ndsp-refined .ndsp-global-footer-cta .ndsp-footer-contact-link:first-child:hover { background:#68468d; border-color:#b5a0cd; }
body.ndsp-refined .ndsp-global-footer-cta .ndsp-footer-contact-link:focus-visible { outline:2px solid #fff; outline-offset:4px; }

body.ndsp-refined .site-footer > .container-fluid > .row {
 grid-template-columns:minmax(0,1.35fr) minmax(0,.85fr) minmax(0,1.1fr) minmax(0,1.35fr) minmax(0,.8fr); gap:28px;
}
body.ndsp-refined .site-footer .footer-menu a { overflow-wrap:anywhere; }
@media(max-width:1199px) {
 body.ndsp-refined .site-footer > .container-fluid > .row { grid-template-columns:repeat(2,minmax(0,1fr)); }
 body.ndsp-refined .site-footer > .container-fluid > .row > :first-child { grid-column:1 / -1; }
}
@media(max-width:599px) {
 body.ndsp-refined .site-footer > .container-fluid > .row { grid-template-columns:1fr; }
 body.ndsp-refined .ndsp-global-footer-cta .ndsp-actions { flex-direction:column; align-items:stretch; }
 body.ndsp-refined .ndsp-global-footer-cta .ndsp-footer-contact-link { justify-content:center; }
}

body.ndsp-refined .navigation .ndsp-menu-toggle:focus-visible { outline:2px solid #79559b; outline-offset:2px; }
/* Site-wide: reading-side photos follow their text within the section. */
@media(min-width:801px) {
 body.ndsp-refined .ndsp-illustrated-component,
 body.ndsp-refined .ndsp-component-layout { overflow:visible; }
 body.ndsp-refined .ndsp-component-layout:not(.ndsp-component-layout--2):not(.ndsp-component-layout--cta) > .ndsp-component-photo {
  position:sticky; top:calc(var(--ndsp-header-height, 100px) + 24px); align-self:start;
  max-height:calc(100dvh - var(--ndsp-header-height, 100px) - 48px); object-fit:cover;
 }
}
@media(min-width:992px) {
 body.ndsp-refined .section-content > .container-fluid > .row:has(> .col-lg-6 > img) { align-items:flex-start !important; overflow:visible; }
 body.ndsp-refined .section-content > .container-fluid > .row > .col-lg-6:has(> img):not(:has(p)) {
  position:sticky; top:calc(var(--ndsp-header-height, 100px) + 24px); align-self:flex-start;
 }
 body.ndsp-refined .section-content > .container-fluid > .row > .col-lg-6:has(> img):not(:has(p)) > img {
  max-height:calc(100dvh - var(--ndsp-header-height, 100px) - 48px); object-fit:contain;
 }
}

/* Keep standalone reading/step groups centered as a single content block. */
body.ndsp-refined .ndsp-reading-section > .container-fluid > .ndsp-reading-layout {
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
}
body.ndsp-refined .ndsp-reading-section > .container-fluid > .ndsp-reading-layout > .ndsp-reading-body {
  max-width: none;
}

/* Align the ledger hero copy and image on the same vertical centre. */
@media (min-width: 768px) {
  body.ndsp-refined .ndsp-hero.ndsp-hero--ledger .ndsp-hero-layout {
    align-items: center;
  }
  body.ndsp-refined .ndsp-hero.ndsp-hero--ledger .ndsp-hero-media {
    margin-top: 0;
  }
}

/* Document-authored service banner: editable heading and supporting copy. */
body.ndsp-refined .ndsp-source-banner {
  background:#192b59; color:#fff; padding:64px 32px; margin:24px 0 40px;
  scroll-margin-top:180px;
}
body.ndsp-refined .ndsp-source-banner__inner { width:100%; max-width:1120px; margin:0 auto; padding:0; }
body.ndsp-refined .ndsp-source-banner__title {
  color:#fff; font-size:clamp(28px,3.2vw,46px); font-weight:600; line-height:1.2;
  max-width:1000px; margin:0; padding:0; text-align:left;
}
body.ndsp-refined .ndsp-source-banner__title::after { content:none; }
body.ndsp-refined .ndsp-source-banner__subtitle {
  color:#eeeaf5; font-size:clamp(18px,1.6vw,22px); line-height:1.6;
  border-left:3px solid #b7a0cf; padding:0 0 0 22px; margin:26px 0 0; max-width:900px;
}
@media(max-width:767px) {
 body.ndsp-refined .ndsp-source-banner { padding:36px 24px; margin:12px 0 24px; }
 body.ndsp-refined .ndsp-source-banner__subtitle { margin-top:20px; padding-left:16px; }
}

/* Shared readable text actions; icon-only menu controls retain their own sizing. */
body.ndsp-refined { --ndsp-action-font-size:20px; }
body.ndsp-refined :is(.btn-pink,.hs-button,.btn-top,.ndsp-footer-contact-link,.ndsp-mobile-menu-cta),
body.ndsp-refined .ndsp-hero .btn-pink.ndsp-hero-action,
body.ndsp-refined .ui-card-copy > a.btn-pink,
body.ndsp-refined .site-header .btn-tops > .btn-top,
body.ndsp-refined .ndsp-unified-form :is(.ndsp-flow-actions,.ndsp-flow-review,.ndsp-flow-progress) button {
 font-size:var(--ndsp-action-font-size); font-weight:700; line-height:1.35;
 min-height:56px; padding:14px 22px; white-space:normal; overflow-wrap:break-word;
 max-width:100%; box-sizing:border-box; height:auto;
}
body.ndsp-refined :is(.ndsp-actions,.ndsp-hero-actions,.ndsp-flow-actions) { flex-wrap:wrap; gap:12px; }
body.ndsp-refined :is(.ndsp-cta,.bg-blue,.site-footer,.ref-section--cta,.ndsp-hero--home,.ndsp-hero--stage,.ndsp-hero--referral,.ndsp-hero--postcard) .btn-pink.ndsp-button-secondary,
body.ndsp-refined .ndsp-global-footer-cta .ndsp-footer-contact-link {
 background:#79559b; border-color:#79559b; color:#fff;
}
body.ndsp-refined :is(.ndsp-cta,.bg-blue,.site-footer,.ref-section--cta,.ndsp-hero--home,.ndsp-hero--stage,.ndsp-hero--referral,.ndsp-hero--postcard) .btn-pink.ndsp-button-secondary:hover,
body.ndsp-refined .ndsp-global-footer-cta .ndsp-footer-contact-link:hover {
 background:#68468d; border-color:#b5a0cd; color:#fff;
}
body.ndsp-refined :is(.btn-pink,.hs-button,.btn-top,.ndsp-footer-contact-link):focus-visible { outline:3px solid #b5a0cd; outline-offset:4px; }
@media(max-width:1099px) {
 body.ndsp-refined .site-header .logo { width:380px !important; max-width:calc(100% - 56px); }
 body.ndsp-refined .site-header .btn-tops > p,
 body.ndsp-refined .site-header .btn-tops > a[href^="mailto:"] { font-size:16px !important; line-height:1.4; }
 body.ndsp-refined .site-header .btn-tops > .btn-top { padding-inline:12px; }
}
@media(max-width:599px) {
 body.ndsp-refined .navigation-bar > .container-fluid > .row { grid-template-columns:repeat(2,minmax(0,1fr)); grid-template-rows:auto auto auto auto; gap:6px 10px; }
 body.ndsp-refined .navigation-bar > .container-fluid > .row > :first-child { grid-column:1 / -1; grid-row:1; }
 body.ndsp-refined .site-header .logo { max-width:min(340px,calc(100% - 56px)); }
 body.ndsp-refined .site-header .btn-tops > p { grid-column:1 / -1; grid-row:2; text-align:right; align-self:center; }
 body.ndsp-refined .site-header .btn-tops > a[href^="mailto:"] { grid-column:1 / -1; grid-row:3; text-align:right; margin:0 !important; }
 body.ndsp-refined .site-header .btn-tops > .make-a-referral-button { grid-column:1; grid-row:4; }
 body.ndsp-refined .site-header .btn-tops > .phone-button { grid-column:2; grid-row:4; }
 body.ndsp-refined .site-header .btn-tops > .btn-top { margin-top:4px !important; padding:12px 8px; align-self:stretch; display:flex; align-items:center; justify-content:center; }
 body.ndsp-refined .ndsp-unified-form .ndsp-flow-progress { grid-template-columns:1fr; }
 body.ndsp-refined .ndsp-hero .btn-pink.ndsp-hero-action { flex:1 1 100%; }
}

@media(min-width:600px) and (max-width:1099px) {
 body.ndsp-refined .navigation-bar > .container-fluid > .row { grid-template-columns:minmax(0,1.2fr) minmax(0,1fr); }
}

/* Larger enquiry details across header breakpoints. */
body.ndsp-refined .site-header .btn-tops > p,
body.ndsp-refined .site-header .btn-tops > a[href^="mailto:"] {
 font-size:22px !important; line-height:1.4; overflow-wrap:anywhere;
}
@media(min-width:1100px) {
 body.ndsp-refined .navigation-bar > .container-fluid > .row { grid-template-columns:minmax(260px,1fr) minmax(0,1.2fr) max-content max-content; }
}

/* AlliedHealth original footer flags, 2026-10-08. */
body.ndsp-refined .ndsp-footer-flags{display:flex;align-items:center;flex-wrap:wrap;gap:14px;margin:48px 0 20px}
body.ndsp-refined .ndsp-footer-flags img{width:auto;height:48px;object-fit:contain;box-shadow:none}
body.ndsp-refined .ndsp-footer-flags + p.mt-5{margin-top:0!important}
@media(max-width:767px){body.ndsp-refined .ndsp-footer-flags{column-gap:8px}}
