/* team-ldx.css — team-site layer over listing-detail.css (copied verbatim from
   the agent sites by scripts/build-team-ldx.js). Only what the WordPress /
   Elementor theme on the-elevate-team.com breaks: it uppercases + letter-spaces
   buttons, recolours links and headings, and pads inputs. The team site keeps
   its own header and footer, so the agent-site footer band is hidden. */

/* The team header is absolutely positioned over the page top. */
body.ld-team:not(.ld-embed) #ld-root { padding-top: var(--tld-hdr, 96px); }
.ldx-team .ldx-ft { display: none !important; }
/* Standalone: the team footer already carries every MLS disclaimer. The
   overlay (?embed=1) has no footer, so it keeps the block under the listing. */
body.ld-team:not(.ld-embed) .ldx-team .ldx-idx { display: none; }

/* The theme paints link-buttons white text on hover; keep ours. */
.ldx-team a.ldx-b:not(.pri):not(.tour), .ldx-md a.ldx-b:not(.pri) { color: #1a1a1a !important; }
.ldx-team a.ldx-b.pri, .ldx-md a.ldx-b.pri { color: #fff !important; }
/* Saved hearts: team-auth.js marks them .tt-saved. */
.elv-heart.tt-saved svg, .ldx-tb.tt-saved .gl { fill: #e0245e !important; stroke: #e0245e !important; }
/* team-auth's generic heart sizing must not reach the listing's own hearts. */
.ldx-team [data-fav-id] svg { transform: none; }

/* Photo gate inside the viewer (team lead form, kept). */
.ldx-pgate { position: absolute; inset: 0; z-index: 6; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(17, 17, 17, .86); }
.ldx-pgate-c { width: min(420px, 100%); max-height: 100%; overflow: auto; background: #fff; color: #171717; border-radius: 2px; padding: 24px 22px 18px; text-align: left; }
.ldx-pgate-c h3 { margin: 0 0 6px; font-size: 20px; font-weight: 600; color: #171717 !important; }
.ldx-pgate-c > p { font-size: 14px; color: #5b5b5b; margin: 0 0 14px; }
.ldx-pgate-c .ldx-b + .ldx-b { margin-top: 8px; }
.ldx-pgate-c .ldx-fine { margin-top: 10px; }
.ldx-vw .ldx-pgate-c .ldx-b.pri { color: #fff; }
