.publication__header{
    display: flex;
    flex-wrap: wrap;
}
.publication__date{
    color: #656C6F;
    font-weight: bold;
    text-align: center;
}
.publication__title{
    width: 90%;
    padding-left: 20px;
    color: #656C6F;
    font-size: 24px;
    font-weight: bold;
}
.publication__back-link{
    margin: 15px 0;
    display: inline-block;
    position: relative;
    padding-left: 20px;
    color: #E20932;
    font-size: 12px;
}
.publication__back-link:hover{
    text-decoration: underline;
}
.publication__back-link::before{
    content: '';
    position: absolute;
    width: 12px;
    height: 7px;
    background: url('./images/sprite.png') -245px -123px no-repeat;
    margin-top: -4px;
    top: 50%;
    left: 0;
}

.publication__txt{
    padding: 20px 0;
}

.publication__footer{
    margin-top: 50px;
    padding: 25px 0;
    background: #F0F0F0;
}
.publication__nav{
    display: flex;
    justify-content: space-between;
}

.publication__nav-link {
    display: inline-block;
    margin-bottom: 10px;
    font-weight: bold;
    color: #E20932;
    position: relative;
}
.publication__nav-link:hover{
    text-decoration: underline;
}

.publication__nav-link--prev::before{
    content: '';
    position: absolute;
    width: 7px;
    height: 12px;
    background: url('./images/sprite.svg') 100% 74.62687% no-repeat;
    top: 3px;
    left: -15px;
}

.publication__nav-link--next::after{
    content: '';
    position: absolute;
    width: 7px;
    height: 12px;
    background: url('./images/sprite.svg') 100% 74.62687% no-repeat;
    top: 3px;
    right: -15px;
    transform: rotate(180deg);
}

.publication__post-name{
    color: #656C6F;
    margin: 10px 0 20px;
}


@media screen and (max-width: 992px){
    .publication__header{
        flex-direction: column;
    }
    .publication__title{
        width: 100%;
        padding-left: 0;
        margin-top: 15px;
        text-align: center;
    }
    .publication__nav{
        justify-content: space-around;
    }
    .publication__nav-item{
        width: 30%;
    }
}