/* Keep portfolios at an editorial scale, even on wide desktop screens. */
@media(min-width:761px){
 html body[class] main [data-premium-gallery]:is(#centered-layout,.centered-slider):is(#centered-layout,.centered-slider):is(#centered-layout,.centered-slider){
  width:calc(100% - 48px)!important;max-width:1000px!important;margin-inline:auto!important;
 }
 html body[class] main [data-premium-gallery]:is(#centered-layout,.centered-slider):is(#centered-layout,.centered-slider):is(#centered-layout,.centered-slider) > figure img{
  width:100%!important;height:min(52svh,500px)!important;max-height:500px!important;aspect-ratio:auto!important;object-fit:cover!important;
 }
 html body[class] main .premium-gallery-controls{width:calc(100% - 48px);max-width:1000px;box-sizing:border-box;margin-inline:auto!important}
}
@media(min-width:761px){
 html body[class] main [data-premium-gallery]:is(#centered-layout,.centered-slider):is(#centered-layout,.centered-slider):is(#centered-layout,.centered-slider)>figure{aspect-ratio:auto!important;height:min(52svh,500px)!important;min-height:0!important}
 html body[class] main .premium-gallery-section>.w-container{width:calc(100% - 48px)!important;max-width:1320px!important;margin-inline:auto!important}
}
