/*
 * Conservative responsive containment for Astra-owned public content.
 * Titles and editorial styling remain owned by Astra and the WordPress editor.
 */

body.iris-astra-content-surface:not(.iris-woocommerce-surface) :where(#content, .site-content) {
    min-width: 0;
}

body.iris-astra-content-surface:not(.iris-woocommerce-surface) :where(.entry-content, .ast-article-single, .ast-row) {
    min-width: 0;
    overflow-wrap: anywhere;
}

body.iris-astra-content-surface:not(.iris-woocommerce-surface) :where(.entry-content, .ast-article-single) :where(img, video, iframe, embed) {
    max-width: 100%;
}

body.iris-astra-content-surface:not(.iris-woocommerce-surface) :where(.entry-content, .ast-article-single) :where(.alignwide, .alignfull, .wp-block-group, .wp-block-columns) {
    max-width: 100%;
}

@media (max-width: 768px) {
    body.iris-astra-content-surface:not(.iris-woocommerce-surface) :where(.entry-content, .ast-article-single) table {
        display: block;
        max-width: 100%;
        overflow-x: auto;
        overscroll-behavior-inline: contain;
        -webkit-overflow-scrolling: touch;
    }

    body.iris-astra-content-surface:not(.iris-woocommerce-surface) :where(.entry-content, .ast-article-single) :where(input:not([type="checkbox"]):not([type="radio"]), select, textarea) {
        max-width: 100%;
        min-height: 44px;
        font-size: 16px;
    }
}
