/**
 * Full justification overrides + `prefers-reduced-motion` under `#wrapper`.
 */

/* HTML align attribute */
body #wrapper h1[align="justify"],
body #wrapper h2[align="justify"],
body #wrapper h3[align="justify"],
body #wrapper h4[align="justify"],
body #wrapper h5[align="justify"],
body #wrapper h6[align="justify"],
body #wrapper p[align="justify"],
body #wrapper div[align="justify"] {
	text-align: start !important;
}

/* Avada inline var (Fusion Text, etc.) */
body #wrapper [style*="--awb-content-alignment: justify"],
body #wrapper [style*="--awb-content-alignment:justify"] {
	text-align: start !important;
	--awb-content-alignment: start !important;
}

body #wrapper [style*="text-align: justify"],
body #wrapper [style*="text-align:justify"] {
	text-align: start !important;
}

body #wrapper .lg-text-align-justify,
body #wrapper .md-text-align-justify,
body #wrapper .sm-text-align-justify {
	text-align: start !important;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto !important;
	}

	body #wrapper *,
	body #wrapper *::before,
	body #wrapper *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		animation-delay: 0s !important;
		transition-duration: 0.01ms !important;
		transition-delay: 0s !important;
		transition-property: none !important;
	}
}
