/*
 * Fixes for WordPress core changes. Loaded right after the core block-library
 * styles (see bbbsc_scripts in functions.php), before the theme stylesheets,
 * so theme rules still win as they did before.
 */

/*
 * WordPress 7.1 (block-library common.css) gives any element whose inline
 * style sets border-color a solid border. The theme sets color + border-color
 * inline on shortcode output (carousel titles, story links, ...) without
 * wanting a border. Put back the pre-7.1 behaviour for that one rule;
 * `revert` returns the browser default (none for headings/links, the normal
 * border for form fields, hr, ...).
 */
html :where([style^=border-color],[style*=";border-color"],[style*="; border-color"]) {
    border-style: revert;
}
