/*
 * Custom HTML islands are author-owned.
 * Theme tag/typography rules (body fonts, a/h*/section) must not restyle island content.
 * Bootstrap / utility class rules still apply (higher specificity than these reverts).
 */
.cms-custom-html-island {
    all: revert;
    display: block;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    color: #212529;
    line-height: 1.5;
}

.cms-custom-html-island :where(h1, h2, h3, h4, h5, h6) {
    font-family: inherit;
    color: inherit;
    line-height: revert;
}

.cms-custom-html-island :where(a) {
    color: revert;
    text-decoration: revert;
}

.cms-custom-html-island :where(section, .section) {
    color: revert;
    background-color: revert;
    padding-block: revert;
    overflow: revert;
}

.cms-custom-html-island img,
.cms-custom-html-island svg,
.cms-custom-html-island video {
    display: inline-block;
    vertical-align: middle;
    max-width: 100%;
    height: auto;
}
