/* Image and copy share one grid cell: a full-width, uncropped background layer.
   The row grows to fit the natural image ratio or the text, whichever is taller. */
#main>.page-hero:has(>.hero-image),#main>.home-entry.home-entry-background{display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto!important;align-items:center!important;justify-items:center!important;gap:0!important;position:relative!important;isolation:isolate!important;width:100%!important;min-height:0!important;height:auto!important;max-height:none!important;padding:0!important;overflow:visible!important}
#main>.page-hero:has(>.hero-image)>.hero-image{grid-area:1/1!important;display:block!important;position:relative!important;inset:auto!important;align-self:center!important;justify-self:stretch!important;z-index:0!important;width:100%!important;height:auto!important;min-height:0!important;max-width:none!important;max-height:none!important;aspect-ratio:auto!important;object-fit:contain!important;object-position:center!important;transform:none!important;filter:none!important;opacity:1!important;mask-image:none!important;-webkit-mask-image:none!important;margin:0!important;pointer-events:none}
#main>.page-hero:has(>.hero-image)>.hero-copy,#main>.home-entry.home-entry-background>.home-entry-content{grid-area:1/1!important;position:relative!important;inset:auto!important;align-self:center!important;justify-self:center!important;z-index:2!important;padding-block:clamp(40px,5vw,80px)!important;box-sizing:border-box}
#main>.home-entry.home-entry-background>.home-entry-backdrop{grid-area:1/1!important;display:block!important;position:relative!important;inset:auto!important;align-self:center!important;justify-self:stretch!important;z-index:0!important;width:100%!important;height:auto!important;min-height:0!important;max-width:none!important;max-height:none!important;aspect-ratio:auto!important;margin:0!important}
#main>.home-entry.home-entry-background>.home-entry-backdrop>img.home-hero-owner-image{display:block!important;width:100%!important;height:auto!important;min-height:0!important;max-width:none!important;max-height:none!important;aspect-ratio:auto!important;object-fit:contain!important;object-position:center!important;transform:none!important}
#main>.page-hero:has(>.hero-image)::after,#main>.home-entry.home-entry-background::after{position:absolute!important;inset:0!important;z-index:1!important;pointer-events:none}

/* Reserve the declared image ratio before loading; keep the intrinsic ratio afterwards. */
#main>.home-entry.home-entry-background>.home-entry-backdrop>img.home-hero-owner-image{aspect-ratio:auto 920 / 690!important}
#main>.page-hero>.hero-image[width="1448"][height="1086"]{aspect-ratio:auto 1448 / 1086!important}
#main>.page-hero>.hero-image[width="1672"][height="941"]{aspect-ratio:auto 1672 / 941!important}
#main>.page-hero>.hero-image[width="920"][height="518"]{aspect-ratio:auto 920 / 518!important}
#main>.page-hero>.hero-image[width="920"][height="613"]{aspect-ratio:auto 920 / 613!important}
#main>.page-hero>.hero-image[width="920"][height="450"]{aspect-ratio:auto 920 / 450!important}
#main>.page-hero>.hero-image[width="1600"][height="808"]{aspect-ratio:auto 1600 / 808!important}
#main>.page-hero>.hero-image[width="920"][height="500"]{aspect-ratio:auto 920 / 500!important}
#main>.page-hero>.hero-image[width="1552"][height="1010"]{aspect-ratio:auto 1552 / 1010!important}
#main>.page-hero>.hero-image[width="920"][height="690"]{aspect-ratio:auto 920 / 690!important}
#main>.page-hero>.hero-image[width="1628"][height="966"]{aspect-ratio:auto 1628 / 966!important}
/* Legible small accent text against the dark section backgrounds. */
#main .eyebrow{color:#e04847!important}
