/* Upward — WordPress and Elementor adjustments. Loaded after upward.css on Upward pages only. */

/* Logged-in admin bar */
.admin-bar .nav{top:32px}
@media (max-width:782px){.admin-bar .nav{top:46px}}

/* Sections left out of a page are still printed for the script, but kept off-screen */
.uw-off{position:fixed!important;left:0;top:300vh;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);visibility:hidden;pointer-events:none}

/* Business pages: keep the home sections out of sight until the script has switched views */
html:not(.on-detail) body.uw-biz #view-home{visibility:hidden}

/* Elementor: sections must run edge to edge, and nothing above a sticky scene may clip it */
.uw-page .elementor-widget-shortcode,.uw-page .elementor-widget-shortcode .elementor-shortcode{width:100%;max-width:none}
.uw-page .e-con:has(.uw-part),.uw-page .e-con:has(#view-home),.uw-page .elementor-section:has(.uw-part),.uw-page .elementor-section:has(#view-home){overflow:visible;padding:0;max-width:none;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;--content-width:100%}
.uw-page .e-con:has(.uw-part)>.e-con-inner,.uw-page .e-con:has(#view-home)>.e-con-inner{max-width:none;padding:0}

/* Elementor resets image radius and shadow; give these two back */
.uw-page .mg-logo{border-radius:9px}
.uw-page .bb-logo img{border-radius:10px}

/* Header printed late by a theme without wp_body_open */
.uw-page .nav.uw-fixed{position:fixed;left:0;right:0;top:0}
