/**
 * MDB IDX Listing Results layout (theme boilerplate/inc).
 * Update this file when changing IDX-only presentation — not plugin style.css.
 */

body.aios-custom-ihomefinder-results-template #breadcrumbs,
body.aios-custom-ihomefinder-results-template .rank-math-breadcrumb,
body.aios-custom-ihomefinder-results-template #content > .entry-title,
body.mdb-listing-results-shell:not(.aios-custom-ihomefinder-shortcode) #breadcrumbs,
body.mdb-listing-results-shell:not(.aios-custom-ihomefinder-shortcode) .rank-math-breadcrumb,
body.mdb-listing-results-shell:not(.aios-custom-ihomefinder-shortcode) #content > .entry-title {
    display: none;
}

body.aios-custom-ihomefinder-results-template #content-full,
body.mdb-listing-results-shell:not(.aios-custom-ihomefinder-shortcode) #content-full {
    padding-top: 0;
}

.listing-results-page .listing-results-nav a.listing-results-nav__arrow,
.listing-results-page .listing-results-nav a.listing-results-nav__page {
    text-decoration: none;
    color: inherit;
}

body.aios-custom-ihomefinder-results-template:not(.aios-custom-ihomefinder-shortcode) #inner-page-wrapper {
    margin-bottom: 0;
}

body.aios-custom-ihomefinder-results-template:not(.aios-custom-ihomefinder-shortcode) #inner-page-wrapper .inner-page-container {
    max-width: none;
    width: 100%;
    padding: 0;
}

body.aios-custom-ihomefinder-results-template:not(.aios-custom-ihomefinder-shortcode) #content-full,
body.aios-custom-ihomefinder-results-template:not(.aios-custom-ihomefinder-shortcode) #content-sidebar {
    padding-top: 0;
    padding-bottom: 0;
}

.listing-results-page .listing-results-card__courtesy {
    margin: 0;
    max-width: 100%;
    font-family: var(--font-family-default);
    font-size: 11px;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: 0.5px;
    color: #f7f6f2;
}

.listing-results-page .listing-results-card__courtesy em {
    display: block;
    margin-bottom: 4px;
    font-style: normal;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.listing-results-page .listing-results-card:hover .listing-results-card__hover,
.listing-results-page .listing-results-card:focus-visible .listing-results-card__hover {
    max-height: 220px;
}

/* In-page IDX embed (shortcode inside #content-full) */
.aios-custom-ihomefinder-shortcode-template .listing-results-page--embed,
.aios-custom-ihomefinder-shortcode .listing-results-page--embed {
    width: 100%;
}

.aios-custom-ihomefinder-shortcode-template #content-full .listing-results-page--embed .listing-results-listings,
.aios-custom-ihomefinder-shortcode #content-full .listing-results-page--embed .listing-results-listings {
    padding-left: 0;
    padding-right: 0;
}

.aios-custom-ihomefinder-shortcode-template #content-full .listing-results-page--embed .listing-results-slider,
.aios-custom-ihomefinder-shortcode #content-full .listing-results-page--embed .listing-results-slider {
    width: 100%;
    max-width: none;
}

#content-full .listing-results-page--embed .listing-results-card,
#content-full .listing-results-page--embed .listing-results-card:hover,
#content-full .listing-results-page--embed .listing-results-card:focus {
    color: #f7f6f2;
    text-decoration: none;
}

#content-full .listing-results-page--embed .listing-results-card__price,
#content-full .listing-results-page--embed .listing-results-card__address,
#content-full .listing-results-page--embed .listing-results-card__city {
    color: #f7f6f2;
}
