main .photography-gallery-grid>div[data-added-photo=true]{height:auto!important;max-height:none!important}main .photography-gallery-grid>div[data-added-photo=true]>img{object-fit:contain!important;height:100%!important}#portfolio-photo-dialog .ph-gallery-grid[data-featured=true],main section.portfolio-import-featured .photography-gallery-grid.grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;align-items:start!important}main section.portfolio-import-featured .photography-gallery-grid.grid>div{grid-column:auto!important}#portfolio-photo-dialog .ph-gallery-grid[data-featured=true]>button[data-featured-hero=true],main section.portfolio-import-featured .photography-gallery-grid.grid>div[data-featured-hero=true]{grid-column:1/-1!important}