.realestate-item .real-listings-post-item {
    border-radius: 5px;
    margin-bottom: 20px;
    background: var(--white-700);
    overflow: hidden;
    position: relative;
    transition: var(--transition);
}

.realestate-item .real-listings-post-item:hover {
    box-shadow: 0px 5px 20px 0px var(--primary-font-color)0001a;
}

.cwp-archive-container.gallery .realestate-item .real-listings-post-item:hover {
    box-shadow: unset;
}

.realestate-item .real-listings-post-thumbnail {
    position: relative;
}

.realestate-item .real-listings-post-thumbnail .post-img a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.realestate-item .real-listings-post-thumbnail .post-for span {
    padding: 6px 0;
    width: 89px;
    background: var(--primary-color);
    position: absolute;
    top: 0;
    left: 0;
    color: var(--white-700);
    font-family: var(--primary-font);
    font-size: 12px;
    font-weight: 600;
    text-align: center;
}

.realestate-item .real-listings-post-thumbnail .post-for.rent span {
    background: var(--secondary-color);
}

.realestate-item .real-listings-post-thumbnail .post-price span {
    padding: 7px 17px;
    border-radius: 62px;
    background: var(--white-700);
    color: var(--primary-font-color);
    font-family: var(--primary-font);
    font-size: 18px;
    font-weight: 600;
    position: absolute;
    bottom: 14px;
    transition: var(--transition);
    left: 15px;
}

.realestate-item .real-listings-post-item:hover .post-price span {
    box-shadow: 0 0 0px 4px var(--white-700)fff94;
}

.realestate-item .real-listings-post-item:hover .real-listings-post-content {
    border-color: #fff0 !important;
}

@media (max-width: 991px) {
    .realestate-item .real-listings-post-thumbnail .post-price span {
        font-size: 14px;
    }
    .realestate-item .real-listings-post-content {
        padding: 25px 17px !important;
    }
    .realestate-item .real-listings-post-thumbnail .post-author-img {
        right: 8px !important;
    }
    .realestate-item .real-listings-post-content .post-title h2 {
        font-size: 18px !important;
    }
    .realestate-item .real-listings-post-content .post-details ul {
        gap: 0 14px !important;
    }
    .realestate-item .real-listings-post-content .post-details ul li {
        gap: 0 8px !important;
    }
}

@media (max-width: 767px) {
    .realestate-item .real-listings-post-content {
        padding: 25px 20px !important;
    }
    .realestate-item .real-listings-post-thumbnail .post-author-img {
        right: 11px !important;
    }
}

.realestate-item .real-listings-post-thumbnail .post-author-img {
    width: 62px;
    border-radius: 31px;
    position: absolute;
    bottom: -25%;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: var(--transition);
    right: 14px;
}

.realestate-item:hover .real-listings-post-thumbnail .post-author-img {
    bottom: -23%;
}

.realestate-item .real-listings-post-thumbnail .post-author-img .post-rating .rating-icon {
    margin-right: 4px;
}

.realestate-item .real-listings-post-thumbnail .post-author-img img {
    width: 62px;
    height: 62px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--white-700)
}

.realestate-item .real-listings-post-thumbnail .post-author-img .post-rating span {
    border-radius: 3.5px;
    border: 1px solid #EFEFEF;
    background: var(--white-700);
    padding: 3px 6px;
    color: #1F1B30;
    text-align: center;
    font-family: var(--primary-font);
    font-size: 9px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    display: inline-flex;
    margin: auto;
    margin-top: 7px;
}

.realestate-item .real-listings-post-content .post-location span {
    font-size: 12.469px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px;
    color: var(--primary-font-color);
    font-family: var(--primary-font);
}

.realestate-item .real-listings-post-content h2 {
    font-size: 20px;
    color: var(--primary-font-color);
    font-family: var(--primary-font);
    margin-bottom: 10px;
    max-width: calc(100% - 16%);
    word-wrap: break-word;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.realestate-item .real-listings-post-content h2:hover {
    color: var(--a-hover-color);
}

.realestate-item .real-listings-post-content {
    padding: 20px 26px 20px 26px;
    background: var(--white-700);
    border: 1px solid #DBDBDB;
    border-radius: 0 0 5px 5px;
}

.realestate-item .real-listings-post-content .post-rating {
    display: flex;
    justify-content: end;
    margin-top: -8px;
}

.realestate-item .real-listings-post-content .post-rating span {
    width: 41px;
    height: 19px;
    border-radius: var(--border-radius-xs);
    border: 1px solid #EFEFEF;
    background: var(--white-700);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1F1B30;
    font-family: var(--primary-font);
    font-size: 9px;
    font-weight: 500;
    gap: 0 3px;
    margin-bottom: 2px;
}

.realestate-item .real-listings-post-content .post-location {
    margin-bottom: 20px;
}

.realestate-item .real-listings-post-content .post-location a {
    color: #0A0A0A;
    font-family: var(--primary-font);
    font-size: 12px;
    font-weight: 400;
    line-height: 23px;
    text-decoration: none;
}

.realestate-item .real-listings-post-content .post-details ul {
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0 16px;
    flex-wrap: wrap;
}

.realestate-item .real-listings-post-content .post-details ul li {
    list-style: none;
    font-size: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0 10px;
}


/* archive styles  */

.realestate-grid-view .realestate-item .real-listings-post-thumbnail .post-img a img {
    height: 220px;
}


/* lisit view  */

.cwp-archive-container.realestate-list-view .col-12 {
    width: 100%;
}

.cwp-archive-container.realestate-list-view .col-12 .real-listings-post-item {
    display: flex;
    margin-bottom: 25px;
}

.cwp-archive-container.realestate-list-view .col-12 .real-listings-post-item .real-listings-post-thumbnail {
    width: 30%;
}

.cwp-archive-container.realestate-list-view .col-12 .real-listings-post-item .real-listings-post-content {
    width: 70%;
    border-radius: 0 5px 5px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cwp-archive-container.realestate-list-view .realestate-item .real-listings-post-thumbnail .post-author-img {
    bottom: 14px;
}

.cwp-archive-container.realestate-list-view .realestate-item .real-listings-post-thumbnail .post-author-img img {
    width: 40px;
    height: 40px;
}