/* Atlantic Lifts — neutralise Elementor container/widget defaults so the original site CSS applies unchanged. */

/* Containers carry the original class names; give them plain block behaviour (original CSS re-adds flex/grid). */
.e-con.cwc{display:block;position:static;width:auto;max-width:none;min-height:0;padding:0;margin:0;gap:normal;
  text-align:inherit;flex-direction:row;flex-wrap:nowrap;justify-content:normal;align-items:normal;align-content:normal;
  flex:0 1 auto;border:0;--padding-top:0;--padding-right:0;--padding-bottom:0;--padding-left:0;--gap:0;--row-gap:0;--column-gap:0;}
.e-con.cwc:empty{min-height:0;}
/* links built as containers keep link behaviour */
a.e-con.cwc{color:inherit;text-decoration:none;}

/* Widget wrappers disappear on the live site, so original parent/child CSS applies directly. */
body:not(.elementor-editor-active) .elementor-widget.cwc-w,
body:not(.elementor-editor-active) .elementor-widget.cwc-w > .elementor-widget-container{display:contents;}
.cwc-w .elementor-shortcode{display:contents;}
:where(.e-con) .elementor-widget.cwc-w{color:inherit;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;letter-spacing:inherit;text-transform:inherit;text-align:inherit;margin:0;}
.elementor-widget.cwc-w:not(:last-child){margin-block-end:0;}

/* Images: Elementor's generic img rules must not override the site's sizing */
:root .cwc-w.elementor-widget-image img{display:block;}

/* Scroll-reveal and intro animations must never hide content inside the Elementor editor */
.elementor-editor-active :is([data-reveal],.cwc-reveal,.hero-copy > *,.page-hero-copy > *,.hero-facts,.hero-bg,.hero-grid-texture,.hero-tech-tag,.page-hero-media,.page-hero-grid){opacity:1!important;transform:none!important;animation:none!important;}
.elementor-editor-active .hero-doors{display:none!important;}
.elementor-editor-active .elementor-widget.cwc-w{display:block;}

/* Sticky header: the original .site-header rule moves to Elementor's header location wrapper */
.elementor-location-header{position:sticky;top:0;z-index:50;}
.admin-bar .elementor-location-header{top:32px;}
@media (max-width:782px){.admin-bar .elementor-location-header{top:46px;}}
@media (max-width:600px){.admin-bar .elementor-location-header{top:0;}}
:root .elementor-location-header .site-header{position:relative;top:auto;}

/* Elementor uses container ::before/::after for background overlays (absolute). Converted containers use the
   original site's pseudo-elements instead, so reset Elementor's positioning (original rules load later and win). */
.e-con.cwc::before,.e-con.cwc::after{position:static;inset:auto;mix-blend-mode:normal;opacity:1;border-radius:0;transition:none;}

/* Editor only: widget wrappers are real (positioned) boxes there, so let full-bleed photos fill their frame */
.elementor-editor-active .elementor-widget.cwc-w:is(.cwc-img-hero-bg,.cwc-img-page-hero-bg){position:absolute;inset:0;}
.elementor-editor-active :is(.cwc-img-hero-bg,.cwc-img-page-hero-bg) img{opacity:1!important;animation:none!important;}
