/* restore-fix.css — corrective layer for the static Divi mirror of vtaxprep.com.
   Loaded LAST on every page. Only targets the specific broken pattern; the
   recovered Divi CSS drives the real layout. */

/* Divi hero/section that has a background image AND white text
   (et_pb_with_background + et_pb_bg_layout_dark) lost its dark fill on the
   static restore, so the white headline rendered white-on-white (looked like
   empty space). Darken the section via background blend so the white text is
   readable and the photo still shows. Light-text heroes (bg_layout_light, e.g.
   the homepage "Simplify Your Life") do NOT match :has(.et_pb_bg_layout_dark)
   and are left untouched. */
.et_pb_section.et_pb_with_background:has(.et_pb_bg_layout_dark){
  background-color:#0c2c4d !important;
  background-size:cover !important;
  background-position:center !important;
  background-repeat:no-repeat !important;
  background-blend-mode:multiply !important;
}
/* Buttons inside those dark heroes lost their fill too → give them the brand
   orange so they read as buttons, not white-on-white text. */
.et_pb_section.et_pb_with_background:has(.et_pb_bg_layout_dark) .et_pb_button{
  background-color:#e8412b !important;
  color:#fff !important;
  border:1px solid #e8412b !important;
  padding:.4em 1.2em !important;
  border-radius:4px !important;
  display:inline-block !important;
}

/* Constrain any content image to its container (a few service/section images
   had no max-width and rendered at full natural size). */
img{ max-width:100%; height:auto; }
