
.post-list{
    display: flex;
    flex-wrap: wrap;
    margin: 0 -20px 0 0;
}

.post-list.-horizontal{
    margin: 0;
}

/* вертикальный список записей */

.post-item__outer{
    flex: 0 0 33%;
    padding: 0 20px 20px 0;
    box-sizing: border-box;
    display: flex;
}

@media (max-width: 1024px){
    .post-list{
        margin: 0 -15px 0 0;
    }

    .post-item__outer{
        padding: 0 15px 15px 0;
    }
}

.post-item {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.post-item__image{
    margin-bottom: -30px;
}

.post-item__image img{
    border-radius: 25px 25px 0 0;
}

.post-item__image.-image-bg{
    background-repeat: no-repeat;
    background-position: 50%;
    background-size: cover;
    border-radius: 25px 25px 0 0;
}

.post-item__content{
    padding: 35px;
    border-radius: 25px;
    box-shadow: 0 5px 17px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    position: relative;
    flex: 1 1 auto;
    background: var(--wrap-bg-color);
}

.post-item__title{
    font-size: 18px;
    font-weight: bold;
    margin: 0 0 20px;
    line-height: 1.2;
}

.post-item__title a{
    text-decoration: none;
}

.post-item__date,
.post-item__user{
    font-size: 12px;
    color: #a0a0a0;
    display: inline-block;
}

.post-item__date{
    margin: 0 15px 0 0;
}

.post-item__meta{
    margin: 0 0 10px;
}

.post-item__bottom{
    flex: 1 1 auto;
    margin: 15px 0 0;
    display: flex;
    align-items: end;
}

.post-item__link{
    flex: 1 1 auto;
    text-align: right;
}

.post-item__comments .icon{
    margin:  0 5px 0 0;
}

@media (max-width: 1249px) and (min-width: 1150px){
    .content-cols--sidebar .post-item__content{
        padding: 25px;
    }
}

@media (max-width: 1149px) and (min-width: 1025px){
    .content-cols--sidebar .post-item__outer{
        flex: 0 0 50%;
    }
}

@media (max-width: 899px) and (min-width: 800px), (max-width: 599px) and (min-width: 500px), (max-width: 360px){
    .post-item__content{
        padding: 25px;
    }
}

@media (max-width: 799px){
    .post-item__outer{
        flex: 0 0 50%;
    }
}

@media (max-width: 499px){
    .post-item__outer{
        flex: 0 0 100%;
        padding-right: 0;
    }

    .post-list{
        margin: 0;
    }
}

/* горизонтальный список записей */

.post-item-h{
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    border-radius: 20px;
    margin: 0 0 20px;
    padding: 40px;
    background: var(--wrap-bg-color);
    display: flex;
}

.post-item-h__image{
    flex: 0 0 357px;
    width: 357px;
    margin: 0 30px 0 0;
    font-size: 0;
    display: block;
}

.post-item-h__image img{
    border-radius: 20px;
}

.post-item-h__content{
    display: flex;
    flex-direction: column;
}

.post-item-h__title{
    font-size: 18px;
    font-weight: bold;
    margin: 0 0 10px;
}

.post-item-h__title a{
    text-decoration: none;
}

.post-item-h__meta{
    font-size: 13px;
    opacity: 0.5;
    margin: 0 0 10px;
}

.post-item-h__date{
    margin: 0 20px 0 0;
}

.post-item-h__bottom{
    margin: 10px 0 0;
    display: flex;
    flex: 1 1 auto;
    align-items: end;
}

.post-item-h__link{
    margin-left: auto;
}

.post-item-h__comments .icon{
    margin: 0 5px 0 0;
}


@media (max-width: 900px){
    .post-item-h{
        display: block;
    }

    .post-item-h__image{
        margin: 0 0 20px;
    }
}

@media (max-width: 500px){
    .post-item-h__image{
        width: auto;
    }
}

@media (max-width: 400px){
    .post-item-h{
        padding: 30px;
    }
}

@media (max-width: 359px){
    .post-item-h{
        padding: 20px;
    }
}

/* END горизонтальный список записей */

.pageless-wrapper{
    text-align: center;
    width: 100%;
}

.post-page__credentials{
    display: flex;
    font-size: 13px;
    margin: 0 0 20px;
}

.post-page__content {
    display: inline-block;
    width: 100%;
    margin: 0 0 30px;
}

.post-page__content ul{
    list-style-position: inside;
}

.post-page__image {
    float: left;
    margin: 0 30px 30px 0;
    max-width: 500px;
}

.post-page__image img{
    border-radius: 25px;
    box-shadow: 0 5px 17px rgba(0,0,0,0.03);
}

@media (max-width: 599px) {
    .post-page__image {
        margin: 0 20px 5px 0;
        max-width: 150px;
    }
}

@media (max-width: 399px) {
    .post-page__image {
        margin: 0 0 5px 0;
        max-width: none;
        float: none;
        text-align: center;
    }

    .post-page__image img{
        max-height: 200px;
    }
}

.post-page__date{
    flex: 1 1 auto;
    color: #a0a0a0;
}

.post-page__username a{
    color: #a0a0a0;
}

.post-page__share{
    margin: 30px 0 0;
}

.post-page__content .text_after{
    margin-top: 20px;
}

.post-products{
    margin-top: 50px;
}