/**
 * Article content tables: full width of the content column + horizontal scroll when needed.
 * Overrides theme rules that set display:block on table elements directly.
 */
.article-content .mb-mag-table-scroll,
.article-content figure.wp-block-table {
    display: block;
    width: 100% !important;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    margin: 1.25em 0;
    clear: both;
}

.article-content .mb-mag-table-scroll > table,
.article-content figure.wp-block-table > table {
    display: table !important;
    width: 100% !important;
    min-width: 100%;
    height: auto !important;
    max-width: none;
    margin: 0;
    border-collapse: collapse;
    table-layout: auto;
}

/* Theme sets display:block on table; scroll belongs on the wrapper, not the table itself. */
.article-content table:not(.shop_table) {
    display: table !important;
    height: auto !important;
    overflow: visible !important;
}

@media (max-width: 768px) {
    .article-content .mb-mag-table-scroll,
    .article-content figure.wp-block-table {
        margin: 1em 0;
    }
}