/* Shared public-site hero media budget. See docs/public-hero-standard.md. */
:root{--wiunix-hero-media-max:480px;--wiunix-hero-media-mobile-max:320px}
body :is(.pb-layout-hero,.block-hero,.home-hero,.experience-hero) :is([data-pb-kind="image"] img,.block-image img,.hero-media img,.hero-architecture img,.experience-visual img){max-height:var(--wiunix-hero-media-max)!important;object-fit:contain}
body [data-pb-document] .pb-layout-hero{padding-block:clamp(32px,4vw,48px)}
body [data-pb-document] .pb-layout-hero>[data-pb-kind="container"]{min-height:0}

/* Compact split photography: the original subject stays untouched, with no overlay. */
body [data-pb-document] .pb-variant-hero-photo-edge{margin-top:0;padding:0;background:#f5f8f6}
body [data-pb-document] .pb-variant-hero-photo-edge>[data-pb-kind="container"]{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0;width:100%;max-width:none;height:clamp(420px,36vw,480px);margin-inline:auto;overflow:visible}
body [data-pb-document] .pb-variant-hero-photo-edge>[data-pb-kind="container"]>[data-pb-kind="container"]{grid-column:1;grid-row:1;width:100%;height:auto;min-width:0;padding:clamp(28px,3vw,44px);background:#f5f8f6;justify-content:center}
body [data-pb-document] .pb-variant-hero-photo-edge>[data-pb-kind="container"]>[data-pb-kind="image"]{position:relative;inset:auto;grid-column:2;grid-row:1;width:100%;height:100%;min-width:0;overflow:hidden;box-shadow:none;border-radius:0}
body [data-pb-document] .pb-variant-hero-photo-edge>[data-pb-kind="container"]>[data-pb-kind="image"] img{display:block;width:100%;height:100%;object-fit:cover;object-position:right center;filter:none}
body [data-pb-document] .pb-variant-hero-photo-edge h1{font-size:clamp(36px,3.5vw,52px);line-height:1.08;margin:14px 0}
body.market-fa [data-pb-document] .pb-variant-hero-photo-edge h1{line-height:1.45}
body [data-pb-document] .pb-variant-hero-photo-edge h1+[data-pb-kind="text"]{font-size:16px;line-height:1.6}
body [data-pb-document] .pb-variant-hero-photo-edge>[data-pb-kind="container"]>[data-pb-kind="container"]>[data-pb-kind="container"]{flex-wrap:wrap;gap:12px;margin-top:18px}
@media(max-width:900px){
  body :is(.pb-layout-hero,.block-hero,.home-hero,.experience-hero) :is([data-pb-kind="image"] img,.block-image img,.hero-media img,.hero-architecture img,.experience-visual img){max-height:var(--wiunix-hero-media-mobile-max)!important}
  body [data-pb-document] .pb-variant-hero-photo-edge>[data-pb-kind="container"]{grid-template-columns:1fr;height:auto}
  body [data-pb-document] .pb-variant-hero-photo-edge>[data-pb-kind="container"]>[data-pb-kind="container"]{grid-column:1;grid-row:1;padding:32px 24px}
  body [data-pb-document] .pb-variant-hero-photo-edge>[data-pb-kind="container"]>[data-pb-kind="image"]{grid-column:1;grid-row:2;height:clamp(240px,60vw,320px)}
  body [data-pb-document] .pb-variant-hero-photo-edge h1{font-size:clamp(32px,6vw,40px)}
}
/* Text may expand at large font/zoom settings; never clip reading or actions. */
@media(min-width:901px){
  body [data-pb-document] .pb-variant-hero-photo-edge>[data-pb-kind="container"]{height:auto;min-height:420px}
  body [data-pb-document] .pb-variant-hero-photo-edge>[data-pb-kind="container"]>[data-pb-kind="image"]{height:clamp(420px,36vw,480px);align-self:center}
}

/* Full-bleed frame; bound photo width on ultrawide displays to preserve its headroom. */
@media(min-width:1921px){
  body [data-pb-document] .pb-variant-hero-photo-edge>[data-pb-kind="container"]{grid-template-columns:minmax(0,1fr) 960px}
}
