.real-estate-post-style5 {
    border-radius: 8px;
    background: var(--white-700);
    overflow: hidden;
    transition: var(--transition);
}
.real-estate-post-style4:hover {
    box-shadow: 2px 8px 20px 0px #0000001f;
}
.real-estate-post-style5 a{
    text-decoration: none;
}

.real-estate-post-style5-thumbnail {
    position: relative;
    color: var(--white-700);
}

.real-estate-post-style5-thumbnail .post-img {
    height: 338px;
}

.real-estate-post-style5-thumbnail .post-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.real-estate-post-style5-thumbnail .post-top-tags {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.real-estate-post-style5-thumbnail .post-title-btns {
    display: flex;
    width: 100%;
    padding: 15px;
    justify-content: space-between;
    align-items: flex-end;
    position: absolute;
    bottom: 0;
    left: 0;
}

.real-estate-post-style5-thumbnail .media-count {
    margin-top: 10px;
    margin-left: 10px;
    display: flex;
    align-items: center;
    gap: 0 11px;
}

.real-estate-post-style5-thumbnail .media-count span {
    border-radius: 4px 5px;
    background: #00000066;
    padding: 3px 7px;
    font-size: 13px;
}

.real-estate-post-style5-thumbnail .tags-wrapper {
    display: flex;
    gap: 0 10px;
    margin-right: 10px;
}

.real-estate-post-style5-thumbnail .tags-wrapper span {
    font-size: 13px;
    background: #000;
    padding: 9px 5px;
}

.real-estate-post-style5-thumbnail .tags-wrapper span.fire {
    background: #FE6847;
}

.real-estate-post-style5-thumbnail .post-title-box span.states {
    padding: 5px 10px;
    border-radius: 5px;
    background: #FE6847;
    font-family: var(--primary-font);
    font-size: 13px;
    font-weight: 400;
    line-height: 15px;
    cursor: pointer;
}

.real-estate-post-style5-thumbnail .post-title-box a{
    text-decoration: none;
}

.real-estate-post-style5-thumbnail .post-title-box h3 {
    color: var(--white-700);
    font-family: var(--primary-font);
    font-size: 19px;
    font-weight: 500;
    line-height: 22.8px;
    margin: 8px 0 0 0;
}
.real-estate-post-style5-thumbnail .post-title-box h3:hover {
    color: var(--primary-color);
}
.real-estate-post-style5-thumbnail .post-compare-fav-box {
    display: flex;
    gap: 0 13px;
}

.real-estate-post-style5-thumbnail .post-compare-fav-box span {
    color: var(--white-700);
    font-size: 16px;
    cursor: pointer;
}

.real-estate-post-style5-content {
    padding: 15px;
    display: flex;
    justify-content: space-between;
}

.real-estate-post-style5-content .post-price p {
    color: var(--grey-700);
    font-family: var(--primary-font);
    font-size: 13px;
    font-weight: 500;
    line-height: 19px;
    margin-bottom: 5px;
}

.real-estate-post-style5-content .post-price span.price {
    color: var(--primary-color);
    font-family: var(--primary-font);
    font-size: 19px;
    font-weight: 700;
    line-height: 22px;
}

.real-estate-post-style5-content .post-details ul {
    padding: 0;
    margin: 0;
    display: flex;
    gap: 0 14px;
}

.real-estate-post-style5-content .post-details ul li{
    list-style: none;
}

.real-estate-post-style5-content .post-details ul li h6.label {
    color: var(--black-700);
    font-family: var(--primary-font);
    font-size: 13px;
    font-weight: 600;
    line-height: 19px;
    margin-bottom: 9px;
}

.real-estate-post-style5-content .post-details ul li span {
    display: flex;
    color: var(--black-700);
    gap: 0 8px;
    align-items: center;
    font-size: 13px;
}

.real-estate-post-style5-content .post-details ul li span .nmbrs {
    color: var(--grey-700);
    font-family: var(--primary-font);
    font-size: 13px;
    font-weight: 500;
    line-height: 15px;
}

.real-estate-post-style5-content .post-details ul li span .nmbrs p {
    margin: 0;
    color: var(--grey-700);
    font-family: var(--primary-font);
    font-size: 13px;
    font-weight: 400;
    line-height: 15px;
}

@media (max-width: 991px){

    .real-estate-post-style5-thumbnail .post-img {
        height: 290px;
    }

}