/* Explicit owner settings only. Unset values keep the existing responsive design. */
@media (min-width:761px) {
    body.pg-site-photos .pg-homepage > [data-pg-layout][data-pg-width] {width:var(--pg-frame-width);max-width:100%;margin-inline:auto;}
    body.pg-site-photos .pg-homepage > .hero[data-pg-height] {height:var(--pg-frame-height);}
    body.pg-site-photos .pg-homepage > .brand-story[data-pg-height] {min-height:var(--pg-frame-height);}
    body.pg-site-photos .pg-homepage > .brand-story[data-pg-height] .story-image {height:var(--pg-frame-height);aspect-ratio:auto;}
    body.pg-site-photos .pg-homepage > [data-pg-layout="categories"][data-pg-height] .category-image {height:var(--pg-frame-height);aspect-ratio:auto;}
}
@media (max-width:760px) {
    body.pg-site-photos .pg-homepage > [data-pg-layout][data-pg-mobile-width] {width:var(--pg-frame-mobile-width);max-width:100%;margin-inline:auto;}
    body.pg-site-photos .pg-homepage > .hero[data-pg-mobile-height] {height:var(--pg-frame-mobile-height);}
    body.pg-site-photos .pg-homepage > .brand-story[data-pg-mobile-height] {min-height:0;}
    body.pg-site-photos .pg-homepage > .brand-story[data-pg-mobile-height] .story-image {height:var(--pg-frame-mobile-height);aspect-ratio:auto;}
    body.pg-site-photos .pg-homepage > [data-pg-layout="categories"][data-pg-mobile-height] .category-image {height:var(--pg-frame-mobile-height);aspect-ratio:auto;}
}
body.pg-site-photos .pg-homepage .hero .hero-visual > img[data-pg-photo][data-pg-fit="contain"],
body.pg-site-photos .pg-homepage .brand-story .story-image > img[data-pg-photo][data-pg-fit="contain"],
body.pg-site-photos .pg-homepage .category-grid .category-tile .category-image > img[data-pg-photo][data-pg-fit="contain"] {object-fit:contain!important;}
body.pg-site-photos .pg-homepage .hero .hero-visual > img[data-pg-photo][data-pg-fit="cover"],
body.pg-site-photos .pg-homepage .brand-story .story-image > img[data-pg-photo][data-pg-fit="cover"],
body.pg-site-photos .pg-homepage .category-grid .category-tile .category-image > img[data-pg-photo][data-pg-fit="cover"] {object-fit:cover!important;}
body.pg-site-photos .pg-homepage .hero .hero-visual > img[data-pg-photo][data-pg-position],
body.pg-site-photos .pg-homepage .brand-story .story-image > img[data-pg-photo][data-pg-position],
body.pg-site-photos .pg-homepage .category-grid .category-tile .category-image > img[data-pg-photo][data-pg-position] {object-position:var(--pg-photo-position)!important;}
body.pg-site-photos .pg-homepage .hero .hero-visual > img[data-pg-photo][data-pg-zoom],
body.pg-site-photos .pg-homepage .brand-story .story-image > img[data-pg-photo][data-pg-zoom],
body.pg-site-photos .pg-homepage .category-grid .category-tile .category-image > img[data-pg-photo][data-pg-zoom] {transform:scale(var(--pg-photo-scale))!important;transform-origin:center;}

/* Independent photo dimensions preserve the uploaded image proportions. */
body.pg-site-photos .pg-homepage img[data-pg-photo][data-pg-photo-width-px] {width:var(--pg-photo-width-px)!important;height:auto!important;max-width:none!important;max-height:none!important;}
body.pg-site-photos .pg-homepage img[data-pg-photo][data-pg-photo-height-px] {height:var(--pg-photo-height-px)!important;width:auto!important;max-width:none!important;max-height:none!important;}
body.pg-site-photos .pg-homepage img[data-pg-photo][data-pg-photo-width-px][data-pg-photo-height-px] {width:var(--pg-photo-width-px)!important;height:var(--pg-photo-height-px)!important;}
body.pg-site-photos .pg-homepage img[data-pg-photo][data-pg-photo-offset-x] {left:var(--pg-photo-offset-x)!important;right:auto!important;}
body.pg-site-photos .pg-homepage img[data-pg-photo][data-pg-photo-offset-y] {top:var(--pg-photo-offset-y)!important;bottom:auto!important;}
body.pg-site-photos .pg-homepage > [data-pg-background] .hero-visual,
body.pg-site-photos .pg-homepage > [data-pg-background] .story-image {background:transparent;}
/* Free composition is isolated from the ready-made sections and catalog. */
.pg-homepage > .pg-free-block {position:relative;max-width:100%;overflow:hidden;margin:65px auto 0;isolation:isolate;}
.pg-free-block .pg-canvas-stage {position:absolute;top:0;left:0;transform-origin:top left;}
.pg-free-block [data-pg-canvas-item] {position:absolute;box-sizing:border-box;min-width:0;}
.pg-free-block .pg-canvas-photo {z-index:1;overflow:hidden;}
body.pg-site-photos .pg-homepage .pg-free-block .pg-canvas-photo > img {position:absolute;inset:0;width:100%;height:100%;max-width:none;max-height:none;margin:0;padding:0;aspect-ratio:auto;object-fit:contain!important;object-position:center!important;transform:none!important;}
.pg-free-block .pg-canvas-copy.story-copy {z-index:2;padding:0;max-width:none;min-height:30px;}
.pg-free-block .pg-canvas-copy.story-copy h2,.pg-free-block .pg-canvas-copy.story-copy p,.pg-free-block .pg-canvas-copy.story-copy .text-link {color:inherit;max-width:100%;overflow-wrap:anywhere;}

body.pg-site-photos .pg-homepage .pg-free-block .pg-canvas-photo > img.pg-photo-background-layer{position:absolute;inset:0;width:100%;height:100%;max-width:none;max-height:none;margin:0;padding:0;object-fit:contain;object-position:center;pointer-events:none;}
.pg-free-block .pg-canvas-copy.story-copy[style*="height:"]{overflow:hidden;}

/* Apply only explicitly chosen typography, leaving existing sections unchanged. */
body.pg-site-photos .pg-homepage [data-pg-text-size]{font-size:var(--pg-text-size)}
body.pg-site-photos .pg-homepage [data-pg-text-line-height]{line-height:var(--pg-text-line-height)}
body.pg-site-photos .pg-homepage [data-pg-text-spacing]{letter-spacing:var(--pg-text-spacing)}
@media(max-width:760px){
 body.pg-site-photos .pg-homepage [data-pg-text-mobile-size]{font-size:var(--pg-text-mobile-size)}
 body.pg-site-photos .pg-homepage [data-pg-text-mobile-line-height]{line-height:var(--pg-text-mobile-line-height)}
 body.pg-site-photos .pg-homepage [data-pg-text-mobile-spacing]{letter-spacing:var(--pg-text-mobile-spacing)}
}

body.pg-site-photos .pg-homepage [data-pg-text-family] .pg-inline-brand{font-family:var(--pg-text-family);font-style:inherit}
