/* Content saved by TinyMCE may contain fixed widths, floats and layout tables. */
:where(.wysiwyg-contenu, .article-content, .mce-content-body) {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
}
:where(.wysiwyg-contenu, .article-content, .mce-content-body) :where(div, section, p, figure) {
    max-width: 100%;
    box-sizing: border-box;
}
:where(.wysiwyg-contenu, .article-content, .mce-content-body) :where(img, video) {
    max-width: 100% !important;
    height: auto !important;
}
:where(.wysiwyg-contenu, .article-content, .mce-content-body) :where(audio, iframe, embed, object) {
    max-width: 100%;
}
:where(.wysiwyg-contenu, .article-content, .mce-content-body) iframe[width][height] {
    width: 100%;
    height: auto;
    aspect-ratio: var(--content-aspect-ratio, 16 / 9);
}
:where(.wysiwyg-contenu, .article-content, .mce-content-body) figure {
    margin-inline: 0;
}
.content-table-scroll {
    container: content-table / inline-size;
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    margin-block: 1rem;
}
.content-table-scroll:focus-visible {
    outline: 2px solid #7e5434;
    outline-offset: 3px;
}
.content-table-scroll > table {
    margin-inline: 0;
}
/* Articles with a sidebar can be narrow even on a desktop viewport. */
@container content-table (max-width: 42rem) {
    .content-layout-table,
    .content-layout-table > :is(thead, tbody, tfoot),
    .content-layout-table > :is(thead, tbody, tfoot) > tr,
    .content-layout-table > tr,
    .content-layout-table > :is(thead, tbody, tfoot) > tr > :is(td, th),
    .content-layout-table > tr > :is(td, th) {
        display: block;
        box-sizing: border-box;
        width: 100% !important;
        max-width: 100%;
        min-width: 0 !important;
        height: auto !important;
    }
    .content-layout-table > colgroup, .content-layout-table > col { display: none; }
    .content-layout-table > :is(thead, tbody, tfoot) > tr > :is(td, th),
    .content-layout-table > tr > :is(td, th) { padding: .5rem 0 !important; }
    .content-layout-table .content-layout-media { text-align: center; }
    .content-layout-table .content-layout-media img {
        float: none !important;
        max-width: min(calc(100% - 6mm), 24rem) !important;
        max-height: 14rem;
        width: auto !important;
    }
}
@media (max-width: 768px) {
    /* Only tables positively identified as visual layouts are stacked. */
    .content-layout-table,
    .content-layout-table > :is(thead, tbody, tfoot),
    .content-layout-table > :is(thead, tbody, tfoot) > tr,
    .content-layout-table > tr,
    .content-layout-table > :is(thead, tbody, tfoot) > tr > :is(td, th),
    .content-layout-table > tr > :is(td, th) {
        display: block;
        box-sizing: border-box;
        width: 100% !important;
        max-width: 100%;
        min-width: 0 !important;
        height: auto !important;
    }
    .content-layout-table > colgroup,
    .content-layout-table > col { display: none; }
    .content-layout-table > :is(thead, tbody, tfoot) > tr > :is(td, th),
    .content-layout-table > tr > :is(td, th) {
        padding: .5rem 0 !important;
    }
    .content-layout-table .content-layout-media { text-align: center; }
    .content-layout-table .content-layout-media img {
        float: none !important;
        display: inline-block;
        max-width: min(calc(100% - 6mm), 24rem) !important;
        max-height: 14rem;
        width: auto !important;
    }
    :where(.wysiwyg-contenu, .article-content, .mce-content-body) :where(img, figure, video) {
        float: none !important;
    }
    :where(.wysiwyg-contenu, .article-content, .mce-content-body) :where(pre, [style*="white-space: nowrap"]) {
        white-space: pre-wrap;
        overflow-wrap: anywhere;
    }
    /* Real table cells retain their authored spacing and comparison columns. */
    .content-table-scroll:not(.content-layout-scroll) td[style*="white-space: nowrap"] {
        white-space: nowrap;
    }
}
