/* ---------- Real Estate, 02 Pre-qualification (Oct 28): the photo is part of the navy band ----------
   Instead of a framed picture beside the words, the meeting photo bleeds off the right edge of the screen and
   dissolves into the navy toward the headline and below; a light navy wash ties its colours to the band. */
#calculators.re-pq { position: relative; overflow: hidden; isolation: isolate; }
#calculators.re-pq > .wrap { position: relative; z-index: 1; }
.re-pq .re-pq-head { display: block; min-height: clamp(380px, 42vw, 560px); margin-bottom: 40px; }
.re-pq .re-pq-head .section-head { max-width: 560px; padding-top: clamp(8px, 2vw, 30px); }
.re-pq .re-pq-photo { position: absolute; z-index: -1; top: 0; right: 0; width: min(62vw, 1060px); height: min(46vw, 760px); aspect-ratio: auto; margin: 0;
  box-shadow: none !important; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 42%), linear-gradient(180deg, #000 58%, transparent 100%);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0%, #000 42%), linear-gradient(180deg, #000 58%, transparent 100%); mask-composite: intersect; }
.re-pq .re-pq-photo img { object-position: 62% 40%; }
.re-pq .re-pq-photo::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(14,34,56,.45) 0%, rgba(14,34,56,.12) 45%, rgba(14,34,56,0) 70%), rgba(21,48,79,.12); mix-blend-mode: multiply; }
@media (max-width: 860px) {
  .re-pq .re-pq-head { min-height: 0; padding-top: 52vw; }
  .re-pq .re-pq-photo { width: 100%; height: 72vw; left: 0;
    -webkit-mask-image: linear-gradient(180deg, #000 45%, transparent 100%); mask-image: linear-gradient(180deg, #000 45%, transparent 100%); }
  .re-pq .re-pq-photo img { object-position: 60% 35%; }
}
/* the photo measures from the band itself, so it reaches the top and the right edge of the screen */
#calculators.re-pq > .wrap { position: static; }
#calculators.re-pq > .wrap > * { position: relative; z-index: 1; }
#calculators.re-pq > .wrap > .re-pq-head { position: static; }
.re-pq .re-pq-head .section-head { position: relative; z-index: 1; max-width: 500px; }
.re-pq .re-pq-photo { z-index: 0; }
@media (max-width: 860px) {
  .re-pq .re-pq-head { padding-top: 46vw; }
  .re-pq .re-pq-head .section-head { max-width: none; }
}
@media (min-width: 861px) { #calculators.re-pq .re-pq-head .section-head { max-width: 520px !important; margin-left: 0 !important; } }
