/* Investcent site on WordPress: what the page builder and WordPress add around the
   reviewed design, neutralised. Loaded after iib.css and after Elementor's own files. */

/* The three containers the loader builds on every page (header, page, footer) own no
   spacing of their own: the design inside carries its gutters. */
.iib-host {
	--padding-top: 0px !important; --padding-right: 0px !important; --padding-bottom: 0px !important; --padding-left: 0px !important;
	--margin-top: 0px !important; --margin-bottom: 0px !important; --gap: 0px !important; --row-gap: 0px !important; --column-gap: 0px !important;
	--widgets-spacing: 0px !important; --container-max-width: none !important; --content-width: 100% !important;
	padding: 0 !important; margin: 0 !important; max-width: none !important; min-height: 0 !important;
}
.iib-host > .elementor-element, .iib-host > .e-con-inner > .elementor-element { width: 100% !important; max-width: 100% !important; margin: 0 !important; --container-widget-width: 100%; }
.iib-host .elementor-widget-container { margin: 0 !important; padding: 0 !important; }
.iib-host .elementor-shortcode { display: block; }

/* The header stays at the top while the page scrolls. Its host is the element that
   sticks, because the header sits inside a container only as tall as itself. */
.iib-sticky-host { position: sticky !important; top: 0; z-index: 60; }
.admin-bar .iib-sticky-host { top: 32px; }
@media (max-width: 782px) { .admin-bar .iib-sticky-host { top: 46px; } }
@media (max-width: 600px) { .admin-bar .iib-sticky-host { top: 0; } }

/* Pages without Elementor use the loader's own canvas */
.iib-canvas { margin: 0; }

/* NairoCRM Forms in the site's square geometry, and without a second heading where
   the band beside the form already carries one */
.iib .nf-card {
	--nf-radius: 0px !important; --nf-field-radius: 0px !important; --nf-button-radius: 2px !important;
	--nf-card-pad: 36px !important; --nf-card-border: #D3DBE0 !important; --nf-top-color: #D3DBE0 !important;
	--nf-card-max: none !important;
}
.iib .iib-enq .nf-head { display: none !important; }
.iib .iib-enq .nf-head + .nf-form { margin-top: 0 !important; }
@media (max-width: 767px) { .iib .nf-card { --nf-card-pad: 24px 20px !important; } }

/* Defaults the reviewed design relies on, restored at the lowest strength the design's
   own rules still beat: Elementor drops link underlines (.elementor a) and figure margins
   inside widgets, and some themes zero list margins (Hello resets dl). */
.iib .elementor :where(a:not([class])) { text-decoration: underline; }
.iib :where(dl) { margin-block: 1em; }
.iib .iib-post-img, .iib .iib-person-img { margin-bottom: 12px !important; }

/* Block themes set type on the body (Twenty Twenty-Five tracks it at -0.1px); the design
   was reviewed on browser defaults, so the page body resets what the design inherits. */
body.iib { letter-spacing: normal; word-spacing: normal; text-transform: none; }
.iib :where(h1, h2, h3, h4, h5, h6) { letter-spacing: normal; }
