/* Child Theme - Custom CSS File for Buyers to Modify */

/* Properties listing / archive banner — give it a real height on mobile */
@media (max-width: 767px) {
    .inspiry_responsive_header_solid .rh_banner__image,
    .rh_banner.rh_banner__image {
        height: 220px !important;
        min-height: 220px !important;
        background-size: cover !important;
        background-position: center center !important;
    }
}

@media (max-width: 480px) {
    .inspiry_responsive_header_solid .rh_banner__image,
    .rh_banner.rh_banner__image {
        height: 180px !important;
        min-height: 180px !important;
    }
}

/* Prevent rogue horizontal scrollbars across the site.
   Some Elementor stretched-sections + slick sliders briefly overflow during
   layout calculation; clipping at the document root keeps the page from
   ever showing a horizontal scrollbar. */
html, body {
    overflow-x: hidden;
    max-width: 100%;
}

.rh_wrap {
    overflow-x: hidden;
}

@media (min-width: 1140px) {
    .inspiry_mod_header_variation_one .rh_cfos_slider .flexslider ul.slides .slide {
        height: 70vh;
        min-height: 600px;
    }
}

/* ==========================================================================
   Alphazag brand theme — replace primary green with brand orange.
   Orange:     #f2984d
   Orange-dk:  #d97f33
   Orange-lt:  #f6b079
   Font:       #353939
   White:      #fff
   ========================================================================== */

:root {
    --rh-global-color-primary: #f2984d;
    --rh-global-color-primary-rgb: 242, 152, 77;
    --rh-global-color-primary-light: #f6b079;
    --rh-global-color-primary-dark: #d97f33;
}

/* Hardcoded teal/green fallbacks in parent main.min.css */
.rh_prop_search__form .rh_prop_search__buttons .rh_prop_search__advance,
.rh_mod_sfoi_advanced_expander {
    background: #f2984d;
}

.rh_mod_sfoi_advanced_expander:hover,
.rh_mod_sfoi_advanced_expander.rh_sfoi_is_open {
    background: #d97f33;
}

.widget.RVR_Owner_Widget .rvr_widget_owner_label {
    color: #f2984d;
}

.page-breadcrumbs-modern li a:hover {
    color: #d97f33;
}

/* Featured / status tag overrides (defaults in parent dynamic-css) */
.rh_latest_properties_2 .rh_tags_wrapper .rh_featured,
.rh_grid_card .rh_featured,
.rh_prop_card .rh_featured,
.rh_list_card__wrap .rh_featured {
    background-color: #f2984d;
    color: #fff;
}

.rh_latest_properties_2 .rh_tags_wrapper .rh_featured:before {
    border-top-color: #f2984d;
    border-left-color: #f2984d;
    border-right-color: #f2984d;
}

/* Ensure body / heading typography uses the brand font color */
body,
.rh_wrapper,
.rh_wrapper p {
    color: #353939;
}

/* Third-level menu (e.g. Properties → For Sale → list of properties).
   The long property list was overflowing the viewport. Constrain it to
   a single scrollable column with a polished look. */
ul.rh_menu__main ul.sub-menu ul.sub-menu,
ul.rh_menu__main ul.sub-menu ul.rh_menu__submenu_third {
    width: 260px;
    max-height: 60vh;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 6px 0;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
    border-radius: 4px;
    background: #fff;
}

ul.rh_menu__main ul.sub-menu ul.sub-menu > li,
ul.rh_menu__main ul.sub-menu ul.rh_menu__submenu_third > li {
    width: 100%;
    float: none;
    display: block;
}

ul.rh_menu__main ul.sub-menu ul.sub-menu > li > a,
ul.rh_menu__main ul.sub-menu ul.rh_menu__submenu_third > li > a {
    display: block;
    padding: 10px 18px;
    line-height: 1.35;
    font-size: 13px;
    color: #353939;
    white-space: normal;
    word-break: break-word;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.15s ease, color 0.15s ease, padding-left 0.15s ease;
}

ul.rh_menu__main ul.sub-menu ul.sub-menu > li:last-child > a,
ul.rh_menu__main ul.sub-menu ul.rh_menu__submenu_third > li:last-child > a {
    border-bottom: none;
}

ul.rh_menu__main ul.sub-menu ul.sub-menu > li > a:hover,
ul.rh_menu__main ul.sub-menu ul.rh_menu__submenu_third > li > a:hover {
    background: rgba(242, 152, 77, 0.08);
    color: #f2984d;
    padding-left: 22px;
}

/* Slim brand-orange scrollbar */
ul.rh_menu__main ul.sub-menu ul.sub-menu::-webkit-scrollbar,
ul.rh_menu__main ul.sub-menu ul.rh_menu__submenu_third::-webkit-scrollbar {
    width: 6px;
}
ul.rh_menu__main ul.sub-menu ul.sub-menu::-webkit-scrollbar-track,
ul.rh_menu__main ul.sub-menu ul.rh_menu__submenu_third::-webkit-scrollbar-track {
    background: #f7f7f7;
}
ul.rh_menu__main ul.sub-menu ul.sub-menu::-webkit-scrollbar-thumb,
ul.rh_menu__main ul.sub-menu ul.rh_menu__submenu_third::-webkit-scrollbar-thumb {
    background: #f2984d;
    border-radius: 3px;
}
ul.rh_menu__main ul.sub-menu ul.sub-menu::-webkit-scrollbar-thumb:hover,
ul.rh_menu__main ul.sub-menu ul.rh_menu__submenu_third::-webkit-scrollbar-thumb:hover {
    background: #d97f33;
}

/* ==========================================================================
   Modern property list-view card
   ========================================================================== */
.rh_list_card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(53, 57, 57, 0.06);
    border: 1px solid #eee;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    margin-bottom: 24px;
    padding: 0 !important;
}

.rh_list_card__wrap .rh_list_card__meta_wrap .rh_list_card__meta {
    padding-bottom: 0 !important;
}

.rh_list_card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(53, 57, 57, 0.12);
}

.rh_list_card__wrap {
    display: flex !important;
    align-items: stretch;
    flex-direction: row !important;
    width: 100% !important;
}

/* Image column */
.rh_list_card__wrap .rh_list_card__thumbnail {
    flex: 0 0 38% !important;
    max-width: 38% !important;
    width: 38% !important;
    min-height: 260px;
    margin: 0;
    position: relative;
    overflow: hidden;
}

.rh_list_card__wrap .rh_list_card__thumbnail .rh_figure_property_list_one {
    display: block;
    height: 100%;
    min-height: 260px;
    position: relative;
}

.rh_list_card__wrap .rh_list_card__thumbnail .rh_figure_property_list_one > a {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 260px;
}

.rh_list_card__wrap .rh_list_card__thumbnail .post_thumbnail {
    width: 100%;
    height: 100%;
    min-height: 260px;
    transition: transform 0.5s ease;
}

.rh_list_card:hover .rh_list_card__thumbnail .post_thumbnail {
    transform: scale(1.05);
}

/* Featured tag — pill style, top-left */
.rh_list_card .rh_label__list {
    top: 14px !important;
    left: 14px !important;
    right: auto !important;
    background: transparent !important;
}
.rh_list_card .rh_label__list .rh_label__wrap {
    background: #f2984d !important;
    color: #fff !important;
    padding: 5px 14px !important;
    border-radius: 999px !important;
    font-size: 11px !important;
    font-weight: 600;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(242, 152, 77, 0.35);
    line-height: 1.4;
    display: inline-block;
}
.rh_list_card .rh_label__list .rh_label__wrap span {
    display: none !important;
}

/* Content column */
.rh_list_card__wrap .rh_list_card__details_wrap {
    flex: 1 1 auto !important;
    width: 62% !important;
    max-width: 62% !important;
    display: flex !important;
    flex-direction: column !important;
    padding: 24px 28px 0 !important;
    background: #fff;
    position: relative;
}

.rh_list_card__wrap .rh_list_card__details {
    flex: 1 1 auto !important;
    width: 100% !important;
    padding: 0 !important;
    border: 0 !important;
    display: flex !important;
    flex-direction: column !important;
}

/* Only the title and excerpt need to clear the absolutely-positioned price
   block on the right — keep the meta divider full width. */
.rh_list_card__wrap .rh_list_card__details h3,
.rh_list_card__wrap .rh_list_card__details .rh_list_card__excerpt {
    padding-right: 220px;
}

.rh_list_card__wrap .rh_list_card__details_wrap h3,
.rh_list_card__wrap .rh_list_card__details h3 {
    margin: 0 0 6px !important;
}

.rh_list_card__wrap .rh_list_card__details_wrap h3 a,
.rh_list_card__wrap .rh_list_card__details h3 a {
    font-size: 1.9rem !important;
    line-height: 1.3 !important;
    font-weight: 600 !important;
    color: #353939;
}

.rh_list_card__wrap .rh_list_card__details_wrap h3 a:hover,
.rh_list_card__wrap .rh_list_card__details h3 a:hover {
    color: #f2984d;
}

.rh_list_card__wrap .rh_list_card__excerpt {
    color: #808080;
    font-size: 1.35rem !important;
    line-height: 1.55 !important;
    margin: 0 0 16px !important;
}

/* Meta (bedrooms / area) */
.rh_list_card__wrap .rh_list_card__meta_wrap {
    border-top: 1px solid #f0f0f0;
    padding-top: 14px !important;
    margin-top: auto !important;
    display: flex !important;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: flex-start !important;
}

.rh_list_card__wrap .rh_list_card__meta_wrap .rh_list_card__meta {
    margin: 0;
}

/* Price block — top-right, absolutely positioned over content area */
.rh_list_card__wrap .rh_list_card__priceLabel {
    position: absolute !important;
    top: 24px !important;
    right: 28px !important;
    bottom: auto !important;
    left: auto !important;
    width: auto !important;
    border: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    text-align: right !important;
    background: transparent !important;
    min-width: 0 !important;
}

.rh_list_card__wrap .rh_list_card__priceLabel .rh_list_card__price {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    gap: 6px;
    margin: 0 !important;
}

.rh_list_card__wrap .rh_list_card__priceLabel .status {
    display: inline-block !important;
    background: rgba(242, 152, 77, 0.12) !important;
    color: #d97f33 !important;
    font-size: 11px !important;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 4px 12px !important;
    border-radius: 999px !important;
    line-height: 1.4 !important;
}

.rh_list_card__wrap .rh_list_card__priceLabel .price {
    color: #f2984d !important;
    font-size: 1.9rem !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    margin: 0 !important;
}

.rh_list_card__wrap .rh_list_card__author {
    text-align: right;
    font-size: 1.2rem;
    color: #808080;
    margin: 8px 0 0 !important;
}

/* Static "View Property" button, lives in the right-hand price column */
.rh_list_card__wrap .rh_list_card__priceLabel .rh_list_card__view_btn {
    display: inline-block;
    align-self: flex-end;
    width: auto;
    max-width: max-content;
    margin-top: 12px;
    padding: 9px 18px;
    background: #f2984d;
    color: #fff !important;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-radius: 999px;
    line-height: 1.4;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(242, 152, 77, 0.25);
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap;
}

.rh_list_card__wrap .rh_list_card__priceLabel .rh_list_card__view_btn:hover,
.rh_list_card__wrap .rh_list_card__priceLabel .rh_list_card__view_btn:focus {
    background: #d97f33;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(242, 152, 77, 0.35);
    color: #fff !important;
}

/* Favorite + compare buttons over image */
.rh_list_card__wrap .rh_list_card__thumbnail .rh_list_card__btns {
    bottom: 14px !important;
    right: 14px !important;
    margin: 0 !important;
    display: flex;
    gap: 8px;
}

.rh_list_card__wrap .rh_list_card__thumbnail .rh_list_card__btns a {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease;
    margin: 0 !important;
}

.rh_list_card__wrap .rh_list_card__thumbnail .rh_list_card__btns a:hover {
    transform: scale(1.1);
}

/* Make heart/compare SVG icons visible on white circles */
.rh_list_card__wrap .rh_list_card__thumbnail .rh_list_card__btns a svg {
    width: 16px;
    height: 16px;
}

/* Anchor hover tooltips to the right edge of the button so they don't get
   clipped by the thumbnail's overflow:hidden (the compare button sits near
   the right edge). */
.rh_list_card__wrap .rh_list_card__thumbnail .rh_list_card__btns a[data-tooltip]::after {
    left: auto !important;
    right: 0 !important;
    transform: translate(0, -0.5em) !important;
}

.rh_list_card__wrap .rh_list_card__thumbnail .rh_list_card__btns a[data-tooltip]::before {
    left: auto !important;
    right: 10px !important;
    transform: translate(0, -0.5em) !important;
}
.rh_list_card__wrap .rh_list_card__thumbnail .rh_list_card__btns a svg path {
    fill: #808080 !important;
}
.rh_list_card__wrap .rh_list_card__thumbnail .rh_list_card__btns a:hover svg path {
    fill: #f2984d !important;
}
.rh_list_card__wrap .rh_list_card__thumbnail .rh_list_card__btns .favorite:hover svg path {
    fill: #ea3d3d !important;
}

/* Tablet */
@media (max-width: 991px) {
    .rh_list_card__wrap .rh_list_card__thumbnail {
        flex: 0 0 42% !important;
        max-width: 42% !important;
        width: 42% !important;
        min-height: 220px;
    }
    .rh_list_card__wrap .rh_list_card__details_wrap {
        width: 58% !important;
        max-width: 58% !important;
        padding: 18px 20px 0 !important;
    }
    .rh_list_card__wrap .rh_list_card__details {
        padding-right: 0 !important;
    }
    .rh_list_card__wrap .rh_list_card__priceLabel {
        position: static !important;
        text-align: left !important;
        margin-bottom: 10px !important;
        order: -1;
    }
    .rh_list_card__wrap .rh_list_card__priceLabel .rh_list_card__price {
        flex-direction: row !important;
        align-items: center !important;
        gap: 10px;
    }
    .rh_list_card__wrap .rh_list_card__details h3 a {
        font-size: 1.7rem !important;
    }
    .rh_list_card__wrap .rh_list_card__priceLabel .price {
        font-size: 1.7rem !important;
    }
}

/* Mobile — stack image on top */
@media (max-width: 640px) {
    .rh_list_card__wrap {
        flex-direction: column !important;
    }
    .rh_list_card__wrap .rh_list_card__thumbnail,
    .rh_list_card__wrap .rh_list_card__details_wrap {
        flex: 0 0 auto !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    .rh_list_card__wrap .rh_list_card__thumbnail {
        min-height: 220px;
    }
}

/* Tablet + mobile — release the right-padding gutter that was reserved for
   the absolutely-positioned price column on desktop, so title + excerpt
   can use the full content width. Also tighten the View Property button. */
@media (max-width: 991px) {
    .rh_list_card__wrap .rh_list_card__details h3,
    .rh_list_card__wrap .rh_list_card__details .rh_list_card__excerpt {
        padding-right: 0 !important;
    }
    .rh_list_card__wrap .rh_list_card__priceLabel .rh_list_card__view_btn {
        align-self: flex-start;
        margin-top: 8px;
    }
    .rh_list_card__wrap .rh_list_card__priceLabel .rh_list_card__price {
        align-items: flex-start !important;
    }
}

@media (max-width: 640px) {
    .rh_list_card__wrap .rh_list_card__details_wrap {
        padding: 16px 16px 18px !important;
    }
}

/* ==========================================================================
   Property grid card — uniform thumbnail height and equal card height
   ========================================================================== */
.rh_prop_card .rh_prop_card__thumbnail,
.rh_prop_card .rh_prop_card__thumbnail .rh_figure_property_one,
.rh_prop_card .rh_prop_card__thumbnail .rh_figure_property_one > a {
    display: block;
    height: 290px;
    max-height: 290px;
    overflow: hidden;
}

.rh_prop_card .rh_prop_card__thumbnail img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
}

/* Stretch all cards in a row to match the tallest */
.rh_page__listing_grid .rh_prop_card,
.rh_page__listing_grid .rh_prop_card--listing {
    display: flex;
    align-self: stretch;
}

.rh_page__listing_grid .rh_prop_card .rh_prop_card__wrap {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.rh_page__listing_grid .rh_prop_card .rh_prop_card__details {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}

/* ==========================================================================
   Modern Gallery section on single property pages
   Hero image + thumbnail strip + photo counter.
   ========================================================================== */
.rh_gallery_modern {
    padding: 3rem 0 3.5rem;
    margin-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.rh_gallery_modern__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.rh_gallery_modern__eyebrow {
    display: block;
    color: #f2984d;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0.4rem;
}

.rh_gallery_modern__title {
    margin: 0;
    color: var(--rh-global-color-headings, #1a1a1a);
    line-height: 1.1;
}

.rh_gallery_modern__count {
    color: #808080;
    background: rgba(0, 0, 0, 0.04);
    padding: 6px 14px;
    border-radius: 999px;
    white-space: nowrap;
}

.rh_gallery_modern__count .js-current {
    color: #1a1a1a;
    font-weight: 600;
}

/* MAIN slider */
.rh_gallery_modern__main {
    position: relative;
    width: 100%;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.12);
    background: #1a1a1a;
}

.rh_gallery_modern__main .rh_gallery_modern__slide {
    height: 520px;
}

.rh_gallery_modern__main .rh_gallery_modern__slide,
.rh_gallery_modern__main .rh_gallery_modern__slide > a {
    display: block;
    width: 100%;
}

.rh_gallery_modern__main .rh_gallery_modern__slide > a {
    height: 100%;
}

.rh_gallery_modern__main .rh_gallery_modern__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

/* Pre-init: hide all but first slide */
.rh_gallery_modern__main:not(.slick-initialized) .rh_gallery_modern__slide {
    display: none;
}
.rh_gallery_modern__main:not(.slick-initialized) .rh_gallery_modern__slide:first-child {
    display: block;
}

/* Arrows */
.rh_gm__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    border: 0;
    color: #1a1a1a;
    font-size: 28px;
    line-height: 1;
    z-index: 5;
    cursor: pointer;
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 0;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
    transition: background 0.2s ease, transform 0.2s ease;
}
.rh_gm__nav:hover, .rh_gm__nav:focus {
    background: #f2984d;
    color: #fff;
    outline: none;
    transform: translateY(-50%) scale(1.06);
}
.rh_gm__nav:before { content: none; }
.rh_gm__nav--prev { left: 18px; }
.rh_gm__nav--next { right: 18px; }

/* THUMBS strip */
.rh_gallery_modern__thumbs {
    margin-top: 14px;
}

.rh_gallery_modern__thumbs .rh_gallery_modern__thumb {
    padding: 0 6px;
    cursor: pointer;
}

.rh_gallery_modern__thumbs .rh_gallery_modern__thumb img {
    width: 100%;
    height: 90px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
    border: 2px solid transparent;
    opacity: 0.7;
    transition: opacity 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.rh_gallery_modern__thumbs .slick-current .rh_gallery_modern__thumb img,
.rh_gallery_modern__thumbs .slick-slide:hover .rh_gallery_modern__thumb img {
    opacity: 1;
    border-color: #f2984d;
}

.rh_gallery_modern__thumbs:not(.slick-initialized) {
    display: flex;
    gap: 12px;
    overflow: hidden;
}

.rh_gallery_modern__thumbs:not(.slick-initialized) .rh_gallery_modern__thumb {
    flex: 0 0 calc(20% - 10px);
    padding: 0;
}

@media (max-width: 991px) {
    .rh_gallery_modern__main .rh_gallery_modern__slide { height: 400px; }
    .rh_gallery_modern__thumbs .rh_gallery_modern__thumb img { height: 70px; }
}

@media (max-width: 640px) {
    .rh_gallery_modern__main .rh_gallery_modern__slide { height: 280px; }
    .rh_gallery_modern__thumbs .rh_gallery_modern__thumb img { height: 56px; }
    .rh_gm__nav { width: 40px; height: 40px; font-size: 22px; }
    .rh_gm__nav--prev { left: 10px; }
    .rh_gm__nav--next { right: 10px; }
}

/* ==========================================================================
   Property single page — modern hero block.
   Title + Featured tag at top, price + status below, action icons aligned
   right.
   ========================================================================== */
.single-property .rh_page__head .rh_page__title,
.single-property .rh_page__head .rh_page__property_price {
    display: none;
}

.single-property .rh_property__wrap.rh_property--padding {
    padding-top: 1rem !important;
}

/* Content area — no inner card; transparent backgrounds.
   Parent theme paints both .rh_property__content and each > div child with
   white bg + shadow + padding. Strip them so the page background shows. */
.single-property .rh_property__main,
.single-property .rh_property .rh_property__content,
.single-property .rh_property__content > div,
.single-property .rh_property__content > div.property-content-section,
.single-property .rh_property__content > #property-content-section-overview {
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    border: 0 !important;
    border-radius: 0 !important;
}

/* Keep some breathing room between content sections without the card chrome */
.single-property .rh_property__content > div {
    padding: 0 !important;
    margin-bottom: 2.5rem !important;
}

.single-property .rh_property__content {
    padding: 0 !important;
    margin-bottom: 0 !important;
}

/* Title row */
.rh_property__row.rh_property__title_row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding: 4px 0 6px;
    margin-bottom: 5px;
    border-bottom: none !important;
}

.rh_property__title_inline {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    flex: 1 1 auto;
}

.rh_property__title_inline .rh_property__title_text {
    margin: 0;
    color: var(--rh-global-color-headings, #1a1a1a);
    font-weight: 700;
    line-height: 1.15;
    font-size: 3.2rem;
    letter-spacing: -0.5px;
}

@media (max-width: 640px) {
    .rh_property__title_inline .rh_property__title_text {
        font-size: 2.4rem;
    }
}

.rh_property__title_inline .rh_label {
    margin: 0;
    background: transparent !important;
    display: inline-block;
    position: relative;
    overflow: visible;
}

/* Hide the parent theme's ribbon-tail triangle */
.rh_property__title_inline .rh_label span {
    display: none !important;
}

.rh_property__title_inline .rh_label .rh_label__wrap {
    background: linear-gradient(135deg, #f2984d, #d97f33) !important;
    color: #fff;
    padding: 5px 13px;
    border-radius: 999px !important;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(242, 152, 77, 0.3);
    display: inline-block;
    line-height: 1.4;
    position: relative;
}

.rh_property__title_inline .rh_label .rh_label__wrap::before,
.rh_property__title_inline .rh_label .rh_label__wrap::after {
    content: none !important;
}

/* Action icons row (favorite + compare) */
.rh_property__title_row .rh_property__print {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 8px;
    margin: 0;
    flex-shrink: 0;
    flex-wrap: nowrap;
}

.rh_property__title_row .rh_property__print > a,
.rh_property__title_row .rh_property__print > span {
    width: 42px;
    height: 42px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.04);
    border-radius: 50%;
    transition: background 0.2s ease, transform 0.2s ease;
    margin: 0 !important;
    padding: 0 !important;
}

.rh_property__title_row .rh_property__print > a:hover,
.rh_property__title_row .rh_property__print > span:hover {
    background: rgba(242, 152, 77, 0.12);
    transform: translateY(-2px);
}

.rh_property__title_row .rh_property__print svg {
    width: 18px;
    height: 18px;
}

/* Price + status row — below title */
.rh_property__price_inline {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    padding: 0 0 18px;
    margin-top: -4px;
}

.rh_property__price_inline_status {
    margin: 0;
    display: inline-flex;
    align-items: center;
    background: rgba(242, 152, 77, 0.12);
    color: #d97f33;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    font-size: 1.05rem;
    padding: 6px 14px;
    border-radius: 999px;
    line-height: 1.4;
}

.rh_property__price_inline_amount {
    margin: 0;
    color: #f2984d;
    font-weight: 700;
    font-size: 2.8rem;
    line-height: 1.15;
    letter-spacing: -0.3px;
}

@media (max-width: 640px) {
    .rh_property__price_inline_amount {
        font-size: 2.2rem;
    }
}

.rh_property--borderBottom.rh_property__price_inline {
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

/* Strip padding from the property card on mobile */
@media (max-width: 767px) {
    .rh_prop_card.rh_prop_card--listing {
        padding: 0 !important;
    }
}

/* Similar properties — stack one per row on mobile, align with the
   section's outer padding (no extra per-card indent). */
@media (max-width: 767px) {
    .similar-properties-content-wrapper .rh_prop_card--similar,
    .similar-properties-content-wrapper .rh_prop_card--listing,
    .similar-properties-content-wrapper .rh_property_card_stylish,
    .similar-properties-wrapper .rh_prop_card,
    .similar-properties-wrapper .rh_prop_card--similar,
    #similar-properties .rh_prop_card,
    #similar-properties .rh_prop_card--similar,
    #similar-properties .rh_property_card_stylish {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-bottom: 16px !important;
    }

    .similar-properties-wrapper .rh_property__container,
    #similar-properties.rh_property__container,
    .similar-properties-content-wrapper .rh_property__container {
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        flex-direction: column !important;
        gap: 16px;
    }
}

/* Mobile fine-tuning for the property hero */
@media (max-width: 767px) {
    .single-property .rh_property__wrap.rh_property--padding,
    .single-property .rh_section.rh_wrap--padding {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .rh_property__row.rh_property__title_row {
        flex-direction: row !important;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
    }

    .rh_property__title_inline {
        flex: 1 1 auto;
        min-width: 0;
    }

    .rh_property__title_inline .rh_property__title_text {
        font-size: 2.2rem;
        word-break: break-word;
    }

    .rh_property__title_row .rh_property__print {
        align-self: flex-start;
        gap: 6px;
    }

    .rh_property__title_row .rh_property__print > a,
    .rh_property__title_row .rh_property__print > span {
        width: 38px;
        height: 38px;
    }

    .rh_property__title_row .rh_property__print svg {
        width: 16px;
        height: 16px;
    }

    .rh_property__price_inline {
        gap: 10px;
        padding-bottom: 14px;
    }

    .rh_property__price_inline_amount {
        font-size: 2rem;
    }

    .rh_property__price_inline_status {
        font-size: 1rem;
        padding: 5px 12px;
    }
}

/* ==========================================================================
   Child theme sliders — top banner + bottom gallery.
   Uses .rh_child_carousel to avoid conflicts with the parent theme's
   .inspiry_property_carousel_style slick init.
   ========================================================================== */

/* Prevent flash-of-stacked-slides before Slick initializes — hide all
   slides except the first. Once Slick adds `slick-initialized`, it manages
   visibility itself. */
.rh_child_carousel:not(.slick-initialized) {
    overflow: hidden;
}
.rh_child_carousel:not(.slick-initialized) .rh_child_slide {
    display: none;
}
.rh_child_carousel:not(.slick-initialized) .rh_child_slide:first-child {
    display: block;
}

.rh_top_banner_slider {
    width: 100%;
    margin: 0;
    position: relative;
}

.rh_top_banner_slider .rh_child_carousel,
.rh_top_banner_slider .rh_child_carousel .slick-list,
.rh_top_banner_slider .rh_child_carousel .slick-track,
.rh_top_banner_slider .rh_child_carousel .slick-slide,
.rh_top_banner_slider .rh_child_slide {
    height: 450px;
}

.rh_top_banner_slider .rh_child_slide {
    display: block;
    width: 100%;
}

.rh_top_banner_slider .rh_child_slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

/* Bottom gallery slider */
.rh_property_gallery_below_slider {
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
}

.rh_property_gallery_below_slider .rh_child_carousel,
.rh_property_gallery_below_slider .rh_child_carousel .slick-list,
.rh_property_gallery_below_slider .rh_child_carousel .slick-track,
.rh_property_gallery_below_slider .rh_child_carousel .slick-slide,
.rh_property_gallery_below_slider .rh_child_slide {
    height: 500px;
}

.rh_property_gallery_below_slider .rh_child_slide {
    display: block;
    width: 100%;
}

.rh_property_gallery_below_slider .rh_child_slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

/* Nav arrows — orange brand, on the edges */
.rh_child_carousel .slick-prev.rh_child_carousel__nav,
.rh_child_carousel .slick-next.rh_child_carousel__nav {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    font-size: 28px;
    line-height: 1;
    border: 0;
    z-index: 5;
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background 0.2s ease;
}
.rh_child_carousel .slick-prev.rh_child_carousel__nav { left: 20px; }
.rh_child_carousel .slick-next.rh_child_carousel__nav { right: 20px; }
.rh_child_carousel .slick-prev.rh_child_carousel__nav:hover,
.rh_child_carousel .slick-next.rh_child_carousel__nav:hover {
    background: #f2984d;
}
.rh_child_carousel .slick-prev.rh_child_carousel__nav:before,
.rh_child_carousel .slick-next.rh_child_carousel__nav:before {
    content: none;
}

/* Make top banner edge-to-edge by removing parent section's horizontal padding */
.single-property .rh_section:has(> .rh_top_banner_slider),
.single-property-variation-gallery-fullwidth .rh_section:has(> .rh_top_banner_slider) {
    padding-left: 0 !important;
    padding-right: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
}

@media (max-width: 991px) {
    .rh_top_banner_slider .rh_child_carousel,
    .rh_top_banner_slider .rh_child_carousel .slick-list,
    .rh_top_banner_slider .rh_child_carousel .slick-track,
    .rh_top_banner_slider .rh_child_carousel .slick-slide,
    .rh_top_banner_slider .rh_child_slide {
        height: 340px;
    }
    .rh_property_gallery_below_slider .rh_child_carousel,
    .rh_property_gallery_below_slider .rh_child_carousel .slick-list,
    .rh_property_gallery_below_slider .rh_child_carousel .slick-track,
    .rh_property_gallery_below_slider .rh_child_carousel .slick-slide,
    .rh_property_gallery_below_slider .rh_child_slide {
        height: 360px;
    }
}

@media (max-width: 640px) {
    .rh_top_banner_slider .rh_child_carousel,
    .rh_top_banner_slider .rh_child_carousel .slick-list,
    .rh_top_banner_slider .rh_child_carousel .slick-track,
    .rh_top_banner_slider .rh_child_carousel .slick-slide,
    .rh_top_banner_slider .rh_child_slide {
        height: 240px;
    }
    .rh_property_gallery_below_slider .rh_child_carousel,
    .rh_property_gallery_below_slider .rh_child_carousel .slick-list,
    .rh_property_gallery_below_slider .rh_child_carousel .slick-track,
    .rh_property_gallery_below_slider .rh_child_carousel .slick-slide,
    .rh_property_gallery_below_slider .rh_child_slide {
        height: 240px;
    }
}

/* ==========================================================================
   Single-property top image — cap to 450px tall, crop with object-fit.
   Only touches the image container itself (#property-featured-image or
   .realhomes_property_full_width_gallery); never touches surrounding
   sections so the rest of the page is unaffected.
   ========================================================================== */
#property-featured-image,
.realhomes_property_full_width_gallery,
.realhomes_property_full_width_gallery .slick-slider,
.realhomes_property_full_width_gallery .slick-list,
.realhomes_property_full_width_gallery .slick-track,
.realhomes_property_full_width_gallery .slick-slide,
.realhomes_property_full_width_gallery .slider-img {
    height: 450px !important;
    max-height: 450px !important;
}

#property-featured-image,
.realhomes_property_full_width_gallery {
    overflow: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
}

/* Make the parent rh_section edge-to-edge ONLY when it contains the top
   image / gallery — this preserves Slick's correct width calculations
   while removing the side gutters. */
.single-property-variation-gallery-fullwidth .rh_section:has(> #property-featured-image),
.single-property-variation-gallery-fullwidth .rh_section:has(> .property-detail-slider-wrapper),
.single-property-variation-gallery-fullwidth .rh_section:has(> .realhomes_property_full_width_gallery) {
    padding-left: 0 !important;
    padding-right: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
}

#property-featured-image a,
.realhomes_property_full_width_gallery a.slider-img,
.realhomes_property_full_width_gallery .slick-slide > a {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
}

#property-featured-image img,
.realhomes_property_full_width_gallery img,
.realhomes_property_full_width_gallery .slick-slide img,
.realhomes_property_full_width_gallery .slider-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    display: block !important;
}

.realhomes_property_full_width_gallery .slider-img,
.realhomes_property_full_width_gallery .slick-slide {
    background-size: cover !important;
    background-position: center center !important;
    display: block !important;
}

/* Top banner slider — img-based markup */
.rh_top_banner_slider .slider-img {
    display: block !important;
    width: 100% !important;
    height: 450px !important;
    overflow: hidden;
}

.rh_top_banner_slider .slider-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    display: block !important;
}

@media (max-width: 991px) {
    #property-featured-image,
    .realhomes_property_full_width_gallery,
    .realhomes_property_full_width_gallery .slick-slider,
    .realhomes_property_full_width_gallery .slick-list,
    .realhomes_property_full_width_gallery .slick-track,
    .realhomes_property_full_width_gallery .slick-slide,
    .realhomes_property_full_width_gallery .slider-img {
        height: 340px !important;
        max-height: 340px !important;
    }
}

@media (max-width: 640px) {
    #property-featured-image,
    .realhomes_property_full_width_gallery,
    .realhomes_property_full_width_gallery .slick-slider,
    .realhomes_property_full_width_gallery .slick-list,
    .realhomes_property_full_width_gallery .slick-track,
    .realhomes_property_full_width_gallery .slick-slide,
    .realhomes_property_full_width_gallery .slider-img {
        height: 240px !important;
        max-height: 240px !important;
    }
}

/* ==========================================================================
   Pagination — keep all buttons (circles + Prev/Next/Last pills) on the
   same baseline and size
   ========================================================================== */
.rh_pagination a,
.rh_filter_pagination a {
    height: 40px !important;
    min-height: 40px;
    line-height: 1 !important;
    box-sizing: border-box;
    margin: 0 6px !important;
}

.rh_pagination a.rh-navigation-label,
.rh_filter_pagination a.rh-navigation-label {
    height: 40px !important;
    padding: 0 16px !important;
    border-radius: 500rem;
    gap: 6px;
}

.rh_pagination a.rh-navigation-label i,
.rh_filter_pagination a.rh-navigation-label i {
    line-height: 1;
    display: inline-flex;
    align-items: center;
    margin: 0 !important;
}

/* Constrain header logo size */
.rh_logo_wrapper img,
.rh-ultra-logo a,
.rh-ultra-logo img,
#header #logo .site-logo img,
.custom-logo-link img,
.rh_logo_wrapper .custom-logo {
    max-height: 60px;
    width: auto;
    height: auto;
}

/* Tighten footer overall — less vertical padding and inter-section spacing */
.rh_footer {
    padding: 3rem 0 1.5rem !important;
}

.rh_footer .rh_footer__top_wrap,
.rh_footer .rh_footer--paddingBottom {
    padding-bottom: 1.5rem !important;
}

.rh_footer .rh_footer__widgets_wrap {
    padding-bottom: 0.5rem !important;
}

.rh_footer .rh_footer__logo {
    padding: 0 2rem 0.5rem !important;
}

.rh_footer .rh_footer__bottom_wrap {
    padding-top: 1rem !important;
    margin-top: 0.5rem !important;
}

/* Tighter widget headings and lists */
.rh_footer .rh_widgets .widget-title,
.rh_footer .rh_widgets h3 {
    margin: 0 0 2rem !important;
}

.rh_footer .rh_widgets ul li {
    margin-bottom: 10px !important;
    padding: 0 !important;
}

/* Constrain footer logo size */
.rh_footer__logo img,
.rh_footer__logo a img,
.rh_footer__logo .custom-logo {
    max-height: 70px;
    max-width: 200px;
    width: auto;
    height: auto;
}

@media (max-width: 767px) {
    .rh_footer__logo img,
    .rh_footer__logo a img,
    .rh_footer__logo .custom-logo {
        max-height: 56px;
        max-width: 160px;
    }
}

@media (max-width: 991px) {
    .rh_logo_wrapper img,
    .rh-ultra-logo img,
    #header #logo .site-logo img,
    .custom-logo-link img,
    .rh_logo_wrapper .custom-logo {
        max-height: 48px;
    }
}

/* ============================================================
   Sticky "Book a Site Visit" floating form
   ============================================================ */
.rh-sticky-trigger {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9998;
    display: inline-block;
    background: #f2984d;
    color: #fff;
    font: 600 14px/1 inherit;
    letter-spacing: .5px;
    text-transform: none;
    padding: 22px 12px;
    border: 1px solid #d97f33;
    border-right: 0;
    border-radius: 8px 0 0 8px;
    box-shadow: -4px 6px 18px rgba(0,0,0,.18);
    cursor: pointer;
    /* Read bottom-to-top: 'B' at the bottom, 't' at the top. */
    writing-mode: vertical-rl;        /* fallback for older browsers */
    writing-mode: sideways-lr;        /* preferred — characters upright, block flows up */
    transition: padding-left .18s ease, background-color .18s ease, box-shadow .18s ease;
}
.rh-sticky-trigger__text {
    display: inline-block;
}
.rh-sticky-trigger:hover {
    background: #d97f33;
    padding-left: 16px;
    box-shadow: -6px 8px 22px rgba(0,0,0,.22);
}
.rh-sticky-trigger:focus { outline: 2px solid #d97f33; outline-offset: 2px; }
.rh-sticky-trigger.is-hidden { display: none; }

@media (max-width: 600px) {
    .rh-sticky-trigger {
        font-size: 13px;
        padding: 18px 10px;
    }
}

/* Side card anchored to the bottom-right, slides in from the right edge */
.rh-sticky-panel {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 380px;
    max-width: calc(100vw - 32px);
    max-height: calc(100vh - 40px);
    background: #fff;
    border-radius: 12px;
    box-shadow: -8px 12px 30px rgba(0,0,0,.16), 0 4px 14px rgba(0,0,0,.08);
    padding: 22px 24px;
    box-sizing: border-box;
    z-index: 9999;
    opacity: 0;
    transform: translateX(calc(100% + 24px));
    pointer-events: none;
    transition: opacity .25s ease, transform .3s cubic-bezier(.4,0,.2,1);
    overflow-y: auto;
}
.rh-sticky-panel.is-open {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}
.rh-sticky-panel__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}
.rh-sticky-panel__title {
    font-size: 20px;
    font-weight: 700;
    color: #1d1d1d;
    margin: 0;
    line-height: 1.2;
}
.rh-sticky-panel__close {
    background: transparent;
    border: none;
    font-size: 24px;
    line-height: 1;
    color: #777;
    cursor: pointer;
    padding: 0 4px;
}
.rh-sticky-panel__close:hover { color: #000; }
.rh-sticky-panel__form { display: flex; flex-direction: column; }

/* Underline-only fields */
.rh-sticky-field {
    position: relative;
    display: flex;
    align-items: center;
    border: 0;
    border-bottom: 1px solid #d9d9d9;
    border-radius: 0;
    background: transparent;
    padding: 4px 0;
    margin-bottom: 12px;
    transition: border-color .15s ease;
}
.rh-sticky-field:focus-within { border-bottom-color: #1d1d1d; }
.rh-sticky-field input[type="text"],
.rh-sticky-field input[type="tel"],
.rh-sticky-field input[type="email"] {
    flex: 1 1 auto;
    min-width: 0;
    border: 0;
    background: transparent;
    padding: 10px 2px;
    font-size: 14px;
    color: #1d1d1d;
    outline: none;
    box-shadow: none;
    height: auto;
    width: auto;
}
.rh-sticky-field input::placeholder { color: #9aa0a6; }
.rh-sticky-field--phone .rh-sticky-cc {
    flex: 0 0 auto;
    width: auto;
    max-width: 92px;
    border: 0;
    background: transparent;
    padding: 10px 18px 10px 0;
    margin-right: 10px;
    font-size: 14px;
    color: #1d1d1d;
    outline: none;
    box-shadow: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2010%206'%3E%3Cpath%20fill%3D'%23555'%20d%3D'M0%200l5%206%205-6z'%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 4px center;
    background-size: 8px 5px;
}

.rh-sticky-consent {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 11.5px;
    color: #555;
    line-height: 1.45;
    margin: 8px 0 18px;
}
.rh-sticky-consent input[type="checkbox"] {
    margin: 3px 0 0;
    width: 14px;
    height: 14px;
    accent-color: #f2984d;
    flex-shrink: 0;
}
.rh-sticky-consent a { color: #f2984d; text-decoration: underline; }

.rh-sticky-submit {
    background: #f2984d;
    color: #fff;
    border: 0;
    padding: 13px 16px;
    width: 100%;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .2px;
    cursor: pointer;
    transition: background-color .15s ease, transform .1s ease;
}
.rh-sticky-submit:hover { background: #d97f33; }
.rh-sticky-submit:active { transform: translateY(1px); }
.rh-sticky-submit:disabled { opacity: .65; cursor: wait; }

.rh-sticky-panel__status {
    margin-top: 12px;
    font-size: 13px;
    line-height: 1.4;
}
.rh-sticky-panel__status.is-success { color: #178a52; }
.rh-sticky-panel__status.is-error { color: #c0392b; }

@media (max-width: 480px) {
    .rh-sticky-panel { right: 12px; left: 12px; bottom: 12px; width: auto; max-width: none; }
}

/* ============================================================
   Contact page — Leaflet map info popup over pin
   ============================================================ */
.rh-contact-pin {
    font-family: inherit;
    line-height: 1.5;
    color: #353939;
    font-weight: 700;
    font-size: 15px;
}
.rh-contact-pin__addr {
    display: block;
    margin-top: 4px;
    font-weight: 400;
    font-size: 12.5px;
    color: #555;
    line-height: 1.45;
}
.leaflet-popup.rh-contact-pin-popup .leaflet-popup-content-wrapper {
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0,0,0,.18);
    padding: 4px 6px;
}
.leaflet-popup.rh-contact-pin-popup .leaflet-popup-content {
    margin: 10px 14px;
}
.leaflet-popup.rh-contact-pin-popup .leaflet-popup-tip {
    box-shadow: 0 3px 8px rgba(0,0,0,.12);
}
/* Hide Leaflet/OSM attribution control on contact map */
#map_canvas .leaflet-control-attribution {
    display: none !important;
}
