/* Mobile overflow guard for Elementor content, legacy embeds and wide course tables. */
@media (max-width: 782px) {
	html,
	body {
		max-width: 100%;
		overflow-x: clip;
	}

	.elementor-section,
	.elementor-section > .elementor-container,
	.elementor-section .elementor-column,
	.elementor-section .elementor-widget-wrap,
	.elementor .e-con,
	.elementor .e-con-inner,
	.elementor .elementor-widget,
	.elementor .elementor-widget-container,
	.entry-content,
	.course-content__body {
		min-width: 0;
		max-width: 100%;
		box-sizing: border-box;
	}

	.elementor :is(img, video, iframe, embed, object),
	.entry-content :is(img, video, iframe, embed, object),
	.course-content__body :is(img, video, iframe, embed, object) {
		max-width: 100%;
	}

	.elementor :is(img, video),
	.entry-content :is(img, video),
	.course-content__body :is(img, video) {
		height: auto;
	}

	.elementor iframe,
	.entry-content iframe,
	.course-content__body iframe {
		width: 100%;
	}

	.elementor table,
	.entry-content table,
	.course-content__body table,
	.woocommerce table.shop_table {
		display: block;
		width: 100%;
		max-width: 100%;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	.elementor :is(p, li, h1, h2, h3, h4, a),
	.entry-content :is(p, li, h1, h2, h3, h4, a),
	.course-content__body :is(p, li, h1, h2, h3, h4, a) {
		overflow-wrap: anywhere;
	}

	.elementor pre,
	.entry-content pre,
	.course-content__body pre {
		max-width: 100%;
		overflow-x: auto;
	}
}