@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@500&display=swap");
/* Loaded only on the Aculeus rehabilitation homepage template. */
html {
  font-size: 16px !important;
}

body.aculeus-rehab-standalone {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: #f7f8f6 !important;
  font-size: 16px !important;
}

body.aculeus-rehab-standalone #root,
body.aculeus-rehab-standalone .aculeus-page {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  font-size: 16px !important;
  line-height: 1.5 !important;
}

.aculeus-page .display,
.aculeus-page h1.display,
.aculeus-page h2.display,
.aculeus-page h3.display {
  display: block !important;
  font-family: "Manrope", ui-sans-serif, sans-serif !important;
  font-weight: 800 !important;
  letter-spacing: -.065em !important;
  text-transform: none !important;
}

.aculeus-page #top {
  width: 100% !important;
  max-width: 1240px !important;
  margin-right: auto !important;
  margin-left: auto !important;
  gap: 72px !important;
}

.aculeus-page .aculeus-site-header {
  display: flex !important;
  width: 100% !important;
  max-width: none !important;
  align-items: center !important;
  justify-content: space-between !important;
  min-height: 112px !important;
  padding-top: 1.65rem !important;
  padding-bottom: 1.65rem !important;
}

.aculeus-page .aculeus-site-header > a img {
  width: 195px !important;
  max-width: 195px !important;
}

.aculeus-page .aculeus-site-header > div {
  margin-left: auto !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 2rem !important;
  font-size: 16px !important;
}

/* Readability pass: increase supporting copy without changing display headings. */
.aculeus-page section p:not(.eyebrow) {
  font-size: 17px !important;
  line-height: 1.7 !important;
}

.aculeus-page section li,
.aculeus-page section label,
.aculeus-page section input,
.aculeus-page section select,
.aculeus-page section textarea {
  font-size: 16px !important;
  line-height: 1.6 !important;
}

.aculeus-page .eyebrow {
  font-size: 14px !important;
  line-height: 1.4 !important;
}

.aculeus-page button,
.aculeus-page [role="button"] {
  font-size: 15px !important;
  line-height: 1.35 !important;
}

.aculeus-footer-brand p {
  font-size: 14px !important;
  line-height: 1.65 !important;
}

.aculeus-footer-column h3 {
  font-size: 14px !important;
}

.aculeus-footer-column a {
  font-size: 13px !important;
  line-height: 1.5 !important;
}

.aculeus-footer-bottom {
  font-size: 12px !important;
}

.aculeus-floating-contact a {
  min-height: 42px !important;
  padding-right: 20px !important;
  padding-left: 20px !important;
  font-size: 14px !important;
}

.aculeus-page #top h1 {
  margin-top: 1.5rem !important;
  font-size: clamp(3.2rem, 6.3vw, 6rem) !important;
  font-weight: 800 !important;
  line-height: .94 !important;
}

.aculeus-page #top .group {
  display: flex !important;
  align-items: center !important;
  padding: 1rem 1.5rem !important;
  border-radius: 9999px !important;
  background: #fea418 !important;
  color: #506477 !important;
}

.aculeus-page #care h2 {
  display: block !important;
  margin-top: 1rem !important;
  color: #fff !important;
  font-size: 3rem !important;
  line-height: 1.02 !important;
}

.aculeus-page #approach h2,
.aculeus-page #wellness h2,
.aculeus-page #contact h2 {
  color: #506477 !important;
}

.aculeus-page [data-testid="assessment-open"],
.aculeus-page [data-testid="wellness-read-more"] {
  border: 0 !important;
  border-radius: 9999px !important;
  background: #fea418 !important;
  color: #506477 !important;
}

.aculeus-page [data-testid="wellness-previous"],
.aculeus-page [data-testid="wellness-next"] {
  border: 1px solid rgba(80, 100, 119, .35) !important;
  border-radius: 9999px !important;
  background: transparent !important;
  color: #506477 !important;
}

.aculeus-page #wellness .relative > span.absolute {
  display: inline-flex !important;
  width: auto !important;
  max-width: max-content !important;
  right: auto !important;
  padding: .5rem 1rem !important;
  border-radius: 9999px !important;
  white-space: nowrap !important;
}

.aculeus-page #approach + section h2,
.aculeus-page #approach + section h3 {
  color: #fff !important;
}

@media (max-width: 640px) {
  html {
    font-size: 16px !important;
  }

  .aculeus-page #top {
    display: block !important;
  }

  .aculeus-page #top h1 {
    font-size: clamp(3rem, 14vw, 4.25rem) !important;
  }

  .aculeus-page #care h2 {
    font-size: 2.25rem !important;
  }

  .aculeus-page .aculeus-site-header {
    min-height: 92px !important;
    padding-top: 1.35rem !important;
    padding-bottom: 1.35rem !important;
  }

  .aculeus-page .aculeus-site-header > a img {
    width: 158px !important;
    max-width: 158px !important;
  }

  .aculeus-page section p:not(.eyebrow) {
    font-size: 16px !important;
  }

  .aculeus-page button,
  .aculeus-page [role="button"] {
    font-size: 14px !important;
  }
}

/* v1.9: give the injury diagram and its labels more room. */
@media (min-width: 900px) {
  .aculeus-page #care > div {
    width: min(1380px, calc(100% - 48px)) !important;
    max-width: 1380px !important;
  }

  .aculeus-page #care > div > div {
    grid-template-columns: minmax(350px, .78fr) minmax(620px, 1.22fr) !important;
    gap: 56px !important;
  }
}

.aculeus-page .aculeus-body-card {
  width: 100% !important;
  max-width: 720px !important;
  justify-self: end !important;
}

.aculeus-page .aculeus-body-svg text {
  font-size: 20px !important;
}

@media (max-width: 899px) {
  .aculeus-page .aculeus-body-card {
    max-width: 680px !important;
    margin-right: auto !important;
    margin-left: auto !important;
  }
}

@media (min-width: 768px) {
  .aculeus-page .aculeus-site-header > div {
    display: flex !important;
  }
}

/* v1.7: image and callouts share one square SVG coordinate system. */
.aculeus-body-card { background:#fff; border-top:5px solid #FEA418; border-radius:24px; overflow:hidden; color:#506477; }
.aculeus-body-svg { display:block; width:100%; height:auto; aspect-ratio:1; }
.aculeus-diagram-enlarge { display:block; margin:0 auto 12px; padding:12px 22px; border:0; border-radius:24px; background:#FEA418; color:#3E4F2F; cursor:pointer; }
.aculeus-page #care .aculeus-diagram-note { margin:12px 18px 20px; font-size:13px!important; line-height:1.5!important; }
.aculeus-diagram-modal { position:fixed; inset:0; z-index:2147483647; background:white; display:flex; flex-direction:column; color:#506477; }
.aculeus-diagram-toolbar { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:16px; background:#f2f4f5; font-size:16px; }
.aculeus-diagram-toolbar button { padding:12px 18px; border:0; border-radius:24px; background:#FEA418; color:#3E4F2F; }
.aculeus-diagram-scroll { overflow:auto; flex:1; min-height:0; overscroll-behavior:contain; }
.aculeus-diagram-scroll .aculeus-body-svg { width:100%; min-width:900px; max-width:1200px; margin:auto; }
@media(max-width:767px) { .aculeus-page #care > div { padding-top:48px!important; padding-bottom:48px!important; } }

/* v1.8: stronger readability for diagram labels, actions and numbered sections. */
.aculeus-page .aculeus-body-svg text {
  font-size: 24px !important;
  font-weight: 700 !important;
}

.aculeus-page button,
.aculeus-page [role="button"],
.aculeus-page a[class*="rounded-full"],
.aculeus-page [data-testid="assessment-open"],
.aculeus-page [data-testid="wellness-read-more"] {
  font-size: 17px !important;
  line-height: 1.35 !important;
}

.aculeus-page #approach article .eyebrow,
.aculeus-page #approach + section .eyebrow {
  font-size: 28px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  letter-spacing: .08em !important;
}

.aculeus-diagram-enlarge,
.aculeus-diagram-toolbar button {
  font-size: 17px !important;
}

@media (max-width: 640px) {
  .aculeus-page .aculeus-body-svg text {
    font-size: 25px !important;
  }

  .aculeus-page button,
  .aculeus-page [role="button"],
  .aculeus-page a[class*="rounded-full"] {
    font-size: 16px !important;
  }

  .aculeus-page #approach article .eyebrow,
  .aculeus-page #approach + section .eyebrow {
    font-size: 26px !important;
  }
}
/* v2.3: shared Aculeus header based on the approved About-page header. */
@media (min-width: 768px) {
  .aculeus-page .aculeus-site-header {
    min-height: 82px !important;
    padding: 18px 36px !important;
    justify-content: flex-start !important;
    gap: 28px !important;
    background: #fff !important;
  }
  .aculeus-page .aculeus-site-header > a img {
    width: 255px !important;
    max-width: 255px !important;
  }
  .aculeus-page .aculeus-site-header > div {
    margin-left: 0 !important;
    justify-content: flex-start !important;
    gap: 32px !important;
    font-size: 15px !important;
    font-weight: 500 !important;
  }
}

@media (max-width: 767px) {
  .aculeus-page .aculeus-site-header {
    min-height: 76px !important;
    padding: 15px 20px !important;
    background: #fff !important;
  }
  .aculeus-page .aculeus-site-header > a img {
    width: 170px !important;
    max-width: 170px !important;
  }
}

/* Let the homepage body diagram sit directly on its section background. */
.aculeus-page #care .aculeus-body-card {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.aculeus-page #care .aculeus-body-svg {
  mix-blend-mode: multiply;
}

.aculeus-page #care { background: #f7f7f5 !important; color: #506477 !important; }
.aculeus-page #care h2 { color: #3E4F2F !important; }
.aculeus-page #care p { color: #506477 !important; }

/* Separate the hero from the light recovery diagram section. */
.aculeus-page #top {
  background: #506477 !important;
  box-shadow: 0 0 0 100vmax #506477;
  clip-path: inset(0 -100vmax);
}
.aculeus-page #top h1,
.aculeus-page #top h1 span,
.aculeus-page #top p,
.aculeus-page #top [data-testid="hero-care-link"] {
  color: #fff !important;
}

/* BEGIN homepage colour flow preview - remove this block to restore prior colours. */
.aculeus-page #care,
.aculeus-page #approach,
.aculeus-page #wellness,
.aculeus-page #more-good-days,
.aculeus-page #more-good-days > div,
.aculeus-page #more-good-days > div > div > div:first-child {
  background: #fff !important;
}
.aculeus-page #approach + section { background: #3E4F2F !important; }
.aculeus-page #approach + section h2,
.aculeus-page #approach + section h3,
.aculeus-page #approach + section p { color: #fff !important; }
.aculeus-page #more-good-days h2 { color: #3E4F2F !important; }
.aculeus-page #more-good-days p,
.aculeus-page #more-good-days a { color: #506477 !important; }
.aculeus-page #more-good-days a[aria-label] > span:last-child { color: #506477 !important; }
.aculeus-page #more-good-days > div > div > div:last-child > div { border-color: rgba(80,100,119,.25) !important; }
.aculeus-page #more-good-days img[alt="More Good Days"] {
  content: url("https://aculeus.com.au/wp-content/plugins/aculeus-rehab-homepage/assets//images/aculeus-more-good-days-orange.png");
}
.aculeus-page #contact { background: #506477 !important; }
.aculeus-page #contact h2,
.aculeus-page #contact p { color: #fff !important; }
.aculeus-page .aculeus-footer { background: #3E4F2F !important; }
html body #root .aculeus-page #more-good-days h2 { color: #3E4F2F !important; }
html body #root .aculeus-page #more-good-days a[aria-label] > span:last-child,
html body #root .aculeus-page #more-good-days a[href*="/veteran-social-network/"] { color: #506477 !important; }
/* END homepage colour flow preview. */

/* Hero introduction readability trial. */
html body .aculeus-page #top > div > p {
 font-family: "Open Sans", Arial, sans-serif !important;
 font-size: 20px !important;
 font-weight: 500 !important;
 line-height: 1.7 !important;
 letter-spacing: normal !important;
 max-width: 520px !important;
 color: #fff !important;
}
html body .aculeus-page #top > div > p + p { margin-top: 20px !important; }
