/* Phone layout fix for Elementor HTML copies. Phone only: nothing applies at 768px and up. */
@media (max-width: 767px) {
  html, body { overflow-x: clip; }
  /* side padding on the text blocks themselves: section and container backgrounds stay full width.
     Not on header/footer/nav; logos, icons and buttons are other widget types and are untouched. */
  main .elementor-widget-text-editor,
  main .elementor-widget-heading,
  main .elementor-widget-theme-post-content,
  main .elementor-widget-html > .elementor-widget-container {
    padding-left: 16px !important;
    padding-right: 16px !important;
    box-sizing: border-box;
  }
  main img, main video, main .elementor-widget-container img, main .elementor-widget-container video {
    max-width: 100%;
    height: auto;
  }
  main iframe { max-width: 100%; }
  /* Elementor grid tiles keep a fixed desktop width (300px etc.) and push the page wider than the phone */
  main .e-grid > .elementor-widget { width: 100% !important; min-width: 0 !important; max-width: 100% !important; }
  main p, main h1, main h2, main h3, main h4, main li, main td, main th, main .elementor-heading-title {
    overflow-wrap: anywhere;
    word-break: normal;
  }
}
