/*
Theme Name: Houzez Child
Theme URI: http://www.favethemes.com/
Author: Favethemes
Author URI: http://www.favethemes.com/
Description: Houzez is a premium WordPress theme for real estate agents where modern aesthetics are combined with tasteful simplicity, and where the ease of use is achieved without compromise in your ability to customise the design. Whether you are a real estate agent looking to build a website for your company or a web developer seeking a perfect WordPress theme for your next project, you are certain to appreciate the numerous features and benefits that our theme provides.
Version: 1.0
Tags: white, right-sidebar, left-sidebar, custom-colors, custom-menu, featured-images, post-formats, theme-options, translation-ready
License: GNU General Public License version 3.0
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Text Domain: houzez
Template: houzez
*/


@import url("../houzez/style.css");

/* Your CSS code goes here */

/* VaultRE API listing: full-width main column (no phantom 70% bt-content-wrap gap when sidebar is off). */
@media (min-width: 992px) {
	.houzez-vaultre-api-listing .houzez-vaultre-listing-full {
		flex: 0 0 100%;
		width: 100%;
		max-width: 100%;
	}
}

/* Grid: three cards per row — override Houzez rules that fight Bootstrap row-cols. */
.houzez-vaultre-api-listing .listing-view.grid-view.row {
	--bs-gutter-x: 1rem;
}

.houzez-vaultre-api-listing .listing-view.grid-view.row > .item-listing-wrap {
	width: auto;
	max-width: 100%;
	flex: 0 0 auto;
	float: none;
}

/* Cap image area in grid cards (anchor carries .image-wrap in VaultRE grid partial). */
.houzez-vaultre-api-listing .grid-view .houzez-vaultre-grid-card .listing-image-wrap a.image-wrap {
	display: block;
	max-height: 220px;
	aspect-ratio: 4 / 3;
	overflow: hidden;
}

.houzez-vaultre-api-listing .grid-view .houzez-vaultre-grid-card .listing-image-wrap a.image-wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Listing card price overlay: keep over image, not absolute to viewport (Houzez global .item-price-wrap). */
.houzez-vaultre-api-listing .grid-view .houzez-vaultre-grid-card .item-header {
	position: relative;
}

.houzez-vaultre-api-listing .grid-view .houzez-vaultre-grid-card .item-header .item-price-wrap {
	position: absolute;
	bottom: 12px;
	left: 12px;
	right: auto;
	top: auto;
	z-index: 2;
}
