/* Health Village plugin presentation follows the selected TJ editorial preset.
   Keep records, routes, component layout and interaction in HV Practitioners. */
body.tj-vibe-health-village-editorial {
  --hv-dark: var(--wp--preset--color--ink);
  --hv-teal: var(--wp--preset--color--primary);
  --hv-teal-light: var(--wp--preset--color--ink);
  --hv-warm: var(--wp--preset--color--accent);
  --hv-warm-hover: var(--wp--preset--color--ink);
  --hv-cream: var(--wp--preset--color--surface);
  --hv-grey-400: var(--wp--preset--color--mute-soft);
  --hv-grey-600: var(--wp--preset--color--mute);
  --hv-text: var(--wp--preset--color--ink-2);
  --hv-text-light: var(--wp--preset--color--mute);
  --hv-serif: var(--wp--preset--font-family--serif);
  --hv-sans: var(--wp--preset--font-family--sans);
}

/* The plugin's primary buttons explicitly set white text. Use the theme's
   existing contrast-aware foregrounds when those backgrounds follow the preset. */
body.tj-vibe-health-village-editorial .hv-btn-primary,
body.tj-vibe-health-village-editorial .hv-smart-cta,
body.tj-vibe-health-village-editorial .hv-section-nav .hv-nav-cta {
  color: var(--tj-on-accent, #fff) !important;
}

body.tj-vibe-health-village-editorial .hv-btn-primary:hover,
body.tj-vibe-health-village-editorial .hv-smart-cta:hover,
body.tj-vibe-health-village-editorial .hv-section-nav .hv-nav-cta:hover {
  color: var(--tj-on-inverse, #fff) !important;
}

/* Rendered WCAG checks: avoid fading small text on the plugin's dark CTAs.
   The booking background follows --hv-teal; its foreground follows the preset. */
body.tj-vibe-health-village-editorial .hv-mid-cta-text p { opacity: 1; }
body.tj-vibe-health-village-editorial .hv-booking-primary p,
body.tj-vibe-health-village-editorial .hv-booking-primary .hv-booking-note {
  color: var(--tj-on-primary, #fff);
  opacity: 1;
}
body.tj-vibe-health-village-editorial .hv-rollout-notice p { color: var(--wp--preset--color--mute); }
body.tj-vibe-health-village-editorial .hv-mcta-whatsapp { color: #102a1c; }
body.tj-vibe-health-village-editorial .hv-hub-body p a:not([class]),
body.tj-vibe-health-village-editorial .hv-hub-body li a:not([class]),
body.tj-vibe-health-village-editorial .hv-hub-form-fineprint a {
  text-decoration: underline;
  text-underline-offset: .18em;
}
