/* Shared button theme, applied after the imported page styles. */
:root{--button-orange:#fc6608;--button-orange-hover:#e95d05}

body :is(button,input[type="submit"],a.action,a.phone,a.secondary,
  .ems-call-top,.ems-callback-top,.site-footer-callback,.service-phone,
  .author-pagination a,.author-pagination [aria-current="page"],a[role="button"]){
  color:#000!important;
}

/* Keep the logo-orange callback and primary-action colors consistent sitewide.
   These theme overrides also cover the imported masthead and dialog variants. */
body :is(.action,.callback-link,.ems-callback-top,.site-footer-callback,
  .author-pagination [aria-current="page"],button:not(.ems-menu-toggle),input[type="submit"]){
  background:var(--button-orange)!important;
  border-color:var(--button-orange)!important;
}

body :is(.action,.callback-link,.ems-callback-top,.site-footer-callback,
  button:not(.ems-menu-toggle),input[type="submit"]):hover{
  background:var(--button-orange-hover)!important;
  border-color:var(--button-orange-hover)!important;
}

/* Phone actions stay white; orange is used for the webform callback actions. */
body a[href^="tel:"]:is(.phone,.phone-main,.action,.secondary,.ems-call-top,.service-phone){
  background:#fff!important;
  color:#000!important;
}
body a[href^="tel:"]:is(.phone,.phone-main,.action,.secondary,.ems-call-top,.service-phone):hover{
  background:#f5f5f5!important;
}
body .inner-masthead-actions .action[href^="tel:"]{
  border-color:#fff!important;
}
