/*
 * Real Property Guru — Homepage Premium Precision V25
 *
 * All breakpoints: premium title bands and tab styling.
 * Mobile/tablet only: tighter vertical rhythm.
 * Desktop structure, grids, hero, search position, cards and footer are untouched.
 */

body#page-home {
    --rpg-home-green: #078f4d;
    --rpg-home-green-dark: #173d2d;
    --rpg-home-mint: #eaf6f0;
    --rpg-home-mint-soft: #f5faf7;
    --rpg-home-line: #d9e9e0;
    --rpg-home-shadow: 0 7px 22px rgba(18, 62, 42, .07);
}

/* ================================================================
   PREMIUM SECTION TITLE BANDS — ALL BREAKPOINTS
   ================================================================ */
body#page-home .rpgx-section-head,
body#page-home .rpgx-panel-head {
    position: relative !important;
    isolation: isolate;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 14px !important;
    min-width: 0 !important;
    min-height: 54px !important;
    margin-top: 0 !important;
    margin-bottom: 16px !important;
    padding: 12px 16px 12px 20px !important;
    overflow: hidden !important;
    border: 1px solid var(--rpg-home-line) !important;
    border-radius: 13px !important;
    background: linear-gradient(100deg, var(--rpg-home-mint) 0%, #f8fcfa 50%, #fff 100%) !important;
    box-shadow: var(--rpg-home-shadow) !important;
    box-sizing: border-box !important;
}

body#page-home .rpgx-section-head::before,
body#page-home .rpgx-panel-head::before {
    content: "";
    position: absolute;
    z-index: 1;
    top: 12px;
    bottom: 12px;
    left: 0;
    width: 4px;
    border-radius: 0 6px 6px 0;
    background: linear-gradient(180deg, #0bbd68, var(--rpg-home-green));
    box-shadow: 2px 0 9px rgba(7, 143, 77, .18);
}

body#page-home .rpgx-section-head > *,
body#page-home .rpgx-panel-head > * {
    position: relative;
    z-index: 2;
    min-width: 0;
}

body#page-home .rpgx-section-head h2,
body#page-home .rpgx-panel-head h3 {
    margin: 0 !important;
    color: var(--rpg-home-green-dark) !important;
    font-family: var(--heading-font, "Josefin Sans", sans-serif) !important;
    font-weight: 750 !important;
    letter-spacing: -.015em !important;
}

body#page-home .rpgx-section-head h2 {
    font-size: 24px !important;
    line-height: 1.08 !important;
}

body#page-home .rpgx-panel-head h3 {
    font-size: 18px !important;
    line-height: 1.12 !important;
}

body#page-home .rpgx-section-head > a,
body#page-home .rpgx-panel-head > a,
body#page-home .rpgx-view-all {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 auto !important;
    min-height: 32px !important;
    margin: 0 !important;
    padding: 5px 10px !important;
    border: 1px solid rgba(7, 143, 77, .16) !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, .82) !important;
    color: var(--rpg-home-green) !important;
    font-family: var(--primary-font, "DM Sans", sans-serif) !important;
    font-size: 11px !important;
    line-height: 1 !important;
    font-weight: 750 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease !important;
}

body#page-home .rpgx-section-head > a:hover,
body#page-home .rpgx-panel-head > a:hover,
body#page-home .rpgx-view-all:hover {
    border-color: var(--rpg-home-green) !important;
    background: var(--rpg-home-green) !important;
    color: #fff !important;
    transform: translateY(-1px);
}

/* Recommended header contains title, property filters and View all. */
body#page-home .rpgx-properties-head {
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 12px !important;
}

body#page-home .rpgx-properties-head > div:first-child {
    min-width: 0 !important;
}

/* ================================================================
   PREMIUM INTERACTIVE TABS — ALL BREAKPOINTS
   ================================================================ */
body#page-home .rpgx-search-tabs {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 5px !important;
    padding: 5px !important;
    border: 1px solid rgba(7, 143, 77, .18) !important;
    border-radius: 14px !important;
    background: rgba(237, 248, 242, .96) !important;
    box-shadow: 0 8px 22px rgba(18, 62, 42, .1) !important;
    box-sizing: border-box !important;
}

body#page-home .rpgx-search-tabs button,
body#page-home .rpgx-pills > *,
body#page-home .rpgx-pro-tabs > * {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    min-width: 0 !important;
    min-height: 38px !important;
    margin: 0 !important;
    padding: 7px 13px !important;
    border: 1px solid transparent !important;
    border-radius: 10px !important;
    background: #fff !important;
    color: #355447 !important;
    box-shadow: none !important;
    font-family: var(--primary-font, "DM Sans", sans-serif) !important;
    font-size: 12.5px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    cursor: pointer;
    transition: color .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease !important;
}

body#page-home .rpgx-search-tabs button:hover,
body#page-home .rpgx-pills > *:hover,
body#page-home .rpgx-pro-tabs > *:hover {
    border-color: rgba(7, 143, 77, .24) !important;
    background: #f0faf5 !important;
    color: var(--rpg-home-green) !important;
}

body#page-home .rpgx-search-tabs button.active,
body#page-home .rpgx-pills > *.active,
body#page-home .rpgx-pro-tabs > *.active,
body#page-home .rpgx-search-tabs button[aria-selected="true"],
body#page-home .rpgx-pills > *[aria-selected="true"],
body#page-home .rpgx-pro-tabs > *[aria-selected="true"] {
    border-color: var(--rpg-home-green) !important;
    background: linear-gradient(135deg, #08a758, var(--rpg-home-green)) !important;
    color: #fff !important;
    box-shadow: 0 6px 14px rgba(7, 143, 77, .22) !important;
}

body#page-home .rpgx-search-tabs button:focus-visible,
body#page-home .rpgx-pills > *:focus-visible,
body#page-home .rpgx-pro-tabs > *:focus-visible {
    outline: 3px solid rgba(7, 143, 77, .2) !important;
    outline-offset: 2px !important;
}

body#page-home .rpgx-pills,
body#page-home .rpgx-pro-tabs {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 4px !important;
    border: 1px solid rgba(7, 143, 77, .13) !important;
    border-radius: 12px !important;
    background: rgba(234, 246, 240, .88) !important;
    box-sizing: border-box !important;
}

body#page-home .rpgx-pills {
    justify-self: center !important;
}

body#page-home .rpgx-pills > *,
body#page-home .rpgx-pro-tabs > * {
    min-height: 32px !important;
    padding: 6px 11px !important;
    border-radius: 8px !important;
    font-size: 11px !important;
}

/* The dark trust panel receives a quieter integrated title background. */
body#page-home .rpgx-trust > div:first-child h3 {
    position: relative !important;
    margin-top: 0 !important;
    padding: 10px 12px 10px 16px !important;
    border: 1px solid rgba(255, 255, 255, .13) !important;
    border-radius: 11px !important;
    background: linear-gradient(110deg, rgba(255, 255, 255, .11), rgba(255, 255, 255, .025)) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06) !important;
}

body#page-home .rpgx-trust > div:first-child h3::before {
    content: "";
    position: absolute;
    top: 10px;
    bottom: 10px;
    left: 0;
    width: 4px;
    border-radius: 0 5px 5px 0;
    background: #37d58b;
}

/* ================================================================
   MOBILE RHYTHM — STRUCTURE PRESERVED
   ================================================================ */
@media (max-width: 576px) {
    body#page-home .rpgx-section {
        margin: 0 !important;
        padding-top: 16px !important;
        padding-bottom: 16px !important;
    }

    body#page-home .rpgx-types-section {
        padding-top: 16px !important;
        padding-bottom: 14px !important;
    }

    body#page-home .rpgx-section + .rpgx-section {
        margin-top: 0 !important;
    }

    body#page-home .rpgx-section-head,
    body#page-home .rpgx-panel-head {
        min-height: 44px !important;
        margin-bottom: 10px !important;
        padding: 9px 10px 9px 15px !important;
        border-radius: 11px !important;
        gap: 8px !important;
        box-shadow: 0 5px 15px rgba(18, 62, 42, .06) !important;
    }

    body#page-home .rpgx-section-head::before,
    body#page-home .rpgx-panel-head::before {
        top: 9px;
        bottom: 9px;
        width: 3px;
    }

    body#page-home .rpgx-section-head h2 {
        font-size: 18px !important;
        line-height: 1.08 !important;
    }

    body#page-home .rpgx-panel-head h3 {
        font-size: 14.5px !important;
        line-height: 1.1 !important;
    }

    body#page-home .rpgx-section-head > a,
    body#page-home .rpgx-panel-head > a,
    body#page-home .rpgx-view-all {
        min-height: 27px !important;
        padding: 4px 7px !important;
        font-size: 9.5px !important;
    }

    body#page-home .rpgx-properties-head {
        grid-template-columns: minmax(0, 1fr) auto !important;
        column-gap: 8px !important;
        row-gap: 8px !important;
    }

    body#page-home .rpgx-properties-head > div:first-child {
        grid-column: 1 !important;
        grid-row: 1 !important;
    }

    body#page-home .rpgx-properties-head > .rpgx-view-all {
        grid-column: 2 !important;
        grid-row: 1 !important;
    }

    body#page-home .rpgx-properties-head .rpgx-pills {
        grid-column: 1 / -1 !important;
        grid-row: 2 !important;
        justify-self: start !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: auto !important;
        scrollbar-width: none;
    }

    body#page-home .rpgx-properties-head .rpgx-pills::-webkit-scrollbar,
    body#page-home .rpgx-pro-tabs::-webkit-scrollbar {
        display: none !important;
    }

    body#page-home .rpgx-search-tabs {
        gap: 4px !important;
        padding: 4px !important;
        border-radius: 12px !important;
    }

    body#page-home .rpgx-search-tabs button {
        min-height: 40px !important;
        padding: 6px 7px !important;
        border-radius: 9px !important;
        font-size: 11.5px !important;
    }

    body#page-home .rpgx-pills > *,
    body#page-home .rpgx-pro-tabs > * {
        flex: 0 0 auto !important;
        min-height: 30px !important;
        padding: 5px 9px !important;
        font-size: 10px !important;
    }

    body#page-home .rpgx-split {
        gap: 10px !important;
    }

    body#page-home .rpgx-panel {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    body#page-home .rpgx-panel-head {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto !important;
        row-gap: 7px !important;
    }

    body#page-home .rpgx-panel-head > h3 {
        grid-column: 1 !important;
        grid-row: 1 !important;
    }

    body#page-home .rpgx-panel-head > a:last-child {
        grid-column: 2 !important;
        grid-row: 1 !important;
    }

    body#page-home .rpgx-panel-head .rpgx-pro-tabs {
        grid-column: 1 / -1 !important;
        grid-row: 2 !important;
        justify-self: start !important;
        max-width: 100% !important;
        overflow-x: auto !important;
    }

    body#page-home .rpgx-trust {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    body#page-home .rpgx-trust > div:first-child h3 {
        margin-bottom: 8px !important;
        padding: 8px 10px 8px 14px !important;
    }

    body#page-home .rpgx-cta {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    body#page-home .rpgx-footer {
        margin-top: 0 !important;
    }
}

/* ================================================================
   TABLET RHYTHM — STRUCTURE PRESERVED
   ================================================================ */
@media (min-width: 577px) and (max-width: 1024px) {
    body#page-home .rpgx-section {
        margin: 0 !important;
        padding-top: 24px !important;
        padding-bottom: 24px !important;
    }

    body#page-home .rpgx-section-head,
    body#page-home .rpgx-panel-head {
        min-height: 50px !important;
        margin-bottom: 14px !important;
        padding: 11px 14px 11px 18px !important;
    }

    body#page-home .rpgx-section-head h2 {
        font-size: 22px !important;
    }

    body#page-home .rpgx-panel-head h3 {
        font-size: 17px !important;
    }

    body#page-home .rpgx-search-tabs button {
        min-height: 42px !important;
        font-size: 12.5px !important;
    }

    body#page-home .rpgx-split {
        gap: 16px !important;
    }
}

/* Desktop receives title bands and tab design only. */
@media (min-width: 1025px) {
    body#page-home .rpgx-section-head h2 {
        font-size: 25px !important;
    }

    body#page-home .rpgx-search-tabs button {
        min-height: 42px !important;
        font-size: 13px !important;
    }

    body#page-home .rpgx-pills > *,
    body#page-home .rpgx-pro-tabs > * {
        min-height: 34px !important;
        font-size: 11.5px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    body#page-home .rpgx-search-tabs button,
    body#page-home .rpgx-pills > *,
    body#page-home .rpgx-pro-tabs > *,
    body#page-home .rpgx-section-head > a,
    body#page-home .rpgx-panel-head > a {
        transition: none !important;
    }
}

/* ================================================================
   V25 PRECISION LAYER
   ================================================================ */

body#page-home .rpgx-section-head,
body#page-home .rpgx-panel-head {
    border-color: rgba(7, 143, 77, .13) !important;
    background: linear-gradient(105deg, #e7f5ed 0%, #f4faf7 58%, #fff 100%) !important;
    box-shadow: 0 4px 15px rgba(18, 62, 42, .055) !important;
}

@media (max-width: 1024px) {
    body#page-home .rpg-market-announcement,
    body#page-home .rpg-market-announcement .container,
    body#page-home .ae-anno-announcement-wrapper,
    body#page-home .ae-anno-announcement__items,
    body#page-home .ae-anno-announcement,
    body#page-home .ae-anno-announcement__content {
        min-height: 0 !important;
        height: auto !important;
    }

    body#page-home .rpg-market-announcement {
        margin: 0 !important;
        padding: 0 !important;
        border-bottom: 1px solid #edf2ef !important;
        background: #fff !important;
    }

    body#page-home .rpg-market-announcement .container {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 16px !important;
    }

    body#page-home .ae-anno-announcement-wrapper,
    body#page-home .ae-anno-announcement__items,
    body#page-home .ae-anno-announcement,
    body#page-home .ae-anno-announcement__content {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    body#page-home .ae-anno-announcement__controls {
        display: none !important;
    }

    body#page-home .ae-anno-announcement__text {
        display: block !important;
        width: 100% !important;
        margin: 0 !important;
        overflow: hidden !important;
        color: #51645b !important;
        line-height: 30px !important;
        text-align: center !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }
}

@media (max-width: 576px) {
    body#page-home .rpg-market-announcement,
    body#page-home .ae-anno-announcement-wrapper,
    body#page-home .ae-anno-announcement__items,
    body#page-home .ae-anno-announcement,
    body#page-home .ae-anno-announcement__content {
        max-height: 30px !important;
    }

    body#page-home .ae-anno-announcement__text {
        font-size: 9px !important;
    }

    body#page-home .rpgx-container {
        width: calc(100% - 24px) !important;
        max-width: none !important;
    }

    body#page-home .rpgx-section,
    body#page-home .rpgx-types-section,
    body#page-home .rpgx-properties-section {
        margin: 0 !important;
        padding-top: 18px !important;
        padding-bottom: 18px !important;
    }

    body#page-home .rpgx-section-head,
    body#page-home .rpgx-panel-head {
        min-height: 42px !important;
        margin-bottom: 11px !important;
        padding: 9px 9px 9px 14px !important;
        gap: 7px !important;
        border-radius: 11px !important;
    }

    body#page-home .rpgx-section-head::before,
    body#page-home .rpgx-panel-head::before {
        top: 9px !important;
        bottom: 9px !important;
        width: 3px !important;
    }

    body#page-home .rpgx-section-head h2 {
        font-size: clamp(15px, 4.25vw, 17px) !important;
        line-height: 1.08 !important;
    }

    body#page-home .rpgx-panel-head h3 {
        font-size: 14px !important;
    }

    body#page-home .rpgx-section-head > a,
    body#page-home .rpgx-panel-head > a,
    body#page-home .rpgx-view-all {
        min-height: 27px !important;
        padding: 4px 7px !important;
        font-size: 9px !important;
    }

    body#page-home .rpgx-search-tabs button {
        min-height: 38px !important;
        font-size: 11px !important;
    }

    body#page-home .rpgx-field {
        min-height: 48px !important;
    }

    body#page-home .rpgx-search-btn {
        min-height: 44px !important;
        font-size: 10.5px !important;
    }

    body#page-home .rpgx-type-row {
        grid-template-rows: repeat(2, 76px) !important;
        grid-auto-columns: 154px !important;
        gap: 9px !important;
        padding: 1px 12px 7px 0 !important;
        scroll-snap-type: x proximity !important;
    }

    body#page-home .rpgx-type-card {
        width: 154px !important;
        min-width: 154px !important;
        min-height: 76px !important;
        padding: 8px !important;
        grid-template-columns: 52px 1fr !important;
        gap: 8px !important;
        border-radius: 12px !important;
        scroll-snap-align: start !important;
    }

    body#page-home .rpgx-type-card img {
        width: 52px !important;
        height: 60px !important;
        border-radius: 9px !important;
    }

    body#page-home .rpgx-type-card strong {
        font-size: 11px !important;
    }

    body#page-home .rpgx-type-card span {
        font-size: 8.5px !important;
    }

    body#page-home .rpgx-property-grid {
        gap: 10px !important;
        padding: 1px 70px 8px 0 !important;
        scroll-padding-left: 0 !important;
        scroll-snap-type: x mandatory !important;
    }

    body#page-home .rpgx-property-card {
        flex: 0 0 min(72vw, 278px) !important;
        width: min(72vw, 278px) !important;
        min-width: min(72vw, 278px) !important;
        max-width: 278px !important;
        border-radius: 13px !important;
        scroll-snap-align: start !important;
        scroll-snap-stop: normal !important;
    }

    body#page-home .rpgx-property-media {
        height: 154px !important;
    }

    body#page-home .rpgx-property-body {
        padding: 9px 10px !important;
    }

    body#page-home .rpgx-property-title {
        min-height: 32px !important;
        font-size: 12.5px !important;
        line-height: 1.28 !important;
    }

    body#page-home .rpgx-meta {
        margin-top: 4px !important;
        font-size: 9px !important;
    }

    body#page-home .rpgx-price-line {
        margin-top: 7px !important;
    }

    body#page-home .rpgx-price-line strong {
        font-size: 14px !important;
        line-height: 1.15 !important;
    }

    body#page-home .rpgx-property-card .property-contact-actions,
    body#page-home .rpgx-property-card .rpgx-property-actions {
        gap: 6px !important;
        padding: 7px 8px 8px !important;
    }

    body#page-home .rpgx-property-card .property-contact-action {
        min-height: 40px !important;
        padding: 0 7px !important;
        border-radius: 8px !important;
        font-size: 10px !important;
    }

    body#page-home .rpgx-location-row {
        gap: 10px !important;
        padding: 1px 48px 7px 0 !important;
        scroll-snap-type: x mandatory !important;
    }

    body#page-home .rpgx-location-card {
        flex: 0 0 min(46vw, 172px) !important;
        width: min(46vw, 172px) !important;
        min-width: min(46vw, 172px) !important;
        height: 125px !important;
        border-radius: 13px !important;
        scroll-snap-align: start !important;
    }

    body#page-home .rpgx-trust {
        padding: 14px !important;
        gap: 9px !important;
        border-radius: 15px !important;
    }

    body#page-home .rpgx-trust > div:first-child h3 {
        max-width: 240px !important;
        margin-bottom: 10px !important;
        padding: 10px 11px 10px 15px !important;
        border-color: rgba(255, 255, 255, .08) !important;
        background: linear-gradient(110deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .015)) !important;
        font-size: 19px !important;
        line-height: 1.05 !important;
    }

    body#page-home .rpgx-trust-stat {
        min-height: 68px !important;
        padding: 7px !important;
    }

    body#page-home .rpgx-trust-stat strong {
        font-size: 16px !important;
    }

    body#page-home .rpgx-trust-stat span {
        font-size: 8.5px !important;
        line-height: 1.25 !important;
    }

    body#page-home .rpgx-split {
        gap: 12px !important;
    }

    body#page-home .rpgx-prof-grid {
        padding: 8px 11px 11px !important;
        gap: 6px !important;
    }

    body#page-home .rpgx-prof {
        min-height: 46px !important;
        grid-template-columns: 34px 1fr auto !important;
        gap: 8px !important;
        padding: 3px 0 !important;
    }

    body#page-home .rpgx-prof img,
    body#page-home .rpgx-prof-generated-avatar {
        width: 34px !important;
        height: 34px !important;
    }

    body#page-home .rpgx-prof strong {
        font-size: 10.5px !important;
    }

    body#page-home .rpgx-prof span {
        font-size: 8px !important;
    }

    body#page-home .rpgx-dev-main {
        padding: 10px !important;
    }

    body#page-home .rpgx-dev-card {
        grid-template-columns: minmax(108px, 42%) minmax(0, 1fr) !important;
        gap: 10px !important;
    }

    body#page-home .rpgx-dev-card img {
        width: 100% !important;
        height: 96px !important;
        border-radius: 10px !important;
    }

    body#page-home .rpgx-dev-card h4 {
        font-size: 13.5px !important;
        line-height: 1.15 !important;
    }

    body#page-home .rpgx-dev-price {
        margin: 6px 0 !important;
        font-size: 10.5px !important;
        line-height: 1.25 !important;
    }

    body#page-home .rpgx-dev-card .rpgx-btn {
        min-height: 38px !important;
        padding: 0 10px !important;
        font-size: 9px !important;
    }

    body#page-home .rpgx-cta {
        min-height: 145px !important;
        padding: 16px 14px !important;
        gap: 10px !important;
    }

    body#page-home .rpgx-cta h3 {
        font-size: 18px !important;
        line-height: 1.06 !important;
    }

    body#page-home .rpgx-cta > div:last-child {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px !important;
    }

    body#page-home .rpgx-cta .rpgx-btn {
        min-height: 42px !important;
        padding: 0 8px !important;
        font-size: 9px !important;
    }

    body#page-home .rpgx-footer-grid > div:nth-child(n+2):nth-child(-n+5) h4 {
        min-height: 42px !important;
    }
}

@media (min-width: 577px) and (max-width: 1024px) {
    body#page-home .rpgx-container {
        width: calc(100% - 40px) !important;
        max-width: none !important;
    }

    body#page-home .rpgx-section,
    body#page-home .rpgx-types-section,
    body#page-home .rpgx-properties-section {
        padding-top: 28px !important;
        padding-bottom: 28px !important;
    }

    body#page-home .rpgx-section-head,
    body#page-home .rpgx-panel-head {
        min-height: 50px !important;
        margin-bottom: 15px !important;
        padding: 10px 14px 10px 18px !important;
    }

    body#page-home .rpgx-search-box {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }

    body#page-home .rpgx-search-btn {
        grid-column: 1 / -1 !important;
        min-height: 46px !important;
    }

    body#page-home .rpgx-type-row {
        display: grid !important;
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 12px !important;
        overflow: visible !important;
    }

    body#page-home .rpgx-type-card {
        width: auto !important;
        min-width: 0 !important;
        min-height: 82px !important;
    }

    body#page-home .rpgx-property-grid {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 16px !important;
        overflow: visible !important;
        padding: 0 !important;
    }

    body#page-home .rpgx-property-card {
        width: auto !important;
        min-width: 0 !important;
        max-width: none !important;
    }

    body#page-home .rpgx-property-media {
        height: 210px !important;
    }

    body#page-home .rpgx-location-row {
        display: flex !important;
        gap: 14px !important;
        overflow-x: auto !important;
        padding: 1px 0 8px !important;
        scroll-snap-type: x mandatory !important;
    }

    body#page-home .rpgx-location-card {
        flex: 0 0 calc((100% - 28px) / 3) !important;
        min-width: calc((100% - 28px) / 3) !important;
        scroll-snap-align: start !important;
    }

    body#page-home .rpgx-split {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 16px !important;
        align-items: stretch !important;
    }

    body#page-home .rpgx-panel {
        height: 100% !important;
    }

    body#page-home .rpgx-dev-card {
        grid-template-columns: minmax(150px, 42%) minmax(0, 1fr) !important;
        gap: 14px !important;
    }

    body#page-home .rpgx-dev-card img {
        width: 100% !important;
        height: 150px !important;
        object-fit: cover !important;
    }

    body#page-home .rpgx-cta .rpgx-btn,
    body#page-home .rpgx-property-card .property-contact-action {
        min-height: 44px !important;
    }
}
