/* v1.3.18: fix accumulated padding on static pages with Gutenberg Premium v2 content. */
@media (max-width: 786px) {
  body.page:not(.home) .layout > .main {
    min-width:0 !important; width:100%; max-width:100%; padding:0 0 24px !important; overflow:visible !important;
  }
  body.page:not(.home) .layout > .main .container.page-content {
    width:100% !important; max-width:none !important; margin:0 !important;
    padding:0 !important; border:0 !important; border-radius:0 !important;
  }
  body.page:not(.home) .page-content .page-body {
    width:100% !important; max-width:none !important; min-width:0 !important; margin:0 !important; padding:0 !important;
  }
  body.page:not(.home) .page-content .page-body > :is(.plv2-wrap,.ip2-page,.pg2-glossary,.kp2-wrap,.kp2-page) {
    width:100% !important; max-width:none !important; margin-inline:0 !important;
    padding-inline:clamp(10px,3vw,15px) !important;
  }
  body.page:not(.home) .page-content .page-body :is(.plv2-wrap,.ip2-page,.pg2-glossary,.kp2-wrap,.kp2-page) {
    overflow-wrap:break-word; min-width:0;
  }
  body.page:not(.home) .page-content .page-body :is(.plv2-wrap,.ip2-page,.pg2-glossary,.kp2-wrap,.kp2-page) img {
    max-width:100%; height:auto;
  }
}

/* Generic static pages (also contact) keep a modest reading gutter.
   Premium Gutenberg pages with their own wrappers occupy the full width. */
@media (max-width:786px) {
  body.page:not(.home) .layout > .main .container.page-content:not(:has(.plv2-wrap,.ip2-page,.pg2-glossary)) {
    padding-inline:12px !important;
  }
  body.page:not(.home) .page-content :is(p,li,h1,h2,h3,h4) {
    max-width:100%;
  }
}
