/**
 * Open HTML (inc/blocks-layout/open-html.php) — a raw-HTML passthrough
 * block for embed codes, iframes, and third-party widget snippets. The
 * container itself is deliberately plain (same ~75rem content column as
 * most other blocks, no other styling) since it exists to get out of the
 * way of whatever markup an editor pastes in.
 *
 * The one thing this file DOES take a position on: a fixed-pixel-width
 * embed code (common with third-party widgets) shouldn't be able to
 * overflow the page and force horizontal scroll on mobile, so common
 * embeddable elements are capped at 100% width regardless of whatever
 * width/height attributes the pasted snippet itself sets. Height is left
 * alone — clamping height too would just squash a video's aspect ratio.
 */

.open-html-block {
	max-width: 75rem;
	margin: 0 auto;
	padding: 2rem;
}

.open-html-block iframe,
.open-html-block embed,
.open-html-block video,
.open-html-block img {
	max-width: 100%;
}