/* Original SVG artwork. Scope every rule to the two new logo elements. */
#masthead .site-branding:has(.uzb-brand-logo){padding-block:8px}
#masthead .uzb-brand-title,#masthead .uzb-brand-title a{display:block;line-height:0}
#masthead .uzb-brand-logo{display:block;width:208px;max-width:100%;height:auto;aspect-ratio:252.33/77.54}
.uzb-catalog .uzb-search-row:has(.uzb-search-brand){position:relative}
.uzb-catalog .uzb-search-brand{position:absolute;display:block;width:var(--uzb-search-logo-width,163px);max-width:100%;height:auto;aspect-ratio:662.78/121.07;left:var(--uzb-search-logo-left,50%);top:var(--uzb-search-logo-top,-60px);transform:translateX(-50%);pointer-events:none}
.uzb-controls.is-collapsed .uzb-search-brand{display:none}
@media(max-width:921px){#masthead .uzb-brand-logo{width:180px}#masthead .site-branding:has(.uzb-brand-logo){padding-block:7px}}
@media(max-width:782px){
 .uzb-catalog .uzb-search-row:has(.uzb-search-brand){margin-top:calc(var(--uzb-search-logo-width,163px) * .182670569 + 8px)}
 .uzb-catalog .uzb-search-brand{top:auto;bottom:calc(100% + 8px)}
 .uzb-controls.is-collapsed .uzb-search-row:has(.uzb-search-brand){margin-top:0}
}

/* Keep the mobile logo on the header center line; retain the menu at the right edge. */
@media(max-width:921px){
 #ast-mobile-header .ast-primary-header-bar > .ast-builder-grid-row{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);column-gap:0}
 #ast-mobile-header .site-header-primary-section-left{grid-column:2;grid-row:1;justify-content:center}
 #ast-mobile-header .site-header-primary-section-right{grid-column:3;grid-row:1;justify-self:end}
}
