/* J’s Design WordPress adapter: lets the approved design CSS (style.css) render through
   Elementor wrappers exactly as in the static design. Editor view keeps normal boxes. */
body:not(.elementor-editor-active) .jsd-dc,
body:not(.elementor-editor-active) .jsd-dc > .elementor-widget-container { display: contents; }
.elementor-location-header { position: sticky; top: 0; z-index: 60; }
.elementor-location-header .site-header { position: relative; top: auto; }
@media screen and (min-width: 783px) { .admin-bar .elementor-location-header { top: 32px; } }
@media screen and (max-width: 782px) { .admin-bar .elementor-location-header { top: 0; } }
/* every service section after the first keeps its divider (design: .svc-block:first-child) */
.deep-body > .elementor-element ~ .elementor-element .svc-block { border-top: 1px solid var(--line); padding-top: clamp(36px, 4vw, 56px); }
/* estimate form: spam trap + send error */
.jsd-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-card .send-err { color: #B42318; font-size: .9rem; font-weight: 600; margin: 12px 0 0; }
.form-card .send-err a { color: inherit; }
.form-card button[aria-busy="true"] { opacity: .7; cursor: progress; }
/* Elementor containers set --display:flex for their own layout; the design uses --display for its
   heading font. Every design section sits in an HTML widget, so restore the design value there. */
.elementor-widget-html { --display: "Archivo", "Inter", system-ui, sans-serif !important; }
/* design rule ".deep > * { min-width: 0 }": the sticky index sits one wrapper deeper in WordPress */
.deep > .elementor-element > *, .deep > .elementor-element { min-width: 0; }
/* WordPress-only pages (404, default template) in the design's layout */
.error404 .site-main, .page-template-default .site-main { width: min(var(--maxw), 100% - 48px); margin-inline: auto; padding: clamp(64px, 8vw, 120px) 0; }
.error404 .page-content p { margin-top: 18px; }
