/* Rently overrides on top of the mirrored template.
   Hides pieces that don't apply to Rently (a lead-gen contact modal, an email
   newsletter box, a "list your property" pitch aimed at real-estate agents)
   without touching the fragile compiled bundle underneath. */

.footer_newsletter-container__POI_T { display: none !important; }

/* Any Radix dialog - the old "Find properties" lead form is one of these.
   buttons.js also stops these from ever opening; this is the fallback. */
[role="dialog"][data-state="open"],
[role="dialog"][id^="radix-"] { display: none !important; }

/* Rently does not offer property listing, so the whole agent-recruiting
   section (the section holding for-agents_* elements) is hidden. */
section:has(.for-agents_above-text__SVOzq) { display: none !important; }

/* Nav is rebuilt by nav.js after hydration; keep the template's items invisible
   until then so the old menu never flashes. */
.header_nav__if_jI:not([data-rently-nav]),
.burger-menu_nav__dAhwA:not([data-rently-nav]),
.footer_nav__XkBHY:not([data-rently-nav]),
.footer_sublinks__Pj_ed:not([data-rently-nav]) { visibility: hidden; }
