/* v5.4.0 — Only Resources hero fidelity and truthful mortgage simulator chrome.
   No homepage, header, footer or Elementor geometry is changed. */
.ipo-app.ipx-resources-root .iprs-hero-villa {
  right:0; bottom:0; top:auto; z-index:0;
  -webkit-mask-image:none;mask-image:none;
  width:61%; max-width:705px; min-width:0;
  height:auto; aspect-ratio:1870 / 690;
  overflow:visible;
}
.ipo-app.ipx-resources-root .iprs-hero-villa img {
  width:100%;height:100%;object-fit:contain;object-position:right bottom;
}
.ipo-app.ipx-resources-root .iprs-hero-villa:after {
  background:linear-gradient(90deg,#f8fdf9 0%,#f8fdf9bf 10%,transparent 30%),linear-gradient(0deg,#eff8f493,transparent 30%);
}
.ipo-app.ipx-resources-root .iprs-villa-note {
  right:15px; top:24px; max-width:180px;
  white-space:normal; z-index:3;
  line-height:1.25; text-align:center;
  text-shadow:0 1px 4px #fff,0 2px 12px #fff;
}
.ipo-app.ipx-resources-root .iprs-glass {right:18px;z-index:3}
@media (max-width:990px) {
 .ipo-app.ipx-resources-root .iprs-hero-villa {right:0;bottom:0;top:auto;width:61%;min-width:0;height:auto;aspect-ratio:1870 / 690}
 .ipo-app.ipx-resources-root .iprs-villa-note {display:block;top:22px;right:12px;max-width:150px;font-size:13px}
 .ipo-app.ipx-resources-root .iprs-glass {right:8px}
}
@media (max-width:650px) {
 .ipo-app.ipx-resources-root .iprs-hero-villa {top:auto;bottom:0;right:0;width:100%;max-width:none;min-width:0;height:auto;aspect-ratio:1870 / 690;
  -webkit-mask-image:linear-gradient(180deg,transparent 0,#000 22%,#000 100%);mask-image:linear-gradient(180deg,transparent 0,#000 22%,#000 100%)}
 .ipo-app.ipx-resources-root .iprs-villa-note {display:block;top:390px;left:18px;right:auto;max-width:140px;font-size:12px;
   background:#ffffffe8;padding:7px 9px;border-radius:9px}
 .ipo-app.ipx-resources-root .iprs-glass {top:420px;bottom:auto;right:12px}
}
/* Transparent scenario cards: numeric examples, never brand-labelled offers. */
:is(#ipx-mortgage-page,.ipx-mortgage-root) .ipm-scenario-mark {
 display:inline-flex;align-items:center;justify-content:center;min-width:82px;min-height:23px;
 padding:3px 9px;border:1px solid #d1e9dc;border-radius:7px;
 background:#eef9f3;color:#076c4a;font-size:10px;line-height:1.1;font-weight:750;
 font-family:Georgia,serif;white-space:nowrap;
}
:is(#ipx-mortgage-page,.ipx-mortgage-root) .ipm-calculator {height:auto;min-height:319px}
:is(#ipx-mortgage-page,.ipx-mortgage-root) .ipm-calc-disclaimer {line-height:1.35}
