/* -----------------------------------------------------------------------
 * LUS Half-Map Date Range
 * The combined "Add dates" field is rendered server-side in place of the
 * separate Check-In/Check-Out boxes (see wprentals_merge_half_map_date_range_html()
 * in functions.php + templates/advanced_search_map_list.php), reusing the
 * theme's own Check-In column markup — so its icon/spacing already match
 * with no CSS needed here. The only thing this file adds is grouping
 * Location, the combined date field, and Guests onto one row above 990px —
 * and forcing each back to its own full-width row at/below it, since their
 * default col-md-N spans (set by the admin's "fields per row" config, not
 * hardcoded here) can't be assumed to already resolve to 100% there.
 * -------------------------------------------------------------------- */
@media only screen and (min-width: 991px) {
  #advanced_search_map_list form > div:has(input[name="search_location"]),
  #advanced_search_map_list form > div:has(#check_in_out_display),
  #advanced_search_map_list form > div:has(.guest_no_hidden) {
    float: left;
    width: 33.3333% !important;
  }
}

@media only screen and (max-width: 990px) {
  #advanced_search_map_list form > div:has(input[name="search_location"]),
  #advanced_search_map_list form > div:has(#check_in_out_display),
  #advanced_search_map_list form > div:has(.guest_no_hidden) {
    float: none;
    width: 100% !important;
  }
}
