/* Individual properties preserve an image's existing rotation and aspect ratio. */
img.xo-image-adjusted{scale:var(--xo-image-scale,1);translate:var(--xo-image-x,0%) var(--xo-image-y,0%);transform-origin:center}
/* Keep adjusted marks within their reserved header/footer slot. */
.brand:has(>img.xo-image-adjusted){overflow:hidden}
/* The image keeps its responsive CSS dimensions; transforms stay inside that slot. */
.xo-brand-logo-frame{display:flex;align-items:center;justify-content:center;flex:0 0 auto;overflow:hidden;isolation:isolate}
.xo-brand-logo-frame>img{flex:none}
/* Only the photo layer is clipped; captions, rings and labels remain independent. */
.xo-brand-hero-frame{position:absolute;inset:0;display:grid;place-items:center}
.xo-brand-hero-frame:has(>img.xo-image-adjusted){overflow:hidden}

/* Keep the complete wordmark in its slot, including on compact product headers. */
.xo-branding-ready .brand-symbol{display:none}
.xo-branding-ready .brand{min-width:0;max-width:100%}
.xo-branding-ready .brand>img[data-site-logo]{display:block;width:13rem!important;max-width:100%!important;height:auto!important;max-height:3.3rem;object-fit:contain;object-position:center}
.xo-branding-ready footer .brand>img[data-site-logo]{width:11rem!important}
@media(max-width:700px){
 .xo-branding-ready .header .brand{max-width:min(52vw,12rem)}
 .xo-branding-ready .brand>img[data-site-logo]{width:11rem!important;max-height:2.7rem}
 .xo-branding-ready img.xo-image-adjusted[data-site-logo]{scale:1;translate:0 0}
 .xo-branding-ready .brand:has(>img[data-site-logo]){overflow:visible}
}
