/* Match the approved skills-page canvas: 1024 CSS px, fluid on narrower screens.
   TOP is excluded. Preserve page-specific Hero height and internal layout. */
body.bfu-active main:is(.bfc-page,.bfd-page,.bfv-page,.bfw-page,.bfs-page){width:min(100%,1024px)!important;max-width:1024px!important;margin-inline:auto!important;box-sizing:border-box}
body.bfu-active main:is(.bfc-page,.bfd-page,.bfv-page,.bfw-page,.bfs-page)>:is(.bfc-hero,.bfd-hero,.bfv-hero,.bfw-hero,.bfs-hero),
body.bfu-active main.bfd-page .bfe-layout>.bfe-hero{width:100%!important;max-width:none!important;margin-inline:0!important;box-sizing:border-box}

@media(max-width:600px){body.bfu-active main:is(.bfc-career,.bfc-sns,.bfc-video)>.bfc-hero>.bfc-hero-photo{position:absolute;inset:0 0 auto;width:100%;height:230px;margin:0}}
/* A 32% inherited left inset plus a 52% photo width left a 16% blank strip. */
@media(min-width:601px){body.bfu-active main.bfc-page>.bfr-hero>.bfc-hero-photo{left:auto!important;right:0!important;width:52%;margin:0}}
