/* v2.3.75 — Services-only action/background colour corrections.
   Scoped to legacy professional-services pages and the /services/ landing page.
   Do not modify masthead/wordmark/footer/attribution/logo colours. */

/* Wide action buttons throughout dental, legal, wellness, trades and partner pages. */
body.dv50-consistent-legacy main a.primary-button,
body.dv50-consistent-legacy main button.primary-button,
body.dv47-services-landing main a.primary-button,
body.dv47-services-landing main button.primary-button {
  background:#245b67 !important;
  color:#fff !important;
}
body.dv50-consistent-legacy main a.primary-button:hover,
body.dv50-consistent-legacy main button.primary-button:hover,
body.dv50-consistent-legacy main a.primary-button:focus-visible,
body.dv50-consistent-legacy main button.primary-button:focus-visible,
body.dv47-services-landing main a.primary-button:hover,
body.dv47-services-landing main button.primary-button:hover,
body.dv47-services-landing main a.primary-button:focus-visible,
body.dv47-services-landing main button.primary-button:focus-visible {
  background:#173e53 !important;
  color:#fff !important;
}

/* Existing peach/orange full-width closing panels and calls-to-action. */
body.dv50-consistent-legacy main :is(
  .closing,.exclusive-closing,.legal-partner-closing,
  .hoa-partner-closing,.guides-index-closing
) { background:#BEDDD7 !important; }

/* Replace peach recognition panels on service-category pages; keep the
   separate beige, lavender, peach-cream and green treatments elsewhere. */
body.dv50-consistent-legacy main .general-recognition:not(
  .legal-recognition,.acupuncture-recognition,.electricians-recognition,
  .accountants-recognition,.hair-stylists-recognition
) { background:#BEDDD7 !important; }

/* Services landing bottom full-width area previously bright yellow-orange. */
body.dv47-services-landing main .closing { background:#BEDDD7 !important; }

/* Links and arrow icons inside these panels: teal only; do not touch branding. */
body.dv50-consistent-legacy main :is(
  .general-recognition,.exclusive-closing,.legal-partner-closing,
  .hoa-partner-closing,.guides-index-closing,.general-closing,.dentists-closing
) a span[aria-hidden],
body.dv50-consistent-legacy main :is(
  .general-recognition,.exclusive-closing,.legal-partner-closing,
  .hoa-partner-closing,.guides-index-closing,.general-closing,.dentists-closing
) a span {
  color:#245b67 !important;
}

/* Original base rules still paint these large recognition panels peach:
   correct them without altering any narrower accent/brand colours. */
body.dv50-consistent-legacy main .dentists-recognition { background:#BEDDD7 !important; }
body.dv50-consistent-legacy main .general-recognition.legal-recognition { background:#EEE2CF !important; }
body.dv50-consistent-legacy main .general-recognition.accountants-recognition { background:#E7DFEB !important; }
