.property-card-grid>.col{display:flex}
.property-card-grid .property-item{width:100%}
.property-item.homeya-box:not(.list-style-1){display:flex;flex-direction:column;height:100%;background:#fff;box-shadow:0 5px 18px rgba(22,30,45,.05);transition:transform .22s ease,box-shadow .22s ease}
.property-item.homeya-box:not(.list-style-1):hover{transform:translateY(-3px);box-shadow:0 12px 30px rgba(22,30,45,.11)}
.property-item.homeya-box:not(.list-style-1)>.archive-top{display:flex;flex:1;flex-direction:column}
.property-item.homeya-box:not(.list-style-1)>.archive-top>.content{display:flex;flex:1;flex-direction:column}
.property-item .images-style{aspect-ratio:16/9;background:#f1f4f6}
.property-item .images-style>img,.property-item .images-style>.card-image-slider{width:100%;height:100%}
.property-item .images-style>img{display:block;object-fit:cover}
.rpg-property-placeholder{position:relative;display:flex;width:100%;height:100%;min-height:150px;align-items:center;justify-content:center;overflow:hidden;background:linear-gradient(145deg,#f7f9fa 0%,#e9eff1 100%);color:#23313a;text-align:center}
.rpg-property-placeholder:before,.rpg-property-placeholder:after{position:absolute;content:'';border-radius:999px;background:rgba(219,29,35,.06)}
.rpg-property-placeholder:before{width:180px;height:180px;top:-105px;right:-55px}
.rpg-property-placeholder:after{width:130px;height:130px;bottom:-85px;left:-45px}
.rpg-property-placeholder__inner{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;gap:5px;padding:16px}
.rpg-property-placeholder__inner svg{width:34px;height:34px;color:var(--primary-color,#db1d23);stroke-width:1.7}
.rpg-property-placeholder__brand{font-size:14px;line-height:18px;font-weight:800}
.rpg-property-placeholder__message{font-size:12px;line-height:16px;color:#6b7580}
.property-item .content>.text-capitalize,.property-item .content>.h7{min-height:40px}
.property-item .content .link.line-clamp-2{-webkit-line-clamp:2}
.property-item .content .desc{min-height:26px}
.property-item .content .meta-list{min-height:28px}
.property-item>.archive-bottom{display:grid!important;grid-template-columns:minmax(0,1fr) auto;align-items:center!important;gap:10px!important}
.property-card-agent{min-width:0}
.property-card-agent>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.property-card-price{flex-shrink:0;white-space:nowrap;text-align:right}
.property-card-price .h6,.property-card-price .h7{font-size:16px;line-height:22px}
.property-contact-actions{margin-top:auto}
.property-item.list-style-1{width:100%;height:100%;background:#fff}
.property-item.list-style-1>.content{display:flex;flex-direction:column}
.property-item.list-style-1 .property-contact-actions{margin-top:auto}
@media(max-width:767px){.property-item .content{padding:14px 15px}
.property-item>.archive-bottom{padding:13px 15px}
.property-card-price .h6,.property-card-price .h7{font-size:15px}
.rpg-property-placeholder{min-height:135px}
}
@media(max-width:420px){.property-item>.archive-bottom{grid-template-columns:1fr}
.property-card-price{text-align:left}
}
.property-author-role{display:block;margin-bottom:1px;color:#78838d;font-size:10px;font-weight:700;line-height:12px;text-transform:uppercase;letter-spacing:.04em}
.property-author-identity{display:flex;align-items:center;gap:5px;min-width:0}.property-author-role{flex:0 0 auto}.property-author-name{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.property-card-price{flex:0 0 auto;margin-left:10px}
/* RPG homepage stabilization: keep reusable cards inside their shortcode layouts. */
.property-item.homeya-box.list-style-1 {
    height: auto;
}

.property-item.homeya-box.list-style-1 .images-style {
    aspect-ratio: auto;
}

.flat-property .wrap-property > .box-left,
.flat-property .wrap-property > .box-right {
    min-width: 0;
}

.flat-property .wrap-property .box-right .property-item.list-style-1 {
    overflow: hidden;
}

.flat-agents .row > .box {
    display: flex;
    margin-bottom: 30px;
}

.flat-agents .box-agent {
    width: 100%;
    min-width: 0;
}

.flat-agents .box-agent .box-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 12px;
    background: #f1f3f5;
}

.flat-agents .box-agent .box-img > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (min-width: 768px) {
    .flat-property .wrap-property .box-right .property-item.list-style-1 > .images-group {
        flex: 0 0 42%;
        width: 42%;
        max-width: 240px;
    }

    .flat-property .wrap-property .box-right .property-item.list-style-1 > .content {
        min-width: 0;
    }
}

@media (max-width: 767px) {
    .flat-property .wrap-property .box-right .property-item.list-style-1 {
        display: block;
    }

    .flat-property .wrap-property .box-right .property-item.list-style-1 > .images-group {
        display: block;
        width: 100%;
    }

    .flat-property .wrap-property .box-right .property-item.list-style-1 .images-style {
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .flat-agents .row {
        row-gap: 0;
    }
}
