/* HOME shares the 1880px page frame; artwork scales with viewport height. */
body:has(#gmg-home) #gmg-home{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%!important;max-width:1880px!important;min-height:0!important;margin:0 auto!important;padding:24px 24px 12px!important;box-sizing:border-box}
#gmg-home .hero{width:100%;text-align:center;margin:0!important}
body:has(#gmg-home) #gmg-home .hero img{display:block;width:auto!important;height:auto!important;max-width:100%!important;max-height:52vh!important;max-height:52svh!important;margin:0 auto!important;object-fit:contain}
body:has(#gmg-home) #gmg-home .hero-title{width:min(780px,100%)!important;margin:0 auto!important;line-height:0}
body:has(#gmg-home) #gmg-home .gmg-brand-logo{display:block;width:100%!important;height:auto!important;max-height:min(150px,16svh)!important;object-fit:contain}
#gmg-home .gmg-site-links{margin-top:8px;max-width:100%;padding:8px 0;box-sizing:border-box}
body:has(#gmg-home) .custom-footer{box-sizing:border-box;width:calc(100% - 48px)!important;max-width:900px!important;margin:16px auto 0!important;padding:18px 12px 24px!important;font-size:12px;overflow-wrap:anywhere}
@media(max-width:760px){
body:has(#gmg-home) #gmg-home{padding:20px 14px 10px!important}
body:has(#gmg-home) #gmg-home .hero img{max-height:48svh!important}
body:has(#gmg-home) #gmg-home .gmg-brand-logo{max-height:min(120px,16svh)!important}
#gmg-home .gmg-site-links{gap:10px}
body:has(#gmg-home) .custom-footer{width:calc(100% - 28px)!important;margin-top:12px!important;padding:16px 8px 22px!important}
}


/* Leave room inside Cocoon's clipping container for the footer glow. */
body:has(#gmg-home) #container{padding-bottom:36px!important;box-sizing:border-box!important;min-height:100svh}
body:has(#gmg-home) .entry-content{padding-bottom:28px!important}
