/*
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
-------------------------------------- */

/* Texte justifié : appliquer la classe .p-justified sur un bloc (ex. paragraphe Gutenberg → Avancé → classes CSS) */
.p-justified {
	text-align: justify;
	hyphens: auto;
	-webkit-hyphens: auto;
}

/* Template: Page boxed 1140 (sans sidebar) */
.pgimmo-boxed-1140 {
	max-width: 1140px;
}

/* Template: Template Listing Biens (list v4) — 65% images / 35% contenu */
@media (min-width: 992px) {
	.pgimmo-listing-biens .item-wrap.item-wrap-no-frame {
		flex-direction: row;
	}

	.pgimmo-listing-biens .item-wrap.item-wrap-no-frame > .item-header-wrap {
		flex: 0 0 65%;
		max-width: 65%;
	}

	.pgimmo-listing-biens .item-wrap.item-wrap-no-frame > .item-body-wrap {
		flex: 0 0 35%;
		max-width: 35%;
		min-width: 0;
	}
}

/* Archives property-type/* : même ratio que "Template Listing Biens" */
@media (min-width: 992px) {
	body.tax-property_type .listing-wrap.listing-list-v4 .item-wrap.item-wrap-no-frame {
		flex-direction: row;
	}

	body.tax-property_type .listing-wrap.listing-list-v4 .item-wrap.item-wrap-no-frame > .item-header-wrap {
		flex: 0 0 65%;
		max-width: 65%;
	}

	body.tax-property_type .listing-wrap.listing-list-v4 .item-wrap.item-wrap-no-frame > .item-body-wrap {
		flex: 0 0 35%;
		max-width: 35%;
		min-width: 0;
	}
}

/* Archives status/* (property_status) : même ratio que "Template Listing Biens" */
@media (min-width: 992px) {
	body.tax-property_status .listing-wrap.listing-list-v4 .item-wrap.item-wrap-no-frame {
		flex-direction: row;
	}

	body.tax-property_status .listing-wrap.listing-list-v4 .item-wrap.item-wrap-no-frame > .item-header-wrap {
		flex: 0 0 65%;
		max-width: 65%;
	}

	body.tax-property_status .listing-wrap.listing-list-v4 .item-wrap.item-wrap-no-frame > .item-body-wrap {
		flex: 0 0 35%;
		max-width: 35%;
		min-width: 0;
	}
}

/* Résultats de recherche (template Search Results) : même ratio que "Template Listing Biens" */
@media (min-width: 992px) {
	body.page-template-template-search .listing-wrap.listing-v4 .item-wrap.item-wrap-no-frame,
	body.page-template-templatetemplate-search-php .listing-wrap.listing-v4 .item-wrap.item-wrap-no-frame,
	body.page-template-template-search-php .listing-wrap.listing-v4 .item-wrap.item-wrap-no-frame {
		flex-direction: row;
	}

	body.page-template-template-search .listing-wrap.listing-v4 .item-wrap.item-wrap-no-frame > .item-header-wrap,
	body.page-template-templatetemplate-search-php .listing-wrap.listing-v4 .item-wrap.item-wrap-no-frame > .item-header-wrap,
	body.page-template-template-search-php .listing-wrap.listing-v4 .item-wrap.item-wrap-no-frame > .item-header-wrap {
		flex: 0 0 65%;
		max-width: 65%;
	}

	body.page-template-template-search .listing-wrap.listing-v4 .item-wrap.item-wrap-no-frame > .item-body-wrap,
	body.page-template-templatetemplate-search-php .listing-wrap.listing-v4 .item-wrap.item-wrap-no-frame > .item-body-wrap,
	body.page-template-template-search-php .listing-wrap.listing-v4 .item-wrap.item-wrap-no-frame > .item-body-wrap {
		flex: 0 0 35%;
		max-width: 35%;
		min-width: 0;
	}
}

/* Formulaire de contact (fiche bien) : avatar 100x32 px */
.widget-property-form .property-form-wrap .agent-details .agent-image img,
.mobile-property-form .property-form-wrap .agent-details .agent-image img {
	width: 100px !important;
	height: 32px !important;
	object-fit: contain;
}

/* Formulaire de contact (fiche bien) : masquer le nom + icône "membre" (garder l'avatar) */
.widget-property-form .property-form-wrap .agent-details .agent-information,
.widget-property-form .property-form-wrap .agent-details .agent-name,
.widget-property-form .property-form-wrap .agent-details .agent-name i,
.mobile-property-form .property-form-wrap .agent-details .agent-information,
.mobile-property-form .property-form-wrap .agent-details .agent-name,
.mobile-property-form .property-form-wrap .agent-details .agent-name i {
	display: none !important;
}

/* Caractéristiques (fiche bien) : forcer la couleur des icônes */
.property-overview-wrap .property-overview-item .houzez-icon,
.property-overview-wrap .property-overview-item i.houzez-icon {
	color: #a14e44 !important;
}

/* Listings "Template Listing Biens" : masquer auteur/logo à gauche du bouton Email */
.pgimmo-listing-biens .item-footer-author-tool-wrap .item-author-wrap {
	display: none !important;
}

/* Résultats de recherche : même suppression (logo + "Patrimoine Gestion Immo" à côté du bouton) */
body.page-template-template-search .item-footer-author-tool-wrap .item-author-wrap,
body.page-template-template-search-php .item-footer-author-tool-wrap .item-author-wrap,
body.page-template-templatetemplate-search-php .item-footer-author-tool-wrap .item-author-wrap {
	display: none !important;
}

/* Résultats de recherche : ajouter un espace avant le footer (comme /louer) */
body.page-template-template-search .listing-wrap,
body.page-template-template-search-php .listing-wrap,
body.page-template-templatetemplate-search-php .listing-wrap {
	margin-bottom: 40px;
}

/* Citations (éditeur WordPress / Gutenberg) */
.entry-content blockquote,
.post-content-wrap blockquote,
.page-content-wrap blockquote,
blockquote,
.wp-block-quote,
.wp-block-pullquote blockquote {
	position: relative;
	margin: 24px 0;
	padding: 22px 22px 22px 58px;
	background: #f0b9b8;
	border-left: 6px solid #828a73;
	border-radius: 12px;
	color: #222;
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.10);
}
.entry-content blockquote p,
.post-content-wrap blockquote p,
.page-content-wrap blockquote p,
blockquote p,
.wp-block-quote p {
	margin: 0;
	font-size: 18px;
	line-height: 1.55;
	font-weight: 500;
}
.entry-content blockquote p + p,
.post-content-wrap blockquote p + p,
.page-content-wrap blockquote p + p,
blockquote p + p,
.wp-block-quote p + p {
	margin-top: 10px;
}
.entry-content blockquote:before,
.post-content-wrap blockquote:before,
.page-content-wrap blockquote:before,
blockquote:before,
.wp-block-quote:before {
	content: "“";
	position: absolute;
	left: 18px;
	top: 8px;
	font-size: 64px;
	line-height: 1;
	color: #828a73;
	opacity: 0.85;
	font-family: Georgia, "Times New Roman", serif;
}
.entry-content blockquote cite,
.post-content-wrap blockquote cite,
.page-content-wrap blockquote cite,
blockquote cite,
.wp-block-quote cite,
.wp-block-quote footer,
.wp-block-pullquote cite,
.wp-block-pullquote footer {
	display: block;
	margin-top: 14px;
	font-size: 14px;
	font-weight: 600;
	color: #3a3a3a;
	opacity: 0.9;
}
.entry-content blockquote cite:before,
.post-content-wrap blockquote cite:before,
.page-content-wrap blockquote cite:before,
blockquote cite:before,
.wp-block-quote cite:before,
.wp-block-pullquote cite:before {
	content: "— ";
}

/* Pullquote Gutenberg (cadre plus “hero”) */
.wp-block-pullquote {
	margin: 28px 0;
	padding: 0;
	border: 0;
}
.wp-block-pullquote blockquote {
	text-align: left;
}
.wp-block-pullquote blockquote:before {
	top: 2px;
}

@media (max-width: 767.98px) {
	.entry-content blockquote,
	.post-content-wrap blockquote,
	.page-content-wrap blockquote,
	blockquote,
	.wp-block-quote,
	.wp-block-pullquote blockquote {
		padding: 18px 16px 18px 52px;
		border-radius: 10px;
	}
	.entry-content blockquote p,
	.post-content-wrap blockquote p,
	.page-content-wrap blockquote p,
	blockquote p,
	.wp-block-quote p {
		font-size: 16px;
	}
	.entry-content blockquote:before,
	.post-content-wrap blockquote:before,
	.page-content-wrap blockquote:before,
	blockquote:before,
	.wp-block-quote:before {
		left: 14px;
		font-size: 54px;
	}
}

/* Popin "agrandir images" (lightbox listing) : icône Pièces = porte (bug Houzez: lit) */
.modal .property-overview-data .row > .col:nth-child(1) .property-overview-item i.houzez-icon:before {
	/* icon-architecture-door (houzez-iconfont) */
	content: "\e995";
}

/* Menu transparent (page d'accueil) : supprimer la bordure 1px du bloc navigation */
.header-transparent-wrap .header-v4 {
	border-bottom: 0 !important;
}

/* Header transparent : garder une taille de logo stable (évite effet "retina géant") */
.header-transparent-wrap .logo.logo-splash img {
	height: 63px !important;
	width: auto !important;
	max-height: 63px !important;
}

/* Gutenberg — bloc Séparateur (HR) : styles personnalisés */
.wp-block-separator.is-style-pgimmo-half-left {
	width: 50%;
	margin-left: 0;
	margin-right: auto;
}

.wp-block-separator.is-style-pgimmo-padded-40 {
	border: 0;
	background: transparent;
	height: 0;
	margin-top: 40px;
	margin-bottom: 40px;
}

.wp-block-separator.is-style-pgimmo-padded-20 {
	border: 0 !important;
	border-top: 0 !important;
	border-bottom: 0 !important;
	background: transparent !important;
	background-color: transparent !important;
	height: 0 !important;
	opacity: 0 !important;
	margin-top: 20px;
	margin-bottom: 20px;
}

/* Preloader (uniquement page d'accueil via markup injecté) */
.pgimmo-preloader{
	position: fixed;
	inset: 0;
	z-index: 99999;
	background: #000;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 1;
	visibility: visible;
	transition: opacity .35s ease, visibility .35s ease;
}
.pgimmo-preloader.is-hidden{
	opacity: 0;
	visibility: hidden;
}
.pgimmo-preloader__logo{
	width: auto;
	height: auto;
	display: block;
}

/* Recherche (barre) : masquer le bouton icône "filtres/advanced" */
.advanced-search .advanced-search-btn,
.advanced-search-v3 button.btn.btn-light-grey-outlined[data-bs-toggle="collapse"][href="#advanced-search-filters"],
.advanced-search-v3 a.btn.btn-light-grey-outlined[data-bs-toggle="collapse"][href="#advanced-search-filters"] {
	display: none !important;
}

/* Header image (Page Header Options) : logo au-dessus du titre */
.pgimmo-header-logo {
	margin-bottom: 40px;
	text-align: center;
}
.pgimmo-header-logo img {
	display: inline-block;
	width: auto;
	height: auto;
	object-fit: contain;
}

/* Contenu de page : réduire les marges en mobile */
@media (max-width: 767.98px) {
	.page-content-wrap {
		padding: 16px;
	}
}

/* Tableaux (contenu) : bordures couleur marque */
.page-content-wrap table,
.post-content-wrap table,
.entry-content table,
.wp-block-table table,
table {
	border-color: #828a73 !important;
}
.page-content-wrap table th,
.page-content-wrap table td,
.post-content-wrap table th,
.post-content-wrap table td,
.entry-content table th,
.entry-content table td,
.wp-block-table table th,
.wp-block-table table td,
table th,
table td {
	border-color: #828a73 !important;
}

/* Titres H3 : couleur marque */
/* Titres H2/H3 : couleurs marque (test) */
.page-content-wrap h2,
.post-content-wrap h2,
.entry-content h2,
h2 {
	color: #828a73;
}
.page-content-wrap h3,
.post-content-wrap h3,
.entry-content h3,
h3 {
	color: #828a73;
}

/* Footer : hover des liens réseaux sociaux */
.footer-wrap a:hover,
.footer a:hover,
.footer-social a:hover,
.footer-social-icons a:hover,
.footer-social-icons a:hover i,
.footer-bottom-wrap a:hover {
	color: #f0b9b8 !important;
}

/* --------------------------------------------------------------------------
 * Bloc colonnes (Gutenberg) — décor angle droit bas-droite
 * Classe additionnelle sur le bloc « Colonnes » : pgimmo-col-corner-decor
 * Retirer le même bloc du CSS personnalisé (Apparence → Personnaliser) après déploiement.
 * -------------------------------------------------------------------------- */
.pgimmo-col-corner-decor {
	position: relative;
	z-index: 0;
	isolation: isolate;
	overflow: visible !important;
	/* Réserve pour le coin hors conteneur (15px d’air + traits) */
	padding-bottom: 32px;
	padding-right: 32px;
}

/* Certains conteneurs du thème ou Gutenberg coupent les débordements : sécurise l’affichage */
.entry-content .pgimmo-col-corner-decor,
.page-content-wrap .pgimmo-col-corner-decor,
.article-wrap .pgimmo-col-corner-decor,
.article-page-wrap .pgimmo-col-corner-decor {
	overflow: visible !important;
}

.pgimmo-col-corner-decor::after {
	content: "";
	position: absolute;
	/* Au moins 15px d’écart du conteneur sur la droite et en bas (bordures 11px incluses → -26px) */
	right: -26px;
	bottom: -26px;
	width: 64px;
	height: 64px;
	/* ~1/3 plus fin que 16px → 11px */
	border-right: 11px solid #000;
	border-bottom: 11px solid #000;
	box-sizing: border-box;
	pointer-events: none;
	z-index: 10;
	/* Calque de composition : évite que le coin disparaisse selon l’empilement / le repaint */
	transform: translateZ(0);
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}