/* =========================================================
   Jowybean Accessibility - Highlight Headings
   ========================================================= */

/*
 * Give semantic headings a strong visual indicator
 * without changing their existing layout or typography.
 */

html.a11y-highlight-headings
:is(h1, h2, h3, h4, h5, h6) {
    outline: 3px solid #ffcc00 !important;
    outline-offset: 4px;

    background-color: #fff6bf !important;
    color: #000000 !important;
}

/* =========================================================
   High Contrast Compatibility
   ========================================================= */

html.a11y-high-contrast.a11y-highlight-headings
:is(h1, h2, h3, h4, h5, h6) {
    background-color: #000000 !important;
    color: #ffffff !important;

    outline: 3px solid #ffff00 !important;
    outline-offset: 4px;
}