.site-header .site-brand,.mcpe-custom-footer .site-brand{min-width:0;max-width:100%;line-height:1;flex-shrink:1}
.site-header .site-brand .mcpe-brand-logo{display:block;flex:0 1 auto;width:auto;height:auto;max-width:var(--mcpe-logo-header-width,220px);max-height:72px;object-fit:contain;object-position:left center}
.mcpe-custom-footer .site-brand .mcpe-brand-logo{display:block;flex:0 1 auto;width:auto;height:auto;max-width:min(100%,var(--mcpe-logo-footer-width,250px));max-height:110px;object-fit:contain;object-position:left center}
.site-header .header-actions{flex-shrink:0}
.site-brand>span{min-width:0}
@media(max-width:800px){.site-header .site-brand .mcpe-brand-logo{max-width:min(45vw,var(--mcpe-logo-header-mobile-width,180px));max-height:60px}.mcpe-custom-footer .site-brand .mcpe-brand-logo{max-width:min(100%,var(--mcpe-logo-footer-mobile-width,220px));max-height:96px}}
