/*
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");

/* A single gallery image should fill the property page rather than leave an empty column. */
.single-property .hs-gallery-v5-grid > .hs-gallery-v5-grid-item:only-child {
    grid-column: 1 / -1;
}

.single-property .hs-gallery-v5-grid > .hs-gallery-v5-grid-item:only-child img {
    width: 100%;
    height: auto;
    max-height: 700px;
    object-fit: cover;
}

/* Synthetic listings have no callable advisor; keep the single on-page visit request. */
.ubika-synthetic-property .mobile-property-contact,
.ubika-synthetic-property .agent-phone-wrap {
    display: none !important;
}

/* One inquiry submit path is enough alongside the separate visit request. */
.ubika-synthetic-property .property-contact-agent-wrap .houzez-send-message {
    display: none !important;
}

/* The QA modification timestamp is not useful to a buyer and uses Houzez's English date order. */
.ubika-synthetic-property .property-detail-wrap .block-title-wrap > .small-text {
    display: none !important;
}

.ubika-synthetic-property .property-schedule-tour-wrap .schedule_contact_form {
    background: #176c4c !important;
    border-color: #176c4c !important;
    color: #fff !important;
}

.ubika-showcase-entry {
    margin: 0 0 1.5rem;
    padding: 1.25rem 1.5rem;
    border-left: 4px solid #176c4c;
    border-radius: 0.5rem;
    background: #f1f8f5;
}

.ubika-showcase-entry p {
    margin: 0.35rem 0 1rem;
}

.ubika-showcase-entry__link {
    display: inline-block;
    padding: 0.7rem 1rem;
    border-radius: 0.35rem;
    background: #176c4c;
    color: #fff !important;
    text-decoration: none;
    font-weight: 600;
}

.ubika-showcase-entry__link:hover,
.ubika-showcase-entry__link:focus-visible {
    background: #104f38;
    color: #fff !important;
}

/* The synthetic presentation uses the property forms, not repeated card popups. */
.ubika-local-demo .hz-email-popup-js {
    display: none !important;
}

/* An illustrative area is not a verified street address or map destination. */
.ubika-synthetic-property .property-address-wrap a[href*="maps.google.com"] {
    display: none !important;
}

/* Relative timestamps on sample cards add no buyer value. */
.ubika-synthetic-property .item-date {
    display: none !important;
}

/* The staging directory shows one illustrative agency, without test contact or a generic sidebar. */
.ubika-local-demo.page-id-58 .bt-sidebar-wrap,
.ubika-local-demo.page-id-58 .list-lined-item:has(a[href="mailto:agencia-demo-01@example.test"]) {
    display: none !important;
}

.ubika-local-demo.page-id-58 .bt-content-wrap {
    flex: 0 0 100%;
    max-width: 100%;
}

/* Keep the illustrative agency detail free of generic widgets and test-only email actions. */
.ubika-local-demo.single-houzez_agency.postid-19999 .bt-sidebar-wrap,
.ubika-local-demo.single-houzez_agency.postid-19999 .agent-profile-buttons button[data-bs-target="#realtor-form"] {
    display: none !important;
}

.ubika-local-demo.single-houzez_agency.postid-19999 .bt-content-wrap {
    flex: 0 0 100%;
    max-width: 100%;
}

/* The three presentation properties read as one page, not repeated actions per tab. */
.ubika-demo-release-property .horizontal-listing-tabs {
    display: none !important;
}

.ubika-demo-release-property .horizontal-tab-content #property-details,
.ubika-demo-release-property .horizontal-tab-content #property-description,
.ubika-demo-release-property .horizontal-tab-content #property-address {
    display: block !important;
    opacity: 1 !important;
    margin-bottom: 1.5rem;
}

/* This legacy persona field is optional and does not govern the enquiry route. */
.ubika-demo-release-property .property-contact-agent-wrap .form-group:has(select[name="user_type"]) {
    display: none !important;
}

.ubika-demo-release-property .property-contact-agent-wrap .houzez_agent_property_form {
    background: #fff !important;
    border-color: #176c4c !important;
    color: #176c4c !important;
}

/* The property lightbox is for photos; the on-page forms already handle contact. */
.ubika-demo-release-property .lightbox-form-wrap {
    display: none !important;
}

.ubika-demo-release-property .lightbox-gallery-wrap {
    width: 100% !important;
    max-width: 100% !important;
}

/* Switch to Houzez's existing mobile header before desktop links crowd together. */
@media (max-width: 1199px) {
    .ubika-local-demo .header-desktop {
        display: none !important;
    }

    .ubika-local-demo .header-mobile {
        display: flex !important;
    }
}

.ubika-home-sofia-entry {
    margin-top: 1rem;
    padding: 1rem 1.25rem;
    border-radius: 0.65rem;
    background: #f1f8f5;
    color: #173a2d;
}

.ubika-home-sofia-entry h2 {
    margin: 0 0 0.35rem;
    font-size: clamp(1.2rem, 2vw, 1.6rem);
}

.ubika-home-sofia-entry p {
    margin: 0 0 0.75rem;
}

.ubika-home-sofia-entry a {
    display: inline-block;
    padding: 0.65rem 1rem;
    border-radius: 0.35rem;
    background: #176c4c;
    color: #fff !important;
    font-weight: 600;
    text-decoration: none;
}
