/**
 * Images inserted via the editor's "Insert / edit media" tool.
 * Loaded on the front end and inside the TinyMCE editor.
 */
img.wapp-contentMedia {
  max-width: 100%;
  height: auto;
}

img.wapp-contentMedia.alignnone {
  margin: 8px 0;
}

img.wapp-contentMedia.aligncenter {
  display: block;
  clear: both;
  margin: 16px auto;
}

img.wapp-contentMedia.alignleft {
  float: left;
  margin: 4px 24px 16px 0;
}

img.wapp-contentMedia.alignright {
  float: right;
  margin: 4px 0 16px 24px;
}

img.wapp-contentMedia.wapp-contentMedia--rounded {
  border-radius: 12px;
}

/* Keep floated images inside the post content widget. */
.elementor-widget-theme-post-content .elementor-widget-container::after {
  content: "";
  display: table;
  clear: both;
}

/* No text wrap on phones: floated images go full width. */
@media (max-width: 767px) {
  img.wapp-contentMedia.alignleft,
  img.wapp-contentMedia.alignright {
    float: none;
    display: block;
    width: 100% !important;
    margin: 16px 0;
  }
}
