/* Glue between the approved design CSS and Elementor's wrappers.
   Sections keep the original block flow (margin collapsing, siblings) inside Elementor containers.
   Hand-written file: lives in build/static/css and is copied to assets/css by build/extract.py. */
.nm-flow.e-con,
.elementor .nm-flow,
.nm-flow {
	display: block !important;
	width: 100%;
	max-width: none;
	padding: 0 !important;
	margin: 0;
	gap: 0;
	--display: block;
	--gap: 0px;
	--padding-top: 0px;
	--padding-right: 0px;
	--padding-bottom: 0px;
	--padding-left: 0px;
}
.nm-flow > .elementor-widget,
.nm-flow > .elementor-widget:not(:last-child),
.nm-flow > .elementor-element {
	margin: 0 !important;
	width: 100%;
	max-width: none;
}
.nm-flow .elementor-widget-nm-section > .elementor-widget-container {
	margin: 0;
	padding: 0;
}
.nm-fallback { display: block; }
/* Keep the Elementor canvas transparent so the design's own backgrounds show. */
body .elementor { background: transparent; }

/* The approved home page used a slightly larger theme-toggle pill in the top bar than the inner pages
   (class compact-active in its static markup). Keep both pixel-identical to the originals. */
.nm-home-layout #theme-toggle-btn { min-height: 32px; padding: 3px 9px; gap: 5px; }
.nm-home-layout #theme-toggle-btn svg { width: 13px; height: 13px; }
.nm-home-layout .top-bar-controls > .ctrl-pill:not(#theme-toggle-btn) { gap: 4px; }

/* Page scroll safety: <body class="site-wrapper"> must never turn into a clipped viewport.
   body{overflow:clip} on its own is propagated to the viewport as "hidden" and blocks scrolling when <html> has no overflow set. */
html{overflow-x:hidden}
body.site-wrapper{overflow-x:clip;overflow-y:visible}
