/* MG Lomb - live only (Nov 20, 2026, Step 4c of the Tailscale push).
   On the Tailscale site the new blocks (category hero, Featured Projects, FAQ, About, Testimonials, project pages) sit
   straight inside the page. On mglomb.com they sit inside Elementor sections (class "mgc-block-sec") so they stay
   editable in Elementor. These rules keep those Elementor wrappers invisible, so the blocks measure exactly as on the
   Tailscale site. Loaded on every page after buttons.css. */

/* The site's rule ".mgl-sticky-submenu + section { padding-top: 30px !important }" gives the section right under the
   sticky sub-menu 30px at the top. On the Tailscale site that is the block itself (inside its background); here it
   would land on the wrapper. */
.mgl-sticky-submenu + .elementor-section.mgc-block-sec { padding-top: 0 !important; margin-top: 0 !important; }
.mgl-sticky-submenu + .elementor-section.mgc-block-sec .elementor-widget-html > .elementor-widget-container > section:first-child,
.mgl-sticky-submenu + .elementor-section.mgc-block-sec .elementor-widget-html > section:first-child { padding-top: 30px !important; margin-top: 0 !important; }

/* mobile.css gives every top section's column 20px at the sides on phones and tablets: not these wrappers */
.elementor-top-section.mgc-block-sec > .elementor-container > .elementor-column > .elementor-widget-wrap { padding: 0 !important; }

/* mobile.css pulls a lone HTML widget that holds a video out to the screen edges on phones (meant for the home page
   video). A block wrapper's HTML widget is a lone widget and the project blocks hold looping videos: keep it in place. */
.elementor-top-section.mgc-block-sec > .elementor-container > .elementor-column > .elementor-widget-wrap > .elementor-widget-html.elementor-widget {
  margin-left: 0 !important; margin-right: 0 !important; width: 100% !important; max-width: 100% !important; }

/* Elementor's frontend.min.css sets every <figure> inside a widget to margin 0
   (".elementor .elementor-widget:not(.elementor-widget-text-editor):not(...) figure"). On the Tailscale site the
   blocks are not inside widgets, so concept.css's spacing above the project pictures and videos applies. Restore it. */
html .elementor .elementor-widget.elementor-widget-html figure.mgc-pj-shot,
html .elementor .elementor-widget.elementor-widget-html figure.mgc-pj-loop { margin: 22px 0 0; }
html .elementor .elementor-widget.elementor-widget-html .mgc-pj-stills figure.mgc-pj-shot { margin: 0; }

/* /contact-us/: the map is now plain HTML inside the page's block, so Elementor no longer loads the Google Maps widget's
   CSS or the page's old setting for it (600px tall). The Tailscale site still had both: same values here. */
.qc--contact .qc-map .elementor-widget-google_maps .elementor-widget-container { overflow: hidden; }
.qc--contact .qc-map .elementor-widget-google_maps .elementor-custom-embed { line-height: 0; }
.qc--contact .qc-map .elementor-element.elementor-element-30fc2c4 iframe { height: 600px; }

/* Nov 20: phone menu opens without the see-through red layer (the same rule as Site 1's Swipy-child/style.css; repeated here so browsers that kept the old style.css get it at once) */
.offwrap { background: transparent !important; }
