/*
 * Giovani — WPResidence 4.x -> 5.x layout compatibility
 * Loaded after the child style.css (see wpestate_chld_thm_cfg_parent_css() in functions.php).
 */

/* 1. Content gutters.
 * 4.x: .container.content_wrapper had 15px side padding and Bootstrap 3 columns 15px padding.
 * 5.x: main.content_wrapper is an unpadded container-fluid (#all_wrapper .content_wrapper { padding: 0 })
 *      and Bootstrap 5 rows use -12px margins, so the child's BS3-style templates
 *      (archive-project.php, single-project.php, single.php …) ran edge to edge.
 */
#all_wrapper main.content_wrapper {
	padding-left: 15px;
	padding-right: 15px;
}
#all_wrapper main.content_wrapper > .row {
	margin-left: 0;
	margin-right: 0;
}
#all_wrapper main.content_wrapper > .row > [class*="col-"] {
	padding-left: 15px;
	padding-right: 15px;
}

/* Projects archive cards: in 4.x the BS3 .col-* class carried the 15px gutter. */
.blog_list_wrapper > .project-item {
	padding-left: 15px;
	padding-right: 15px;
}

/* 2. Properties list filters.
 * The child style.css hides Types / States / Areas with the 4.x classes
 * (.container .filter_action_category / .filter_county / .filter_area). 5.x renamed them.
 */
.page-template-property_list .listing_filters_head .wpresidence_wrap_a_filter_action,
.page-template-property_list .listing_filters_head .wpresidence_wrap_a_filter_county,
.page-template-property_list .listing_filters_head .wpresidence_wrap_a_filter_areas {
	display: none !important;
}
