/* HP Jonesboro responsive fixes.
   IMPORTANT: The header (top bar + green logo/menu bar) is intentionally left to
   the original RealHomes stylesheets (main3088.css / style3088.css) so it renders
   exactly like the live site. Do not add header overrides here. */

@media (max-width: 1023px) {
    .wrapper-home-sections {
        margin-top: 0 !important;
    }
}

@media (max-width: 991px) {
    #abt_sec_row .wpb_column {
        width: 100% !important;
        margin-bottom: 24px;
    }

    .rh_prop_card {
        width: 100%;
        max-width: 100%;
    }

    .grid-layout.property-grid .list-container {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .rh_contact__wrap {
        display: grid;
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .rh_contact__map iframe {
        width: 100% !important;
        min-height: 280px;
    }
}

@media (max-width: 767px) {
    .wrapper-home-sections {
        margin-top: 0;
    }

    .wrapper-home-sections section.rh_section.rh_section__content {
        padding-top: 50px;
    }

    .homeslide h2.vc_custom_heading,
    .homeslide .vc_custom_heading {
        font-size: 20px !important;
        line-height: 1.15 !important;
        letter-spacing: 0.02em;
        padding-left: 28px !important;
        padding-right: 28px !important;
        box-sizing: border-box;
        max-width: 100%;
        word-break: normal;
        overflow-wrap: normal;
    }

    .rh_footer__widgets {
        display: grid;
        grid-template-columns: 1fr;
        gap: 24px;
    }

    #property_map {
        min-height: 260px;
    }

    .rh_pagination {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .rh_prop_button a {
        display: inline-block;
        width: auto;
        max-width: calc(100% - 32px);
        padding: 14px 44px;
        box-sizing: border-box;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .homeslide h2.vc_custom_heading,
    .homeslide .vc_custom_heading {
        font-size: 15px !important;
        line-height: 1.1 !important;
        padding-left: 36px !important;
        padding-right: 36px !important;
        letter-spacing: 0;
    }

    .rh_prop_card__details h3 {
        font-size: 16px;
        line-height: 1.35;
    }

    .rh_page__property_button a {
        display: inline-block;
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }

    .rh_prop_button a {
        padding: 14px 36px;
        max-width: min(180px, calc(100% - 32px));
    }
}
