/* =========================================================
   Jowybean Accessibility - Reduce Images
   ========================================================= */


/* =========================================================
   1. Decorative Images
   ========================================================= */

html.a11y-reduce-images
[data-a11y-image="decorative"] {
    display: none !important;
}


/* =========================================================
   2. Content Images
   ========================================================= */

html.a11y-reduce-images
[data-a11y-image="content"] {
    opacity: 0.25 !important;
}


/* =========================================================
   3. Essential Images
   ========================================================= */

/*
 * Essential images are intentionally left unchanged.
 *
 * Examples:
 * - QR codes
 * - Functional graphics
 * - Downloadable graphics that must be inspected
 * - Images required to understand or use a feature
 */


/* =========================================================
   4. Decorative CSS-Generated Visuals
   ========================================================= */

html.a11y-reduce-images .hero::before,
html.a11y-reduce-images .stream-feature::before {
    background-image: none !important;
}