/* Hi-Res Homes 1125p48 — reserve space on the rentals homepage for the
   coverage map, stats bar and booking calendar so they paint with the
   first React layout instead of popping in 3–4 seconds later.
   Selectors only match rentals nodes (#hrh-coverage, .hrh-stats, the
   Preferred shoot date fieldset). No effect on Realtors or the chooser. */

/* Coverage map: measured 1000px at 390x844 and 1015px at 1440x900. */
#hrh-coverage {
  min-height: 1000px;
  background: #fdfcf8;
}
@media (min-width: 768px) {
  #hrh-coverage { min-height: 1015px; }
}
html[data-theme="dark"] #hrh-coverage { background: #121821; }

/* Stats bar: measured 822px (stacked) at 390 and 330px (5-col) at 1440. */
.hrh-stats { min-height: 822px; }
@media (min-width: 640px) {
  .hrh-stats { min-height: 520px; } /* 2-col mid size; lower bound */
}
@media (min-width: 768px) {
  .hrh-stats { min-height: 330px; }
}

/* Calendar: hold the net growth of the date fieldset until book-calendar.js
   inserts .hrh-bookcal and adds .hrh-bookcal-fieldset (which hides the
   native date inputs in the same turn). Measured net: +197px at 390,
   +387px at 1440. */
#contact fieldset:has(input[name="dateMode"]):not(.hrh-bookcal-fieldset)::after {
  content: "";
  display: block;
  height: 197px;
}
@media (min-width: 768px) {
  #contact fieldset:has(input[name="dateMode"]):not(.hrh-bookcal-fieldset)::after {
    height: 387px;
  }
}
