@media (max-width: 540px) {
  *, *::before, *::after { box-sizing: border-box; }
  main, main article, main section, main .article-body, main .prose-content { min-width: 0; max-width: 100%; }
  main .article-container { inline-size: 100%; min-inline-size: 0; max-inline-size: 100% !important; }
  main :is(.article-title,h1,h2,h3,h4,h5,h6) { overflow-wrap: anywhere; }
  main :where(p,li,dd,td,th,figcaption) { overflow-wrap: anywhere; }
  main :where(pre,figure,img,svg,video) { max-width: 100%; }
  main pre { min-width: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
  main .article-body code { max-inline-size: 100%; white-space: break-spaces !important; overflow-wrap: anywhere; word-break: break-word; }
  .breadcrumb-list { flex-wrap: wrap; min-width: 0; max-width: 100%; }
  .breadcrumb-list :is(.breadcrumb-item,.breadcrumb-current,.breadcrumb-label) {
    min-width: 0; max-width: 100%; white-space: normal; overflow-wrap: anywhere;
  }
  main :is(.table-responsive,.table-wrap,.specs-table-wrap):has(> table[data-mobile-stack]) {
    width: 100%; max-width: 100%; overflow: visible;
  }
  table[data-mobile-stack] {
    display: block !important; min-width: 0 !important; width: 100% !important; max-width: 100%;
    white-space: normal !important; table-layout: auto;
  }
  table[data-mobile-stack] :is(thead,tbody,tfoot,tr) {
    display: block !important; min-width: 0 !important; width: 100%;
  }
  table[data-mobile-stack] tr[data-mobile-heading] {
    position: absolute; width: 1px !important; height: 1px; overflow: hidden; clip-path: inset(50%);
  }
  table[data-mobile-stack] tr:not([data-mobile-heading]) {
    margin-block: .6rem; border: 1px solid currentColor; border-radius: .5rem;
  }
  table[data-mobile-stack] tr > :is(th,td) {
    display: block !important; min-width: 0 !important; width: 100% !important; max-width: 100%;
    padding: .45rem .65rem !important; white-space: normal !important;
    overflow-wrap: anywhere; text-align: start !important;
  }
  table[data-mobile-stack] [data-label]::before {
    content: attr(data-label); display: block; font-weight: 600; margin-bottom: .15em;
  }
}

/* 541px+ : article must not grow to the table min-width */
main .article-container { width: 100%; min-width: 0; }
main .article-container :is(.article-body,.prose-content,.table-responsive) { min-width: 0; max-width: 100%; }
main .article-container p code, main .article-container li code { white-space: break-spaces; overflow-wrap: anywhere; word-break: break-word; max-width: 100%; }
