/* Bid2Stay 29.2.20 — Find a Stay search → map vertical rhythm and map header lock
   Page-scoped override only. No scripts, search fields, geolocation, map or booking logic changed. */

/* The previous negative margin pulled the filter panel underneath the next section,
   hiding its verified-licence control and causing the visual gap shown in UAT. */
html body.b2s30-discovery-page main .b2s30-search-hero{
  padding-bottom:20px!important;
}
html body.b2s30-discovery-page main .b2s30-search-hero .b2s2039-search{
  margin:22px 0 0!important;
  z-index:2!important;
}
html body.b2s30-discovery-page main .b2s-find-map-stage{
  padding:16px 0 22px!important;
  margin:0!important;
  background:#f5f3ed!important;
}
html body.b2s30-discovery-page main .b2s-find-map-stage .b2s30-shell{
  width:min(1440px,calc(100% - 52px))!important;
  max-width:1440px!important;
  margin-inline:auto!important;
}
html body.b2s30-discovery-page main .b2s2057-map-panel{
  padding:0!important;
  margin:0!important;
  border-radius:18px!important;
  overflow:hidden!important;
  box-shadow:0 9px 25px rgba(7,24,38,.08)!important;
}
html body.b2s30-discovery-page main .b2s2057-map-heading{
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:space-between!important;
  flex-wrap:wrap!important;
  gap:12px 18px!important;
  padding:13px 18px!important;
  margin:0!important;
  background:#fff!important;
  border-bottom:1px solid #e5eaed!important;
}
html body.b2s30-discovery-page main .b2s2057-map-heading>div:first-child{
  display:flex!important;
  flex-direction:column!important;
  flex:1 1 300px!important;
  min-width:0!important;
  gap:4px!important;
}
html body.b2s30-discovery-page main .b2s2057-map-heading strong{
  font-size:15px!important;
  line-height:1.3!important;
}
html body.b2s30-discovery-page main .b2s2057-map-heading span{
  font-size:11.5px!important;
  line-height:1.35!important;
}
/* Information was repeated by a legacy runtime insert; keep the static, concise text. */
html body.b2s30-discovery-page main .b2s2057-map-heading .b2s2740-map-helper{
  display:none!important;
}
html body.b2s30-discovery-page main .b2s2057-map-heading .b2s2057-map-tools{
  display:inline-flex!important;
  flex:0 0 auto!important;
  align-items:center!important;
  justify-content:center!important;
  flex-wrap:nowrap!important;
  width:auto!important;
  max-width:100%!important;
  margin:0!important;
  padding:3px!important;
  gap:0!important;
}
html body.b2s30-discovery-page main .b2s2057-map-heading .b2s2057-map-tools .b2s-map-view-btn{
  white-space:nowrap!important;
  flex:0 0 auto!important;
  min-height:38px!important;
  height:38px!important;
  padding:0 13px!important;
}
@media(max-width:900px){
  html body.b2s30-discovery-page main .b2s30-search-hero{padding-bottom:16px!important}
  html body.b2s30-discovery-page main .b2s-find-map-stage{padding-top:12px!important}
  html body.b2s30-discovery-page main .b2s2057-map-heading{padding:12px 14px!important;gap:10px!important}
}
@media(max-width:680px){
  html body.b2s30-discovery-page main .b2s30-search-hero{padding-bottom:12px!important}
  html body.b2s30-discovery-page main .b2s30-search-hero .b2s2039-search{margin:14px 0 0!important}
  html body.b2s30-discovery-page main .b2s-find-map-stage{padding:10px 0 18px!important}
  html body.b2s30-discovery-page main .b2s-find-map-stage .b2s30-shell{width:calc(100% - 24px)!important}
  html body.b2s30-discovery-page main .b2s2057-map-panel{border-radius:15px!important}
  html body.b2s30-discovery-page main .b2s2057-map-heading{
    display:grid!important;grid-template-columns:minmax(0,1fr)!important;
    padding:12px!important;gap:10px!important;
  }
  html body.b2s30-discovery-page main .b2s2057-map-heading .b2s2057-map-tools{
    display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
    width:100%!important;box-sizing:border-box!important;
  }
  html body.b2s30-discovery-page main .b2s2057-map-heading .b2s2057-map-tools .b2s-map-view-btn{
    min-width:0!important;width:100%!important;min-height:42px!important;height:42px!important;
    padding:0 6px!important;font-size:12px!important;
  }
}
