/* Signal House 105.0.8 — Properties hero: reference-matched, design-system consistent.
   Scoped to listing archive templates; homepage slider and property detail untouched. */
body.post-type-archive-property .listing-hero,
body.shg-properties-page .listing-hero{
  box-sizing:border-box;
  display:flex;
  align-items:stretch;
  justify-content:center;
  height:var(--shg-listing-height,600px);
  min-height:420px;
  max-height:640px;
  padding:0;
  position:relative;
  isolation:isolate;
  background-color:#263239;
  background-image:var(--listing-hero-image) !important;
  background-size:cover;
  background-position:center var(--shg-listing-position,75%);
  background-repeat:no-repeat;
  overflow:hidden;
}
body.post-type-archive-property .listing-hero-overlay,
body.shg-properties-page .listing-hero-overlay{
  position:absolute;
  inset:0;
  z-index:0;
  pointer-events:none;
  /* Even cinematic readability without the old overly dark left-hand gradient. */
  background:linear-gradient(180deg,
    rgba(15,24,29,var(--shg-listing-overlay,.49)) 0%,
    rgba(15,24,29,var(--shg-listing-overlay,.49)) 100%);
}
body.post-type-archive-property .listing-hero-inner,
body.shg-properties-page .listing-hero-inner{
  position:relative;
  z-index:1;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  box-sizing:border-box;
  height:100%;
  width:min(1380px,calc(100% - 48px));
  max-width:none;
  margin-inline:auto;
  padding:112px 12px 30px;
  text-align:center;
}
body.post-type-archive-property .listing-hero :is(h1,[data-shg-element="heading"]),
body.shg-properties-page .listing-hero :is(h1,[data-shg-element="heading"]){
  font-family:Georgia,'Times New Roman',serif;
  font-size:clamp(50px,7.15vw,104px);
  font-weight:400;
  letter-spacing:-.052em;
  line-height:1.04;
  color:#fff;
  max-width:100%;
  margin:0 0 12px;
  text-wrap:balance;
  overflow-wrap:normal;
  text-shadow:0 3px 22px rgba(5,12,16,.18);
}
body.post-type-archive-property .listing-hero :is(p,[data-shg-element="paragraph"]),
body.shg-properties-page .listing-hero :is(p,[data-shg-element="paragraph"]){
  margin:0 auto;
  max-width:720px;
  color:rgba(255,255,255,.94);
  font-family:Inter,Arial,Helvetica,sans-serif;
  font-size:clamp(12px,1.05vw,15px);
  font-weight:400;
  line-height:1.55;
  letter-spacing:.005em;
  text-wrap:pretty;
  text-shadow:0 1px 7px rgba(5,12,16,.22);
}
@media(max-width:1024px){
  body.post-type-archive-property .listing-hero,
  body.shg-properties-page .listing-hero{height:440px;min-height:440px;max-height:none}
  body.post-type-archive-property .listing-hero-inner,
  body.shg-properties-page .listing-hero-inner{width:calc(100% - 48px);padding:106px 8px 24px}
  body.post-type-archive-property .listing-hero :is(h1,[data-shg-element="heading"]),
  body.shg-properties-page .listing-hero :is(h1,[data-shg-element="heading"]){font-size:clamp(46px,7.3vw,79px);line-height:1.08}
}
@media(max-width:700px){
  body.post-type-archive-property .listing-hero,
  body.shg-properties-page .listing-hero{height:390px;min-height:390px;max-height:none}
  body.post-type-archive-property .listing-hero-inner,
  body.shg-properties-page .listing-hero-inner{width:calc(100% - 36px);padding:96px 2px 28px}
  body.post-type-archive-property .listing-hero :is(h1,[data-shg-element="heading"]),
  body.shg-properties-page .listing-hero :is(h1,[data-shg-element="heading"]){font-size:clamp(38px,9.5vw,58px);letter-spacing:-.044em;line-height:1.09;margin-bottom:12px}
  body.post-type-archive-property .listing-hero :is(p,[data-shg-element="paragraph"]),
  body.shg-properties-page .listing-hero :is(p,[data-shg-element="paragraph"]){font-size:12px;line-height:1.6;max-width:340px}
}
@media(max-width:390px){
  body.post-type-archive-property .listing-hero,
  body.shg-properties-page .listing-hero{height:370px;min-height:370px}
  body.post-type-archive-property .listing-hero :is(h1,[data-shg-element="heading"]),
  body.shg-properties-page .listing-hero :is(h1,[data-shg-element="heading"]){font-size:clamp(34px,9vw,42px)}
}
