.rw-geo-page{max-width:1440px}.rw-geo-heading h1{font-size:clamp(25px,3.2vw,38px);line-height:1.2}.rw-geo-heading p,.rw-geo-hint{color:#555b63;line-height:1.5}.rw-geo-filters{background:#fff;border:1px solid #e8eaed;border-radius:14px;padding:12px 16px;margin:18px 0}.rw-geo-filters summary{font-weight:700;cursor:pointer;min-height:36px}.rw-geo-filters form{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:14px}.rw-geo-filters label,.rw-geo-editor label{display:grid;gap:6px;font-size:15px;min-width:0}.rw-geo-filters input,.rw-geo-filters select,.rw-geo-search{box-sizing:border-box;width:100%;min-height:44px;border:1px solid #ccd1d6;border-radius:8px;padding:8px;background:#fff;color:#25282d;font:inherit}.rw-geo-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:12px 0}.rw-geo-toolbar button,.rw-geo-filters button,.rw-geo-editor button,.rw-geo-card button,.rw-geo-pagination button{box-sizing:border-box;min-height:46px;border:1px solid #e8eaed;border-radius:10px;padding:9px 14px;font-size:16px;font-weight:700;line-height:1.3;font-family:inherit;white-space:normal;cursor:pointer;background:#fff;color:#25282d}.rw-geo-toolbar #rw-map-search,.rw-geo-filters button,.rw-geo-editor .rw-geo-confirm{background:var(--rw-action-bg);color:var(--rw-action-text);border-color:#F47716}.rw-geo-toolbar button:hover,.rw-geo-editor button:hover{box-shadow:0 2px 6px #14202c20}.rw-geo-toolbar button:focus-visible,.rw-geo-editor button:focus-visible,.rw-geo-card a:focus-visible,.rw-geo-canvas :focus-visible{outline:3px solid #82410e;outline-offset:3px}.rw-geo-toolbar button:disabled,.rw-geo-pagination button:disabled{opacity:.5;cursor:default}.rw-geo-layout{display:grid;grid-template-columns:minmax(260px,.8fr) minmax(0,1.5fr);gap:18px;min-width:0}.rw-geo-list{height:640px;overflow:auto;background:#fff;border:1px solid #e8eaed;border-radius:14px;padding:12px}.rw-geo-map-pane{position:relative;min-width:0}.rw-geo-layout .rw-geo-canvas{height:640px;width:100%;z-index:1;border-radius:14px}.rw-geo-canvas{background:#eaeef0;height:400px;min-width:0;isolation:isolate}.rw-geo-card{display:grid;grid-template-columns:110px minmax(0,1fr);gap:12px;border-bottom:1px solid #e8eaed;padding:12px 0;color:#25282d}.rw-geo-card>img{width:110px;height:95px;object-fit:cover;border-radius:8px}.rw-geo-card>div{min-width:0}.rw-geo-card h2{font-size:17px;margin:0 0 8px;line-height:1.35;overflow-wrap:break-word;word-break:normal}.rw-geo-card p{font-size:14px;margin:8px 0;line-height:1.4}.rw-geo-card strong{white-space:nowrap}.rw-geo-card .rw-geo-more{display:inline-flex;align-items:center;min-height:44px;color:#97400d;font-weight:700}.rw-geo-card button{grid-column:1/-1}.rw-geo-card:not(:has(>img)){grid-template-columns:minmax(0,1fr)}.rw-geo-pagination{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:14px}.rw-geo-price,.rw-geo-cluster{border-radius:18px;background:#fff;border:2px solid #F47716;box-shadow:0 2px 8px #0002;white-space:nowrap;font-size:14px;font-weight:700;color:#25282d;line-height:30px;padding:0 9px;width:max-content!important;text-align:center}.rw-geo-cluster{background:var(--rw-action-bg);color:var(--rw-action-text);min-width:32px}.rw-geo-price.is-selected{background:var(--rw-action-bg);color:var(--rw-action-text)}.rw-geo-yandex{display:block;background:#fff;border-radius:2px;line-height:0}.rw-geo-yandex img{width:88px;height:auto;max-width:none}.rw-geo-canvas .leaflet-bottom.leaflet-left .leaflet-control{margin:0}.rw-geo-canvas .leaflet-control-attribution{max-width:calc(100% - 90px);font-size:11px}.rw-geo-canvas .leaflet-control-zoom a{color:#25282d;background:#fff}.rw-geo-map-warning{max-width:230px;background:#fff;padding:10px;font:14px/1.4 sans-serif;box-shadow:0 2px 6px #0002}.rw-geo-layout.map-expanded{grid-template-columns:minmax(0,1fr)}.rw-geo-layout.map-expanded .rw-geo-list,.rw-geo-layout.list-hidden .rw-geo-list{display:none}.rw-geo-layout.list-hidden{grid-template-columns:minmax(0,1fr)}#rw-map-selected[hidden]{display:none}#rw-map-selected{position:absolute;z-index:5;left:12px;right:12px;bottom:64px;background:#fff;border:1px solid #e8eaed;box-shadow:0 4px 20px #14202c33;border-radius:14px;padding:8px 14px;max-height:55%;overflow:auto}#rw-map-close{position:sticky;float:right;right:0;top:0;min-width:44px;min-height:44px;font-size:26px;border:0;background:#fff;cursor:pointer}.rw-geo-editor{margin:8px 0}.rw-geo-editor-panel[hidden]{display:none}.rw-geo-editor-panel{background:#fff;border:1px solid #ddd;border-radius:12px;padding:14px}.rw-geo-editor .rw-geo-canvas{margin:14px 0;border-radius:10px}.rw-geo-suggestions{padding:0;list-style:none}.rw-geo-suggestions button{width:100%;text-align:left;margin:4px 0}.rw-geo-status{min-height:22px;font-size:14px;line-height:1.5}.rw-geo-detail{margin:24px 0}.rw-geo-detail .rw-geo-canvas{height:340px;border-radius:14px}
@media(max-width:767px){.rw-geo-filters form{grid-template-columns:repeat(2,minmax(0,1fr))}.rw-geo-layout{display:flex;flex-direction:column;gap:12px}.rw-geo-map-pane{order:0}.rw-geo-list{order:1;height:300px;max-height:45vh;border-radius:16px 16px 8px 8px;border-top:3px solid #F47716}.rw-geo-layout .rw-geo-canvas{height:480px;height:min(60svh,520px);min-height:330px}.rw-geo-toolbar{gap:8px}.rw-geo-toolbar label{font-size:14px}.rw-geo-toolbar button{font-size:14px;flex:1 1 140px}.rw-geo-heading p{font-size:15px}.rw-geo-editor .rw-geo-canvas{height:340px}.rw-geo-card{grid-template-columns:90px minmax(0,1fr)}.rw-geo-card>img{width:90px;height:90px}#rw-map-selected{left:6px;right:6px;bottom:64px;max-height:65%}.rw-geo-detail .rw-geo-canvas{height:310px}}
@media(max-width:360px){.rw-geo-filters form{grid-template-columns:minmax(0,1fr)}}
/* Compact cards belong only to the map result list; rich map popups stay intact. */
#rw-map-cards .rw-geo-compact{position:relative;grid-template-columns:112px minmax(0,1fr);gap:12px;padding:10px 8px;margin:0;border-radius:10px;transition:background-color .12s ease;min-width:0}
#rw-map-cards .rw-geo-compact>img{width:112px;height:96px;object-fit:cover;border-radius:8px;align-self:start}
#rw-map-cards .rw-geo-compact:not(:has(>img)){grid-template-columns:minmax(0,1fr)}
#rw-map-cards .rw-geo-compact h2{font-size:15px;line-height:1.3;margin:0 0 5px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
#rw-map-cards .rw-geo-compact strong{display:block;font-size:17px;line-height:1.25;color:var(--rw-link);white-space:normal;overflow-wrap:anywhere}
#rw-map-cards .rw-geo-compact .rw-geo-more{position:relative;z-index:2;min-height:32px;font-size:13px;line-height:1.2;font-weight:500;text-decoration:underline;text-underline-offset:3px}
#rw-map-cards .rw-geo-card-select{position:absolute;inset:0;z-index:1;display:block;width:100%;height:100%;margin:0;padding:0;min-height:0;border:0;border-radius:10px;background:transparent;box-shadow:none;cursor:pointer}
#rw-map-cards .rw-geo-compact:hover,#rw-map-cards .rw-geo-compact.is-selected{background:#fff3e8}
#rw-map-cards .rw-geo-compact.is-selected{box-shadow:inset 3px 0 var(--rw-brand-accent)}
#rw-map-cards .rw-geo-card-select:focus-visible{outline:3px solid #82410e;outline-offset:-3px}
.rw-geo-map-pane .rw-geo-price.is-hovered,.rw-geo-map-pane .rw-geo-cluster.is-hovered{background:var(--rw-action-bg);color:var(--rw-action-text);box-shadow:0 0 0 3px #f4771640}
@media(max-width:767px){#rw-map-cards .rw-geo-compact{grid-template-columns:96px minmax(0,1fr);gap:10px;padding:9px 6px}#rw-map-cards .rw-geo-compact>img{width:96px;height:96px}#rw-map-cards .rw-geo-compact h2{font-size:15px}#rw-map-cards .rw-geo-compact strong{font-size:17px}}

/* Keep the selected listing and the pin simultaneously visible on phones. */
@media(max-width:767px){#rw-map-selected{position:relative;left:auto;right:auto;bottom:auto;max-height:none;margin-top:10px}#rw-map-selected .rw-geo-card{clear:both}}

#rw-map-selected .rw-geo-card strong{display:block}#rw-map-selected .rw-geo-more{margin-top:4px}

/* Fit only the focused entry: ordinary map layout remains unchanged. */
#rw-map-selected>#rw-map-nearby{display:block;width:100%;min-height:44px;margin-top:8px;padding:8px 12px;border:1px solid #e8eaed;border-radius:10px;background:#fff;color:#25282d;font:inherit;font-weight:600;font-size:14px;line-height:1.3;cursor:pointer}
.has-linked-selection #rw-map-close{position:absolute;right:6px;top:4px;z-index:1}
.has-linked-selection #rw-map-selected .rw-geo-card{clear:none;padding-top:4px}
.has-linked-selection #rw-map-selected .rw-geo-card h2{padding-right:28px}
.has-linked-selection #rw-map-selected .rw-geo-hint{grid-column:1/-1;margin:4px 0;line-height:1.3}
@media(max-width:767px){.has-linked-selection .rw-geo-canvas{height:var(--rw-linked-map-height,260px);min-height:180px}.has-linked-selection #rw-map-selected .rw-geo-card{grid-template-columns:76px minmax(0,1fr);gap:8px}.has-linked-selection #rw-map-selected .rw-geo-card:not(:has(>img)){grid-template-columns:minmax(0,1fr)}.has-linked-selection #rw-map-selected .rw-geo-card>img{width:76px;height:76px}.has-linked-selection #rw-map-selected .rw-geo-card h2{font-size:15px;line-height:1.3;margin-bottom:5px}.has-linked-selection #rw-map-selected .rw-geo-card strong{white-space:normal}}

.has-linked-selection{overflow-anchor:none}
@media(max-width:767px){.has-linked-selection .rw-geo-canvas{min-height:160px}.has-linked-selection #rw-map-selected{padding:6px 10px}.has-linked-selection #rw-map-selected .rw-geo-card h2{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.has-linked-selection #rw-map-selected>#rw-map-nearby{font-size:13px}}
