/**
 * CLS Fix Reserve - Layout shift prevention for RUCSS-stripped Divi sections
 *
 * Each rule is scoped to a specific CPT body class or LP template so it
 * cannot affect other pages. Works on both dev and production since body
 * classes are CPT-based, not post-ID-based.
 *
 * Measured heights from ?nowprocket render (full CSS loaded).
 */

/* wisconsin/divorce/* pages (CPT: wi_divorce)
   Desktop CLS 0.193 from et_pb_section_1 (886px content section) */
body.single-wi_divorce div.et_pb_section_1 {
  min-height: 886px;
}

/* LP pages: form container shift (CLS 0.160)
   Both IL and WI landing page CPTs share the same form template */
body.single-il_landing_pages .et_pb_code_inner:has(form.web-to-lead-form),
body.single-wi_landing_pages .et_pb_code_inner:has(form.web-to-lead-form) {
  min-height: 540px;
}

/* LP hero section shift - et_pb_section_0 is the hero on LP templates */
body.single-il_landing_pages div.et_pb_section_0,
body.single-wi_landing_pages div.et_pb_section_0 {
  min-height: 889px;
}
