/**
 * Section labels (p.dda-section-label): pass EDAC possible_heading, match Divi weight.
 *
 * EDAC flags p tags with font-size ≥20px, or 16–19px with bold. Use 15px + weight 600 so the
 * checker passes, then scale ~1.33 in the footer newsletter module (~20px visual, was 20px/600).
 * Color/uppercase stay on Theme Builder (.et_pb_text_5_tb_footer).
 */

p.dda-section-label {
	font-size: 15px !important;
	font-weight: 600 !important;
	line-height: 1.4em !important;
}

/* Footer newsletter label: restore ~20px visual size from Divi module settings. */
.et_pb_text_5_tb_footer p.dda-section-label,
.et-db #et-boc .et_pb_text_5_tb_footer p.dda-section-label {
	display: inline-block;
	line-height: 1em !important;
	transform: scale(1.3333333333);
	transform-origin: left center;
}

@media (prefers-reduced-motion: reduce) {
	.et_pb_text_5_tb_footer p.dda-section-label,
	.et-db #et-boc .et_pb_text_5_tb_footer p.dda-section-label {
		transform: none;
		font-size: 19px !important;
		font-weight: 600 !important;
	}
}

/* Footer mobile: keep newsletter title on one line (TB module et_pb_text_5_tb_footer). */
@media only screen and (max-width: 980px) {
	.et_pb_text_5_tb_footer p.dda-section-label,
	.et-db #et-boc .et_pb_text_5_tb_footer p.dda-section-label,
	.et-l--footer .et_pb_text_5_tb_footer .et_pb_text_inner p.dda-section-label,
	.et-l--footer .et_pb_text_5_tb_footer .et_pb_text_inner > p:first-of-type {
		white-space: nowrap !important;
		word-break: keep-all !important;
		overflow-wrap: normal !important;
		hyphens: none !important;
		transform: none !important;
		font-size: clamp(14px, 3.6vw, 19px) !important;
		line-height: 1.2em !important;
	}
}
