/* listing-fixes.css — 2026-07-01
   Fixes for the 6 individual listing pages (JB-directed):
   1. Booking form moved OUT of the hero overlay into a normal section at page bottom.
   2. Agent CTA under Johnnie's photo (these are market/comp listings, not his own).
   Scoped so program-page booking forms (.pf-program-aside …) are untouched. */

/* Moved booking form -> normal centered section near the footer */
.rt-listing-form-section {
  padding: clamp(2.5rem, 5vw, 4.5rem) 0;
  background: var(--surface-alt, #f5f4f1);
  border-top: 1px solid var(--border, #e5e2d8);
}
.rt-listing-form-section .rt-container { max-width: 48rem; margin-inline: auto; }
.rt-listing-form-heading {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-heading, #212934);
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  line-height: 1.15;
  text-align: center;
  margin: 0 0 clamp(1.25rem, 2.5vw, 1.75rem);
}
/* neutralize the absolute-overlay positioning now that the form flows in a section */
.rt-listing-form-section .rt-property-contact-form-wrapper {
  position: static !important;
  inset: auto !important;
  margin: 0 !important;
  max-width: none;
  width: 100%;
}
/* vestigial modal close-button (only made sense as an overlay) */
.rt-listing-form-section .rt-cross-icon { display: none !important; }

/* "Need an agent?" CTA under the agent name in the dark hero card */
.rt-listing-agent-cta {
  margin-top: .85rem;
  font-size: .95rem;
  line-height: 1.45;
}
.rt-listing-agent-cta a {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
  color: var(--brand-gold, #FFC03A);
}
