/*
Theme Name: Shameem Pathology
Template: Divi
Author: Sham
Description: Divi child theme for the 2026 Shameem Pathology rebuild. This is the ONE global stylesheet: all custom CSS lives here. Colours, fonts and most styling are set with Divi global colours, the Theme Customizer and module presets; only add CSS here for things Divi modules cannot do.
Version: 1.0.0
*/

/* ==========================================================================
   1. Design tokens ("Stained glass" palette, mirrors Divi global colours)
   Use these only inside custom CSS below; in modules, pick the Divi global colour.
   ========================================================================== */
:root {
  --sp-hematoxylin: #3A1F4B;  /* headings, nav */
  --sp-nucleus: #5B3470;      /* hover, accents */
  --sp-eosin: #E2708F;        /* CTAs, highlights */
  --sp-blush: #FBE9EF;        /* tints, callouts */
  --sp-slide-glass: #FBF8F6;  /* page background */
  --sp-counterstain: #2F8F86; /* success, progress */
  --sp-radius: 10px;
}

/* ==========================================================================
   2. Accessibility (not available as Divi settings)
   ========================================================================== */

/* Visible keyboard focus on every interactive element */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.et_pb_button:focus-visible {
  outline: 3px solid var(--sp-eosin);
  outline-offset: 2px;
}

/* Respect reduced-motion preferences (switches off Divi entrance animations) */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .et_animated {
    opacity: 1 !important;
  }
}

/* ==========================================================================
   3. Components (add only when a Divi module setting cannot do the job)
   ========================================================================== */
