/* ============================================================
   Elevate Altoona — Compositor-safe motion overrides

   PageSpeed flags animations on layout/paint properties (padding,
   border-color, font-size, etc.). Divi buttons/modules transition
   those by default. Limit motion to cheaper properties here.

   Divi builder checklist (when editing presets):
   - Do not stack Divi module Animation + ea-reveal--* on one module.
   - Button hover: change color/background only — not padding, border
     width, or font size.
   ============================================================ */

/* Divi buttons — block layout-shifting hover transitions */
.et_pb_button,
.et_pb_button_module_wrapper .et_pb_button,
a.et_pb_button,
.et_pb_module .et_pb_button,
.et_pb_button_module_wrapper__button {
	transition-property: transform, opacity, background-color, color !important;
	transition-duration: 0.25s;
	transition-timing-function: ease;
}

/* Modules using custom ea-reveal should not also run Divi entrance transitions */
[class*="ea-reveal--"] {
	transition-property: opacity, transform !important;
}

/* Divi scroll/entrance effects on modules — limit to compositor props */
.et_pb_module {
	transition-property: transform, opacity, background-color, color, filter !important;
}
