/* Shared service-page style: brings the older service and program pages in
   line with the Adult Day Programs template (nhanya-employment.css).
   Loaded only on pages whose <body> has class "nh-svc". Nav and footer are
   excluded, and dark call-to-action boxes keep white text for contrast.
   Tokens: Gantari; H1 #8A490B 50px (36px mobile); H2 #2C2C2C 34px (28px
   mobile); body 17px / 1.6 #2C2C2C; pill buttons #8A490B; page #FFFDF9. */

body.nh-svc{background:#FFFDF9}

/* Headings */
body.nh-svc :is(h1,h2,h3):not(:where(#nhanya-nav-root,#nhanya-footer-root,.nhanya-footer-wrapper,nav,footer) *){
  font-family:'Gantari',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif !important;
  line-height:1.2 !important;letter-spacing:normal !important;text-transform:none !important}
body.nh-svc h1:not(:where(#nhanya-nav-root,#nhanya-footer-root,.nhanya-footer-wrapper,nav,footer) *){
  font-size:36px !important;font-weight:700 !important;color:#8A490B !important}
body.nh-svc h2:not(:where(#nhanya-nav-root,#nhanya-footer-root,.nhanya-footer-wrapper,nav,footer) *){
  font-size:28px !important;font-weight:700 !important;color:#2C2C2C !important}
body.nh-svc h3:not(:where(#nhanya-nav-root,#nhanya-footer-root,.nhanya-footer-wrapper,nav,footer) *){
  font-size:19px !important;font-weight:700 !important;color:#2C2C2C !important}
/* Two-tone Elementor headings become a single weight and colour */
body.nh-svc :is(h1,h2,h3) .sub-heading-h1{font-weight:inherit !important;color:inherit !important;font-family:inherit !important}
@media (min-width:900px){
  body.nh-svc h1:not(:where(#nhanya-nav-root,#nhanya-footer-root,.nhanya-footer-wrapper,nav,footer) *){font-size:50px !important}
  body.nh-svc h2:not(:where(#nhanya-nav-root,#nhanya-footer-root,.nhanya-footer-wrapper,nav,footer) *){font-size:34px !important}
  body.nh-svc h3:not(:where(#nhanya-nav-root,#nhanya-footer-root,.nhanya-footer-wrapper,nav,footer) *){font-size:21px !important}
}

/* Body copy */
body.nh-svc :is(p,li):not(:where(#nhanya-nav-root,#nhanya-footer-root,.nhanya-footer-wrapper,nav,footer,.emp-crumbs,table) *){
  font-family:'Gantari',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif !important;
  font-size:17px !important;line-height:1.6 !important;color:#2C2C2C !important}
body.nh-svc [class*="card"] :is(p,li){font-size:16px !important}

/* Elementor text blocks: readable left-aligned column, lists under the text */
body.nh-svc .elementor-widget-text-editor .elementor-widget-container{max-width:760px;margin-left:auto;margin-right:auto;text-align:left}
body.nh-svc .elementor-widget-text-editor ul{margin:0 0 16px;padding-left:1.3em;list-style-position:outside}
body.nh-svc .elementor-widget-text-editor li{margin-bottom:6px}

/* Dark call-to-action boxes keep light text (c7817f1 / 6e86e02: the dark
   contact boxes on the Support Coordination and Specialist SC pages) */
body.nh-svc :is(.cta,.audience-cta,.services-cta,.ot-cta-box,.pbs-cta-box,.e-con:has(.heading-cta),.elementor-element-c7817f1,.elementor-element-6e86e02) :is(h1,h2,h3,p,li,span:not([class*="button"])){color:#FFFFFF !important}
body.nh-svc :is(.cta,.audience-cta,.services-cta,.ot-cta-box,.pbs-cta-box,.e-con:has(.heading-cta),.elementor-element-c7817f1,.elementor-element-6e86e02) :is(p,li) a:not([class*="button"]):not([class*="btn"]){color:#FFFFFF !important}

/* Buttons: pill shape, deep orange */
body.nh-svc :is(.elementor-button,a.button,.button-primary,.nh-btn-primary,.nh-btn-light):not(:where(#nhanya-nav-root,#nhanya-footer-root,.nhanya-footer-wrapper,nav,footer) *){
  display:inline-flex !important;align-items:center;justify-content:center;gap:8px;
  min-height:48px;padding:12px 24px !important;border-radius:30px !important;
  border:2px solid #8A490B !important;background:#8A490B !important;color:#FFFFFF !important;
  font-family:'Gantari',sans-serif !important;font-weight:700 !important;font-size:17px !important;line-height:1.2 !important;text-decoration:none !important}
body.nh-svc :is(.elementor-button,a.button,.button-primary,.nh-btn-primary,.nh-btn-light):hover{background:#86490e !important;border-color:#86490e !important}
/* Secondary (white) buttons become outline buttons */
body.nh-svc a.button:not(.button-primary):not(.primary){background:transparent !important;color:#8A490B !important}
body.nh-svc a.button:not(.button-primary):not(.primary):hover{background:#8A490B !important;color:#FFFFFF !important}
/* Buttons sitting on dark boxes: white with deep orange text */
body.nh-svc :is(.cta,.audience-cta,.services-cta,.ot-cta-box,.pbs-cta-box,.e-con:has(.heading-cta),.elementor-element-c7817f1,.elementor-element-6e86e02) :is(.elementor-button,a.button,.button-primary,.nh-btn-primary,.nh-btn-light){
  background:#FFFFFF !important;border-color:#FFFFFF !important;color:#8A490B !important}
body.nh-svc :is(.elementor-button,a.button,.button-primary,.nh-btn-primary,.nh-btn-light) :is(span,.elementor-button-text){color:inherit !important;font:inherit !important}
