
/* Use styles of the parent container on the backend to keep all sources consistent */
.editor-styles-wrapper .acf-block-preview .custom-field-block {
	font-size: inherit;
	font-weight: inherit;
	line-height: inherit;
}

/* Ensure parent containers have heading styles in the backend */
.editor-styles-wrapper .acf-block-preview {
	font-size: 16px;
}
.editor-styles-wrapper .acf-block-preview:has(> h1) {
	font-size: 1.8em;
	font-style: normal;
	font-weight: 600;
	line-height: 1.4;
}
.editor-styles-wrapper .acf-block-preview:has(> h2) {
	font-size: 1.5em;
	font-style: normal;
	font-weight: 600;
	line-height: 1.4;
}
.editor-styles-wrapper .acf-block-preview:has(> h3) {
	font-size: 1.2em;
	font-style: normal;
	font-weight: 500;
	line-height: 1.4;
}
.editor-styles-wrapper .acf-block-preview:has(> h4) {
	font-size: 1em;
	font-style: normal;
	font-weight: 500;
	line-height: 1.4;
}
.editor-styles-wrapper .acf-block-preview:has(> h5) {
	font-size: 1em;
	font-style: normal;
	font-weight: 400;
	line-height: 1.4;
}
.editor-styles-wrapper .acf-block-preview:has(> h6) {
	font-size: 0.9em;
	font-style: normal;
	font-weight: 400;
	line-height: 1.4;
}

