@import 'themes/colors.css';


.posts-body {
    display: flex;
}

.posts-left-side {
    width: 75%;
}
.posts-right-side {
    width: 24%;
    margin-left: 1%;
}

.list-posts-container {
    width: 100%;
    font-family: "Roboto Regular", Roboto, Arial !important;
    font-size: 14px;
    line-height: 20px;
    margin: 0;
    padding: 0;
    vertical-align: baseline;
    border: none;
}

.list-post-item {
    width: 100%;
    height: 200px;
    margin-bottom: 20px;
    border-radius: 4px;
    border: 1px solid #F2F2F2;
    box-sizing: border-box;
    display: block;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-decoration: none;
}

.list-post-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.3);
    text-decoration: none;
}

.list-post-item-a {
    font-family: "Roboto Regular", Roboto, Arial !important;
    font-size: 14px;
    line-height: 20px;
    margin: 0;
    padding: 0;
    vertical-align: baseline;
    border: none;
    color: #333;
}
.list-post-item-a:hover {
    text-decoration: none;
    color: black;
}

.list-post-item-left-side {
    float: left;
    display: block;
    overflow: initial;
    width: 30%;
    height: 100%;
}

.list-post-item-right-side {
    width: 70%;
    height: 100%;
    padding: 15px;
}

.header-rs {
    display: flex;
    margin-bottom: 10px;
}

.header-rs-type {
    font-size: 11px;
    line-height: 11px;
    margin: 0;
    text-transform: uppercase;
    padding: 5px 5px 0px 5px;
    background-color: var(--main-background-color);
    color: white;
}

.header-rs-price {
    font-size: 18px;
    margin-left: auto;
    font-weight: 700;
}

.item-title-post {
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 600;
    text-transform: inherit;
    font-size: 20px;
}

.item-address-post {
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-transform: inherit;
    color: gray;
    margin-top: 5px;
}

.avatar-acc {
    width: 30px;
    margin-right: 5px;
    height: 30px;
    border-radius: 50%;
}

/*right side*/
.posts-right-side-item {
    border: 1px solid #F2F2F2;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 16px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.posts-right-title {
    font-family: "Lexend Medium", Roboto, Arial !important;
    font-size: 16px;
    line-height: 20px;
    font-weight: 600;
    letter-spacing: -.2px;
    color: #2C2C2C;
    margin-bottom: 16px;
    display: block;
}

.posts-right-child {
    color: #2C2C2C;
    margin-bottom: 10px;
    font-size: 15px;
    font-weight: 400;
    cursor: pointer;
}

/*mobile*/
#post-item-mobile-container {
    display: none;
}

.post-item-mobile {
    width: 100%;
    position: relative;
}
.overlay-home-contact {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(26, 67, 85, 0.2);
}

.post-item-mobile {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    color: black;
}

.post-item-mobile:hover {
    text-decoration: none;
    color: black;
}

@media (max-width: 768px) {
    .posts-left-side {
        width: 100%;
    }

    .posts-right-side {
        width: 0%;
        display: none;
    }

    .custom-select-wrapper select option {
        text-align: left !important;
    }

    .text-align-for-price {
        text-align: left;
    }
}

@media (max-width: 640px) {
    #post-item-mobile-container {
        display: block;
    }

    .list-post-item {
        display: none;
    }

}