/* RHDP Publishing House — aligned with docs.redhat.com's actual documentation
 * theme (e.g. https://docs.redhat.com/en/documentation/openshift_container_platform),
 * not the marketing homepage. That site keeps things mostly neutral (near-black
 * masthead, white content, near-black body text) and uses Red Hat's design
 * token palette (https://red-hat-design-tokens.netlify.app/) for two small
 * accents rather than a wall of brand red:
 *
 *   Interactive blue (--rh-color-interactive-primary-default): #0066cc
 *     used for in-content links — the actual link color on docs.redhat.com.
 *   Red Hat red (--rh-color-accent-brand): #ee0000
 *     used sparingly, e.g. hover states and "current page" highlighting.
 *
 * Material's own defaults (near-black text on white / near-black header) are
 * already very close to Red Hat's docs look, so only primary/accent/link
 * colors need overriding here — the rest is stock Material.
 */

:root > * {
  --md-primary-fg-color:        #151515;
  --md-primary-fg-color--light: #4d4d4d;
  --md-primary-fg-color--dark:  #000000;
  --md-primary-bg-color:        #ffffff;
  --md-primary-bg-color--light: rgba(255, 255, 255, 0.7);

  --md-accent-fg-color:              #ee0000;
  --md-accent-fg-color--transparent: rgba(238, 0, 0, 0.1);
  --md-accent-bg-color:              #ffffff;
  --md-accent-bg-color--light:       rgba(255, 255, 255, 0.7);
}

[data-md-color-scheme="default"] {
  --md-typeset-a-color: #0066cc;
}

[data-md-color-scheme="slate"] {
  /* Red Hat's dark-mode interactive blue token is lighter for contrast */
  --md-typeset-a-color: #92c5f9;
}
