/**
 * Fallback scale rules when Design71 Typografie plugin is inactive.
 */

h1,
h2,
h3,
h4,
h5,
h6,
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6,
.et_pb_text h1,
.et_pb_text h2,
.et_pb_text h3,
.et_pb_text h4,
.et_pb_text h5,
.et_pb_text h6,
h1.et_pb_module_header,
h2.et_pb_module_header,
h3.et_pb_module_header,
h4.et_pb_module_header,
h5.et_pb_module_header,
h6.et_pb_module_header,
#main-content .et_pb_post_content h1,
#main-content .et_pb_post_content h2,
#main-content .et_pb_post_content h3,
#main-content .et_pb_post_content h4,
#main-content .et_pb_post_content h5,
#main-content .et_pb_post_content h6 {
	line-height: var(--d71-heading-line-height);
}

h1,
.entry-content h1,
.et_pb_text h1,
h1.et_pb_module_header,
#main-content .et_pb_post_content h1 {
	font-size: var(--d71-h1-size) !important;
}

h2,
.entry-content h2,
.et_pb_text h2,
h2.et_pb_module_header,
#main-content .et_pb_post_content h2 {
	font-size: var(--d71-h2-size) !important;
}

h3,
.entry-content h3,
.et_pb_text h3,
h3.et_pb_module_header,
#main-content .et_pb_post_content h3 {
	font-size: var(--d71-h3-size) !important;
}

h4,
.entry-content h4,
.et_pb_text h4,
h4.et_pb_module_header,
#main-content .et_pb_post_content h4 {
	font-size: var(--d71-h4-size) !important;
}

h5,
.entry-content h5,
.et_pb_text h5,
h5.et_pb_module_header,
#main-content .et_pb_post_content h5 {
	font-size: var(--d71-h5-size) !important;
}

h6,
.entry-content h6,
.et_pb_text h6,
h6.et_pb_module_header,
#main-content .et_pb_post_content h6 {
	font-size: var(--d71-h6-size) !important;
}

@media (max-width: 980px) {
	h1,
	.entry-content h1,
	.et_pb_text h1,
	h1.et_pb_module_header,
	#main-content .et_pb_post_content h1 {
		font-size: var(--d71-h1-size-mobile) !important;
	}

	h2,
	.entry-content h2,
	.et_pb_text h2,
	h2.et_pb_module_header,
	#main-content .et_pb_post_content h2 {
		font-size: var(--d71-h2-size-mobile) !important;
	}

	h3,
	.entry-content h3,
	.et_pb_text h3,
	h3.et_pb_module_header,
	#main-content .et_pb_post_content h3 {
		font-size: var(--d71-h3-size-mobile) !important;
	}

	h4,
	.entry-content h4,
	.et_pb_text h4,
	h4.et_pb_module_header,
	#main-content .et_pb_post_content h4 {
		font-size: var(--d71-h4-size-mobile) !important;
	}

	h5,
	.entry-content h5,
	.et_pb_text h5,
	h5.et_pb_module_header,
	#main-content .et_pb_post_content h5 {
		font-size: var(--d71-h5-size-mobile) !important;
	}

	h6,
	.entry-content h6,
	.et_pb_text h6,
	h6.et_pb_module_header,
	#main-content .et_pb_post_content h6 {
		font-size: var(--d71-h6-size-mobile) !important;
	}
}

body,
.entry-content,
.et_pb_text p,
.et_pb_text ol,
.et_pb_text ul {
	font-size: var(--d71-body-size);
	line-height: var(--d71-body-line-height);
}
