/* CP-002D: shared Conditions section. Match its distinctive checklist and link. */
.fusion-fullwidth:has(a[href*="newport-beach-chiropractic-biophysics-the-hidden-passage-to-a-pain-free-future"]):has(.fusion-li-item-content) {
  --awb-background-color: #066c87 !important;
  --link_color: #ffffff !important;
  --link_hover_color: #ffffff !important;
  background-color: #066c87 !important;
}
.fusion-fullwidth:has(a[href*="newport-beach-chiropractic-biophysics-the-hidden-passage-to-a-pain-free-future"]):has(.fusion-li-item-content) .fusion-text a {color:#fff !important;text-decoration:underline;}
/* CP-002E/004: shared lower promotional banner. Retain background image; give the exact text region an opaque dark backdrop. */
.fusion-fullwidth[data-bg*="healthy-couple-running-bw.png"] .fusion-text:has(h2):has(h3, h5) {
  background-color:#064b60 !important;
  padding:12px 16px;
  border-radius:4px;
}
.fusion-fullwidth[data-bg*="healthy-couple-running-bw.png"] .fusion-text:has(h2) :is(h2,h3,h5) {color:#fff !important;}
/* CP-002B: article cards on light background. */
body.home .blog-shortcode-post-title a {color:#17556f !important;text-decoration:underline;}
body.home .blog-shortcode-post-title a:is(:hover,:focus-visible) {color:#103b50 !important;}
/* Footer text links are tagged by exact audited labels in JS; backgrounds were light in supplied audit. */
.cp-ar-footer-link {color:#17556f !important;text-decoration:underline;}
.cp-ar-footer-link:is(:hover,:focus-visible) {color:#103b50 !important;}
.cp-ar-footer-nav {display:inline-flex !important;align-items:center;min-height:24px;min-width:24px;box-sizing:border-box;line-height:1.35;}
.cp-ar-footer-link:focus-visible {outline:2px solid currentColor;outline-offset:2px;}

/* Additional footer rules previously stored in staging Global Styles. */
:is(.fusion-footer,.fusion-tb-footer,footer,#footer) :is(.fusion-text,.widget_nav_menu,.fusion-copyright-notice) a:not(.fusion-button):not(.fusion-social-network-icon) {color:#17556f !important;text-decoration:underline;}
:is(.fusion-footer,.fusion-tb-footer,footer,#footer) :is(.fusion-text,.widget_nav_menu) a:not(.fusion-button):not(.fusion-social-network-icon):not([rel~="nofollow"]):not([href^="tel:"]):not([href^="mailto:"]) {display:inline-flex;align-items:center;min-height:24px;min-width:24px;box-sizing:border-box;line-height:1.35;}
:is(.fusion-footer,.fusion-tb-footer,footer,#footer) :is(.fusion-text,.widget_nav_menu,.fusion-copyright-notice) a:not(.fusion-button):focus-visible {outline:2px solid currentColor;outline-offset:2px;}

/* CP-002D follow-up: explicit foreground/background on the audited checklist, including mobile. */
.fusion-fullwidth:has(a[href*="newport-beach-chiropractic-biophysics-the-hidden-passage-to-a-pain-free-future"]) .fusion-checklist .fusion-li-item-content {
 color:#ffffff !important; background-color:#066c87 !important; --awb-textcolor:#ffffff !important;
}

/* CP-SW-03: top-level active Avada navigation on the audited white header. */
:is(.fusion-tb-header,.fusion-header-wrapper,header) :is(.awb-menu,.fusion-main-menu) > ul > :is(.current-menu-item,.current-menu-parent,.current-menu-ancestor,.current_page_item,.current_page_parent) > a .menu-text,
:is(.fusion-tb-header,.fusion-header-wrapper,header) :is(.awb-menu,.fusion-main-menu) > ul > li > a[aria-current="page"] .menu-text {
  color:#17556f !important;
}
 /* CP-SW-05: exact shared map and promotional actions. */
.fusion-fullwidth.coreposture-map .fusion-text a[href="tel:+19495365506"] {color:#fff !important;text-decoration:underline;}
.fusion-fullwidth.coreposture-map a.fusion-button[href*="g.page/coreposture"] {
  --button_accent_color:#252525 !important;--button_gradient_top_color:#fff !important;--button_gradient_bottom_color:#fff !important;
  color:#252525 !important;background:#fff !important;
}
.fusion-fullwidth.coreposture-map a.fusion-button[href*="g.page/coreposture"] :is(.fusion-button-text,.awb-button__icon) {color:#252525 !important;}
.fusion-fullwidth[data-bg*="healthy-couple-running-bw.png"] a.fusion-button[href="tel:+19495365506"] {
  --button_accent_color:#fff !important;--button_gradient_top_color:#a90404 !important;--button_gradient_bottom_color:#a90404 !important;
  color:#fff !important;background:#a90404 !important;
}
.fusion-fullwidth[data-bg*="healthy-couple-running-bw.png"] a.fusion-button[href="tel:+19495365506"] .fusion-button-text {color:#fff !important;}
.fusion-fullwidth[data-bg*="healthy-couple-running-bw.png"] a.fusion-button[href="tel:+19495365506"]:is(:hover,:focus-visible) {background:#790303 !important;}
.fusion-fullwidth.coreposture-map a.fusion-button[href*="g.page/coreposture"]:is(:hover,:focus-visible) {background:#f1f1f1 !important;}
:is(.fusion-fullwidth.coreposture-map,.fusion-fullwidth[data-bg*="healthy-couple-running-bw.png"]) a:focus-visible {outline:2px solid #fff !important;outline-offset:3px;box-shadow:0 0 0 2px #252525 !important;}
/* CP-SW-04: previously audited gray subtitle pattern, including Avada's RGB normalization.
   Limit to previously inspected pages and exclude explicitly unresolved variable backgrounds. */
:is(.page-id-8330,.page-id-8177,.page-id-8172,.page-id-8169,.page-id-8168,.page-id-8149,.page-id-8114,.page-id-8112,.page-id-8099,.page-id-8067,.page-id-7990,.page-id-7965,.page-id-7783,.page-id-6905,.page-id-6686,.page-id-6652) .fusion-fullwidth:not([style*="var(--awb-color2)"]) .fusion-text h3:is([style*="color: #a0a0a0" i],[style*="color: rgb(160, 160, 160)" i])[style*="font-weight: 100"] {color:#545454 !important;}
.fusion-fullwidth[style*="--awb-background-color:#efefef"] .fusion-text :is(h1,h2,h3,p):is([style*="color: #00000050" i],[style*="color: rgba(0, 0, 0, 0.314)" i]) {color:#545454 !important;}
/* Prior shared CSS, included in this plugin because classic-theme global styles may not render. */
:is(.page-id-8915,.page-id-8330,.page-id-8318,.page-id-8310) .fusion-text h4[style*="opacity: 0.8"][style*="font-size: 14px"] {opacity:1 !important;}
.page-id-6433 .blog-shortcode-post-title a {color:#17556f !important;text-decoration:underline;}
.single-post .fusion-text :is(p,li) a[href]:not(.fusion-button):not([role="button"]) {text-decoration:underline;text-underline-offset:0.12em;}
:is(.fusion-header-wrapper,.fusion-tb-header,.fusion-mobile-menu,.gform_wrapper) :is(a[href],button,input:not([type="hidden"]),select,textarea,[tabindex="0"]):focus-visible {outline:2px solid #17556f !important;outline-offset:3px;box-shadow:0 0 0 2px #fff !important;}

/* CP-SW-10B: Scoliosis desktop article grid. Native container class plus page-ID fallback.
   Keep the rule independent of Avada row numbering and future article URLs. */
body.page-id-8135 .cp-ar-scoliosis-articles .fusion-post-content-wrapper h4.blog-shortcode-post-title > a,
body.page-id-8135 #post-8135 .fusion-post-content-wrapper h4.blog-shortcode-post-title > a {
  color:#17556f !important;
  background-color:#f4f4f4 !important;
  text-decoration:underline !important;
  text-shadow:none !important;
}
body.page-id-8135 .cp-ar-scoliosis-articles .fusion-post-content-wrapper h4.blog-shortcode-post-title > a:is(:hover,:focus-visible),
body.page-id-8135 #post-8135 .fusion-post-content-wrapper h4.blog-shortcode-post-title > a:is(:hover,:focus-visible) {
  color:#103b50 !important;
}
