/*!
 * Remarketer unified theme (Bootstrap 5.3) - loaded on every page after style.css.
 *
 * One file for all four themes. style.css holds the shared base of each
 * component; this file holds each theme's look as a compound selector:
 *
 *     <section class="page-head page-head-rm-2">   ->  .page-head.page-head-rm-2 { ... }
 *
 * Switching theme only changes the -rm-N suffix in the markup:
 *   - html.theme-rm-N        theme tokens (fonts, radius, default colours) and
 *                            page-wide rules (headings, buttons, sections)
 *   - .page-head-rm-N, .testimonial-rm-N, .rm-form-rm-N, .rm-marketwatch-rm-N
 *                            the look of theme N (any page can use any of the four)
 *   - .site-header-rm-N, .site-footer-rm-N, .property-card-rm-N,
 *     .newdev-card-rm-N, .agent-profile-rm-N
 *                            the look of theme N; the layout stays a separate,
 *                            theme-neutral class (site-header-2 = Center,
 *                            property-card-3 = overlay card ...) styled in style.css
 *
 * Brand values from the admin profile are written by _SiteLayout as
 * :root.theme-rm-N after this file, so they override the defaults below.
 * Generated from the former theme-1/2/3.css on 2026-11-21.
 */
/* ================================================================== */
/* THEME 1  (.x.x-rm-1, html.theme-rm-1)                              */
/* ================================================================== */
/* ------------------------------------------------------------------ */
/* Tokens (defaults; the admin profile overrides the brand ones)       */
/* ------------------------------------------------------------------ */
:root.theme-rm-1 {
    --prime-color: #004e9b;
    --prime-color-rgb: 0, 78, 155;
    --secondary-color: #a84a9c;
    --secondary-color-rgb: 168, 74, 156;
    --hover-color: #0dbae8;
    --hover-color-rgb: 13, 186, 232;
    --header-color: #7c848b;
    --header-bg-color: #ffffff;
    --footer-color: #f6f6f6;
    --footer-bg-color: #4a525d;
    --body-font-family: 'PT Sans', Helvetica, Arial, sans-serif;
    --body-font-size: 14px;
    --body-font-weight: 400;
    --body-font-color: #191c20;
    --body-line-height: 1.715;
    --menu-font-color: #191c20;
    --titlebar-font-color: #ffffff;
    --title-font-family: 'PT Sans', Helvetica, Arial, sans-serif;
    --title-font-size: 30px;
    --title-font-weight: 700;
    --title-font-color: #191c20;
    --heading-color: #333; /* plain h1-h6, cards (BS3 look) */
    --display-pagehead: block;
    --pagehead-bg: url(/images/placeholders/banner.jpg);
    --service-section-bg: url(/images/placeholders/hiw-bg.jpg);
    /* Theme scale */
    --bs-border-radius: 0;
    --bs-border-radius-sm: 0;
    --bs-border-radius-lg: 0;
    --bs-border-color: #dde3e7;
    --section-space: 3.5rem;
    --section-title-size: 1.75rem;
    --btn-radius: 0;
    --btn-text-transform: uppercase;
    --btn-caps-shift: 0em; /* uppercase buttons: capitals are already centred (0em: calc() needs a unit) */
    --btn-letter-spacing: .04em;
    --btn-font-weight: 600;
}
/* ------------------------------------------------------------------ */
/* Page head                                                           */
/* ------------------------------------------------------------------ */
.page-head.page-head-rm-1 {
    --page-head-fallback-bg: #494c53;
    --page-head-space: 2.2rem;
    --page-head-space-md: 2.2rem;
    --page-head-title-size: 18px;
    --page-head-title-size-md: 28px;
    min-height: 100px;
}
/* 1: the original theme 1 banner */
.page-head.page-head-rm-1 {
    --page-head-overlay: transparent;
}
/* ------------------------------------------------------------------ */
/* Testimonial                                                         */
/* ------------------------------------------------------------------ */
.testimonial.testimonial-rm-1 {
    --testimonial-bg: #edf2f5;
    --testimonial-icon-color: #c6cdd1;
    --testimonial-icon-size: 1.25rem;
    --testimonial-star-color: var(--secondary-color);
    --testimonial-text-size: 15px;
    --testimonial-title-size: 17px;
}
.testimonial-rm-1 .testimonial__name::before {
    content: "\2014\00a0";
}
/* 1: the original theme 1 blockquote */
.testimonial.testimonial-rm-1 {
    --testimonial-padding: 2.125rem 2.25rem 2.875rem;
    --testimonial-accent: var(--secondary-color);
}
/* ------------------------------------------------------------------ */
/* Property card                                                       */
/* ------------------------------------------------------------------ */
.property-card.property-card-rm-1,
.newdev-card.newdev-card-rm-1 {
    --card-border: 1px solid #ebeef2;
    --card-radius: 0;
    --card-title-color: #191c20;
    --card-price-color: #4b5675;
    --card-muted: #929ba7;
    --meta-value-color: var(--secondary-color);
    --badge-radius: 0;
    --badge-inset: 0;
    --badge-font-size: 12px;
    --badge-padding: .3125rem .625rem;
    --badge-padding-y: .5rem;
    --card-padding: 1.25rem 1.75rem;
    --card-title-size: 20px;
    --card-price-size: 17px;
    --card-img-hover: scale(1.08);
}
/* Theme 1 puts the status tag in the bottom-right corner of the photo */
.property-card.property-card-rm-1 .property-card__badges {
    inset: auto 0 0 0;
    align-items: flex-end;
}
.property-card-rm-1 .property-card__badge--dom {
    display: none;
}
/* 1: the original theme 1 card (property-listing-three-post) */
.property-card-rm-1.property-card-1 .property-card__meta {
    margin: auto -1.75rem -1.25rem;
    padding: .75rem 1.75rem;
    background: #f7f8fa;
    border-top: 1px solid #ebeef2;
}
.property-card-rm-1.property-card-1 .property-card__footer {
    order: -1;
    margin-top: 0;
}
/* 2: large card, theme 1 style: secondary accent bar beside the image */
.property-card-rm-1.property-card-2 {
    --card-padding: 1.5rem 1.75rem;
    border-inline-start: 4px solid var(--secondary-color);
}
.property-card-rm-1.property-card-2 .property-card__meta {
    padding-top: .75rem;
    border-top: 1px solid #ebeef2;
}
/* 3: overlay card, square, prime-colour status */
.property-card-rm-1.property-card-3 {
    --card3-strip-padding: .75rem;
    --card-padding: 1rem 1.25rem;
}
.property-card-rm-1.property-card-3 .property-card__badges {
    inset: 0 0 auto 0;
    align-items: flex-start;
}
.property-card-rm-1.property-card-3 .property-card__meta {
    justify-content: space-between;
}
/* Biography (home aboutSection, #profile_module): square photo on a secondary-colour bar, boxed badge */
.home-about.home-about-rm-1 .home-about__photo img {
    border-radius: 0;
    border-bottom: 4px solid var(--secondary-color);
}
.home-about-rm-1 .home-about__badge {
    border-radius: 0;
    background: var(--prime-color);
    color: #fff;
}
.home-about-rm-1 .home-about__badge .bi {
    color: #fff;
}
.home-about-rm-1 .home-about__role {
    font-size: .875rem;
    letter-spacing: .04em;
    text-transform: uppercase;
}
/* ------------------------------------------------------------------ */
/* Listing detail (Details, UserDetails, nhdetails, precon pages)      */
/* ------------------------------------------------------------------ */
/* Theme 1: square panels on a grey page, uppercase titles with a secondary-colour bar */
.listing-detail.listing-detail-rm-1 {
    --ld-radius: 0;
    --ld-border: 1px solid #ebeef2;
    --ld-surface: #fff;
    --ld-muted: #929ba7;
    background: #f7f8fa;
    padding-bottom: 2rem;
}
/* layout type 2 (?detail=2): square like the rest of theme 1 */
.listing-detail--2.listing-detail-rm-1 {
    --ld-pill: 0;
    --ld-r: 0;
    --ld-r-sm: 0;
}
.listing-detail-rm-1 .header-property-detail {
    border-top: 4px solid var(--secondary-color);
}
.listing-detail-rm-1 .header-property-detail .box-price h3 {
    padding: .5rem 1rem;
    color: #fff;
    background: var(--prime-color);
}
.listing-detail-rm-1 .single-property-element > .title,
.listing-detail-rm-1 .widget-box > .title {
    padding-inline-start: .75rem;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    border-inline-start: 4px solid var(--secondary-color);
}
.listing-detail-rm-1 .single-property-overview .box-icon {
    border: 0;
    border-radius: 0;
    background: #f7f8fa;
}
.listing-detail-rm-1 .flat-gallery-single {
    gap: 4px;
}
/* sidebar: prime title bar on the contact box, square photo, secondary-colour name */
.listing-detail-rm-1 .single-property-contact > .title {
    margin: -1.5rem -1.5rem 1.25rem;
    padding: 1rem 1.5rem;
    color: #fff;
    background: var(--prime-color);
    border-inline-start: 0;
}
.listing-detail-rm-1 .box-avatar .avatar {
    border-radius: 0;
    border: 1px solid #ebeef2;
}
.listing-detail-rm-1 .box-avatar__name {
    color: var(--secondary-color);
    text-transform: uppercase;
    font-size: 1.125rem;
}
.listing-detail.listing-detail-rm-1 {
    --ld-panel: #f7f8fa;
}
/* ------------------------------------------------------------------ */
/* New development card                                                */
/* ------------------------------------------------------------------ */
/* 1: the original theme 1 new-development card: status in the photo's top-right corner */
.newdev-card-rm-1.newdev-card-1 .newdev-card__status {
    top: 0;
    inset-inline-start: auto;
    inset-inline-end: 0;
}
.newdev-card-rm-1.newdev-card-2 {
    --tile-panel-radius: 0;
    --tile-go-radius: 0;
}
.newdev-card-rm-1.newdev-card-2 .newdev-card__body {
    border-inline-start: 4px solid var(--secondary-color);
}
/* ------------------------------------------------------------------ */
/* Site header                                                         */
/* ------------------------------------------------------------------ */
/* Theme 1 look (header-variation-two..five): grey top bar with a hairline,
   uppercase bold menu, the hovered item filled with the prime colour,
   prime-colour submenu with light text, square corners. */
.site-header.site-header-rm-1 {
    --header-topbar-border: #e2e2e2;
    --header-topbar-size: .75rem;
    --nav-link-px: 15px;
    --nav-link-py: 9px;
    --nav-font-size: 14px;
    --nav-font-weight: 700;
    --nav-transform: uppercase;
    /* hover / active: prime text and an animated prime underline (below), no fill (2026-11-22) */
    --nav-hover-color: var(--prime-color);
    --nav-hover-bg: transparent;
    --nav-sub-bg: var(--prime-color);
    --nav-sub-color: #f6f6f6;
    --nav-sub-hover-color: #fff;
    --nav-sub-hover-bg: var(--hover-color);
    --nav-sub-radius: 0;
    --nav-sub-shadow: none;
    --logo-height: 80px;
    --header-bar-py: .625rem;
}
.site-header-rm-1 .site-header__topbar {
    text-transform: uppercase;
}
/* Social icons as boxed cells, as in header-variation-two */
.site-header-rm-1 .site-header__topbar .site-social {
    gap: 0;
    align-self: stretch;
}
.site-header-rm-1 .site-header__topbar .site-social__link {
    width: 2.75rem;
    height: 100%;
    border-inline-start: 1px solid var(--header-topbar-border);
    color: #b1b1b1;
}
.site-header-rm-1 .site-header__topbar .site-social__link:last-child {
    border-inline-end: 1px solid var(--header-topbar-border);
}
.site-header-rm-1 .site-header__topbar .site-social__link:hover {
    background-color: var(--prime-color);
    color: #fff;
}
.site-header-rm-1 .site-header__action {
    font-size: 12px;
    text-transform: uppercase;
    color: var(--header-color);
}
.theme-rm-1 .site-brand__name {
    font-size: 1.75rem;
}
/* 2: Center - hairlines above and below the menu row (header-variation-three) */
@media (min-width: 1200px) {
    .site-header-rm-1.site-header-2 .offcanvas {
        margin-top: .5rem;
        border-top: 1px solid #f0f0f0 !important;
    }
    .site-header-rm-1.site-header-2 .offcanvas-body {
        padding-top: .25rem;
    }
}
/* 3: Compact - a thin prime-colour rule along the bottom */
.site-header-rm-1.site-header-3 {
    border-bottom: 3px solid var(--prime-color);
}
/* 4: Transparent - white hairline under the bar while over the hero */
.site-header-rm-1.site-header-4.is-overlay:not(.is-scrolled) .site-header__bar {
    border-bottom: 1px solid rgba(255, 255, 255, .25);
}
/* ------------------------------------------------------------------ */
/* Site footer                                                         */
/* ------------------------------------------------------------------ */
/* Theme 1 look (site-footer-two): slate background, uppercase widget
   titles, square social cells. */
.site-footer.site-footer-rm-1 {
    --footer-title-transform: uppercase;
    --footer-social-radius: 0;
    --footer-social-size: 2.5rem;
}
.site-footer-rm-1 .site-footer__title {
    letter-spacing: .04em;
}
/* 2: four columns, titles with a short accent rule */
.site-footer-rm-1.site-footer-2 .site-footer__title::after {
    content: "";
    display: block;
    width: 30px;
    height: 3px;
    margin-top: .6rem;
    background-color: var(--secondary-color);
}
/* 3: band with the secondary colour as a top rule */
.site-footer-rm-1.site-footer-3 {
    border-top: 4px solid var(--secondary-color);
}
.theme-rm-1 .auth-modal {
    --auth-radius: 0;
}
/* ------------------------------------------------------------------ */
/* About: agent profile + award strip                                  */
/* ------------------------------------------------------------------ */
.agent-profile.agent-profile-rm-1 {
    --agent-name-size: 24px;
    --agent-role-color: #7c848b;
    --agent-designation-color: var(--secondary-color);
    --agent-social-radius: 0;
    --agent-social-border: 1px solid #dfe5e8;
    --agent-social-color: #7c848b;
    --agent-form-bg: #f6f6f6;
    --agent-form-border: 0;
    --agent-card-border: 1px solid #dfe5e8;
}
.agent-profile-rm-1 .agent-profile__name {
    text-transform: uppercase;
}
.agent-profile-rm-1 .agent-profile__form-title {
    padding-bottom: .5rem;
    border-bottom: 3px solid var(--secondary-color);
    font-size: 18px;
    text-transform: uppercase;
}
.theme-rm-1 .award-strip {
    --award-item-border: 1px solid #dfe5e8;
}
.theme-rm-1 .award-strip__title {
    font-size: 22px;
}
/* ------------------------------------------------------------------ */
/* Homepage: hero and sections                                         */
/* ------------------------------------------------------------------ */
.theme-rm-1 .home-hero {
    --hero-height: 600px;
}
.theme-rm-1 .home-section .section-title {
    text-transform: uppercase;
}
.theme-rm-1 .home-section .section-title::after {
    content: "";
    display: block;
    width: 50px;
    height: 3px;
    margin: .75rem auto 0;
    background-color: var(--secondary-color);
}
.theme-rm-1 .home-services {
    --home-service-bg: transparent;
    --home-services-overlay: rgba(0, 0, 0, .7); /* as the BS3 theme (.submit-property-one:before) */
}
.theme-rm-1 .home-cta2__box {
    --cta2-bg: #4a525d;
}
.theme-rm-1 .area-card {
    aspect-ratio: 1 / 1; border-radius: 50%;
}
.theme-rm-1 .area-card__name {
    text-align: center; bottom: 45%;
}
/* ------------------------------------------------------------------ */
/* Custom pages (page builder, version 5)                              */
/* ------------------------------------------------------------------ */
/* Theme 1 concept: square corners, slate greys, secondary-colour accent bar.
   Every style type of rm-form and rm-marketwatch (see style.css 16.0). */
.theme-rm-1 .rm-page {
    --rm-field-py: .75rem;
}

/* Form 1: the original theme 1 form (bordered square fields, labels above) */
.theme-rm-1 .rm-form.rm-form-rm-1 {
    --rm-field-bg: #fff;
    --rm-field-border: #dde3e7;
}

/* Form 2: grey panel, filled fields, accent bar on the left */
.theme-rm-1 .rm-form.rm-form-rm-2 {
    --rm-field-bg: #fff;
    --rm-field-border: transparent;
    padding: 2rem 1.5rem;
    border-inline-start: 4px solid var(--secondary-color);
    background: #f4f6f7;
}

/* Form 3: white card with a slate top rule */
.theme-rm-1 .rm-form.rm-form-rm-3 {
    --rm-field-bg: #f4f6f7;
    --rm-field-border: #f4f6f7;
    padding: 2rem 1.5rem;
    border: 1px solid #dde3e7;
    border-top: 4px solid #4a525d;
    background: #fff;
}

.theme-rm-1 .rm-form.rm-form-rm-3 .form-label {
    font-size: .8125rem;
    letter-spacing: .04em;
    text-transform: uppercase;
}

/* Market Watch 1: the original soldstat boxes (bordered, prime value) */
.theme-rm-1 .rm-marketwatch.rm-marketwatch-rm-1 {
    --rm-stat-border: 1px solid #dde3e7;
    --rm-stat-bg: #fff;
}

/* Market Watch 2: slate panels, white text, secondary accent bar */
.theme-rm-1 .rm-marketwatch.rm-marketwatch-rm-2 {
    --rm-stat-bg: #4a525d;
    --rm-stat-color: #fff;
    --rm-stat-value-color: #fff;
    --rm-stat-border: 0;
}

.theme-rm-1 .rm-marketwatch.rm-marketwatch-rm-2 .rm-stat {
    border-bottom: 4px solid var(--secondary-color);
}

/* Market Watch 3: prime-colour panels */
.theme-rm-1 .rm-marketwatch.rm-marketwatch-rm-3 {
    --rm-stat-bg: var(--prime-color);
    --rm-stat-color: #fff;
    --rm-stat-value-color: #fff;
    --rm-stat-border: 0;
}

/* ------------------------------------------------------------------ */
/* Content pages (style.css 17.0)                                      */
/* ------------------------------------------------------------------ */
/* Theme 1 look: square, slate hairlines, uppercase titles, secondary accent */
.theme-rm-1 .content-page {
    --content-heading-size: 1.25rem;
    --content-box-bg: #f6f6f6;
    --guide-title-transform: uppercase;
    --side-promo-title-transform: uppercase;
    --app-agent-radius: 50%;
}
.theme-rm-1 .content-page__heading {
    padding-inline-start: .75rem;
    border-inline-start: 3px solid var(--secondary-color);
    text-transform: uppercase;
}
.theme-rm-1 .guide-accordion .accordion-button:not(.collapsed) {
    box-shadow: inset 3px 0 0 var(--secondary-color);
}
.theme-rm-1 .side-promo__title {
    font-size: 1rem;
}
.theme-rm-1 .status-page__title {
    text-transform: uppercase;
}

/* ================================================================== */
/* THEME 2  (.x.x-rm-2, html.theme-rm-2)                              */
/* ================================================================== */
/* ------------------------------------------------------------------ */
/* Tokens (defaults; the admin profile overrides the brand ones)       */
/* ------------------------------------------------------------------ */
:root.theme-rm-2 {
    --prime-color: #004e9b;
    --prime-color-rgb: 0, 78, 155;
    --secondary-color: #a84a9c;
    --secondary-color-rgb: 168, 74, 156;
    --hover-color: #0dbae8;
    --hover-color-rgb: 13, 186, 232;
    --header-color: #7c848b;
    --header-bg-color: #ffffff;
    --footer-color: #f6f6f6;
    --footer-bg-color: #4a525d;
    --body-font-family: 'PT Sans', Helvetica, Arial, sans-serif;
    --body-font-size: 14px;
    --body-font-weight: 400;
    --body-font-color: #484848;
    --body-line-height: 1.642;
    --menu-font-color: #191c20;
    --titlebar-font-color: #ffffff;
    --title-font-family: 'PT Sans', Helvetica, Arial, sans-serif;
    --title-font-size: 30px;
    --title-font-weight: 700;
    --title-font-color: #0d263b;
    --heading-color: var(--title-font-color); /* plain h1-h6, cards (BS3 look) */
    --display-pagehead: block;
    --pagehead-bg: url(/images/placeholders/banner.jpg);
    --service-section-bg: url(/images/placeholders/hiw-bg.jpg);
    /* Theme scale */
    --bs-border-radius: 3px;
    --bs-border-radius-sm: 3px;
    --bs-border-radius-lg: 6px;
    --bs-border-color: #ebebeb;
    --section-space: 4.5rem;
    --section-title-size: 1.875rem;
    --section-title-space: 3rem;
    --btn-radius: 3px;
    --btn-font-weight: 600;
}
.theme-rm-2 .section-title {
    text-align: center;
}
/* ------------------------------------------------------------------ */
/* Page head                                                           */
/* ------------------------------------------------------------------ */
.page-head.page-head-rm-2 {
    --page-head-fallback-bg: #1d293e;
    --page-head-overlay: rgba(29, 41, 62, .7);
    --page-head-space: 3.125rem;
    --page-head-space-md: 3.125rem;
    --page-head-title-size: 26px;
    --page-head-title-size-md: 30px;
}
.page-head-rm-2 .page-head__title {
    line-height: 38px;
}
.page-head-rm-2 .page-head__breadcrumb {
    text-transform: capitalize;
}
/* ------------------------------------------------------------------ */
/* Testimonial                                                         */
/* ------------------------------------------------------------------ */
.testimonial.testimonial-rm-2 {
    --testimonial-bg: #fafafa;
    --testimonial-color: #696969;
    --testimonial-star-color: #ffc78b;
    --testimonial-star-size: 13px;
    --testimonial-icon-color: rgba(13, 39, 59, .08);
    --testimonial-text-size: 14px;
    --testimonial-text-line-height: 24px;
    --testimonial-radius: 3px;
}
.testimonial-rm-2 .testimonial__title,
.testimonial-rm-2 .testimonial__name {
    color: var(--title-font-color);
}
.testimonial-rm-2 .testimonial__name {
    font-size: 16px;
}
/* 2: the original theme 2 testimonial */
.testimonial.testimonial-rm-2 {
    --testimonial-padding: 2.8125rem 3.4375rem 3.125rem;
    --testimonial-icon-size: 5rem;
}
.testimonial.testimonial-rm-2 .testimonial__icon {
    position: absolute;
    top: .5rem;
    inset-inline-start: 1rem;
    order: 0;
}
/* ------------------------------------------------------------------ */
/* Property card                                                       */
/* ------------------------------------------------------------------ */
.property-card.property-card-rm-2,
.newdev-card.newdev-card-rm-2 {
    --card-border: 1px solid #e6e9ec;
    --card-radius: 3px;
    --card-title-color: #0d263b;
    --card-price-color: #4b5675;
    --card-muted: #696969;
    --card-shadow-hover: 0 0 30px rgba(13, 38, 59, .12);
    --meta-icon-color: var(--prime-color);
    --meta-value-color: var(--prime-color);
    --badge-radius: 3px;
    --badge-font-size: 10px;
    --badge-padding: .375rem .8125rem;
    --badge-padding-y: .55rem;
    --badge-bg: var(--secondary-color);
    --badge-inset: .625rem;
    --card-img-bg: #0d263b;
    --card-title-size: 16px;
    --card-padding: 1.25rem;
    --card-img-hover: none;
}
.property-card.property-card-rm-2:hover .property-card__img,
.newdev-card.newdev-card-rm-2:hover .newdev-card__img {
    opacity: .7;
}
.property-card-rm-2 .property-card__title {
    font-weight: 600;
}
/* 1: theme 2 card (feat_property): rounded photo with the details laid over it */
.property-card-rm-2.property-card-1 {
    --card-border: 0;
    --card-radius: 8px;
    --card-shadow-hover: 0 10px 30px rgba(13, 38, 59, .25);
    --card-lift: translateY(-4px);
    --card-img-ratio: 4 / 3.4;
}
/* the photo fills the whole card, so the overlay sits on it in any row height */
.property-card-rm-2.property-card-1 .property-card__media {
    flex: 1 0 auto;
}
.property-card-rm-2.property-card-1:hover .property-card__img {
    opacity: 1;
    transform: scale(1.06);
}
.property-card-rm-2.property-card-1 .property-card__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(13, 38, 59, 0) 35%, rgba(13, 38, 59, .9) 100%);
}
.property-card-rm-2.property-card-1 .property-card__body {
    position: absolute;
    inset: auto 0 0 0;
    z-index: 2;
    gap: .25rem;
    color: #fff;
}
.property-card-rm-2.property-card-1 .property-card__eyebrow,
.property-card-rm-2.property-card-1 .property-card__meta-label,
.property-card-rm-2.property-card-1 .property-card__footer {
    color: rgba(255, 255, 255, .8);
}
.property-card-rm-2.property-card-1 .property-card__title a,
.property-card-rm-2.property-card-1 .property-card__price {
    color: #fff;
}
.property-card-rm-2.property-card-1 .property-card__price {
    font-size: 18px;
}
.property-card-rm-2.property-card-1 .property-card__meta {
    --meta-icon-color: #fff;
    --meta-value-color: #fff;
    margin-top: .25rem;
    padding-top: .5rem;
    border-top: 1px solid rgba(255, 255, 255, .25);
}
/* 2: large card in theme 2: soft panel on the right */
.property-card-rm-2.property-card-2 {
    --card-bg: #f7f9fc;
}
.property-card-rm-2.property-card-2 .property-card__price {
    order: -1;
}
/* 3: the original theme 2 carousel card (all_listing_style5) */
.property-card-rm-2.property-card-3 .property-card__meta {
    --meta-value-color: var(--prime-color);
}
/* Biography (home aboutSection, #profile_module): soft card shadow, brand badge */
.home-about.home-about-rm-2 .home-about__photo img {
    border-radius: 8px;
    box-shadow: 0 0 30px rgba(13, 38, 59, .12);
}
.home-about-rm-2 .home-about__badge {
    border-radius: 3px;
    background: var(--secondary-color);
    color: #fff;
}
.home-about-rm-2 .home-about__badge .bi {
    color: #fff;
}
.home-about-rm-2 .home-about__role {
    color: #696969;
}
/* ------------------------------------------------------------------ */
/* Listing detail (Details, UserDetails, nhdetails, precon pages)      */
/* ------------------------------------------------------------------ */
/* Theme 2: borderless white panels with a soft shadow on a light page, round prime icons */
.listing-detail.listing-detail-rm-2 {
    --ld-radius: 8px;
    --ld-border: 0;
    --ld-surface: #fff;
    --ld-muted: #696969;
    background: #f7f7f7;
    padding-bottom: 2rem;
}
.listing-detail-rm-2 .header-property-detail,
.listing-detail-rm-2 .single-property-element,
.listing-detail-rm-2 .widget-box,
.listing-detail-rm-2 .agent_search_form {
    box-shadow: 0 0 30px rgba(13, 38, 59, .07);
}
.listing-detail-rm-2 .header-property-detail .content-top .title,
.listing-detail-rm-2 .single-property-element > .title,
.listing-detail-rm-2 .widget-box > .title {
    color: #0d263b;
    font-weight: 700;
}
.listing-detail-rm-2 .header-property-detail .box-price h3 {
    color: var(--secondary-color);
}
.listing-detail-rm-2 .single-property-overview .box-icon {
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: var(--prime-color);
}
.listing-detail-rm-2 .flat-gallery-single .box-img {
    border-radius: 8px;
}
/* sidebar: photo in a prime ring, dark navy name, light-blue stats panel */
.listing-detail-rm-2 .box-avatar .avatar {
    box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--prime-color);
}
.listing-detail-rm-2 .box-avatar__name {
    color: #0d263b;
    font-weight: 600;
}
.listing-detail-rm-2 .box-avatar__role {
    color: var(--prime-color);
}
.listing-detail.listing-detail-rm-2 {
    --ld-panel: #f7f9fc;
}
/* ------------------------------------------------------------------ */
/* New development card                                                */
/* ------------------------------------------------------------------ */
/* 1: the original theme 2 card (all_listing_style4) */
.newdev-card-rm-2.newdev-card-1 .newdev-card__status {
    background: var(--secondary-color);
}
/* 2: tile in theme 2: navy panel */
.newdev-card-rm-2.newdev-card-2 {
    --tile-panel-bg: rgba(13, 38, 59, .92);
    --tile-panel-radius: 3px;
    --tile-go-radius: 3px;
}
.newdev-card-rm-2.newdev-card-2 .newdev-card__title a,
.newdev-card-rm-2.newdev-card-2 .newdev-card__go {
    color: #fff;
}
.newdev-card-rm-2.newdev-card-2 .newdev-card__status,
.newdev-card-rm-2.newdev-card-2 .newdev-card__builder {
    color: rgba(255, 255, 255, .75);
}
.newdev-card-rm-2.newdev-card-2 .newdev-card__go {
    border-color: rgba(255, 255, 255, .35);
}
/* ------------------------------------------------------------------ */
/* Site header                                                         */
/* ------------------------------------------------------------------ */
/* Theme 2 look (menu_style_home_one / home5 / home15 / home6):
   prime-colour top bar with white text, soft shadow, menu with a short
   secondary-colour bar that slides in under the hovered item, white
   submenu with a prime-colour top border. */
.site-header.site-header-rm-2 {
    --header-topbar-bg: var(--prime-color);
    --header-topbar-color: #fff;
    --header-topbar-border: transparent;
    --header-shadow: 0 0 10px rgba(0, 0, 0, .1);
    --nav-link-px: 10px;
    --nav-link-py: 1.25rem;
    --nav-gap: .75rem;
    --nav-font-size: 15px;
    --nav-font-weight: 400;
    --nav-transform: capitalize;
    --nav-color: var(--menu-font-color);
    --nav-hover-color: var(--menu-font-color);
    --nav-sub-color: var(--menu-font-color);
    --nav-sub-hover-color: var(--prime-color);
    --nav-sub-hover-bg: transparent;
    --nav-sub-border-top: 2px solid var(--prime-color);
    --nav-sub-radius: 0 0 var(--bs-border-radius) var(--bs-border-radius);
    --nav-sub-shadow: 0 .75rem 1.5rem rgba(13, 38, 59, .12);
    --header-bar-py: 0;
    --logo-height: 70px;
}
.site-header-rm-2 .site-header__topbar .site-contact a,
.site-header-rm-2 .site-header__topbar .site-social__link {
    opacity: .9;
}
.site-header-rm-2 .site-header__topbar .site-contact a:hover,
.site-header-rm-2 .site-header__topbar .site-social__link:hover {
    color: #fff;
    opacity: 1;
}
@media (min-width: 1200px) {
    .site-header-rm-2 .site-header__bar {
        min-height: 5.5rem;
    }
    .site-header-rm-2 .site-nav > .site-nav__item > .site-nav__link {
        position: relative;
    }
    .site-header-rm-2 .site-nav > .site-nav__item > .site-nav__link::before {
        content: "";
        position: absolute;
        inset-inline-start: var(--nav-link-px);
        bottom: .9rem;
        width: 0;
        height: 2px;
        background-color: var(--prime-color);
        opacity: 0;
        transition: width .3s ease, opacity .3s ease;
    }
    .site-header-rm-2 .site-nav > .site-nav__item:hover > .site-nav__link::before,
    .site-header-rm-2 .site-nav > .site-nav__item.is-active > .site-nav__link::before {
        width: 40px;
        opacity: 1;
    }
    .theme-rm-2 .site-nav__sub .dropdown-item:hover {
        padding-inline-start: 1.5rem;
    }
    .theme-rm-2 .site-nav__sub .dropdown-item {
        transition: padding .2s ease, color .2s ease;
    }
}
.site-header-rm-2 .site-signin {
    padding: .5rem 1.125rem;
    border: 1px solid var(--bs-border-color);
    border-radius: var(--bs-border-radius);
    font-weight: 600;
}
.site-header-rm-2 .site-signin.is-icon {
    padding: 0;
    border-radius: 50%;
}
.site-header-rm-2.site-header-4.is-overlay:not(.is-scrolled) .site-signin {
    border-color: rgba(255, 255, 255, .5);
}
.theme-rm-2 .site-brand__name {
    color: var(--title-font-color);
}
/* 2: Center - logo row gets breathing room (menu_style_home_five) */
.site-header-rm-2.site-header-2 .site-brand {
    padding-top: .75rem;
}
/* ------------------------------------------------------------------ */
/* Site footer                                                         */
/* ------------------------------------------------------------------ */
/* Theme 2 look (footer_one): roomy, 16px bold titles, light link weight,
   quick links with a sliding underline, rounded-square social icons. */
.site-footer.site-footer-rm-2 {
    --footer-main-py: 5.5rem 3.5rem;
    --footer-social-radius: 3px;
    --footer-social-bg: transparent;
}
.site-footer-rm-2 .site-footer__title {
    margin-bottom: 1.5rem;
}
.site-footer-rm-2 .site-footer__links a,
.site-footer-rm-2 .site-footer__contact a {
    font-weight: 500;
}
.site-footer-rm-2 .site-footer__links a {
    position: relative;
}
.site-footer-rm-2 .site-footer__links a::before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background-color: currentColor;
    opacity: 0;
    transition: width .3s ease, opacity .3s ease;
}
.site-footer-rm-2 .site-footer__links a:hover::before {
    width: 100%;
    opacity: 1;
}
.site-footer-rm-2 .site-footer__social a:hover {
    background-color: rgba(255, 255, 255, .1);
    color: #fff;
}
.site-footer-rm-2 .site-footer__copy {
    font-size: 15px;
}
.theme-rm-2 .auth-modal {
    --auth-benefits-bg: #0d263b;
}
/* ------------------------------------------------------------------ */
/* About: agent profile + award strip                                  */
/* ------------------------------------------------------------------ */
.agent-profile.agent-profile-rm-2 {
    --agent-name-size: 22px;
    --agent-role-color: #484848;
    --agent-card-border: 1px solid #ebebeb;
    --agent-card-radius: 8px;
    --agent-photo-radius: 8px;
    --agent-form-border: 1px solid #ebebeb;
    --agent-form-radius: 8px;
    --agent-contact-divider: 0;
}
.agent-profile-rm-2 .agent-profile__card,
.agent-profile-rm-2 .agent-profile__form {
    box-shadow: 0 0 30px rgba(0, 0, 0, .05);
}
.agent-profile-rm-2 .agent-profile__form-title::after {
    content: "";
    display: block;
    width: 40px;
    height: 2px;
    margin-top: .5rem;
    background-color: var(--secondary-color);
}
.theme-rm-2 .award-strip {
    --award-item-radius: 8px;
    --award-item-border: 1px solid #ebebeb;
    --award-title-transform: none;
}
/* ------------------------------------------------------------------ */
/* Hiva market stats                                                   */
/* ------------------------------------------------------------------ */
/* Theme 2 differences from style.css 14.0 (see legacy/theme-2/hiva.css). */
.theme-rm-2 .proptypestat {
    padding: 15px;
}
.theme-rm-2 .proptypestat h4 {
    font-size: 1.6rem;
}
.theme-rm-2 .housestat h3 {
    font-size: 1.7rem;
}
/* ------------------------------------------------------------------ */
/* Homepage: hero and sections                                         */
/* ------------------------------------------------------------------ */
.theme-rm-2 .home-hero {
    --hero-height: 860px;
}
@media (max-width: 991.98px) {
    .theme-rm-2 .home-hero {
        --hero-height: 560px;
    }
}
.theme-rm-2 .home-section {
    --home-card-radius: 8px;
    --news-card-border: 1px solid #ebebeb;
}
.theme-rm-2 .home-section .section-title::after {
    content: "";
    display: block;
    width: 40px;
    height: 2px;
    margin: .75rem auto 0;
    background-color: var(--secondary-color);
}
.theme-rm-2 .news-card,
.theme-rm-2 .ministat__card,
.theme-rm-2 .home-tool {
    box-shadow: 0 0 30px rgba(0, 0, 0, .05);
}
.theme-rm-2 .home-cta2 {
    background: url(/images/neighbourhood.jpg) no-repeat center / cover;
}
.theme-rm-2 .home-cta2__box {
    --cta2-bg: rgba(0, 0, 0, .45);
}
/* ------------------------------------------------------------------ */
/* Custom pages (page builder, version 5)                              */
/* ------------------------------------------------------------------ */
/* Theme 2 concept: navy headings, soft grey panels, 3px corners.
   Every style type of rm-form and rm-marketwatch (see style.css 16.0). */
.theme-rm-2 .rm-page {
    --rm-field-py: .7rem;
}

/* Form 1: plain bordered fields on the page */
.theme-rm-2 .rm-form.rm-form-rm-1 {
    --rm-field-bg: #fff;
    --rm-field-border: #ebebeb;
}

/* Form 2: the original theme 2 look (soft grey panel, white fields) */
.theme-rm-2 .rm-form.rm-form-rm-2 {
    --rm-field-bg: #fff;
    --rm-field-border: #ebebeb;
    padding: 2rem;
    border-radius: 6px;
    background: #f7f7f7;
}

/* Form 3: white card with a soft shadow, grey filled fields */
.theme-rm-2 .rm-form.rm-form-rm-3 {
    --rm-field-bg: #f7f7f7;
    --rm-field-border: #f7f7f7;
    padding: 2rem;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .09);
}

/* Market Watch 1: bordered boxes */
.theme-rm-2 .rm-marketwatch.rm-marketwatch-rm-1 {
    --rm-stat-border: 1px solid #ebebeb;
}

/* Market Watch 2: the original theme 2 grey panels */
.theme-rm-2 .rm-marketwatch.rm-marketwatch-rm-2 {
    --rm-stat-bg: #f7f7f7;
    --rm-stat-border: 0;
    --rm-stat-radius: 6px;
}

/* Market Watch 3: navy panels (theme 2 banner colour) */
.theme-rm-2 .rm-marketwatch.rm-marketwatch-rm-3 {
    --rm-stat-bg: #24324a;
    --rm-stat-color: #fff;
    --rm-stat-value-color: #fff;
    --rm-stat-border: 0;
    --rm-stat-radius: 6px;
}

/* ------------------------------------------------------------------ */
/* Content pages (style.css 17.0)                                      */
/* ------------------------------------------------------------------ */
/* Theme 2 look: light cards with soft shadows, small radius */
.theme-rm-2 .content-page {
    --content-heading-size: 1.375rem;
    --content-box-bg: #f7f7f7;
    --guide-title-transform: none;
    --side-promo-title-transform: none;
    --side-promo-border: 0;
}
.theme-rm-2 .side-promo,
.theme-rm-2 .guide-accordion .accordion-item {
    box-shadow: 0 1px 4px rgba(24, 26, 32, .07);
}
.theme-rm-2 .guide-accordion {
    --bs-accordion-border-color: transparent;
}
.theme-rm-2 .guide-accordion .accordion-item + .accordion-item {
    margin-top: .75rem;
}
.theme-rm-2 .guide-accordion .accordion-item {
    border-radius: var(--bs-border-radius);
}

/* ================================================================== */
/* THEME 3  (.x.x-rm-3, html.theme-rm-3)                              */
/* ================================================================== */
/* ------------------------------------------------------------------ */
/* Tokens (defaults; the admin profile overrides the brand ones)       */
/* ------------------------------------------------------------------ */
:root.theme-rm-3 {
    --prime-color: #004e9b;
    --prime-color-rgb: 0, 78, 155;
    --secondary-color: #a84a9c;
    --secondary-color-rgb: 168, 74, 156;
    --hover-color: #0dbae8;
    --hover-color-rgb: 13, 186, 232;
    --header-color: #7c848b;
    --header-bg-color: #ffffff;
    --footer-color: #f6f6f6;
    --footer-bg-color: #4a525d;
    --body-font-family: 'Manrope', sans-serif;
    --body-font-size: 14px;
    --body-font-weight: 400;
    --body-font-color: #161e2d;
    --body-line-height: 1.6;
    --menu-font-color: #191c20;
    --titlebar-font-color: #ffffff;
    --title-font-family: 'Manrope', sans-serif;
    --title-font-size: 30px;
    --title-font-weight: 700;
    --title-font-color: #161e2d;
    --heading-color: #161e2d; /* plain h1-h6, cards (BS3 look) */
    --display-pagehead: block;
    --pagehead-bg: url(/images/placeholders/banner.jpg);
    --service-section-bg: url(/images/placeholders/hiw-bg.jpg);
    /* Theme scale */
    --bs-border-radius: .5rem;
    --bs-border-radius-sm: .375rem;
    --bs-border-radius-lg: 1rem;
    --bs-border-color: #e4e4e4;
    --section-space: 5rem;
    --section-title-size: 2.25rem;
    --section-title-space: 2.5rem;
    --btn-radius: .5rem;
    --btn-font-weight: 600;
}
/* ------------------------------------------------------------------ */
/* Page head                                                           */
/* ------------------------------------------------------------------ */
.page-head.page-head-rm-3 {
    --page-head-fallback-bg: #161e2d;
    --page-head-overlay: rgba(0, 0, 0, .3);
    --page-head-space: 4rem;
    --page-head-space-md: 5rem;
    --page-head-title-size: 30px;
    --page-head-title-size-md: 44px;
}
.page-head-rm-3 .page-head__title {
    letter-spacing: .02em;
}
/* 3: the original theme 3 inset card */
.page-head.page-head-rm-3 {
    --page-head-radius: 15px;
    --page-head-inset: 15px;
    --page-head-inset-top: 50px;
    --page-head-inset-xl: 100px;
}
/* ------------------------------------------------------------------ */
/* Testimonial                                                         */
/* ------------------------------------------------------------------ */
.testimonial.testimonial-rm-3 {
    --testimonial-bg: #f8f8f8;
    --testimonial-border: 1px solid #e4e4e4;
    --testimonial-radius: 16px;
    --testimonial-padding: 1.25rem 1.5rem;
    --testimonial-star-color: #ffa800;
    --testimonial-icon-color: var(--prime-color);
}
.testimonial-rm-3 .testimonial__name {
    font-size: 1rem;
}
/* 3: the original theme 3 box with the big quote icon */
.testimonial.testimonial-rm-3 {
    --testimonial-icon-size: 60px;
}
/* ------------------------------------------------------------------ */
/* Property card                                                       */
/* ------------------------------------------------------------------ */
.property-card.property-card-rm-3,
.newdev-card.newdev-card-rm-3 {
    --card-border: 1px solid #e4e4e4;
    --card-radius: 16px;
    --card-title-color: #161e2d;
    --card-price-color: #4b5675;
    --card-muted: #5c6368;
    --meta-icon-color: #a3abb0;
    --meta-value-color: #161e2d;
    --badge-radius: 99px;
    --badge-font-size: 11px;
    --badge-padding: .1875rem 1rem; /* pills: more room at the sides */
    --badge-padding-y: .45rem;
    --badge-bg: rgba(0, 0, 0, .3);
    --badge-inset: 1rem;
    --card-padding: 1.25rem;
    --card-title-size: 1.0625rem;
    --card-img-hover: scale(1.05);
}
.property-card-rm-3 .property-card__badge--dom {
    background: var(--prime-color);
}
.property-card-rm-3 .property-card__badge--status {
    margin-inline-start: 0;
}
/* 1: the original theme 3 card (homelengo-box) */
.property-card-rm-3.property-card-1 .property-card__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 69%, rgba(0, 0, 0, .7) 100%);
}
.property-card-rm-3.property-card-1 .property-card__meta {
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #e4e4e4;
}
.property-card-rm-3.property-card-1 .property-card__eyebrow {
    order: 9;
    text-transform: none;
    letter-spacing: 0;
    font-weight: 400;
    font-size: .875rem;
}
.property-card-rm-3.property-card-1 .property-card__price {
    order: 10;
    margin-top: -1.75rem;
    align-self: flex-end;
}
/* 2: the original theme 3 list card (list-style-1) */
.property-card-rm-3.property-card-2 {
    --card-border: 1px solid transparent;
}
.property-card-rm-3.property-card-2 .property-card__body {
    background: #fff; /* was #f8f8f8, the same grey as the section behind it */
}
.property-card-rm-3.property-card-2 .property-card__media {
    border-radius: 16px 0 0 16px;
}
@media (max-width: 575.98px) {
    .property-card-rm-3.property-card-2 .property-card__media {
        border-radius: 16px 16px 0 0;
    }
}
/* 3: overlay card in theme 3: rounded with pill badges */
.property-card-rm-3.property-card-3 {
    --card-shadow-hover: 0 30px 60px rgba(0, 0, 0, .1);
}
/* Biography (home aboutSection, #profile_module): large rounded photo with a soft shadow, pill badge
   (white band: the hero above it is grey) */
.home-about.home-about-rm-3 .home-about__photo img {
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, .1);
}
.home-about-rm-3 .home-about__role {
    color: var(--prime-color);
    font-weight: 600;
}
/* Carousel heads (news, testimonials, pre-construction ...): title left, round nav centred on it,
   like theme 4 (user, 2026-11-24) */
.theme-rm-3 .home-section__bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}
.theme-rm-3 .home-section__bar .home-section__head {
    max-width: 720px;
    margin: 0;
    text-align: start;
}
.theme-rm-3 .home-section__bar .home-section__head .section-title,
.theme-rm-3 .home-section__bar .home-section__sub {
    margin-inline: 0;
    text-align: start;
}
.theme-rm-3 .home-section__bar .home-section__head .section-title {
    margin-bottom: 0;
}
.theme-rm-3 .home-section__bar .home-section__head .section-title::after {
    margin-inline: 0;
}
.theme-rm-3 .home-section__nav {
    display: flex;
    gap: .5rem;
    margin: 0;
}
@media (min-width: 768px) {
    .theme-rm-3 .home-section__bar .home-section__nav {
        position: static;
    }
}
.theme-rm-3 .home-section__nav .btn,
.theme-rm-3 .listing-carousel__nav .btn {
    display: inline-grid;
    place-items: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid #e4e4e4;
    border-radius: 50%;
    background: #fff;
    color: #161e2d;
    font-size: 1.1rem;
}
.theme-rm-3 .home-section__nav .btn:hover,
.theme-rm-3 .listing-carousel__nav .btn:hover {
    border-color: var(--prime-color);
    background: var(--prime-color);
    color: #fff;
}
.theme-rm-3 .home-section__nav .btn .bi,
.theme-rm-3 .listing-carousel__nav .btn .bi {
    -webkit-text-stroke: 1px currentColor;
}
/* ------------------------------------------------------------------ */
/* Listing detail (Details, UserDetails, nhdetails, precon pages)      */
/* ------------------------------------------------------------------ */
/* Theme 3: open head on the page, rounded light panels, pill buttons */
.listing-detail.listing-detail-rm-3 {
    --ld-radius: 16px;
    --ld-border: 1px solid #e4e4e4;
    --ld-surface: #fff;
    --ld-muted: #5c6368;
}
.listing-detail-rm-3 .header-property-detail {
    padding: 0;
    border: 0;
    background: transparent;
}
.listing-detail-rm-3 .header-property-detail .content-top .title,
.listing-detail-rm-3 .header-property-detail .box-price h3 {
    color: #161e2d;
}
.listing-detail-rm-3 .single-property-element,
.listing-detail-rm-3 .widget-box {
    background: #f8f8f8;
    border-color: transparent;
}
.listing-detail-rm-3 .single-property-overview .box-icon {
    border-radius: 12px;
    background: #fff;
}
.listing-detail-rm-3 .btn {
    border-radius: 999px;
}
/* sidebar: large dark name, rounded inputs, white stats panel inside the grey box */
.listing-detail-rm-3 .box-avatar__name {
    color: #161e2d;
    font-size: 1.375rem;
    font-weight: 800;
}
.listing-detail-rm-3 .single-property-contact .form-control {
    border-radius: 12px;
}
.listing-detail.listing-detail-rm-3 {
    --ld-panel: #fff;
}
/* overview values semibold under their muted labels */
.listing-detail-rm-3 .single-property-overview .content > span:not(.label) {
    font-weight: 600;
}
/* ------------------------------------------------------------------ */
/* New development card                                                */
/* ------------------------------------------------------------------ */
/* 1: card in theme 3 */
.newdev-card-rm-3.newdev-card-1 .newdev-card__status {
    background: var(--prime-color);
}
/* 2: the original theme 3 tile (box-location) */
.newdev-card-rm-3.newdev-card-2 {
    --card-border: 0;
    --tile-panel-radius: 12px;
}
/* ------------------------------------------------------------------ */
/* Site header                                                         */
/* ------------------------------------------------------------------ */
/* Theme 3 look (main-header, header-style-2): white with a soft shadow,
   16px semibold menu, a prime-colour underline that grows across the
   hovered item, rounded submenu card with a pointer, outline sign-in
   button. Type 4 follows header-style-2 (white text over the hero). */
.site-header.site-header-rm-3 {
    --header-topbar-bg: #f7f7f7;
    --header-topbar-color: #5c6368;
    --header-topbar-border: #e4e4e4;
    --header-topbar-size: .875rem;
    --header-shadow: 0 4px 18px rgba(0, 0, 0, .078);
    --nav-link-px: 0;
    --nav-link-py: 27px;
    --nav-gap: clamp(1.25rem, 2.4vw - .5rem, 2.5rem);
    --nav-font-size: 16px;
    --nav-font-weight: 600;
    --nav-transform: capitalize;
    --nav-color: #161e2d;
    --nav-hover-color: #161e2d;
    --nav-sub-color: #161e2d;
    --nav-sub-hover-color: var(--prime-color);
    --nav-sub-hover-bg: transparent;
    --nav-sub-width: 280px;
    --nav-sub-radius: 16px;
    --nav-sub-shadow: 0 10px 25px rgba(54, 95, 104, .1);
    --header-bar-py: 0;
    --logo-height: 60px;
}
@media (min-width: 1200px) {
    .site-header-rm-3 .site-header__bar-inner {
        max-width: none;
        padding-inline: clamp(15px, 4vw, 100px);
    }
    .site-header-rm-3 .site-header__topbar-inner {
        max-width: none;
        padding-inline: clamp(15px, 4vw, 100px);
    }
    .site-header-rm-3 .site-nav > .site-nav__item > .site-nav__link {
        position: relative;
    }
    .site-header-rm-3 .site-nav > .site-nav__item > .site-nav__link::before {
        content: "";
        position: absolute;
        inset-inline-end: 0;
        bottom: 25px;
        width: 0;
        height: 2px;
        background-color: var(--prime-color);
        transition: width .6s cubic-bezier(.25, .8, .25, 1);
    }
    .site-header-rm-3 .site-nav > .site-nav__item:hover > .site-nav__link::before,
    .site-header-rm-3 .site-nav > .site-nav__item.is-active > .site-nav__link::before {
        inset-inline-end: auto;
        inset-inline-start: 0;
        width: 100%;
    }
    .theme-rm-3 .site-nav__caret {
        padding-inline-start: 0;
        opacity: .5;
    }
    .site-header-rm-3 .site-nav .site-nav__sub {
        inset-inline-start: -35px;
        padding: .5rem 0;
    }
    /* Pointer above the card */
    .site-header-rm-3 .site-nav .site-nav__sub::before {
        content: "";
        position: absolute;
        bottom: calc(100% - 14px);
        inset-inline-start: 45px;
        border-top: 20px solid #fff;
        border-inline-end: 20px solid transparent;
        transform: rotate(45deg);
    }
    .theme-rm-3 .site-nav__sub .dropdown-item {
        position: relative;
        padding: 9px 24px;
        font-size: 14px;
        line-height: 1.4;
        font-weight: 600;
        transition: padding .4s ease, color .4s ease;
    }
    .theme-rm-3 .site-nav__sub .dropdown-item::before {
        content: "\F138";
        font-family: "bootstrap-icons";
        position: absolute;
        inset-inline-start: 24px;
        opacity: 0;
        transition: opacity .4s ease;
    }
    .theme-rm-3 .site-nav__sub .dropdown-item:hover {
        padding-inline-start: 45px;
    }
    .theme-rm-3 .site-nav__sub .dropdown-item:hover::before {
        opacity: 1;
    }
    .site-header-rm-3.site-header-2 .offcanvas {
        border-top: 1px solid #e4e4e4 !important;
    }
    .site-header-rm-3.site-header-2 .site-brand {
        padding-block: 1rem;
    }
    .site-header-rm-3.site-header-2 {
        --nav-link-py: 20px;
    }
    .site-header-rm-3.site-header-2 .site-nav > .site-nav__item > .site-nav__link::before {
        bottom: 15px;
    }
    .site-header-rm-3.site-header-3 {
        --nav-link-py: 20px;
    }
    .site-header-rm-3.site-header-3 .site-nav > .site-nav__item > .site-nav__link::before {
        bottom: 16px;
    }
}
/* Theme 1 menu: the theme 3 underline, sliding in from the start on hover and on the active item */
@media (min-width: 1200px) {
    .site-header-rm-1 .site-nav > .site-nav__item > .site-nav__link {
        position: relative;
    }
    .site-header-rm-1 .site-nav > .site-nav__item > .site-nav__link::before {
        content: "";
        position: absolute;
        inset-inline-end: var(--nav-link-px);
        bottom: 2px;
        width: 0;
        height: 2px;
        background-color: var(--prime-color);
        transition: width .6s cubic-bezier(.25, .8, .25, 1);
    }
    .site-header-rm-1 .site-nav > .site-nav__item:hover > .site-nav__link::before,
    .site-header-rm-1 .site-nav > .site-nav__item.is-active > .site-nav__link::before {
        inset-inline-end: auto;
        inset-inline-start: var(--nav-link-px);
        width: calc(100% - 2 * var(--nav-link-px));
    }
    .site-header-rm-1.site-header-4.is-overlay:not(.is-scrolled) .site-nav > .site-nav__item > .site-nav__link::before {
        background-color: #fff;
    }
}
/* Outline sign-in button (tf-btn btn-line) */
.site-header-rm-3 .site-signin {
    min-height: 2.5rem;
    padding: .5rem 1.25rem;
    border: 1px solid #e4e4e4;
    border-radius: 999px;
    font-size: .9375rem;
    font-weight: 600;
    color: #161e2d;
}
.site-header-rm-3 .site-signin:hover {
    border-color: var(--prime-color);
    background-color: var(--prime-color);
    color: #fff;
}
.site-header-rm-3 .site-signin.is-icon {
    min-height: 0;
    padding: 0;
}
.theme-rm-3 .site-brand__name {
    color: #161e2d;
}
/* 4: Transparent (header-style-2) */
.site-header-rm-3.site-header-4.is-overlay:not(.is-scrolled) .site-signin {
    border-color: #fff;
}
.site-header-rm-3.site-header-4.is-overlay:not(.is-scrolled) .site-signin:hover {
    background-color: #fff;
    color: var(--prime-color) !important;
}
.site-header-rm-3.site-header-4.is-overlay:not(.is-scrolled) .site-nav > .site-nav__item > .site-nav__link::before {
    background-color: #fff;
}
/* ------------------------------------------------------------------ */
/* Site footer                                                         */
/* ------------------------------------------------------------------ */
/* Theme 3 look (footer, top-footer / inner-footer): rounded social
   pills with an outline, bold titles, generous spacing. */
.site-footer.site-footer-rm-3 {
    --footer-main-py: 3.5rem;
    --footer-title-size: 1.3125rem;
    --footer-social-size: 2.5rem;
    --footer-social-bg: transparent;
    --footer-rule: rgba(255, 255, 255, .1);
}
.site-footer-rm-3 .site-footer__social a {
    border: 1px solid rgba(255, 255, 255, .2);
}
.site-footer-rm-3 .site-footer__social a:hover {
    border-color: var(--prime-color);
}
.site-footer-rm-3 .site-footer__apps .btn {
    border-radius: 999px;
}
.theme-rm-3 .auth-modal {
    --auth-radius: 1rem;
    --auth-benefits-bg: #161e2d;
}
/* Contact pop-up sits bottom-left in theme 3, as before */
.theme-rm-3 .contact-pop {
    --contact-pop-left: 10px;
    --contact-pop-right: auto;
    --contact-pop-align: flex-start;
}
/* ------------------------------------------------------------------ */
/* About: agent profile + award strip                                  */
/* ------------------------------------------------------------------ */
.agent-profile.agent-profile-rm-3 {
    --agent-name-size: 20px;
    --agent-role-color: #5c6368;
    --agent-card-radius: 16px;
    --agent-photo-radius: 16px;
    --agent-form-radius: 16px;
    --agent-form-bg: #f7f7f7;
    --agent-form-border: 0;
    --agent-card-border: 1px solid #e4e4e4;
    --agent-contact-divider: 1px dashed #e4e4e4;
}
.agent-profile.agent-profile-rm-3 .btn {
    border-radius: 999px;
}
.agent-profile-rm-3.agent-profile-3 .agent-profile__card .btn .bi {
    transition: transform .2s ease;
}
.agent-profile-rm-3.agent-profile-3 .agent-profile__card .btn:hover .bi {
    transform: translateX(4px);
}
.theme-rm-3 .award-strip {
    --award-item-radius: 16px;
    --award-item-border: 1px solid #e4e4e4;
    --award-title-transform: none;
}
.theme-rm-3 .award-strip__item {
    transition: box-shadow .2s ease, transform .2s ease;
}
.theme-rm-3 .award-strip__item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, .08);
}
/* ------------------------------------------------------------------ */
/* Hiva market stats                                                   */
/* ------------------------------------------------------------------ */
/* Theme 3 differences from style.css 14.0 (see legacy/theme-3/hiva.css):
   light #e4e4e4 borders and 16px radius. */
.theme-rm-3 #stats {
    border-color: #e4e4e4;
    border-radius: 16px;
}
.theme-rm-3 .statchartsection {
    border: 5px solid #e4e4e4;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
}
.theme-rm-3 .soldstat {
    border-color: #e4e4e4;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
}
.theme-rm-3 .soldstat h4 {
    margin-top: 10px;
}
.theme-rm-3 .soldstat h6 {
    color: #a0a0a0;
    font-size: 16px;
    line-height: 1.5em;
}
/* Theme 3 had no .proptypestat h5 size: back to the Bootstrap h5 size. */
.theme-rm-3 .proptypestat h5 {
    font-size: 1.25rem;
}
/* ------------------------------------------------------------------ */
/* Homepage: hero and sections                                         */
/* ------------------------------------------------------------------ */
.theme-rm-3 .home-hero {
    --hero-3-bg: var(--section-alt-bg, #f7f7f7);
    --hero-search-radius: 999px;
    --hero-image-radius: 24px;
}
.theme-rm-3 .home-hero__search .btn {
    border-radius: 999px;
}
.theme-rm-3 .home-section {
    --home-card-radius: 16px;
    --news-card-border: 1px solid #e4e4e4;
}
.theme-rm-3 .home-services {
    --home-services-bg: var(--section-alt-bg, #f7f7f7);
    --home-services-color: var(--title-font-color);
    --home-service-bg: #fff;
    --home-service-icon-bg: rgba(var(--prime-color-rgb, 0, 78, 155), .1);
    margin-inline: clamp(0rem, 3vw, 3rem);
    /* white space around the rounded panel, so it does not touch the sections above and below */
    margin-block: calc(var(--section-space, 5rem) / 2);
    padding-block: var(--section-space, 5rem);
    border-radius: 30px;
    background-image: none;
}
.theme-rm-3 .home-service__icon {
    color: var(--prime-color);
}
.theme-rm-3 .home-services .btn-outline-primary {
    --bs-btn-color: var(--prime-color);
    --bs-btn-border-color: var(--prime-color);
    --bs-btn-hover-bg: var(--prime-color);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-border-color: var(--prime-color);
    border-radius: 999px;
}
.theme-rm-3 .home-section .btn {
    border-radius: 999px;
}
/* Useful Tools, theme 3: the original Homelengo box-service card (icon, title,
   description, outlined "Learn More"); themes 1 and 2 keep icon + title */
.theme-rm-3 .home-tool {
    align-items: flex-start;
    gap: .75rem;
    padding: 2rem 1.75rem;
    border: 1px solid #e4e4e4;
    border-radius: 16px;
    background-color: #fff;
    font-family: var(--body-font-family);
    font-weight: 400;
    text-align: start;
    text-decoration: none;
}
.theme-rm-3 .home-tool__title {
    font-family: var(--title-font-family);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--heading-color, #161e2d);
}
.theme-rm-3 .home-tool__text {
    display: block;
    font-size: .9375rem;
    line-height: 1.6;
    color: var(--body-font-color);
}
.theme-rm-3 .home-tool__more {
    display: inline-flex;
    align-items: center;
    margin-top: auto;
    padding: .5rem 1.25rem;
    border: 1px solid var(--heading-color, #161e2d);
    border-radius: 999px;
    font-size: .875rem;
    font-weight: 600;
    line-height: 1.2;
    color: var(--heading-color, #161e2d);
    transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.theme-rm-3 .home-tool:hover .home-tool__more {
    border-color: var(--prime-color);
    background-color: var(--prime-color);
    color: #fff;
}
.theme-rm-3 .home-cta2__box {
    --cta2-bg: var(--section-alt-bg, #f7f7f7);
    color: var(--title-font-color);
}
.theme-rm-3 .home-cta2__box .btn-light {
    --bs-btn-bg: var(--prime-color);
    --bs-btn-color: #fff;
    --bs-btn-border-color: var(--prime-color);
}
/* ------------------------------------------------------------------ */
/* Custom pages (page builder, version 5)                              */
/* ------------------------------------------------------------------ */
/* Theme 3 concept: rounded, airy, light borders, soft shadows.
   Every style type of rm-form and rm-marketwatch (see style.css 16.0). */
.theme-rm-3 .rm-page {
    --rm-field-py: .8rem;
    --rm-field-radius: .75rem;
}

/* Form 1: light rounded fields on the page */
.theme-rm-3 .rm-form.rm-form-rm-1 {
    --rm-field-bg: #fff;
    --rm-field-border: #e4e4e4;
}

/* Form 2: pale grey rounded panel */
.theme-rm-3 .rm-form.rm-form-rm-2 {
    --rm-field-bg: #fff;
    --rm-field-border: #e4e4e4;
    padding: 2rem;
    border-radius: 1rem;
    background: #f7f7f7;
}

/* Form 3: the original theme 3 look (white card, big radius, shadow, pill fields) */
.theme-rm-3 .rm-form.rm-form-rm-3 {
    --rm-field-bg: #f7f7f7;
    --rm-field-border: #f7f7f7;
    --rm-field-radius: 999px;
    padding: 2.5rem 2rem;
    border-radius: 1.25rem;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .06);
}

.theme-rm-3 .rm-form.rm-form-rm-3 textarea.form-control {
    border-radius: 1rem;
}

/* Market Watch 1: bordered rounded boxes */
.theme-rm-3 .rm-marketwatch.rm-marketwatch-rm-1 {
    --rm-stat-border: 1px solid #e4e4e4;
    --rm-stat-radius: 1rem;
}

/* Market Watch 2: soft prime tint */
.theme-rm-3 .rm-marketwatch.rm-marketwatch-rm-2 {
    --rm-stat-bg: rgba(var(--prime-color-rgb, 0, 78, 155), .07);
    --rm-stat-border: 0;
    --rm-stat-radius: 1rem;
}

/* Market Watch 3: the original theme 3 look (white cards with a shadow) */
.theme-rm-3 .rm-marketwatch.rm-marketwatch-rm-3 {
    --rm-stat-border: 0;
    --rm-stat-radius: 1.25rem;
    --rm-stat-shadow: 0 10px 30px rgba(0, 0, 0, .07);
    --rm-stat-padding: 2rem 1.5rem;
}

/* ------------------------------------------------------------------ */
/* Content pages (style.css 17.0)                                      */
/* ------------------------------------------------------------------ */
/* Theme 3 look: rounded, roomy, separate accordion cards, bold titles */
.theme-rm-3 .content-page {
    --content-heading-size: 1.5rem;
    --content-box-bg: #f7f7f7;
    --guide-title-transform: none;
    --side-promo-title-transform: none;
    --guide-active-color: var(--title-font-color);
    --guide-active-bg: #fff;
}
.theme-rm-3 .content-page__heading,
.theme-rm-3 .news-post__title {
    font-weight: 800;
}
.theme-rm-3 .guide-accordion .accordion-item {
    border: 1px solid var(--bs-border-color);
    border-radius: var(--bs-border-radius-lg);
    overflow: hidden;
}
.theme-rm-3 .guide-accordion .accordion-item + .accordion-item {
    margin-top: 1rem;
}
.theme-rm-3 .guide-accordion .accordion-button {
    font-size: 1.125rem;
}
.theme-rm-3 .side-promo {
    border-radius: var(--bs-border-radius-lg);
}
.theme-rm-3 .app-promo__stores .btn {
    border-radius: 999px;
}

/* ================================================================== */
/* THEME 4  (.x.x-rm-4, html.theme-rm-4)                              */
/* Base: the theme 3 component looks (theme 4 grew out of it), then   */
/* theme 4's own look further down, which wins.                       */
/* ================================================================== */
/* ------------------------------------------------------------------ */
/* Page head                                                           */
/* ------------------------------------------------------------------ */
.page-head.page-head-rm-4 {
    --page-head-fallback-bg: #161e2d;
    --page-head-overlay: rgba(0, 0, 0, .3);
    --page-head-space: 4rem;
    --page-head-space-md: 5rem;
    --page-head-title-size: 30px;
    --page-head-title-size-md: 44px;
}
.page-head-rm-4 .page-head__title {
    letter-spacing: .02em;
}
/* 3: the original theme 3 inset card */
.page-head.page-head-rm-4 {
    --page-head-radius: 15px;
    --page-head-inset: 15px;
    --page-head-inset-top: 50px;
    --page-head-inset-xl: 100px;
}
/* ------------------------------------------------------------------ */
/* Testimonial                                                         */
/* ------------------------------------------------------------------ */
.testimonial.testimonial-rm-4 {
    --testimonial-bg: #f8f8f8;
    --testimonial-border: 1px solid #e4e4e4;
    --testimonial-radius: 16px;
    --testimonial-padding: 1.25rem 1.5rem;
    --testimonial-star-color: #ffa800;
    --testimonial-icon-color: var(--prime-color);
}
.testimonial-rm-4 .testimonial__name {
    font-size: 1rem;
}
/* 3: the original theme 3 box with the big quote icon */
.testimonial.testimonial-rm-4 {
    --testimonial-icon-size: 60px;
}
/* ------------------------------------------------------------------ */
/* Property card                                                       */
/* ------------------------------------------------------------------ */
.property-card.property-card-rm-4,
.newdev-card.newdev-card-rm-4 {
    --card-border: 1px solid #e4e4e4;
    --card-radius: 16px;
    --card-title-color: #161e2d;
    --card-price-color: #4b5675;
    --card-muted: #5c6368;
    --meta-icon-color: #a3abb0;
    --meta-value-color: #161e2d;
    --badge-radius: 99px;
    --badge-font-size: 11px;
    --badge-padding: .1875rem 1rem; /* pills: more room at the sides */
    --badge-padding-y: .45rem;
    --badge-bg: rgba(0, 0, 0, .3);
    --badge-inset: 1rem;
    --card-padding: 1.25rem;
    --card-title-size: 1.0625rem;
    --card-img-hover: scale(1.05);
}
.property-card-rm-4 .property-card__badge--dom {
    background: var(--prime-color);
}
.property-card-rm-4 .property-card__badge--status {
    margin-inline-start: 0;
}
/* 1: the original theme 3 card (homelengo-box) */
.property-card-rm-4.property-card-1 .property-card__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 69%, rgba(0, 0, 0, .7) 100%);
}
.property-card-rm-4.property-card-1 .property-card__meta {
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #e4e4e4;
}
.property-card-rm-4.property-card-1 .property-card__eyebrow {
    order: 9;
    text-transform: none;
    letter-spacing: 0;
    font-weight: 400;
    font-size: .875rem;
}
.property-card-rm-4.property-card-1 .property-card__price {
    order: 10;
    margin-top: -1.75rem;
    align-self: flex-end;
}
/* 2: the original theme 3 list card (list-style-1) */
.property-card-rm-4.property-card-2 {
    --card-border: 1px solid transparent;
}
.property-card-rm-4.property-card-2 .property-card__body {
    background: #fff; /* was #f8f8f8, the same grey as the section behind it */
}
.property-card-rm-4.property-card-2 .property-card__media {
    border-radius: 16px 0 0 16px;
}
@media (max-width: 575.98px) {
    .property-card-rm-4.property-card-2 .property-card__media {
        border-radius: 16px 16px 0 0;
    }
}
/* 3: overlay card in theme 3: rounded with pill badges */
.property-card-rm-4.property-card-3 {
    --card-shadow-hover: 0 30px 60px rgba(0, 0, 0, .1);
}
/* ------------------------------------------------------------------ */
/* Listing detail (Details, UserDetails, nhdetails, precon pages)      */
/* ------------------------------------------------------------------ */
/* Theme 3: open head on the page, rounded light panels, pill buttons */
.listing-detail.listing-detail-rm-4 {
    --ld-radius: 16px;
    --ld-border: 1px solid #e4e4e4;
    --ld-surface: #fff;
    --ld-muted: #5c6368;
}
.listing-detail-rm-4 .header-property-detail {
    padding: 0;
    border: 0;
    background: transparent;
}
.listing-detail-rm-4 .header-property-detail .content-top .title,
.listing-detail-rm-4 .header-property-detail .box-price h3 {
    color: #161e2d;
}
.listing-detail-rm-4 .single-property-element,
.listing-detail-rm-4 .widget-box {
    background: #f8f8f8;
    border-color: transparent;
}
.listing-detail-rm-4 .single-property-overview .box-icon {
    border-radius: 12px;
    background: #fff;
}
.listing-detail-rm-4 .btn {
    border-radius: 999px;
}
/* sidebar: large dark name, rounded inputs, white stats panel inside the grey box */
.listing-detail-rm-4 .box-avatar__name {
    color: #161e2d;
    font-size: 1.375rem;
    font-weight: 800;
}
.listing-detail-rm-4 .single-property-contact .form-control {
    border-radius: 12px;
}
.listing-detail.listing-detail-rm-4 {
    --ld-panel: #fff;
}
/* ------------------------------------------------------------------ */
/* New development card                                                */
/* ------------------------------------------------------------------ */
/* 1: card in theme 3 */
.newdev-card-rm-4.newdev-card-1 .newdev-card__status {
    background: var(--prime-color);
}
/* 2: the original theme 3 tile (box-location) */
.newdev-card-rm-4.newdev-card-2 {
    --card-border: 0;
    --tile-panel-radius: 12px;
}
/* ------------------------------------------------------------------ */
/* About: agent profile + award strip                                  */
/* ------------------------------------------------------------------ */
.agent-profile.agent-profile-rm-4 {
    --agent-name-size: 20px;
    --agent-role-color: #5c6368;
    --agent-card-radius: 16px;
    --agent-photo-radius: 16px;
    --agent-form-radius: 16px;
    --agent-form-bg: #f7f7f7;
    --agent-form-border: 0;
    --agent-card-border: 1px solid #e4e4e4;
    --agent-contact-divider: 1px dashed #e4e4e4;
}
.agent-profile.agent-profile-rm-4 .btn {
    border-radius: 999px;
}
.agent-profile-rm-4.agent-profile-3 .agent-profile__card .btn .bi {
    transition: transform .2s ease;
}
.agent-profile-rm-4.agent-profile-3 .agent-profile__card .btn:hover .bi {
    transform: translateX(4px);
}
.theme-rm-4 .award-strip {
    --award-item-radius: 16px;
    --award-item-border: 1px solid #e4e4e4;
    --award-title-transform: none;
}
.theme-rm-4 .award-strip__item {
    transition: box-shadow .2s ease, transform .2s ease;
}
.theme-rm-4 .award-strip__item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, .08);
}
/* ------------------------------------------------------------------ */
/* Hiva market stats                                                   */
/* ------------------------------------------------------------------ */
/* Theme 3 differences from style.css 14.0 (see legacy/theme-3/hiva.css):
   light #e4e4e4 borders and 16px radius. */
.theme-rm-4 #stats {
    border-color: #e4e4e4;
    border-radius: 16px;
}
.theme-rm-4 .statchartsection {
    border: 5px solid #e4e4e4;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
}
.theme-rm-4 .soldstat {
    border-color: #e4e4e4;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
}
.theme-rm-4 .soldstat h4 {
    margin-top: 10px;
}
.theme-rm-4 .soldstat h6 {
    color: #a0a0a0;
    font-size: 16px;
    line-height: 1.5em;
}
/* Theme 3 had no .proptypestat h5 size: back to the Bootstrap h5 size. */
.theme-rm-4 .proptypestat h5 {
    font-size: 1.25rem;
}
/* ------------------------------------------------------------------ */
/* Custom pages (page builder, version 5)                              */
/* ------------------------------------------------------------------ */
/* Theme 3 concept: rounded, airy, light borders, soft shadows.
   Every style type of rm-form and rm-marketwatch (see style.css 16.0). */
.theme-rm-4 .rm-page {
    --rm-field-py: .8rem;
    --rm-field-radius: .75rem;
}

/* Form 1: light rounded fields on the page */
.theme-rm-4 .rm-form.rm-form-rm-1 {
    --rm-field-bg: #fff;
    --rm-field-border: #e4e4e4;
}

/* Form 2: pale grey rounded panel */
.theme-rm-4 .rm-form.rm-form-rm-2 {
    --rm-field-bg: #fff;
    --rm-field-border: #e4e4e4;
    padding: 2rem;
    border-radius: 1rem;
    background: #f7f7f7;
}

/* Form 3: the original theme 3 look (white card, big radius, shadow, pill fields) */
.theme-rm-4 .rm-form.rm-form-rm-3 {
    --rm-field-bg: #f7f7f7;
    --rm-field-border: #f7f7f7;
    --rm-field-radius: 999px;
    padding: 2.5rem 2rem;
    border-radius: 1.25rem;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .06);
}

.theme-rm-4 .rm-form.rm-form-rm-3 textarea.form-control {
    border-radius: 1rem;
}

/* Market Watch 1: bordered rounded boxes */
.theme-rm-4 .rm-marketwatch.rm-marketwatch-rm-1 {
    --rm-stat-border: 1px solid #e4e4e4;
    --rm-stat-radius: 1rem;
}

/* Market Watch 2: soft prime tint */
.theme-rm-4 .rm-marketwatch.rm-marketwatch-rm-2 {
    --rm-stat-bg: rgba(var(--prime-color-rgb, 0, 78, 155), .07);
    --rm-stat-border: 0;
    --rm-stat-radius: 1rem;
}

/* Market Watch 3: the original theme 3 look (white cards with a shadow) */
.theme-rm-4 .rm-marketwatch.rm-marketwatch-rm-3 {
    --rm-stat-border: 0;
    --rm-stat-radius: 1.25rem;
    --rm-stat-shadow: 0 10px 30px rgba(0, 0, 0, .07);
    --rm-stat-padding: 2rem 1.5rem;
}

/* ------------------------------------------------------------------ */
/* Content pages (style.css 17.0)                                      */
/* ------------------------------------------------------------------ */
/* Theme 3 look: rounded, roomy, separate accordion cards, bold titles */
.theme-rm-4 .content-page {
    --content-heading-size: 1.5rem;
    --content-box-bg: #f7f7f7;
    --guide-title-transform: none;
    --side-promo-title-transform: none;
    --guide-active-color: var(--title-font-color);
    --guide-active-bg: #fff;
}
.theme-rm-4 .content-page__heading,
.theme-rm-4 .news-post__title {
    font-weight: 800;
}
.theme-rm-4 .guide-accordion .accordion-item {
    border: 1px solid var(--bs-border-color);
    border-radius: var(--bs-border-radius-lg);
    overflow: hidden;
}
.theme-rm-4 .guide-accordion .accordion-item + .accordion-item {
    margin-top: 1rem;
}
.theme-rm-4 .guide-accordion .accordion-button {
    font-size: 1.125rem;
}
.theme-rm-4 .side-promo {
    border-radius: var(--bs-border-radius-lg);
}
.theme-rm-4 .app-promo__stores .btn {
    border-radius: 999px;
}

/* ------------------------------------------------------------------ */
/* Theme 4 concept (the former "skin 4", approved 2026-11-24)          */
/* ------------------------------------------------------------------ */
/* Calm and editorial: deep navy primary, warm gold accent, Plus Jakarta Sans,
   Fraunces italic only for testimonial quotes, large rounded cards (22px),
   hairline borders, soft long shadows, pill buttons, generous white space.
   The rules above are the theme 3 base it started from; everything below is
   theme 4's own look and wins over them. Brand values from the profile still
   override the tokens (inline :root.theme-rm-4 block in _SiteLayout). */
:root.theme-rm-4 {
    --prime-color: #16324f;
    --prime-color-rgb: 22, 50, 79;
    --secondary-color: #b08d57;
    --secondary-color-rgb: 176, 141, 87;
    --hover-color: #0f243a;
    --hover-color-rgb: 15, 36, 58;
    --header-color: #4b5675;
    --header-bg-color: #ffffff;
    --footer-color: #d5dbe3;
    --footer-bg-color: #0f1b2b;
    --body-font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --body-font-size: 15px;
    --body-font-weight: 400;
    --body-font-color: #4b5675;
    --body-line-height: 1.7;
    --menu-font-color: #1b2433;
    --titlebar-font-color: #ffffff;
    --title-font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --title-font-size: 30px;
    --title-font-weight: 700;
    --title-font-color: #16324f;
    --heading-color: #333;
    --display-pagehead: block;
    --pagehead-bg: url(/images/placeholders/banner.jpg);
    --service-section-bg: url(/images/placeholders/hiw-bg.jpg);
    /* Theme scale */
    --bs-border-radius: 14px;
    --bs-border-radius-sm: 8px;
    --bs-border-radius-lg: 22px;
    --bs-border-color: #e7eaf0;
    --section-space: clamp(3.5rem, 7vw, 6.5rem);
    --section-title-size: clamp(1.75rem, 3.2vw, 2.6rem);
    --section-title-space: 1rem;
    --section-alt-bg: #f6f7f9;
    --btn-radius: 999px;
    --btn-font-weight: 600;
    --btn-padding-x: 1.35rem;
    --btn-padding-y: .7rem;
    /* theme 4 palette */
    --t4-ink: #1b2433;
    --t4-muted: #78829d;
    --t4-line: #e7eaf0;
    --t4-soft: #f6f7f9;
    --t4-cream: #faf8f4;
    --t4-dark: #0f1b2b;
    --t4-accent-light: #e8d6b5;
    --t4-r-sm: 8px;
    --t4-r: 14px;
    --t4-r-lg: 22px;
    --t4-shadow-sm: 0 1px 2px rgba(16, 24, 40, .06), 0 1px 3px rgba(16, 24, 40, .08);
    --t4-shadow: 0 10px 30px -12px rgba(16, 24, 40, .18);
    --t4-shadow-lg: 0 30px 60px -20px rgba(16, 24, 40, .30);
    --t4-ease: cubic-bezier(.2, .7, .2, 1);
    --t4-font-accent: "Fraunces", Georgia, "Times New Roman", serif;
}

/* Page-wide ---------------------------------------------------------- */
.theme-rm-4 body {
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
/* :where() keeps the heading rule at element weight, so component colours win */
:where(.theme-rm-4) h1, :where(.theme-rm-4) h2, :where(.theme-rm-4) h3,
:where(.theme-rm-4) h4, :where(.theme-rm-4) h5, :where(.theme-rm-4) h6 {
    letter-spacing: -.01em;
}
.theme-rm-4 :focus-visible {
    outline: 3px solid rgba(var(--secondary-color-rgb), .55);
    outline-offset: 2px;
}
.theme-rm-4 [id] {
    scroll-margin-top: calc(var(--header-h, 76px) + 64px);
}
.theme-rm-4 .section-title {
    line-height: 1.15;
    letter-spacing: -.02em;
}
.theme-rm-4 .section-title + * {
    margin-top: 0;
}
.theme-rm-4 .section-title:not(:last-child) {
    margin-bottom: clamp(1.75rem, 3.5vw, 2.75rem);
}
/* Eyebrow: gold capitals with a short rule before them */
.theme-rm-4 .section-eyebrow,
.theme-rm-4 .benefits__eyebrow,
.theme-rm-4 .home-cta2__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    margin-bottom: .85rem;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--secondary-color);
}
.theme-rm-4 .section-eyebrow::before,
.theme-rm-4 .benefits__eyebrow::before,
.theme-rm-4 .home-cta2__eyebrow::before {
    content: "";
    width: 28px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
}
.theme-rm-4 .text-center > .section-eyebrow,
.theme-rm-4 .section-eyebrow.text-center {
    display: flex;
    justify-content: center;
}
/* Buttons: pill, a small lift on hover */
.theme-rm-4 .btn {
    transition: transform .2s var(--t4-ease), box-shadow .2s var(--t4-ease), background-color .2s, color .2s, border-color .2s;
}
.theme-rm-4 .btn:not(.btn-link):not(.btn-close) {
    border-radius: var(--btn-radius);
}
.theme-rm-4 .btn-prime:hover,
.theme-rm-4 .btn-outline-prime:hover {
    transform: translateY(-1px);
    box-shadow: var(--t4-shadow);
}
.theme-rm-4 .btn .bi-arrow-right {
    transition: transform .2s var(--t4-ease);
}
.theme-rm-4 .btn:hover .bi-arrow-right {
    transform: translateX(3px);
}
.theme-rm-4 .btn-light {
    --bs-btn-color: var(--t4-ink);
    --bs-btn-bg: #fff;
    --bs-btn-border-color: #fff;
    --bs-btn-hover-color: var(--prime-color);
    --bs-btn-hover-bg: #fff;
    --bs-btn-hover-border-color: #fff;
}
.theme-rm-4 .btn-outline-light {
    --bs-btn-color: #fff;
    --bs-btn-border-color: rgba(255, 255, 255, .7);
    --bs-btn-hover-color: var(--t4-ink);
    --bs-btn-hover-bg: #fff;
    --bs-btn-hover-border-color: #fff;
}
/* Fields */
.theme-rm-4 .form-control,
.theme-rm-4 .form-select {
    min-height: 46px;
    border-radius: var(--t4-r-sm);
}
.theme-rm-4 textarea.form-control {
    min-height: 110px;
}
/* focus: the solid look's darker fill (style.css "Form controls") */
.theme-rm-4 .form-check-input:checked {
    background-color: var(--prime-color);
    border-color: var(--prime-color);
}
/* Menus, modals, pagination, Owl dots */
.theme-rm-4 .dropdown-menu {
    padding: .5rem;
    border: 1px solid var(--t4-line);
    border-radius: var(--t4-r);
    box-shadow: var(--t4-shadow-lg);
}
.theme-rm-4 .dropdown-menu .dropdown-item {
    border-radius: var(--t4-r-sm);
    padding: .55rem .8rem;
    font-size: .92rem;
}
.theme-rm-4 .modal-content {
    border: 0;
    border-radius: var(--t4-r-lg);
    box-shadow: var(--t4-shadow-lg);
}
.theme-rm-4 .modal-header {
    border-bottom-color: var(--t4-line);
}
.theme-rm-4 .pagination {
    --bs-pagination-border-radius: 999px;
    --bs-pagination-active-bg: var(--prime-color);
    --bs-pagination-active-border-color: var(--prime-color);
    gap: .35rem;
}
.theme-rm-4 .page-link {
    border-radius: 999px !important;
}
.theme-rm-4 .owl-theme .owl-dots .owl-dot span {
    width: 22px;
    height: 4px;
    margin: 4px;
    border-radius: 4px;
    background: var(--t4-line);
    transition: width .3s, background-color .3s;
}
.theme-rm-4 .owl-theme .owl-dots .owl-dot.active span,
.theme-rm-4 .owl-theme .owl-dots .owl-dot:hover span {
    width: 36px;
    background: var(--prime-color);
}
.theme-rm-4 .badge {
    border-radius: 999px;
    padding-inline: 1em;
    font-weight: 600;
    letter-spacing: .03em;
}
.theme-rm-4 .back-to-top {
    border-radius: 50%;
    background: var(--prime-color);
}

/* Page head 4 -------------------------------------------------------- */
/* The agent's title-bar photo under a navy wash, title large and to the start,
   breadcrumb above it as small capitals */
.page-head.page-head-rm-4 {
    --page-head-fallback-bg: var(--prime-color);
    --page-head-overlay: linear-gradient(100deg, rgba(var(--prime-color-rgb), .94) 0%, rgba(var(--prime-color-rgb), .78) 45%, rgba(var(--prime-color-rgb), .35) 100%);
    --page-head-space: 3rem;
    --page-head-space-md: clamp(4rem, 7vw, 5.75rem);
    --page-head-title-size: 2rem;
    --page-head-title-size-md: clamp(2.4rem, 4.4vw, 3.4rem);
    --page-head-radius: 0;
    --page-head-inset: 0;
    --page-head-inset-top: 0;
    --page-head-inset-xl: 0;
    margin: 0;
    border-radius: 0;
}
.page-head-rm-4 .page-head__inner {
    gap: .85rem;
}
.page-head-rm-4 nav {
    order: 0;
}
.page-head-rm-4 .page-head__breadcrumb {
    justify-content: flex-start;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.page-head-rm-4 .page-head__breadcrumb .breadcrumb-item.active {
    color: var(--t4-accent-light, #e8d6b5);
}
.page-head-rm-4 .page-head__title {
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1.08;
    text-align: start;
}

/* Testimonial 4 ------------------------------------------------------ */
.testimonial.testimonial-rm-4 {
    --testimonial-bg: #fff;
    --testimonial-border: 1px solid var(--t4-line, #e7eaf0);
    --testimonial-radius: var(--t4-r-lg, 22px);
    --testimonial-padding: 2rem;
    --testimonial-icon-size: 2.6rem;
    --testimonial-icon-color: var(--secondary-color);
    --testimonial-star-color: var(--secondary-color);
    --testimonial-text-size: 1.08rem;
    box-shadow: var(--t4-shadow-sm, 0 1px 3px rgba(16, 24, 40, .08));
}
.testimonial-rm-4 .testimonial__title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--t4-ink, #1b2433);
}
.testimonial-rm-4 .testimonial__text {
    font-family: var(--t4-font-accent, Georgia, serif);
    font-style: italic;
    color: var(--t4-ink, #1b2433);
}
.testimonial-rm-4 .testimonial__name {
    font-weight: 600;
    color: var(--t4-ink, #1b2433);
}
.testimonial-rm-4 .testimonial__more {
    color: var(--prime-color);
    text-transform: none;
}

/* Property and new development cards --------------------------------- */
.property-card.property-card-rm-4,
.newdev-card.newdev-card-rm-4 {
    --card-border: 1px solid var(--t4-line);
    --card-radius: var(--t4-r-lg);
    --card-title-color: var(--t4-ink);
    --card-price-color: #4b5675;
    --meta-value-color: var(--t4-ink);
    --card-shadow-hover: var(--t4-shadow-lg);
    --card-img-hover: scale(1.04);
    transition: transform .3s var(--t4-ease), box-shadow .3s var(--t4-ease), border-color .3s;
}
.property-card.property-card-rm-4:hover,
.newdev-card.newdev-card-rm-4:hover {
    transform: translateY(-4px);
    box-shadow: var(--t4-shadow-lg);
    border-color: transparent;
}
.property-card-rm-4 .property-card__price {
    font-weight: 800;
}
.property-card-rm-4 .property-card__badge,
.newdev-card-rm-4 .newdev-card__status {
    border-radius: 999px;
    font-weight: 600;
    letter-spacing: .03em;
}
.property-card-rm-4 .property-card__badge--dom,
.newdev-card-rm-4.newdev-card-1 .newdev-card__status {
    background: var(--prime-color);
}

/* Listing detail (UserDetails, nhdetails, precon pages) -------------- */
.listing-detail.listing-detail-rm-4 {
    --ld-radius: var(--t4-r-lg);
    --ld-border: 1px solid var(--t4-line);
    --ld-muted: var(--t4-muted);
}
.listing-detail-rm-4 .single-property-element,
.listing-detail-rm-4 .widget-box {
    background: #fff;
    border: 1px solid var(--t4-line);
    border-radius: var(--t4-r-lg);
}
.listing-detail-rm-4 .header-property-detail .content-top .title,
.listing-detail-rm-4 .header-property-detail .box-price h3,
.listing-detail-rm-4 .box-avatar__name {
    color: var(--t4-ink);
}
.listing-detail-rm-4 .single-property-overview .box-icon {
    border-radius: var(--t4-r);
    background: var(--t4-soft);
}
.listing-detail-rm-4 .single-property-contact .form-control {
    border-radius: var(--t4-r-sm);
}
.listing-detail-rm-4 .single-property-overview .content > span:not(.label) {
    font-weight: 600;
}
/* Layout type 2 (Details on theme 4): palette tokens of style.css 19.1 */
.listing-detail--2.listing-detail-rm-4 {
    --ld-ink: var(--t4-ink);
    --ld-line: var(--t4-line);
    --ld-soft: var(--t4-soft);
    --ld-dark: var(--t4-dark);
}

/* Site header 4 ------------------------------------------------------ */
/* Navy top bar on every type (brokerage, phone, email, social, language, sign in),
   white bar with a bold menu, a short prime underline on hover and on the active item,
   "Free home evaluation" button; over the home hero it starts transparent. */
.site-header.site-header-rm-4 {
    --header-topbar-bg: var(--prime-color);
    --header-topbar-color: rgba(255, 255, 255, .85);
    --header-topbar-border: transparent;
    --header-topbar-size: .85rem;
    --header-shadow: none;
    --header-bar-py: .9rem;
    --logo-height: 54px;
    --nav-gap: .25rem;
    --nav-link-px: .8rem;
    --nav-link-py: .5rem;
    --nav-font-size: .95rem;
    --nav-font-weight: 700;
    --nav-color: var(--menu-font-color);
    --nav-hover-color: var(--menu-font-color);
    --nav-sub-color: var(--t4-ink);
    --nav-sub-hover-color: var(--prime-color);
    --nav-sub-hover-bg: var(--t4-soft);
    --nav-sub-width: 220px;
    --nav-sub-radius: var(--t4-r);
    --nav-sub-shadow: var(--t4-shadow-lg);
    transition: background-color .3s var(--t4-ease), box-shadow .3s var(--t4-ease);
}
.site-header-rm-4.is-sticky.is-scrolled {
    box-shadow: 0 8px 24px -16px rgba(16, 24, 40, .35);
}
.site-header-rm-4 .site-header__bar {
    transition: padding .3s var(--t4-ease);
}
.site-header-rm-4.is-scrolled .site-header__bar {
    --header-bar-py: .55rem;
}
.site-header-rm-4 .site-brand__img {
    max-width: 220px;
    transition: max-height .3s var(--t4-ease);
}
.site-header-rm-4.is-scrolled .site-brand__img {
    max-height: 44px;
}
.site-header-rm-4 .site-brand {
    color: var(--menu-font-color);
}
.site-header-rm-4 .site-brand__name {
    font-size: 1.15rem;
    color: inherit;
}
.site-header-rm-4 .site-brand__role {
    color: inherit;
    opacity: .75;
}
/* Top bar: shown on every type, with the brokerage and the language + sign in */
@media (min-width: 1200px) {
    .site-header-rm-4 .site-header__topbar.site-header__topbar--extra {
        display: block !important;
    }
    .site-header-rm-4 .site-header__bar-actions {
        display: none;
    }
}
.site-header-rm-4 .site-contact__brokerage,
.site-header-rm-4 .site-header__topbar-actions {
    display: flex !important;
    align-items: center;
}
.site-header-rm-4 .site-contact__brokerage .bi {
    margin-inline-end: .5rem;
}
.site-header-rm-4 .site-header__topbar-actions {
    gap: .25rem;
}
.site-header-rm-4 .site-header__topbar .site-social {
    padding-inline-end: .5rem;
    border-inline-end: 1px solid rgba(255, 255, 255, .2);
}
.site-header-rm-4 .site-header__topbar .site-social__link {
    width: 30px;
    height: 30px;
    font-size: .85rem;
}
.site-header-rm-4 .site-header__topbar a:hover,
.site-header-rm-4 .site-header__topbar .site-header__action:hover {
    color: #fff;
}
.site-header-rm-4 .site-header__topbar .site-header__action {
    padding: .3rem .6rem;
    border-radius: 999px;
    font-size: .85rem;
    color: inherit;
}
.site-header-rm-4 .site-header__topbar .site-header__action:hover {
    background: rgba(255, 255, 255, .12);
}
.site-header-rm-4 .site-header__topbar .site-header__action > .bi {
    font-size: 1.1em;
}
.site-header-rm-4 .site-header__topbar .dropdown-menu {
    color: var(--t4-ink);
}
.site-header-rm-4 .site-lang__label {
    display: none;
}
.site-header-rm-4 .site-lang__code {
    display: inline !important;
    font-size: .8rem;
    font-weight: 600;
}
/* Free home evaluation */
.site-header-rm-4 .site-header__cta {
    display: inline-flex !important;
    align-items: center;
    white-space: nowrap;
}
/* Menu */
.site-header-rm-4 .site-nav__caret {
    padding: .25rem;
    font-size: .75rem;
}
@media (min-width: 1200px) {
    .site-header-rm-4 .offcanvas-body {
        justify-content: space-between;
        gap: 1rem;
    }
    .site-header-rm-4 .site-header__bar .site-nav {
        margin-inline: auto;
    }
    .site-header-rm-4 .site-header__bar .site-header__actions {
        margin-inline-start: 0;
    }
    .site-header-rm-4 .site-nav > .site-nav__item > .site-nav__link {
        position: relative;
    }
    .site-header-rm-4 .site-nav > .site-nav__item > .site-nav__link::after {
        content: "";
        position: absolute;
        inset-inline: var(--nav-link-px);
        bottom: .2rem;
        height: 2px;
        border-radius: 2px;
        background: var(--prime-color);
        transform: scaleX(0);
        transform-origin: left;
        transition: transform .25s var(--t4-ease);
    }
    .site-header-rm-4 .site-nav > .site-nav__item:hover > .site-nav__link::after,
    .site-header-rm-4 .site-nav > .site-nav__item.is-active > .site-nav__link::after {
        transform: scaleX(1);
    }
    /* Submenu drops straight down under the item; a hover bridge keeps it open */
    .site-header-rm-4 .site-nav .site-nav__sub {
        top: 100% !important;
        inset-inline-start: 0 !important;
        margin-top: .5rem !important;
        transform: none !important;
        padding: .5rem;
    }
    .site-header-rm-4 .site-nav__item.has-sub::after {
        content: "";
        position: absolute;
        inset-inline: 0;
        top: 100%;
        height: .6rem;
    }
    .site-header-rm-4.site-header-2 .site-header__bar .site-nav {
        margin-inline: 0;
    }
}
.site-header-rm-4 .site-nav__sub .dropdown-item {
    border-radius: var(--t4-r-sm);
}
.site-header-rm-4 .site-nav__sub .dropdown-item.active {
    background: rgba(var(--prime-color-rgb), .08);
    color: var(--prime-color);
    font-weight: 600;
}
.site-header-rm-4 .site-signin {
    padding: .5rem .75rem;
    border-radius: 999px;
}
@media (max-width: 1199.98px) {
    .site-header-rm-4 .site-offcanvas {
        width: min(380px, 88vw);
    }
    .site-header-rm-4 .site-offcanvas .offcanvas-header {
        border-bottom: 1px solid var(--t4-line);
    }
    .site-header-rm-4 .site-offcanvas .site-nav__link {
        font-size: 1.05rem;
        padding-block: .9rem;
    }
    .site-header-rm-4 .site-offcanvas .site-header__actions {
        flex-direction: column;
        align-items: stretch;
    }
    .site-header-rm-4 .site-offcanvas .site-header__cta {
        justify-content: center;
    }
}
/* Over the home hero (any type when the hero has a photo, Page.headerOverlay) */
.site-header-rm-4.is-overlay:not(.is-scrolled):not(.is-menu-open) {
    background: linear-gradient(180deg, rgba(10, 18, 30, .55), rgba(10, 18, 30, 0));
    color: #fff;
    --nav-color: #fff;
    --nav-hover-color: #fff;
}
.site-header-rm-4.is-overlay:not(.is-scrolled) .site-header__topbar {
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, .15);
}
.site-header-rm-4.is-overlay:not(.is-scrolled) .site-nav > .site-nav__item > .site-nav__link::after {
    background: #fff;
}
.site-header-rm-4.is-overlay:not(.is-scrolled) .site-brand__name,
.site-header-rm-4.is-overlay:not(.is-scrolled) .site-brand__role {
    color: #fff;
}

/* Site footer 4 ------------------------------------------------------ */
.site-footer.site-footer-rm-4 {
    --footer-main-py: 3.5rem;
    --footer-title-size: 1.15rem;
    --footer-social-size: 38px;
    --footer-social-bg: transparent;
    --footer-rule: color-mix(in srgb, var(--footer-color) 16%, transparent);
    --footer-muted: color-mix(in srgb, var(--footer-color) 72%, transparent);
    --footer-lead-radius: var(--t4-r-lg);
    --footer-lead-bg: linear-gradient(120deg, var(--prime-color), rgba(var(--prime-color-rgb), .88));
    --footer-lead-eyebrow: var(--t4-accent-light);
    font-size: .95rem;
}
.site-footer-rm-4 .site-footer__lead {
    box-shadow: var(--t4-shadow-lg);
}
.site-footer-rm-4 .site-footer__title {
    letter-spacing: .02em;
}
.site-footer-rm-4 .site-footer__links {
    display: flex;
    flex-direction: column;
    gap: .55rem;
}
.site-footer-rm-4 .site-footer__links li {
    margin: 0;
}
.site-footer-rm-4 .site-footer__contact .bi {
    color: var(--secondary-color);
}
.site-footer-rm-4 .site-footer__social a {
    border: 1px solid color-mix(in srgb, currentColor 30%, transparent);
}
.site-footer-rm-4 .site-footer__social a:hover {
    border-color: #fff;
    background: #fff;
    color: var(--t4-ink);
}
.site-footer-rm-4 .site-footer__brokerage {
    margin-bottom: 1.25rem;
    line-height: 1.6;
}
.site-footer-rm-4 .site-footer__legal {
    font-size: .78rem;
    color: var(--footer-muted);
}
.site-footer-rm-4 .site-footer__disclaimer {
    font-size: .78rem;
    line-height: 1.65;
    text-align: start;
    color: var(--footer-muted);
}
.site-footer-rm-4 .site-footer__apps .btn {
    border-radius: 999px;
}

/* Quick contact instead of the contact pop-up ------------------------ */
.theme-rm-4 .contact-pop {
    display: none !important;
}
@media (min-width: 992px) {
    .theme-rm-4 .quick-contact {
        display: block;
    }
    .theme-rm-4 .back-to-top {
        inset-inline-end: 6rem !important;
    }
}
@media (max-width: 991.98px) {
    .theme-rm-4 .action-bar {
        display: grid;
    }
    .theme-rm-4 body.has-action-bar {
        padding-bottom: calc(60px + env(safe-area-inset-bottom));
    }
    .theme-rm-4 body.has-action-bar .back-to-top {
        bottom: 76px !important;
    }
}
.theme-rm-4 .quick-contact__card {
    border-color: var(--t4-line);
    border-radius: var(--t4-r-lg);
    box-shadow: var(--t4-shadow-lg);
}

/* Sign-in modal ------------------------------------------------------ */
.theme-rm-4 .auth-modal {
    --auth-radius: var(--t4-r-lg);
    --auth-benefits-bg: var(--prime-color);
}
.theme-rm-4 #logInModal .nav-link.active {
    color: var(--prime-color);
    border-color: var(--prime-color);
}

/* About, team, awards ------------------------------------------------- */
.agent-profile.agent-profile-rm-4 {
    --agent-name-size: clamp(1.6rem, 3vw, 2.2rem);
    --agent-role-color: var(--t4-muted);
    --agent-card-radius: var(--t4-r-lg);
    --agent-photo-radius: var(--t4-r-lg);
    --agent-form-radius: var(--t4-r-lg);
    --agent-form-bg: var(--t4-soft);
    --agent-card-border: 1px solid var(--t4-line);
    --agent-contact-divider: 1px solid var(--t4-line);
}
.agent-profile-rm-4 .agent-profile__photo {
    box-shadow: var(--t4-shadow-lg);
}
.agent-profile-rm-4 .agent-profile__name {
    color: var(--title-font-color);
    letter-spacing: -.02em;
}
.agent-profile-rm-4 .agent-profile__bio {
    font-size: 1.05rem;
    line-height: 1.8;
}
/* Type 4 profile hero */
.agent-profile-4.agent-profile-rm-4 {
    background: linear-gradient(180deg, var(--t4-cream), #fff);
}
.agent-profile-4.agent-profile-rm-4 .agent-profile__photo img {
    border-radius: var(--t4-r-lg);
}
.agent-profile-4.agent-profile-rm-4 .agent-profile__photo {
    box-shadow: none;
}
.agent-profile-4.agent-profile-rm-4 .agent-profile__photo img {
    box-shadow: var(--t4-shadow-lg);
}
.agent-profile-4.agent-profile-rm-4 .agent-profile__brokerage {
    color: var(--t4-ink);
}
.agent-profile-rm-4 .agent-profile__social a {
    border-color: var(--t4-line);
    color: var(--t4-ink);
}
.agent-story-rm-4 {
    background: #fff;
}
.theme-rm-4 .about-testimonials__nav {
    display: flex;
}
.theme-rm-4 .award-tabs .home-section__head,
.theme-rm-4 .about-team .home-section__head {
    max-width: 720px;
    margin-bottom: clamp(2rem, 4vw, 3rem);
    text-align: start;
}
.theme-rm-4 .award-tabs__nav .nav-link {
    border-color: var(--t4-line);
    color: var(--t4-ink);
}
.theme-rm-4 .award-tabs__nav .nav-link.active {
    border-color: var(--prime-color);
    color: #fff;
}
.theme-rm-4 .award-tabs__item {
    border-color: var(--t4-line);
    border-radius: var(--t4-r);
}
.theme-rm-4 .award-tabs__name {
    color: var(--t4-ink);
}
.theme-rm-4 .award-strip {
    --award-item-radius: var(--t4-r-lg);
    --award-item-border: 1px solid var(--t4-line);
}
.theme-rm-4 .award-strip__item {
    background: #fff;
    transition: box-shadow .3s var(--t4-ease), transform .3s var(--t4-ease);
}
.theme-rm-4 .award-strip__item:hover {
    transform: translateY(-4px);
    box-shadow: var(--t4-shadow-lg);
}
.theme-rm-4 .team-card {
    border-color: var(--t4-line);
    border-radius: var(--t4-r-lg);
    transition: transform .3s var(--t4-ease), box-shadow .3s var(--t4-ease);
}
.theme-rm-4 .team-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--t4-shadow-lg);
}
.theme-rm-4 .team-card__name {
    color: var(--t4-ink);
    font-weight: 700;
}
.theme-rm-4 .team-card__contact a {
    color: var(--prime-color);
    font-weight: 600;
}
.theme-rm-4 .team-bio {
    border-radius: var(--t4-r-lg);
}

/* Homepage --------------------------------------------------------------- */
/* Shared sections (bs5/home/_Section.cshtml) in the theme 4 look: soft panels, large rounded
   cards, gold eyebrows, round carousel arrows. Hero type 4 + search: style.css 15.0. */
.theme-rm-4 .home-hero {
    --hero-3-bg: var(--section-alt-bg, #f7f7f7);
    --hero-search-radius: 999px;
    --hero-image-radius: 24px;
    --hero-4-dark: var(--t4-dark);
}
.theme-rm-4 .home-hero__search .btn {
    border-radius: 999px;
}
.theme-rm-4 .home-search {
    --home-search-radius: var(--t4-r-lg);
    --home-search-field-radius: var(--t4-r);
    border-color: var(--t4-line);
    color: var(--t4-ink);
}
.theme-rm-4 .home-search .home-search__input {
    border-color: var(--t4-line);
    background: var(--t4-soft);
}
.theme-rm-4 .home-search .home-search__input:focus {
    border-color: rgba(var(--prime-color-rgb), .4);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(var(--prime-color-rgb), .08);
}
.theme-rm-4 .home-search__chips a,
.theme-rm-4 .home-search__tab:hover {
    color: var(--t4-ink);
}
.theme-rm-4 .home-search__chips a {
    border-color: var(--t4-line);
}
.theme-rm-4 .home-search__chips a:hover {
    border-color: var(--prime-color);
    color: var(--prime-color);
}
.theme-rm-4 .home-hero__arrow:hover {
    color: var(--t4-ink);
}
.theme-rm-4 .home-hero-4 .home-hero__btn {
    --bs-btn-color: var(--t4-ink);
}

.theme-rm-4 .home-section {
    --home-card-radius: var(--t4-r-lg);
    --news-card-border: 1px solid var(--t4-line);
}
.theme-rm-4 .home-section__head .section-title {
    text-align: start;
}
.theme-rm-4 .home-section__head {
    max-width: 720px;
    margin-bottom: clamp(2rem, 4vw, 3rem);
    text-align: start;
}
.theme-rm-4 .home-section__head .section-title:not(:last-child) {
    margin-bottom: .75rem;
}
.theme-rm-4 .home-section__sub {
    margin: 0;
    color: var(--body-font-color, #4b5675);
    font-size: 1.08rem;
    line-height: 1.7;
}
/* Eyebrow: same gold capitals as .section-eyebrow */
.theme-rm-4 .home-section__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    margin-bottom: .85rem;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--secondary-color);
}
.theme-rm-4 .home-section__eyebrow::before {
    content: "";
    width: 28px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
}
/* Centred heads: services and tools */
.theme-rm-4 .home-services .home-section__head,
.theme-rm-4 .home-tools .home-section__head {
    margin-inline: auto;
    text-align: center;
}
.theme-rm-4 .home-services .home-section__head .section-title,
.theme-rm-4 .home-tools .home-section__head .section-title {
    text-align: center;
}
.theme-rm-4 .home-services .home-section__eyebrow,
.theme-rm-4 .home-tools .home-section__eyebrow {
    justify-content: center;
}
.theme-rm-4 .home-section__bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: clamp(2rem, 4vw, 3rem);
}
.theme-rm-4 .home-section__bar .home-section__head {
    max-width: 720px;
    margin: 0;
    text-align: start;
}
.theme-rm-4 .home-section__bar .home-section__head .section-title,
.theme-rm-4 .home-section__bar .home-section__sub {
    margin-inline: 0;
    text-align: start;
}
.theme-rm-4 .home-section__nav {
    display: flex;
    gap: .5rem;
    margin: 0;
}
@media (min-width: 768px) {
    .theme-rm-4 .home-section__bar .home-section__nav {
        position: static;
    }
}
.theme-rm-4 .home-section__nav .btn,
.theme-rm-4 .listing-carousel__nav .btn {
    display: inline-grid;
    place-items: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid var(--t4-line);
    border-radius: 50%;
    background: #fff;
    color: var(--t4-ink);
    font-size: 1.1rem;
}
.theme-rm-4 .home-section__nav .btn:hover,
.theme-rm-4 .listing-carousel__nav .btn:hover {
    border-color: var(--prime-color);
    background: var(--prime-color);
    color: #fff;
}
.theme-rm-4 .home-section__nav .btn .bi {
    -webkit-text-stroke: 1px currentColor;
}

/* CTA: two photo cards with text over a brand tint; the home value card holds an address form */
@media (min-width: 992px) {
    .theme-rm-4 .home-cta__col--value { width: 58.33333333%; }
    .theme-rm-4 .home-cta__col--alert { width: 41.66666667%; }
}
.theme-rm-4 .home-cta__card {
    position: relative;
    display: flex;
    height: 100%;
    min-height: 380px;
    overflow: hidden;
    border-radius: var(--t4-r-lg);
    background: var(--prime-color);
    color: #fff;
    isolation: isolate;
}
.theme-rm-4 .home-cta__media {
    position: absolute;
    inset: 0;
    z-index: -2;
}
.theme-rm-4 .home-cta__card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s var(--t4-ease);
}
.theme-rm-4 .home-cta__card:hover img {
    transform: scale(1.04);
}
.theme-rm-4 .home-cta__card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}
.theme-rm-4 .home-cta__card--value::after {
    background: linear-gradient(100deg, rgba(var(--prime-color-rgb), .96) 0%, rgba(var(--prime-color-rgb), .82) 55%, rgba(var(--prime-color-rgb), .45) 100%);
}
.theme-rm-4 .home-cta__card--alert::after {
    background: linear-gradient(180deg, rgba(15, 27, 43, .35), rgba(15, 27, 43, .9));
}
.theme-rm-4 .home-cta__body {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    width: 100%;
    padding: clamp(1.75rem, 4vw, 3rem);
    pointer-events: none;
}
.theme-rm-4 .home-cta__body > * {
    pointer-events: auto;
}
.theme-rm-4 .home-cta__card--value .home-cta__body {
    justify-content: center;
}
.theme-rm-4 .home-cta__body .home-section__eyebrow {
    align-self: flex-start;
    color: #f3eee6;
}
.theme-rm-4 .home-cta__title {
    margin: 0 0 .75rem;
    color: #fff;
    font-size: clamp(1.6rem, 3vw, 2.3rem);
    font-weight: 700;
}
.theme-rm-4 .home-cta__text {
    max-width: 520px;
    margin: 0 0 1.5rem;
    color: rgba(255, 255, 255, .85);
}
.theme-rm-4 .home-cta__note {
    margin: 1rem 0 0;
    color: rgba(255, 255, 255, .75);
    font-size: .85rem;
}
.theme-rm-4 .home-cta__icon {
    display: inline-grid;
    place-items: center;
    align-self: flex-start;
    width: 52px;
    height: 52px;
    margin-bottom: 1.5rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, .15);
    font-size: 1.35rem;
    backdrop-filter: blur(6px);
}
.theme-rm-4 .home-cta__body .btn {
    align-self: flex-start;
}
.theme-rm-4 .home-cta__body .btn-light {
    --bs-btn-color: var(--t4-ink);
}
.theme-rm-4 .home-cta__form {
    position: relative;
    display: flex;
    gap: .5rem;
    max-width: 560px;
    padding: .4rem;
    border-radius: 999px;
    background: #fff;
}
.theme-rm-4 .home-cta__form-icon {
    position: absolute;
    top: 50%;
    inset-inline-start: 1.1rem;
    color: var(--t4-muted);
    transform: translateY(-50%);
}
.theme-rm-4 .home-cta__form .form-control {
    height: 48px;
    padding-inline-start: 2.6rem;
    border: 0;
    background: transparent;
    box-shadow: none;
}
.theme-rm-4 .home-cta__form .btn {
    flex-shrink: 0;
}
@media (max-width: 575.98px) {
    .theme-rm-4 .home-cta__form { flex-direction: column; border-radius: var(--t4-r); }
    .theme-rm-4 .home-cta__form-icon { top: 1.9rem; }
}

/* Services: soft panel, four white cards (the 4th is the market report), text link at the bottom */
.theme-rm-4 .home-services {
    --home-services-bg: var(--t4-soft);
    --home-services-color: var(--body-font-color, #4b5675);
    --home-service-bg: #fff;
    background-image: none;
}
.theme-rm-4 .home-services .section-title {
    color: var(--title-font-color, #333);
}
.theme-rm-4 .home-services__extra {
    display: block;
}
@media (min-width: 768px) {
    .theme-rm-4 .home-services__grid > * { width: 50%; }
}
@media (min-width: 1200px) {
    .theme-rm-4 .home-services__grid > * { width: 25%; }
}
.theme-rm-4 .home-service {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem 1.75rem;
    border: 1px solid var(--t4-line);
    border-radius: var(--t4-r-lg);
    text-align: start;
    transition: transform .3s var(--t4-ease), box-shadow .3s var(--t4-ease), border-color .3s;
}
.theme-rm-4 .home-service:hover {
    border-color: transparent;
    box-shadow: var(--t4-shadow-lg);
    transform: translateY(-4px);
}
.theme-rm-4 .home-service__icon {
    width: 56px;
    height: 56px;
    margin-bottom: 1.5rem;
    border-radius: 16px;
    background: rgba(var(--prime-color-rgb), .07);
    color: var(--prime-color);
    font-size: 1.5rem;
    transition: background-color .3s, color .3s;
}
.theme-rm-4 .home-service:hover .home-service__icon {
    background: var(--prime-color);
    color: #fff;
}
.theme-rm-4 .home-service__title {
    margin: 0 0 .6rem;
    color: var(--title-font-color, #333);
    font-size: 1.2rem;
}
.theme-rm-4 .home-service p {
    margin: 0 0 1.5rem;
    font-size: .95rem;
    line-height: 1.65;
}
/* The button becomes the brokerage text link (.pxp-primary-cta look) and covers the card */
.theme-rm-4 .home-services .home-service .btn {
    margin-top: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    color: var(--t4-ink);
    font-size: .8125rem;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: none;
    transform: none;
}
.theme-rm-4 .home-services .home-service .btn::after {
    content: " ";
    display: inline-block;
    width: 36px;
    height: 7px;
    margin-inline-start: 20px;
    border-top: 2px solid currentColor;
    transform-origin: top left;
    transition: all .4s ease-in-out;
}
.theme-rm-4 .home-services .home-service .btn::before {
    content: "";
    position: absolute;
    inset: 0;
}
.theme-rm-4 .home-service:hover .btn {
    color: var(--prime-color);
}
.theme-rm-4 .home-service:hover .btn::after {
    transform: scale(2, 1);
}

/* Tools: the agent's service photo under a dark fade, one white panel of four tiles over its edge */
.theme-rm-4 .home-tools {
    position: relative;
    overflow: hidden;
    padding-top: 0;
    padding-bottom: 50px;
    isolation: isolate;
}
.theme-rm-4 .home-tools .home-section__head {
    position: relative;
    max-width: none;
    margin: 0;
    padding-top: 100px;
    padding-bottom: 170px;
    color: #fff;
}
.theme-rm-4 .home-tools .home-section__head::before {
    content: "";
    position: absolute;
    inset: 0 calc(50% - 50vw);
    z-index: -1;
    background-color: var(--t4-dark);
    background-image: linear-gradient(180deg, rgba(10, 18, 30, .55) 0%, rgba(10, 18, 30, .82) 100%), var(--service-section-bg);
    background-position: center;
    background-size: cover;
}
@media (hover: hover) and (min-width: 992px) {
    .theme-rm-4 .home-tools .home-section__head::before { background-attachment: fixed; }
}
.theme-rm-4 .home-tools .home-section__head .section-title {
    color: #fff;
}
.theme-rm-4 .home-tools .home-section__eyebrow {
    color: #f3eee6;
}
.theme-rm-4 .home-tools .home-section__sub {
    max-width: 720px;
    margin-inline: auto;
    color: rgba(255, 255, 255, .85);
}
.theme-rm-4 .home-tools .row {
    --bs-gutter-x: 0;
    --bs-gutter-y: 0;
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin: -120px 0 0;
    overflow: hidden;
    border-radius: var(--t4-r-lg);
    background: #fff;
    box-shadow: 0 15px 30px rgba(0, 0, 0, .10);
}
.theme-rm-4 .home-tools .row > .col {
    width: auto;
    padding: 0;
    border-inline-end: 1px solid #e8e8e8;
}
.theme-rm-4 .home-tools .row > .col:last-child {
    border-inline-end: 0;
}
.theme-rm-4 .home-tool {
    position: relative;
    align-items: center;
    gap: .5rem;
    min-height: 300px;
    padding: 40px 20px;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: none;
    color: var(--t4-ink);
    text-align: center;
    text-decoration: none;
    box-shadow: none;
    transform: none;
}
.theme-rm-4 .home-tool:hover {
    box-shadow: none;
    transform: none;
}
.theme-rm-4 .home-tool__img {
    display: none;
}
.theme-rm-4 .home-tool__icon {
    display: block;
    margin-bottom: 1.5rem;
    color: var(--t4-ink);
    font-size: 3.6rem;
    line-height: 1;
}
.theme-rm-4 .home-tool__icon .bi {
    display: block;
}
.theme-rm-4 .home-tool__title,
.theme-rm-4 .home-tool__text {
    transition: transform .4s ease-in-out;
}
.theme-rm-4 .home-tool__title {
    color: #333;
    font-size: 1.3rem;
    font-weight: 800;
}
.theme-rm-4 .home-tool__text {
    display: block;
    color: #333;
    font-family: var(--body-font-family);
    font-size: .875rem;
    font-weight: 400;
    line-height: 1.55;
    opacity: .7;
}
.theme-rm-4 .home-tool__more {
    position: absolute;
    bottom: 36px;
    inset-inline: 20px;
    display: block;
    color: var(--prime-color);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(150%);
    transition: all .4s ease-in-out;
}
.theme-rm-4 .home-tool__more .bi {
    display: none;
}
@keyframes t4IconTop {
    0% { transform: translateY(0); }
    25% { opacity: 0; transform: translateY(-70%); }
    50% { opacity: 0; transform: translateY(-40%); }
    100% { opacity: 1; transform: translateY(0); }
}
.theme-rm-4 .home-tool:hover .home-tool__icon,
.theme-rm-4 .home-tool:focus-visible .home-tool__icon {
    color: var(--prime-color);
    animation: t4IconTop .4s ease-in-out;
}
.theme-rm-4 .home-tool:hover .home-tool__title,
.theme-rm-4 .home-tool:hover .home-tool__text,
.theme-rm-4 .home-tool:focus-visible .home-tool__title,
.theme-rm-4 .home-tool:focus-visible .home-tool__text {
    transform: translateY(-24px);
}
.theme-rm-4 .home-tool:hover .home-tool__more,
.theme-rm-4 .home-tool:focus-visible .home-tool__more {
    opacity: 1;
    transform: none;
}
@media (max-width: 1199.98px) {
    .theme-rm-4 .home-tools .row { grid-template-columns: repeat(2, 1fr); }
    .theme-rm-4 .home-tools .row > .col:nth-child(2) { border-inline-end: 0; }
    .theme-rm-4 .home-tools .row > .col:nth-child(-n+2) { border-bottom: 1px solid #e8e8e8; }
}
@media (max-width: 575.98px) {
    .theme-rm-4 .home-tools .home-section__head { padding-top: 70px; padding-bottom: 150px; }
    .theme-rm-4 .home-tools .row { grid-template-columns: 1fr; }
    .theme-rm-4 .home-tools .row > .col { border-inline-end: 0; border-bottom: 1px solid #e8e8e8; }
    .theme-rm-4 .home-tools .row > .col:last-child { border-bottom: 0; }
    .theme-rm-4 .home-tool { min-height: 0; padding-bottom: 72px; }
    .theme-rm-4 .home-tool__more { opacity: 1; transform: none; }
}
@media (hover: none) {
    .theme-rm-4 .home-tool__more { opacity: 1; transform: none; }
    .theme-rm-4 .home-tool { padding-bottom: 72px; }
}

/* Testimonials: equal height cards in the carousel */
.theme-rm-4 .home-testimonials-bs5 .owl-stage {
    display: flex;
}
.theme-rm-4 .home-testimonials-bs5 .owl-item {
    display: flex;
}
.theme-rm-4 .home-testimonials-bs5 .owl-item > * {
    width: 100%;
}

/* Homeowner band (cta2): text left, button right, on a brand gradient */
.theme-rm-4 .home-cta2 {
    padding-block: clamp(2rem, 4vw, 3.5rem);
}
.theme-rm-4 .home-cta2__box {
    --cta2-padding: clamp(2rem, 5vw, 3.5rem);
    --cta2-bg: transparent;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    column-gap: 2rem;
    border-radius: var(--t4-r-lg);
    background:
        radial-gradient(600px 300px at 100% 0%, rgba(var(--secondary-color-rgb), .35), transparent 60%),
        linear-gradient(120deg, var(--prime-color), var(--t4-dark));
    color: #fff;
    text-align: start !important;
}
.theme-rm-4 .home-cta2__box > * {
    grid-column: 1;
}
.theme-rm-4 .home-cta2__box > .btn {
    grid-column: 2;
    grid-row: 1 / span 3;
}
.theme-rm-4 .home-cta2__eyebrow {
    justify-self: start;
    color: #f3eee6;
}
.theme-rm-4 .home-cta2__box .home-cta2__title {
    max-width: none;
    margin: 0 0 .5rem;
    color: #fff;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
}
.theme-rm-4 .home-cta2__text {
    max-width: 620px;
    margin: 0;
    color: rgba(255, 255, 255, .8);
}
.theme-rm-4 .home-cta2__box .btn-light {
    --bs-btn-bg: #fff;
    --bs-btn-color: var(--t4-ink);
    --bs-btn-border-color: #fff;
}
@media (max-width: 767.98px) {
    .theme-rm-4 .home-cta2__box { grid-template-columns: 1fr; row-gap: 1.5rem; }
    .theme-rm-4 .home-cta2__box > .btn { grid-column: 1; grid-row: auto; justify-self: start; }
}

/* Meet the agent */
.theme-rm-4 .home-about__photo::before {
    content: "";
    position: absolute;
    inset: 2rem -1.25rem -1.25rem 2rem;
    z-index: -1;
    border: 2px solid rgba(var(--secondary-color-rgb), .5);
    border-radius: var(--t4-r-lg);
}
.theme-rm-4 .home-about__photo {
    isolation: isolate;
}
/* the offset frame must not widen the page on phones */
.theme-rm-4 .home-about {
    overflow-x: clip;
}
.theme-rm-4 .home-about__photo img {
    border-radius: var(--t4-r-lg);
    box-shadow: var(--t4-shadow-lg);
}
.theme-rm-4 .home-about__badge {
    color: var(--t4-ink);
    box-shadow: var(--t4-shadow);
}
.theme-rm-4 .home-about__name {
    margin-bottom: .5rem !important;
    font-size: clamp(2rem, 4vw, 3.1rem);
}
.theme-rm-4 .home-about__role {
    color: var(--t4-muted);
}
.theme-rm-4 .home-about__bio {
    font-size: 1.08rem;
    line-height: 1.7;
}

/* Contact */
.theme-rm-4 .home-contact__box {
    border-color: var(--t4-line);
    border-radius: var(--t4-r-lg);
    box-shadow: 0 18px 40px -20px rgba(16, 24, 40, .28);
}
.theme-rm-4 .home-contact__side {
    background:
        radial-gradient(500px 300px at 0% 100%, rgba(var(--secondary-color-rgb), .3), transparent 60%),
        var(--prime-color);
}
.theme-rm-4 .home-contact__side .home-section__eyebrow {
    align-self: flex-start;
    color: #f3eee6;
}
.theme-rm-4 .home-contact__agent {
    border-radius: var(--t4-r-lg);
}
.theme-rm-4 .home-contact__list a:hover {
    color: var(--t4-accent-light);
}
.theme-rm-4 .contact-form .form-control,
.theme-rm-4 .contact-form .form-select {
    min-height: 48px;
}
.theme-rm-4 .contact-form textarea.form-control {
    min-height: 110px;
}
.theme-rm-4 .contact-form .form-check-label {
    color: var(--t4-muted);
    font-size: .8rem;
    line-height: 1.5;
}

/* Market snapshot, areas */
.theme-rm-4 .ministat__card {
    border-radius: var(--t4-r-lg);
}
.theme-rm-4 .area-card {
    border-radius: var(--t4-r-lg);
    overflow: hidden;
}

/* News -------------------------------------------------------------- */
.theme-rm-4 .news-card {
    border: 1px solid var(--t4-line);
    border-radius: var(--t4-r-lg);
    overflow: hidden;
    transition: box-shadow .3s var(--t4-ease), transform .3s var(--t4-ease);
}
.theme-rm-4 .news-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--t4-shadow-lg);
}
.theme-rm-4 .news-card__date {
    border-radius: 999px;
}
.theme-rm-4 .news-card__cat {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--secondary-color);
}
.theme-rm-4 .news-card__title a {
    color: #333;
}
.theme-rm-4 .news-card__title a:hover {
    color: var(--prime-color);
}
/* "Read more": the brokerage text-link look (.pxp-primary-cta) */
.theme-rm-4 .news-card__more {
    display: inline-block;
    font-size: .8125rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #333;
}
.theme-rm-4 .news-card__more .me-3 {
    margin: 0 !important;
}
.theme-rm-4 .news-card__more .bi {
    display: none;
}
.theme-rm-4 .news-card__more::after {
    content: " ";
    display: inline-block;
    width: 36px;
    height: 7px;
    margin-inline-start: 20px;
    border-top: 2px solid currentColor;
    transform-origin: top left;
    transition: all .4s ease-in-out;
}
.theme-rm-4 .news-card__more:hover::after {
    transform: scale(2, 1);
}
.theme-rm-4 .news-post__article {
    font-size: 1.05rem;
    line-height: 1.8;
}
.theme-rm-4 .news-post__title {
    font-size: clamp(1.75rem, 3.2vw, 2.4rem);
    letter-spacing: -.02em;
    color: var(--title-font-color);
}
.theme-rm-4 .news-post__meta {
    color: var(--t4-muted);
}
.theme-rm-4 .news-post__content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--t4-r);
}

/* Listing pages, search map ----------------------------------------- */
.theme-rm-4 .listing-toolbar {
    padding: .85rem 1rem .85rem 1.25rem;
    border: 1px solid var(--t4-line);
    border-radius: var(--t4-r-lg);
    background: #fff;
    box-shadow: var(--t4-shadow-sm);
}
.theme-rm-4 .listing-toolbar__count {
    font-weight: 600;
    color: var(--t4-ink);
}
.theme-rm-4 .listing-toolbar__count #resultcount {
    color: var(--prime-color);
    font-weight: 800;
}
.theme-rm-4 .listing-toolbar__controls .form-select {
    min-height: 42px;
    border-radius: 999px;
}
.theme-rm-4 .search-map-filter,
.theme-rm-4 .map-layout__head {
    border-color: var(--t4-line);
}
.theme-rm-4 .search-map-filter .form-control,
.theme-rm-4 .search-map-filter .form-select,
.theme-rm-4 .search-map-filter .btn {
    border-radius: 999px;
}
.theme-rm-4 .map-card {
    border-radius: var(--t4-r);
    overflow: hidden;
}
.theme-rm-4 .bloader .ball {
    background: var(--prime-color);
}

/* Content pages: guides, calculators, forms, contact, status ---------- */
.theme-rm-4 .content-page {
    --content-heading-size: clamp(1.5rem, 2.6vw, 2rem);
    --content-box-bg: var(--t4-soft);
    --guide-title-transform: none;
    --side-promo-title-transform: none;
    --guide-active-color: var(--prime-color);
    --guide-active-bg: #fff;
}
.theme-rm-4 .content-page__heading {
    font-weight: 700;
    letter-spacing: -.02em;
    color: var(--title-font-color);
}
.theme-rm-4 .content-page__lead {
    font-size: 1.1rem;
    line-height: 1.75;
}
.theme-rm-4 .content-page__box,
.theme-rm-4 .form-page__box,
.theme-rm-4 .calc-page__widget {
    border: 1px solid var(--t4-line);
    border-radius: var(--t4-r-lg);
}
.theme-rm-4 .form-page__box {
    padding: clamp(1.5rem, 3vw, 2.5rem);
    background: #fff;
    box-shadow: 0 18px 40px -20px rgba(16, 24, 40, .28);
}
.theme-rm-4 .guide-accordion .accordion-item {
    border: 1px solid var(--t4-line);
    border-radius: var(--t4-r-lg) !important;
    overflow: hidden;
}
.theme-rm-4 .guide-accordion .accordion-item + .accordion-item {
    margin-top: .85rem;
}
.theme-rm-4 .guide-accordion .accordion-button {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--t4-ink);
}
.theme-rm-4 .guide-accordion .accordion-button:not(.collapsed) {
    color: var(--prime-color);
    box-shadow: none;
}
.theme-rm-4 .side-promo {
    border: 1px solid var(--t4-line);
    border-radius: var(--t4-r-lg);
    overflow: hidden;
    transition: transform .3s var(--t4-ease), box-shadow .3s var(--t4-ease);
}
.theme-rm-4 .side-promo:hover {
    transform: translateY(-3px);
    box-shadow: var(--t4-shadow-lg);
}
.theme-rm-4 .side-promo__title {
    font-weight: 700;
    color: var(--t4-ink);
}
.theme-rm-4 .contact-page__info {
    padding: clamp(1.75rem, 3.5vw, 3rem);
    border-radius: var(--t4-r-lg);
    background:
        radial-gradient(500px 300px at 0% 100%, rgba(var(--secondary-color-rgb), .3), transparent 60%),
        var(--prime-color);
    color: rgba(255, 255, 255, .85);
}
.theme-rm-4 .contact-page__info .contact-page__title,
.theme-rm-4 .contact-page__info a {
    color: #fff;
}
.theme-rm-4 .contact-page__info a:hover {
    color: var(--t4-accent-light);
}
.theme-rm-4 .contact-page__social a {
    border-color: rgba(255, 255, 255, .3);
    color: #fff;
}
.theme-rm-4 .status-page {
    text-align: center;
}
.theme-rm-4 .benefits__item {
    border-radius: var(--t4-r-lg);
}
.theme-rm-4 .benefits__icon {
    color: var(--secondary-color);
}
.theme-rm-4 .app-promo__stores .btn {
    border-radius: 999px;
}
.theme-rm-4 .listing-cta,
.theme-rm-4 .listing-promo {
    border-radius: var(--t4-r-lg);
}

/* Market stats (Hiva) ------------------------------------------------ */
.theme-rm-4 #stats {
    border-color: var(--t4-line);
    border-radius: var(--t4-r-lg);
}
.theme-rm-4 .statchartsection,
.theme-rm-4 .soldstat {
    border-color: var(--t4-line);
    border-bottom-left-radius: var(--t4-r-lg);
    border-bottom-right-radius: var(--t4-r-lg);
}

/* Custom pages: form 4 and market watch 4 (theme 4's own look; 1-3 above are its other styles) */
.theme-rm-4 .rm-page {
    --rm-field-radius: var(--t4-r-sm);
}
.theme-rm-4 .rm-form.rm-form-rm-4 {
    --rm-field-bg: #fff;
    --rm-field-border: var(--t4-line);
    --rm-field-radius: var(--t4-r-sm);
    padding: clamp(1.75rem, 3.5vw, 2.75rem);
    border: 1px solid var(--t4-line);
    border-radius: var(--t4-r-lg);
    background: #fff;
    box-shadow: 0 18px 40px -20px rgba(16, 24, 40, .28);
}
.theme-rm-4 .rm-marketwatch.rm-marketwatch-rm-4 {
    --rm-stat-bg: #fff;
    --rm-stat-border: 1px solid var(--t4-line);
    --rm-stat-radius: var(--t4-r-lg);
    --rm-stat-shadow: var(--t4-shadow-sm);
    --rm-stat-padding: 1.75rem 1.5rem;
}
/* Site forms (Home evaluation, Listing alert, landing pages) use rm-form-rm-4 too */
.theme-rm-4 .site-form .btn {
    font-weight: 600;
}

/* Motion and RTL ------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
    .theme-rm-4 .btn,
    .theme-rm-4 .property-card,
    .theme-rm-4 .newdev-card,
    .theme-rm-4 .news-card,
    .theme-rm-4 .team-card,
    .theme-rm-4 .side-promo,
    .theme-rm-4 .home-tool,
    .theme-rm-4 .award-strip__item {
        transition: none !important;
        transform: none !important;
    }
}
[dir="rtl"] .theme-rm-4 .btn:hover .bi-arrow-right,
[dir="rtl"].theme-rm-4 .btn:hover .bi-arrow-right {
    transform: translateX(-3px) scaleX(-1);
}
[dir="rtl"].theme-rm-4 .site-header-rm-4 .site-nav > .site-nav__item > .site-nav__link::after {
    transform-origin: right;
}
