/* Access Realty adapter. Load LAST after unchanged universal Hosted 1.1.1 modules.
   Standalone Signature adapter. Preserve provider markup, behavior and disclosures. */
body.access-hosted-document.rwp-access-idx.rwp-idx-profile-110,
body.access-hosted-document .access-idx-hosted.rwp-access-idx.rwp-idx-profile-110 {
 --rwp-primary:var(--access-primary,#4d9999);--rwp-secondary:var(--access-deep,#3c7777);--rwp-accent:var(--access-light,#88c4c4);
 --rwp-accent-soft:var(--access-paper,#f3f5f2);--rwp-text:var(--access-ink,#172e2e);--rwp-text-muted:var(--access-dark,#56585a);
 --rwp-background:#fff;--rwp-surface:#fff;--rwp-border:#d5ddda;
 --rwp-heading-font:var(--access-font,Montserrat,Arial,sans-serif);--rwp-body-font:var(--access-font,Montserrat,Arial,sans-serif);
 --idx-primary:var(--access-deep,#3c7777);--idx-accent:var(--access-deep,#3c7777);--idx-accent-soft:var(--access-paper,#f3f5f2);
 --idx-text:var(--access-ink,#172e2e);--idx-muted:var(--access-dark,#56585a);--idx-background:#fff;
 --idx-surface:#fff;--idx-border:#d5ddda;--idx-control-border:var(--access-dark,#56585a);
 --idx-display:var(--access-font,Montserrat,Arial,sans-serif);--idx-body:var(--access-font,Montserrat,Arial,sans-serif);
 --idx-radius:0px;--idx-control-radius:0px;
 --idx-button-fill:var(--access-deep,#3c7777);--idx-button-ink:var(--access-deep-text,#fff);
}
.rwp-access-idx #IDX-main #IDX-resultsCountMessage {background:#f3f5f2;}
.rwp-access-idx #IDX-main .leaflet-control-attribution,
.rwp-access-idx #IDX-main .leaflet-control-attribution a {color:#172e2e;}

/* Access 16G: native legacy Map fills available width; keep all provider controls and attribution. */
.rwp-access-idx #IDX-main.IDX-category-map :is(#IDX-mapContainer,#IDX-mapHeader-Search,#IDX-mapControlContainer,#IDX-map){width:100%!important;max-width:100%;min-width:0;box-sizing:border-box}
.rwp-access-idx #IDX-main.IDX-category-map #IDX-map{height:clamp(420px,68vh,720px)!important}
.rwp-access-idx #IDX-main #IDX-mapHeader-Search .IDX-control-label{color:#fff!important}
/* Native View Details text must contrast with the Access action fill. */
.rwp-access-idx #IDX-main .IDX-resultsDetailsLink .IDX-btn{color:var(--idx-button-ink)!important}

/* Native Gallery 1.001 positions photos absolutely; auto-height slides need normal image flow. */
.access-hosted-document .access-idx-hosted #IDX-main.IDX-page-photogallery #IDX-photoGallery img.IDX-detailsPrimaryImg{position:static;inset:auto;transform:none;width:100%;height:auto;max-height:none}
.access-hosted-document .access-idx-hosted #IDX-main.IDX-page-photogallery .IDX-propertyInfoList{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 24px;list-style:none;padding:20px;margin:0 0 20px;border:1px solid var(--idx-border)}
.access-hosted-document .access-idx-hosted #IDX-main.IDX-page-photogallery .IDX-propertyInfoList>li{min-width:0;margin:0;padding:0;overflow-wrap:anywhere}
.access-hosted-document .access-idx-hosted #IDX-main.IDX-page-photogallery #IDX-photoGallery .IDX-showcaseSlide h4{color:#fff}
@media(max-width:700px){.access-hosted-document .access-idx-hosted #IDX-main.IDX-page-photogallery .IDX-propertyInfoList{grid-template-columns:1fr 1fr}}
/* Retain a readable gap when the provider's decorative address divider is hidden. */
.access-hosted-document .access-idx-hosted #IDX-main.IDX-category-details #IDX-detailsAddressRegion>.IDX-detailsAddress__divider+span:not(:last-child){margin-inline-start:.5em}

/* Phase 6.1: wide provider workspaces; the nine recovered modules remain unchanged. */
body.access-hosted-document .access-idx-hosted:has(#IDX-main:is(.IDX-category-results,.IDX-category-map)){
 width:100%;max-width:none;margin-inline:0;padding:16px 20px 96px;position:relative;isolation:isolate;z-index:0;
}
.access-hosted-document .access-idx-hosted #IDX-main:is(.IDX-category-results,.IDX-category-map) .rwp-idx-page-intro{margin:0 0 12px}
.access-hosted-document .access-idx-hosted #IDX-main:is(.IDX-category-results,.IDX-category-map) h1{font-size:28px;line-height:1.2;margin:0 0 12px}
@media(min-width:901px){
.access-hosted-document .access-idx-hosted #IDX-main.IDX-category-results .rwp-results-workspace--map{
 grid-template-columns:minmax(0,45fr) minmax(0,55fr);gap:20px;height:var(--access-idx-workspace-height,calc(100svh - 340px));max-height:none;grid-template-rows:minmax(0,1fr);align-items:stretch;
}
.access-hosted-document .access-idx-hosted #IDX-main.IDX-category-results .rwp-results-workspace--map>#IDX-resultsContent{height:100%;max-height:100%;min-height:0;overflow-y:auto;overscroll-behavior-y:auto}
.access-hosted-document .access-idx-hosted #IDX-main.IDX-category-results .rwp-results-workspace--map>#IDX-resultsMap{position:relative;top:auto;height:100%!important;min-height:0}
.access-hosted-document .access-idx-hosted #IDX-main.IDX-category-results .rwp-results-workspace--map #IDX-map{display:block;height:100%!important;min-height:0}
.access-hosted-document .access-idx-hosted #IDX-main.IDX-category-map #prime-map-search--main-content-container{
 grid-template-columns:minmax(0,45fr) minmax(0,55fr);gap:20px;align-items:stretch;height:var(--access-idx-workspace-height,calc(100svh - 300px))!important;min-height:0!important;
}
.access-hosted-document .access-idx-hosted #IDX-main.IDX-category-map #prime-map-search--results{
 height:100%!important;min-height:0!important;max-height:100%;overflow-y:auto;overscroll-behavior-y:auto;
}
.access-hosted-document .access-idx-hosted #IDX-main.IDX-category-map #prime-map-search--map{height:100%!important;min-height:0!important;max-height:none}
.access-hosted-document .access-idx-hosted #IDX-main.IDX-category-map #prime-map-search--map #IDX-map{display:block;height:100%!important;min-height:0!important;max-height:none}
}
@media(max-width:900px){body.access-hosted-document .access-idx-hosted:has(#IDX-main:is(.IDX-category-results,.IDX-category-map)){padding:16px 16px 100px}}
/* Rentals 1.000 uses the legacy Bootstrap navbar and grouped form wrappers. */
.access-hosted-document .access-idx-hosted #IDX-main.IDX-page-rentals .IDX-navbar{margin:0 0 24px;padding:0;min-height:0;background:none;border:0}
.access-hosted-document .access-idx-hosted #IDX-main.IDX-page-rentals .IDX-navbar-header{display:none}
.access-hosted-document .access-idx-hosted #IDX-main.IDX-page-rentals #IDX-navbar-collapse{display:block!important;height:auto!important;overflow:visible;width:100%;margin:0;padding:0;border:0}
.access-hosted-document .access-idx-hosted #IDX-main.IDX-page-rentals .IDX-container-navbar{padding:0;margin:0;width:100%}
.access-hosted-document .access-idx-hosted #IDX-main.IDX-page-rentals #IDX-coreSearchFields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 24px;padding:24px;margin:0;min-width:0}
.access-hosted-document .access-idx-hosted #IDX-main.IDX-page-rentals #IDX-coreSearchFields>.IDX-row-content:not(.IDX-hidden):not(.IDX-hide){display:contents}
.access-hosted-document .access-idx-hosted #IDX-main.IDX-page-rentals #IDX-coreSearchFields .IDX-control-group:not(.IDX-hidden):not(.IDX-hide){position:static;float:none;clear:none;width:auto;min-width:0;padding:0;margin:0}
.access-hosted-document .access-idx-hosted #IDX-main.IDX-page-rentals #IDX-coreSearchFields .IDX-controls{width:100%;min-width:0;margin:0}
.access-hosted-document .access-idx-hosted #IDX-main.IDX-page-rentals .IDX-controls>label.IDX-label-for-nojs{display:block;position:static;clip:auto;width:auto;height:auto;margin:0 0 8px;padding:0;font:500 13px/1.5 var(--idx-body);color:var(--idx-text)}
.access-hosted-document .access-idx-hosted #IDX-main.IDX-page-rentals #IDX-coreSearchFields .select2-container{width:100%!important;max-width:100%;margin:0}
.access-hosted-document .access-idx-hosted #IDX-main.IDX-page-rentals #IDX-coreSearchFields :is(.select2-choice,.select2-choices){min-height:44px;box-sizing:border-box}
.access-hosted-document .access-idx-hosted #IDX-main.IDX-page-rentals #IDX-ccz-group{grid-column:1/-1}
.access-hosted-document .access-idx-hosted #IDX-main.IDX-page-rentals #IDX-price-group{display:block}
.access-hosted-document .access-idx-hosted #IDX-main.IDX-page-rentals #IDX-action-buttons{flex-direction:row;flex-wrap:wrap;gap:12px}
.access-hosted-document .access-idx-hosted #IDX-main.IDX-page-rentals #IDX-action-buttons>.IDX-btn{float:none;flex:1 1 160px;width:auto;min-height:44px;margin:0}
@media(max-width:900px){.access-hosted-document .access-idx-hosted #IDX-main.IDX-page-mapsearch #toggle-map-button{left:auto;right:16px;bottom:96px;width:auto;max-width:calc(100% - 32px);padding:10px 12px;font-size:12px}}
@media(max-width:900px){.access-hosted-document .access-idx-hosted #IDX-main:is(.IDX-category-map,.IDX-category-results) .leaflet-top.leaflet-left{left:auto;right:72px;top:18px}.access-hosted-document .access-idx-hosted #IDX-main:is(.IDX-category-map,.IDX-category-results) .leaflet-left .leaflet-control{margin-left:0;margin-right:0}}
@media(max-width:600px){.access-hosted-document .access-idx-hosted #IDX-main.IDX-page-rentals #IDX-coreSearchFields{grid-template-columns:1fr;padding:20px;gap:18px}}

/* Hide this brokerage's public email link only. Form fields and routing remain intact. */
.rwp-access-idx #IDX-main a[href="mailto:mlaster@accessdifference.com" i],
.rwp-access-idx #IDX-main a[href^="mailto:mlaster@accessdifference.com?" i]{display:none}
.rwp-access-idx #IDX-main .IDX-contact__email:has(>a[href="mailto:mlaster@accessdifference.com" i]),
.rwp-access-idx #IDX-main .IDX-contact__email:has(>a[href^="mailto:mlaster@accessdifference.com?" i]){display:none}
