/* CRM wizard theme — applies to all templates */
:root {
  --crm-theme-primary: #84939f;
  --crm-theme-secondary: #b8c0c7;
  --crm-theme-primary-dark: #66727a;
  --crm-theme-button: #67737c;
  --crm-theme-button-hover: #586269;
  --crm-dark-surface: #5a646c;
  --crm-theme-btn-radius: 8px;
  --crm-btn-solid-text: #ffffff;
  --crm-btn-outline-text: #2d2d2d;
  --crm-btn-outline-hover-bg: #bfc7cd;
  --crm-btn-outline-hover-text: #2d2d2d;
  --color-on-light: #2d2d2d;
  --color-on-dark: #ffffff;
  --color-on-nav: #2a2a2a;
  --color-on-hero: #2d2d2d;
  --white: #ffffff;
  --color-white: #ffffff;
  --color-button: #67737c;
  --color-button-hover: #586269;
  --footer-bg: #5a646c;
  --footer-text: #ffffff;
  --crm-text-on-light: #2d2d2d;
  --crm-text-on-dark: #ffffff;
  --crm-text-muted-on-light: #333333;
  --text-on-color-pink-light: #2d2d2d;
  --text-muted-on-color-pink-light: #333333;
  --text-on-color-pink: #2d2d2d;
  --text-muted-on-color-pink: #333333;
  --text-on-color-rose-pink: #2d2d2d;
  --text-muted-on-color-rose-pink: #333333;
  --text-on-color-surface-soft: #2d2d2d;
  --text-muted-on-color-surface-soft: #333333;
  --text-on-color-surface-muted: #2d2d2d;
  --text-muted-on-color-surface-muted: #333333;
  --text-on-color-surface-tint: #2d2d2d;
  --text-muted-on-color-surface-tint: #333333;
  --text-on-color-surface-alt: #2d2d2d;
  --text-muted-on-color-surface-alt: #333333;
  --text-on-mkt-surface: #2d2d2d;
  --text-muted-on-mkt-surface: #333333;
  --text-on-mkt-surface-alt: #ffffff;
  --text-muted-on-mkt-surface-alt: rgba(255, 255, 255, 0.92);
  --text-on-brand-surface: #2d2d2d;
  --text-muted-on-brand-surface: #333333;
  --text-on-dark-purple: #ffffff;
  --text-muted-on-dark-purple: rgba(255, 255, 255, 0.92);
  --text-on-dark-purple-gray: #ffffff;
  --text-muted-on-dark-purple-gray: rgba(255, 255, 255, 0.92);
  --text-on-mkt-blue-dark: #ffffff;
  --text-muted-on-mkt-blue-dark: rgba(255, 255, 255, 0.92);
  --text-on-dark-blue: #ffffff;
  --text-muted-on-dark-blue: rgba(255, 255, 255, 0.92);
  --text-on-mkt-primary-dark: #ffffff;
  --text-muted-on-mkt-primary-dark: rgba(255, 255, 255, 0.92);
  --text-on-brand-dark: #ffffff;
  --text-muted-on-brand-dark: rgba(255, 255, 255, 0.92);
  --text-on-color-secondary: #ffffff;
  --text-muted-on-color-secondary: rgba(255, 255, 255, 0.92);
  --text-on-mkt-healow-blue: #ffffff;
  --text-muted-on-mkt-healow-blue: rgba(255, 255, 255, 0.92);
  --text-on-crm-dark-surface: #ffffff;
  --text-muted-on-crm-dark-surface: rgba(255, 255, 255, 0.92);
  --text-on-brand-teal: #2d2d2d;
  --text-muted-on-brand-teal: #333333;
  --text-on-color-accent: #ffffff;
  --text-muted-on-color-accent: rgba(255, 255, 255, 0.92);
  --text-on-mkt-accent: #2d2d2d;
  --text-muted-on-mkt-accent: #333333;
  --text-on-mkt-accent-dark: #ffffff;
  --text-muted-on-mkt-accent-dark: rgba(255, 255, 255, 0.92);
  --text-on-color-primary: #2d2d2d;
  --text-muted-on-color-primary: #333333;
  --text-on-light-blue: #2d2d2d;
  --text-muted-on-light-blue: #333333;
  --text-on-teal: #2d2d2d;
  --text-muted-on-teal: #333333;
  --text-on-hot-pink: #2d2d2d;
  --text-muted-on-hot-pink: #333333;
  --text-on-orange: #2d2d2d;
  --text-muted-on-orange: #333333;
  --text-on-color-app-button: #2d2d2d;
  --text-muted-on-color-app-button: #333333;
  --text-on-color-pink-btn: #2d2d2d;
  --text-muted-on-color-pink-btn: #333333;

  /* style1 */
  --color-primary: #84939f;
  --color-primary-dark: #66727a;
  --color-plum: #b8c0c7;
  --color-pink-btn: #67737c;
  --color-accent-red: #b8c0c7;
  --color-rose-pink: #afb9c1;
  --color-pink-light: #f0f2f3;
  --color-pink: #e9ecee;
  --color-surface-soft: #f5f6f7;

  /* style2 / healow marketing */
  --dark-purple: #6c7882;
  --dark-purple-gray: #6c7782;
  --light-purple: #ccddeb;
  --pink: #dbe7f1;
  --hot-pink: #95a6b3;
  --blue: #bfd5e6;
  --dark-blue: #5a646c;
  --teal: #bfd5e6;
  --light-blue: #d5e4ef;
  --mkt-blue: #bfd5e6;
  --mkt-blue-dark: #6c7882;
  --mkt-orange: #dce8f2;
  --mkt-accent: #95a6b3;
  --mkt-accent-dark: #3f5a6e;
  --mkt-link: #bfd5e6;
  --mkt-check: #bfd5e6;
  --mkt-surface: #ffffff;
  --mkt-surface-alt: #5a646c12;
  --mkt-practice-code: #5f6a72;
  --mkt-tab-text: #495057;
  --mkt-bg-tab-inactive: #ececec;

  /* style3 classic healow */
  --color-secondary: #6c7882;
  --color-accent: #67737c;
  --color-surface-muted: #f0f2f3;
  --color-surface-tint: #fbfcfd;
  --color-surface-alt: #fefcfb;
  --color-faq-border: #dde1e4;
  --color-faq-border-soft: #e1e5e8;
  --color-faq-border-light: #e6e9ec;
  --color-faq-gradient-start: #e9ecee;
  --color-chip-bg: #e4e7ea;
  --color-chip-border: #d8dce0;
  --color-chip-text: #66727a;
  --color-chip-hover: #bbc0c4;
  --color-text-shadow: #f3f4f5;
  --color-insurance-muted: #bdc2c7;
  --brand-heading: #66727a;
  --brand-hero-accent: #84939f;
  --brand-dark: #6c7882;
  --brand-teal: #67737c;
  --brand-surface: #f0f2f3;
  --brand-red: #f4e8dc;
  --brand-muted: #aeb5ba;
  --brand-highlight: #9ca4aa;
  --brand-lime: #c5cacd;
  --mkt-warm-accent: #d5e4ef;
  --hero-card-icon-bg: #67737c;
  --social-icon-color: #67737c;
  --footer-heading-color: #ffffff;

  /* bootstrap tokens */
  --bs-primary: #84939f;
  --bs-primary-rgb: 132, 147, 159;
  --bs-link-color: #84939f;
  --bs-link-hover-color: #66727a;

  --font-body: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Poppins', Georgia, 'Times New Roman', serif;
  --color-pink-btn: #f4e8dc;
  --color-pink-border: #e1ecf4;
  --color-orange: #dde9f2;
  --color-gray-dark: #2d2d2d;
  --color-gray: #6b6b6b;
  --color-gray-light: #9a9a9a;
  --mkt-blue: #bfd5e6;
  --mkt-blue-dark: #6c7882;
  --mkt-orange: #dce8f2;
  --mkt-orange-gold: #dbe8f1;
  --mkt-link: #bfd5e6;
  --mkt-check: #bfd5e6;
  --mkt-text: #333333;
  --mkt-text-muted: #555555;
  --mkt-accent: #95a6b3;
  --mkt-accent-dark: #3f5a6e;
  --dark-purple: #6c7882;
  --dark-purple-gray: #6c7782;
  --light-purple: #ccddeb;
  --blue: #bfd5e6;
  --pink: #dbe7f1;
  --hot-pink: #95a6b3;
  --teal: #bfd5e6;
  --light-blue: #d5e4ef;
  --orange: #95a6b3;
  --color-app-button: #95a6b3;
  --brand-dark: #6c7882;
  --brand-red: #f4e8dc;
  --brand-teal: #cddeec;
  --brand-heading: #9dafbd;
  --brand-hero-accent: #bfd5e6;
  --color-secondary: #6c7882;
  --mkt-warm-accent: #d5e4ef;
  --hero-card-icon-bg: #95a6b3;
  --social-icon-color: #67737c;
  --footer-heading-color: #ffffff;
  --crm-theme-accent: #4f6f87;
  --color-on-light: #2d2d2d;
  --color-border: #d7dee5;
  --color-surface-soft: #fcf8f4;
  --color-text-on-light: #2d2d2d;
  --color-text-on-dark: #ffffff;
  --dark-blue: #5a646c;
  --mkt-primary-dark: #5a646c;
  --mkt-healow-blue: #5a646c;
  --red: #67737c;
  --crm-text-muted-on-light: #333333;
}

html, body {
  font-family: var(--font-body) !important;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--font-heading) !important;
}

.btn,
button,
input[type="button"],
input[type="submit"],
a.btn,
[class*="btn-"] {
  border-radius: var(--crm-theme-btn-radius) !important;
  font-weight: 600 !important;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease !important;
}

/* Universal solid primary CTA buttons */
.btn-primary,
.btn-header,
.btn-appointment,
.btn-hero-primary,
.btn-hero-card,
.btn-cta,
.btn-cta-primary,
.btn-schedule,
.btn-portal,
.btn-marketing-primary,
.btn-marketing-accent,
.portal-button,
.btn-modal-custom,
.qa-custom-btn,
.card.stores-cta .btn,
.card.portal-cta .portal-button,
.bg-primary {
  background-color: #2c818c !important;
  background-image: none !important;
  border: 1px solid var(--crm-theme-button) !important;
  color: var(--crm-btn-solid-text) !important;
}

.btn-primary:hover,
.btn-header:hover,
.btn-appointment:hover,
.btn-hero-primary:hover,
.btn-hero-card:hover,
.btn-cta:hover,
.btn-cta-primary:hover,
.btn-schedule:hover,
.btn-portal:hover,
.btn-marketing-primary:hover,
.btn-marketing-accent:hover,
.portal-button:hover,
.btn-modal-custom:hover,
.qa-custom-btn:hover,
.card.stores-cta .btn:hover,
.card.portal-cta .portal-button:hover {
  background-color: var(--crm-theme-button-hover) !important;
  background-image: none !important;
  border-color: var(--crm-theme-button-hover) !important;
  color: var(--crm-btn-solid-text) !important;
}

/* Override Bootstrap text-dark on solid brand buttons */
.btn-primary.text-dark,
.btn-header.text-dark,
.btn-hero-card.text-dark,
.btn-cta-primary.text-dark,
.portal-button.text-dark,
a.btn.text-dark[class*="btn-"] {
  color: var(--crm-btn-solid-text) !important;
}

/* Outline role — Patient Login / portal */
.btn-patient-login,
.btn-login,
.btn-hero-outline,
.btn-cta-outline,
.btn-outline-primary {
  background-color: #ffffff !important;
  background-image: none !important;
  color: var(--crm-btn-outline-text) !important;
  border: 1px solid var(--crm-theme-primary) !important;
}

.btn-patient-login:hover,
.btn-login:hover,
.btn-login:focus,
.btn-login:active,
.btn-hero-outline:hover,
.btn-cta-outline:hover,
.btn-outline-primary:hover {
  background-color: var(--crm-btn-outline-hover-bg) !important;
  background-image: none !important;
  color: var(--crm-btn-outline-hover-text) !important;
  border-color: var(--crm-theme-primary) !important;
  opacity: 1 !important;
}

/* Section backgrounds derived from brand */
.hero-section {
  background: linear-gradient(135deg, #2c818c80 0%, #f4d0a0c2 100%) !important;
}

.hero-label {
  background: rgba(255, 255, 255, 0.95) !important;
  color: var(--crm-theme-primary-dark) !important;
}

.hero-title,
.hero-title-accent {
  color: var(--crm-theme-primary-dark) !important;
}

.hero-desc {
  color: var(--color-gray, #6b6b6b) !important;
}

/* Dark band sections — always readable white text */
.insurance-section,
.section-dark,
.bg-dark-purple {
  background-color: var(--crm-dark-surface) !important;
  color: var(--crm-btn-solid-text) !important;
}

.insurance-section p,
.insurance-section li,
.insurance-title,
.insurance-section .insurance-list li {
  color: rgba(255, 255, 255, 0.92) !important;
}

/* Service / care cards — dark gradient so white titles stay readable */
.care-card-overlay.pink,
.care-card-overlay.hot-pink,
.care-card-overlay.purple {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.72), transparent 55%) !important;
}

.care-card-content h3 {
  color: #ffffff !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.service-link,
.portal-link {
  color: var(--color-on-light) !important;
}

/* Header menus sit on the brand bar. Their text is chosen from that bar, not the brand color itself. */
.nav-background-color,
#header.nav-background-color {
  background: #84939f !important;
  background-color: #84939f !important;
}

#header .nav-link,
#header .nav-link:hover,
#header .nav-link:focus,
#header .nav-link:visited,
#header-navbar .nav-link,
#header-navbar .nav-link:hover,
#header-navbar .nav-link:focus,
#header-navbar .nav-link:visited,
#header-navbar .call-us-label,
.nav-background-color .navbar-collapse a:not(.btn),
.nav-background-color .navbar-collapse a:not(.btn) i,
.nav-background-color .navbar-brand {
  color: var(--color-on-nav) !important;
  -webkit-text-fill-color: var(--color-on-nav) !important;
}

#header-navbar li .sep {
  background: var(--color-on-nav) !important;
}

/* Hero copy is measured against the photo behind it, then given a scrim so mixed photos still pass. */
.desktop-hero .hero-heading-accent,
.desktop-hero .hero-heading-dark,
.desktop-hero .hero-body-text {
  color: var(--color-on-hero) !important;
  text-shadow: 0 0 12px rgba(255,255,255,0.92), 0 1px 2px rgba(255,255,255,0.9) !important;
}

.desktop-hero .hero-bg-height > .position-absolute {
  background: linear-gradient(90deg, rgba(255,255,255,0) 18%, rgba(255,255,255,0.78) 58%) !important;
}

a {
  color: var(--crm-theme-primary);
}

a:hover:not(.btn):not([class*="btn-"]) {
  color: var(--crm-theme-primary-dark);
}

.service-icon i,
.care-card-icon,
[class*="accent"] {
  color: #2c818c;
}

/* Dark bands: CTA banner and footer share one surface + readable text pair */
.cta-content,
.cta-banner .cta-content {
  background: var(--footer-bg) !important;
  background-image: none !important;
  color: var(--footer-text) !important;
}

.cta-content h2,
.cta-content p,
.cta-text h2,
.cta-text p {
  color: var(--footer-text) !important;
}

.cta-content .btn-cta,
.cta-content .btn-appointment,
.cta-content .btn-cta-primary {
  background: #ffffff !important;
  background-image: none !important;
  color: var(--color-on-light) !important;
  border: 1px solid #ffffff !important;
}

.cta-content .btn-cta:hover,
.cta-content .btn-appointment:hover,
.cta-content .btn-cta-primary:hover {
  background: #e4e4e7 !important;
  color: var(--color-on-light) !important;
  border-color: #e4e4e7 !important;
}

.cta-box,
.cta-box .cta-title,
.cta-box .cta-title-accent,
.cta-box .cta-desc,
.specialist-name,
.specialist-role,
.specialist-bio,
.service-card h3,
.service-card .service-desc {
  color: var(--color-on-light) !important;
}

.main-footer,
#footer,
.footer {
  background: var(--footer-bg) !important;
  color: var(--footer-text) !important;
}

.main-footer p,
.main-footer h3,
.main-footer h4,
.main-footer ul li,
.main-footer ul li a,
.main-footer ul li a:hover,
.footer-logo .logo-text,
.footer-heading,
.footer-desc,
.footer-brand,
.contact-list li,
#footer p,
#footer li,
#footer a {
  color: var(--footer-text) !important;
}

/* Uploaded logos — header stays transparent; dark footer gets a light plate for PNG/WebP */
.navbar-brand img.brand-logo.main-logo,
.navbar-brand img.main-logo,
.navbar-brand img.brand-logo {
  background: transparent !important;
  background-color: transparent !important;
}

#footer .footer-logo img.brand-logo.logo-may-transparent,
#footer .footer-brand img.brand-logo.logo-may-transparent,
.main-footer .footer-logo img.brand-logo.logo-may-transparent,
.footer .footer-brand img.brand-logo.logo-may-transparent {
  background: #ffffff !important;
  background-color: #ffffff !important;
  padding: 8px 12px !important;
  border-radius: 8px !important;
  box-sizing: content-box !important;
}

#footer,
.medicbuilding {
  background: #2c818c !important;
  color: var(--crm-btn-solid-text) !important;
}

#footer .footer-link li a,
#footer .footer-link li a:visited,
.footer-link li a,
.footer-link li a:visited {
  color: var(--crm-btn-solid-text) !important;
}

#testimonials {
  background: var(--color-surface-muted) !important;
}

/*
 * Patient-tools + FAQ iframe hosts load healow CDN pages with black text.
 * Always keep these panels translucent-light (brand dark @ ~7% opacity).
 */
#patient-tools .patient-tools-tab #p-tools-Content,
#patient-tools #p-tools-Content,
#patient-tools .tab-pane,
#faqs .faq-iframe-wrapper,
#faqs .tab-content {
  background: #5a646c12 !important;
  background-color: #5a646c12 !important;
  color: #2d2d2d !important;
}

#patient-tools .patient-tools-iframe-wrap {
  background: transparent !important;
  background-color: transparent !important;
}

/* Practice unique code — always darkened primary on the white code panel */
.practice-code-right .code,
.practice-code .code,
.practice-code-bg .code,
.ai-practice-code,
span.code.ai-practice-code,
strong.ai-practice-code {
  color: #5f6a72 !important;
}

.practice-code-right .code,
.practice-code .code,
.practice-code-bg .code {
  border-color: #5f6a72 !important;
}

#meet-doctor {
  background: var(--color-surface-alt) !important;
}

.specialities-bx {
  background: var(--color-surface-tint) !important;
}

.card.stores-cta .card-body {
  background: #2c818c !important;
}

.services-tabs a.nav-link.active,
.nav-tabs .nav-link.active,
#faqs .nav-tabs .nav-link.active {
  background-color: var(--brand-teal) !important;
  border-color: var(--brand-teal) !important;
  color: #2d2d2d !important;
}

#quick-action .btn {
  background-color: var(--color-primary) !important;
  border-color: var(--color-surface) !important;
  color: #2d2d2d !important;
}

#quick-action .btn i {
  color: #2d2d2d !important;
}

div#insurance-providers h5 {
  color: #ffffff !important;
}

.practice-name {
  color: var(--brand-teal) !important;
}

.hero-card-icon.red,
.hero-card-icon.orange,
.hero-card-icon.purple,
.hero-card-icon.teal,
.hero-card-icon {
  background: var(--hero-card-icon-bg) !important;
  color: var(--crm-btn-solid-text) !important;
}

#footer h4,
#footer h3,
#footer h2,
.main-footer h4,
.footer-heading {
  color: var(--footer-heading-color) !important;
}

#footer .social-icons a,
.main-footer .social-icons a {
  color: var(--social-icon-color) !important;
  background: #ffffff !important;
}

#footer .social-icons a:hover,
.main-footer .social-icons a:hover {
  color: #ffffff !important;
  background: var(--crm-theme-primary) !important;
}

/* WCAG 2.1 AA — section text/background pairs */
.services-section { color: #2d2d2d !important }
.service-card { color: #2d2d2d !important }
.service-card h3 { color: #2d2d2d !important }
.service-card p { color: #2d2d2d !important }
.testimonials-section { color: #2d2d2d !important }
.testimonial-card { color: #2d2d2d !important }
#testimonials { color: #2d2d2d !important }
#testimonials p { color: #2d2d2d !important }
#meet-doctor { color: #2d2d2d !important }
#meet-doctor h4 { color: #2d2d2d !important }
#meet-doctor p { color: #2d2d2d !important }
.specialities-bx { color: #2d2d2d !important }
#patient-portal { color: #2d2d2d !important }
#patient-portal p { color: #2d2d2d !important }
#patient-tools { color: #2d2d2d !important }
#faqs .tab-content { color: #2d2d2d !important }
.serve-card { color: #2d2d2d !important }
.serve-card p { color: #2d2d2d !important }
#imp-notice { color: #2d2d2d !important }
#imp-notice small { color: #2d2d2d !important }
.section-desc { color: #2d2d2d !important }
.bx-highlight { color: #2d2d2d !important }
.hero-section .section-title { color: #2d2d2d !important }
.hero-section .hero-title { color: #2d2d2d !important }
.hero-section .hero-desc { color: #2d2d2d !important }
.services-section .section-title { color: #2d2d2d !important }
.insurance-section { color: #ffffff !important }
.insurance-section h2 { color: #ffffff !important }
.insurance-section h3 { color: #ffffff !important }
.insurance-title { color: #ffffff !important }
.section-dark { color: #ffffff !important }
.bg-dark-purple { color: #ffffff !important }
#footer { color: #ffffff !important }
#footer p { color: #ffffff !important }
#footer h2 { color: #ffffff !important }
#footer h3 { color: #ffffff !important }
#footer h4 { color: #ffffff !important }
#footer h5 { color: #ffffff !important }
#footer li { color: #ffffff !important }
.main-footer { color: #ffffff !important }
.main-footer h4 { color: #ffffff !important }
.main-footer h3 { color: #ffffff !important }
.main-footer p { color: #ffffff !important }
.footer-heading { color: #ffffff !important }
.footer-desc { color: #ffffff !important }
.footer-logo .logo-text { color: #ffffff !important }
.medicbuilding { color: #ffffff !important }
.local-panel { color: #ffffff !important }
.local-panel h4 { color: #ffffff !important }
.local-panel h3 { color: #ffffff !important }
.local-panel p { color: #ffffff !important }
.local-panel td { color: #ffffff !important }
.local-panel th { color: #ffffff !important }
.footer-section { color: #ffffff !important }
.site-footer { color: #ffffff !important }
.insurance-section p { color: rgba(255, 255, 255, 0.92) !important }
.insurance-section li { color: rgba(255, 255, 255, 0.92) !important }
.insurance-section .insurance-list li { color: rgba(255, 255, 255, 0.92) !important }
#footer .text-muted { color: rgba(255, 255, 255, 0.92) !important }
.local-panel .text-muted { color: rgba(255, 255, 255, 0.92) !important }
#footer a { color: #ffffff !important }
#footer .footer-link li a { color: #ffffff !important }
.footer-link li a { color: #ffffff !important }
.footer-link li a:visited { color: #ffffff !important }
.main-footer ul li a { color: #ffffff !important }
.footer-links a { color: #ffffff !important }
.footer-links a:visited { color: #ffffff !important }
.insurance-section a { color: #ffffff !important }
.local-panel a { color: #ffffff !important }
#footer .social-icons a { color: #67737c !important; background: #ffffff !important }
.main-footer .social-icons a { color: #67737c !important; background: #ffffff !important }
footer .social-icons a { color: #67737c !important; background: #ffffff !important }
#footer .social-icons a:hover { color: #ffffff !important; background: #84939f !important }
.main-footer .social-icons a:hover { color: #ffffff !important; background: #84939f !important }
footer .social-icons a:hover { color: #ffffff !important; background: #84939f !important }
.contact-list li i { color: #ffffff !important }
#footer .contact-list i { color: #ffffff !important }
.main-footer .contact-list i { color: #ffffff !important }
.hero-card-icon { color: #2d2d2d !important; background: #95a6b3 !important }
.hero-card-icon.red { color: #2d2d2d !important; background: #95a6b3 !important }
.hero-card-icon.orange { color: #2d2d2d !important; background: #95a6b3 !important }
.hero-card-icon.purple { color: #2d2d2d !important; background: #95a6b3 !important }
.hero-card-icon.teal { color: #2d2d2d !important; background: #95a6b3 !important }
.hero-card-icon i { color: #2d2d2d !important; background: #95a6b3 !important }
#footer a:hover { color: #ffffff !important; opacity: 0.88 }
.footer-link li a:hover { color: #ffffff !important; opacity: 0.88 }
.insurance-section a:hover { color: #ffffff !important; opacity: 0.88 }
.local-panel a:hover { color: #ffffff !important; opacity: 0.88 }
.top-bar { color: #ffffff !important }
.top-bar a { color: #ffffff !important }
.top-bar span { color: #ffffff !important }
.navbar-dark { color: #ffffff !important }
.navbar-dark .nav-link { color: #ffffff !important }
.navbar-dark .navbar-brand { color: #ffffff !important }
#primary-nav { color: #ffffff !important }
#primary-nav .nav-link { color: #ffffff !important }
#primary-nav .navbar-brand { color: #ffffff !important }
.hero-overlay { color: #ffffff !important }
.hero-content { color: #ffffff !important }
.hero-content h1 { color: #ffffff !important }
.hero-content .hero-title { color: #ffffff !important }
.hero-content p { color: #ffffff !important }
.hero-subtitle { color: #ffffff !important }
.nav-tabs .nav-link.active { color: #2d2d2d !important }
#faqs .nav-tabs .nav-link.active { color: #2d2d2d !important }
.services-tabs a.nav-link.active { color: #2d2d2d !important }
.card.stores-cta .card-body { color: #2d2d2d !important }
.card.stores-cta .card-body p { color: #2d2d2d !important }
.highlight-bx { color: #2d2d2d !important }
.highlight-bx p { color: #2d2d2d !important }
.portal-24-7-icon { color: #2d2d2d !important }
.portal-24-7-icon .material-icons { color: #2d2d2d !important }
.healow-steps-header { color: #2d2d2d !important }
.healow-step-number { color: #2d2d2d !important }
#quick-action .btn:hover { color: #2d2d2d !important }
#quick-action .btn:focus { color: #2d2d2d !important }
#quick-action .btn:active { color: #2d2d2d !important }
#quick-action .btn:hover i { color: #2d2d2d !important }
#quick-action .btn:focus i { color: #2d2d2d !important }
#quick-action .btn:active i { color: #2d2d2d !important }
#quick-action .btn { color: #2d2d2d !important }
#quick-action .btn i { color: #2d2d2d !important }
.portal-button-wrap .portal-button { color: #2d2d2d !important }
.btn-marketing-primary { color: #2d2d2d !important }
.btn-marketing-accent { color: #2d2d2d !important }
.healow-download-btn { color: #2d2d2d !important }
.marketing-cta-band { color: #2d2d2d !important }
#patient-tools .nav-tabs .nav-link.active { color: #2d2d2d !important }
#patient-tools .nav-tabs .nav-link.active i { color: #2d2d2d !important }
#patient-tools .nav-tabs .nav-link { color: #2d2d2d !important }
#faqs .nav-tabs .nav-link:not(.active) { color: #2d2d2d !important }
.practice-code-right .code { color: #5f6a72 !important }
.practice-code .code { color: #5f6a72 !important }
.practice-code-bg .code { color: #5f6a72 !important }
.ai-practice-code { color: #5f6a72 !important }
span.code.ai-practice-code { color: #5f6a72 !important }
strong.ai-practice-code { color: #5f6a72 !important }
.section-title { color: #2d2d2d !important }
.service-card h3 { color: #2d2d2d !important }
.testimonial-card .testimonial-name { color: #2d2d2d !important }
.services-section a:not(.btn):not(.nav-link) { color: #67737c !important }
#patient-portal a:not(.btn):not(.nav-link) { color: #67737c !important }
.hero-section a:not(.btn):not(.nav-link) { color: #67737c !important }
.service-link { color: #67737c !important }
.portal-link { color: #67737c !important }
div#insurance-providers h5 { color: #ffffff !important }
#local-meet-doctors .material-icons { color: #ffffff !important }
#local-socials a ion-icon { color: #ffffff !important }
#local-socials a i.fa-brands { color: #ffffff !important }
.practice-name { color: #2d2d2d !important }
.serve-chip { color: #2d2d2d !important }
.serve-chip:hover { color: #2d2d2d !important }


/* Icons, links, and small headings follow the surface behind them. */
.material-icons.custom-material-style,
.specialities-bx,
.specialities-bx li,
.specialities-bx .text-secondary,
.specialities-bx .text-primary,
#practice-intro-content .text-secondary,
#practice-intro-content h4,
#practice-intro-content h5,
#meet-doctor h4,
#meet-doctor h5,
#testimonials h4,
#testimonials h2 {
  color: var(--color-on-light) !important;
}

.btn .material-icons,
.portal-button .material-icons,
.appointment-button .material-icons,
#quick-action .material-icons,
.qa-custom-btn .material-icons {
  color: inherit !important;
}

#contact.local-panel,
#contact.local-panel a,
#contact.local-panel a:hover,
#contact.local-panel a:visited,
#contact.local-panel .text-primary,
#contact.local-panel .text-secondary,
#contact.local-panel i,
#contact.local-panel .material-icons,
#contact.local-panel td,
#contact.local-panel th,
#contact.local-panel p,
#contact.local-panel h4,
#footer a:not(.btn),
#footer .material-icons {
  color: var(--footer-text) !important;
}

#imp-notice,
#imp-notice .material-icons,
#imp-notice small,
#imp-notice p {
  color: var(--color-on-light) !important;
}

a:not(.btn):not(.nav-link):not(.portal-button):not(.appointment-button):not(.text-white) {
  color: #67737c !important;
}

.card.stores-cta,
.card.stores-cta .card-body,
#healow-app .card.stores-cta .card-body,
#healow-app .card.stores-cta .card-body a,
#healow-app .card.stores-cta .card-body h6,
#healow-app .card.stores-cta .card-body p,
#healow-app .card.stores-cta .card-body small,
#healow-app .card.stores-cta .text-white {
  color: #ffffff !important;
}

#images-tab.nav-link.active,
.nav-tabs .nav-link.active,
.services-tabs a.nav-link.active {
  color: #ffffff !important;
}


/* Applied Global theme tokens — override derived aliases */
:root {
  --color-primary: #84939f !important;
  --color-primary-dark: #66727a !important;
  --color-plum: #b8c0c7 !important;
  --color-accent-red: #b8c0c7 !important;
  --color-surface-muted: #f0f2f3 !important;
  --color-rose-pink: #fbfcfd !important;
  --color-pink: #f3f7fb !important;
  --color-pink-light: #f7fafc !important;
  --color-pink-btn: #f4e8dc !important;
  --color-pink-border: #e1ecf4 !important;
  --color-orange: #dde9f2 !important;
  --color-button-solid: #67737c !important;
  --color-button-solid-hover: #586269 !important;
  --color-accent: #67737c !important;
  --color-gray-dark: #2d2d2d !important;
  --color-gray: #6b6b6b !important;
  --color-gray-light: #9a9a9a !important;
  --mkt-blue: #bfd5e6 !important;
  --mkt-blue-dark: #6c7882 !important;
  --mkt-orange: #dce8f2 !important;
  --mkt-orange-gold: #dbe8f1 !important;
  --mkt-link: #bfd5e6 !important;
  --mkt-check: #bfd5e6 !important;
  --mkt-text: #333333 !important;
  --mkt-text-muted: #555555 !important;
  --mkt-accent: #95a6b3 !important;
  --mkt-accent-dark: #3f5a6e !important;
  --dark-purple: #6c7882 !important;
  --dark-purple-gray: #6c7782 !important;
  --crm-dark-surface: #5a646c !important;
  --light-purple: #ccddeb !important;
  --blue: #bfd5e6 !important;
  --pink: #dbe7f1 !important;
  --hot-pink: #95a6b3 !important;
  --teal: #bfd5e6 !important;
  --light-blue: #d5e4ef !important;
  --orange: #95a6b3 !important;
  --color-app-button: #95a6b3 !important;
  --color-surface-tint: #fbfcfd !important;
  --color-surface-alt: #fefcfb !important;
  --brand-dark: #6c7882 !important;
  --brand-red: #f4e8dc !important;
  --brand-teal: #cddeec !important;
  --brand-heading: #9dafbd !important;
  --brand-hero-accent: #bfd5e6 !important;
  --brand-surface: #fafcfd !important;
  --color-secondary: #6c7882 !important;
  --mkt-warm-accent: #d5e4ef !important;
  --mkt-surface: #ffffff !important;
  --mkt-practice-code: #6c7782 !important;
  --hero-card-icon-bg: #95a6b3 !important;
  --social-icon-color: #67737c !important;
  --footer-heading-color: #ffffff !important;
  --crm-theme-primary: #4f6f87 !important;
  --crm-theme-primary-dark: #3f5a6e !important;
  --crm-theme-accent: #4f6f87 !important;
  --crm-theme-secondary: #f4e8dc !important;
  --color-border: #d7dee5 !important;
  --color-surface-soft: #fcf8f4 !important;
  --color-text-on-light: #2d2d2d !important;
  --color-text-on-dark: #ffffff !important;
  --dark-blue: #5a646c !important;
  --mkt-primary-dark: #5a646c !important;
  --mkt-healow-blue: #5a646c !important;
  --red: #67737c !important;
  --crm-text-on-light: #2d2d2d !important;
  --crm-text-on-dark: #ffffff !important;
  --crm-text-muted-on-light: #333333 !important;
  --text-on-color-pink-light: #2d2d2d !important;
  --text-muted-on-color-pink-light: #333333 !important;
  --text-on-color-pink: #2d2d2d !important;
  --text-muted-on-color-pink: #333333 !important;
  --text-on-color-rose-pink: #2d2d2d !important;
  --text-muted-on-color-rose-pink: #333333 !important;
  --text-on-color-surface-soft: #2d2d2d !important;
  --text-muted-on-color-surface-soft: #333333 !important;
  --text-on-color-surface-muted: #2d2d2d !important;
  --text-muted-on-color-surface-muted: #333333 !important;
  --text-on-color-surface-tint: #2d2d2d !important;
  --text-muted-on-color-surface-tint: #333333 !important;
  --text-on-color-surface-alt: #2d2d2d !important;
  --text-muted-on-color-surface-alt: #333333 !important;
  --text-on-mkt-surface: #2d2d2d !important;
  --text-muted-on-mkt-surface: #333333 !important;
  --text-on-mkt-surface-alt: #ffffff !important;
  --text-on-brand-surface: #2d2d2d !important;
  --text-muted-on-brand-surface: #333333 !important;
  --text-on-dark-purple: #ffffff !important;
  --text-on-dark-purple-gray: #ffffff !important;
  --text-on-mkt-blue-dark: #ffffff !important;
  --text-on-dark-blue: #ffffff !important;
  --text-on-mkt-primary-dark: #ffffff !important;
  --text-on-brand-dark: #ffffff !important;
  --text-on-color-secondary: #ffffff !important;
  --text-on-mkt-healow-blue: #ffffff !important;
  --text-on-crm-dark-surface: #ffffff !important;
  --text-on-brand-teal: #2d2d2d !important;
  --text-muted-on-brand-teal: #333333 !important;
  --text-on-color-accent: #ffffff !important;
  --text-on-mkt-accent: #2d2d2d !important;
  --text-muted-on-mkt-accent: #333333 !important;
  --text-on-mkt-accent-dark: #ffffff !important;
  --text-on-color-primary: #2d2d2d !important;
  --text-muted-on-color-primary: #333333 !important;
  --text-on-light-blue: #2d2d2d !important;
  --text-muted-on-light-blue: #333333 !important;
  --text-on-teal: #2d2d2d !important;
  --text-muted-on-teal: #333333 !important;
  --text-on-hot-pink: #2d2d2d !important;
  --text-muted-on-hot-pink: #333333 !important;
  --text-on-orange: #2d2d2d !important;
  --text-muted-on-orange: #333333 !important;
  --text-on-color-app-button: #2d2d2d !important;
  --text-muted-on-color-app-button: #333333 !important;
  --text-on-color-pink-btn: #2d2d2d !important;
  --text-muted-on-color-pink-btn: #333333 !important;
}
