/* Elementor wrapper reset, loaded only on pages composed in the builder.
   ─────────────────────────────────────────────────────────────────────────────────────────────
   Elementor wraps every widget in section > container > column > widget-wrap > widget, and its
   kit stylesheet caps the container at 1140px, pads the column by 10px and forces img height to
   auto. This design is built on full-bleed sections that set their own gutter — the hero is a
   100svh split grid, the numbers band and the dark practice index run edge to edge, the spread
   deliberately bleeds off one side, and site.css sets images to fill their frame with object-fit.
   Dropped into Elementor's box, all of that collapses.

   The selectors below deliberately mirror Elementor's own, because its rules are more specific
   than a plain `.elementor-page .elementor-container` would be and would otherwise win. */

/* Containers: full width, no gutter of their own. */
body.elementor-page .elementor-section > .elementor-container,
body.elementor-page .elementor-section.elementor-section-boxed > .elementor-container {
  max-width: none;
  width: 100%;
  padding: 0;
  margin: 0;
}

body.elementor-page .elementor-section,
body.elementor-page .elementor-column,
body.elementor-page .elementor-widget-wrap,
body.elementor-page .elementor-widget-container {
  width: 100%;
  max-width: none;
  padding: 0;
  margin: 0;
}

/* Elementor pads every populated column; the design controls its own rhythm. */
body.elementor-page .elementor-column-gap-default > .elementor-column > .elementor-element-populated,
body.elementor-page .elementor-element-populated {
  padding: 0;
}

body.elementor-page .elementor-widget,
body.elementor-page .elementor-widget:not(:last-child) {
  margin: 0;
}

/* The column is a flex child by default, which fights the 100svh hero grid. */
body.elementor-page .elementor-column { display: block; }

/* Sections get a stacking context that would sit above the fixed header (z-index 90 in site.css)
   and the enquiry overlay (100). */
body.elementor-page .elementor-section { z-index: auto; }

/* Note: the rules that used to force images back to filling their frame have moved out of this
   file. They existed only to counter Elementor's `.elementor img { height: auto }`, and they had to
   out-specify it — which meant they also out-specified the design's own component rules like
   `.ftop img { height: 30px }`, rendering the enquiry overlay's wordmark across half the screen.

   Elementor's stylesheet is now dropped entirely on pages built only from Jabre blocks, so the
   counter-rule is unnecessary there. On a page that still loads Elementor's CSS it is emitted
   inline instead, from inc/front-end-weight.php, scoped so component rules keep winning. */

/* The full-screen enquiry flow is fixed-position and must escape any transformed ancestor. */
body.elementor-page .elementor-widget-jabre-enquiry-flow { transform: none; }

/* Stock Button widget: the design's .btn, not Elementor's grey rounded default. With the default
   colours and fonts switched off (jabre-core.php) Elementor still ships #69727d, a 3px radius and
   15px type from its own stylesheet. A colour set on one button in the Elementor panel is scoped to
   that element's id and still wins over this. */
body.elementor-page .elementor-widget-button .elementor-button {
  font-family: inherit;
  font-size: 14px;
  letter-spacing: .03em;
  line-height: 1.2;
  padding: 16px 28px;
  border: 1px solid var(--bistre);
  border-radius: 0;
  background: var(--bistre);
  color: #F4EEE6;
  transition: background-color .45s, border-color .45s, color .45s;
}
body.elementor-page .elementor-widget-button .elementor-button:hover,
body.elementor-page .elementor-widget-button .elementor-button:focus-visible {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--bistre);
}
