.qx-wp-content {
	/* 切断主题容器的字号/行高继承：字体大小以后台内容本身（含 inline style）+ WP block 样式为准 */
	all: revert;
}

/* 把主题样式“回滚”到 UA/浏览器默认，让后台编辑器写进来的 inline style 原样生效。
   注意：此 reset 必须加载在主题 css 之后、wp-block-library 之前。 */
.qx-wp-content :where(*) {
	all: revert;
}

/* 不强制 100%：按后台/区块自身样式原比例显示 */
.qx-wp-content :where(figure) {
	margin: 0 0 1em;
}

/* 兜底：媒体元素不溢出容器 */
.qx-wp-content :where(img, video, iframe) {
	max-width: 100%;
	height: auto;
}

/* 表格也强制 100% 显示（必要时可横向滚动） */
.qx-wp-content :where(figure.wp-block-table) {
	display: block;
	max-width: 100%;
	overflow-x: auto;
	margin: 0 0 1em;
}

.qx-wp-content :where(figure.wp-block-table > table) {
	max-width: 100%;
	table-layout: auto;
	border-collapse: collapse;
}

