.last-post__pic {
    display: block;
    width: 100%;
    height: 100%;
    /*padding-top: 260px;*/
    /*padding-bottom: 24px;*/
    background-repeat: no-repeat;
    background-size: cover;
    transition: transform 200ms ease-in;
    background-position: center;
}

.last-post__wrapper {
    display: block;
    /*max-height: 500px;*/
    height: 400px;
    width: 80%;
    overflow: hidden;
    margin: 1.6rem 0;
    border-radius: 2rem;
}

.last-post{
    width: 100%;
}

.last-post .header__main{
    text-align: center;
}



.last-post__info{
    max-width: 90%;
    width: fit-content;
    background-color: var(--purple-secondary);
    color: var(--white);
    padding: 20px;
    position: relative;
    top: 12rem;
    border-bottom-right-radius: 1rem;
    border-top-right-radius: 1rem;
}

.last-post__title{

}

.last-post__desc{
    margin-top: 20px;
}

.news--news-page{
    width: 100%;
}

.news__list{
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news__list > li{
    list-style: none;
    margin-top: 10px;
    background-color: rgba(255, 255, 255, .1);
    padding: .5rem;
    border-radius: .8rem;
}

.news__list > li:hover{
    background-color: var(--purple-secondary);
    color: white;
}

/*.container.news__content:hover{*/
/*    !*opacity: 0.6;*!*/
/*    background-color: var(--purple-secondary);*/
/*    color: white;*/
/*}*/

.news__content{
    display: flex;
    justify-content: space-between;
    position: relative;
    padding-right: 1rem;
}

.news__pic{
    min-width: 25%;
    min-height: 165px;
    background-position: center;
    background-size: cover;
    overflow: hidden;
    border-radius: 1rem;
}

.news__info{
    width: 38%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    gap: 1rem;
    overflow: hidden;
}

.news__info .news__desc{
    font-size: 1.1rem !important;
    overflow: hidden;
    max-height: 5rem;
}

.news__info .news__desc > *{
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.news__icon{
    display: flex;
    align-items: center;
}

.link-back{
    width: 40px;
    height: 20px;
}

.single-post__container{
    padding: 1.5rem 1.5rem 8rem;
}

.single-post__container .header__main{
    color: white;
    font-size: 3.5rem;
    letter-spacing: .17rem;
    line-height: 3rem;
    margin-bottom: 1.3rem;
}

.bg-single-post__pic{
    height: 50vh;
    overflow: hidden;
    border-radius: 2rem;
    position: relative;
}

.single-post__pic .overlay-light,
.single-post__img .overlay-light{
    background: linear-gradient(180deg, rgba(50,33,60,0) 0%, rgba(20,1,32,1) 85%) !important;
    bottom: 0;
    height: 42% !important;
}

.single-post__img{
    max-height: 50vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
}

.single-post__img>img {
    width: fit-content;
}

.single-post__header{
    padding: 1rem 2rem;
    position: relative;
    margin-top: -7%;
    z-index: 11;
}

.section-text__par--accent{
    font-size: 1.65rem;
    font-weight: 500;
    color: var(--yellow-text-secondary);
}

.single-post__content{
    max-width: 888px;
    margin: 3rem auto;
    padding: 0 2rem;
}
.back-arrow__container{
    padding: 0 1rem 1rem;
    display: flex;
    justify-content: space-between;
}

.news-item-date{
    position: absolute;
    top: 0;
    right: 0;
    padding: .5rem;
    z-index: 1;
}

@media screen and (max-width: 480px) {
    .news__list{
        padding: 0;
    }
    .news__title{
        font-size: .93rem;
    }
    .news__info .news__desc{
        font-size: .9rem !important;
    }
}

@media screen and (min-width: 601px) {
    .news__content .overlay-dark{
        display: none!important;
    }
}


@media screen and (max-width: 600px) {
    .last-post__wrapper{
        width: 100%;
        max-width: 300px;
        height: 250px;
    }
    .last-post__pic{
        padding: 0;
    }
    .last-post__info{
        max-width: 70%;
        padding: 10px;
    }
    .news__info{
        padding: .5rem 1rem;
        width: fit-content;
        min-width: 45%;
        position: relative;
        z-index: 11;
        height: fit-content;
        background-color: var(--purple-module);
        border-top-right-radius: 1rem;
        border-bottom-right-radius: 1rem;
        top: 2.9rem;
        max-width: 395px;
        max-height: 6rem;
    }
    .news__content{
        min-height: 165px;
    }
    .news__pic{
        position: absolute;
        width: 100%;

    }
    .last-post__wrapper{
        display: none;
    }

}

@media screen and (max-width: 550px) {
    .single-post__header{
        margin-top: -18%;
    }
    .bg-single-post__pic{
        height: 25vh !important;
        background-position: center;
    }
}

@media screen and (min-width: 551px) and (max-width: 766px) {
    .bg-single-post__pic{
        height: 28vh !important;
        background-position: center;
    }
    .single-post__header{
        margin-top: -17%;
        text-align: center;
    }
}

@media screen and (min-width: 767px) and (max-width: 898px) {
    .single-post__header{
        margin-top: -20%;
        text-align: center;
    }
}

@media screen and (min-width: 899px) and (max-width: 1100px) {
    .single-post__header{
        margin-top: -17%;
    }
}

@media screen and (max-width: 766px) {
    .single-post__container .header__main{
        font-size: 2rem;
        line-height: 1.7rem;
    }
    .section-text__par--accent{
        font-size: 1.2rem;
    }
    .bg-single-post__pic{
        background-size: contain !important;
    }
    .single-post__container{
        padding: 0;
    }
}

@media screen and (min-width: 767px) and (max-width: 1279px) {
    .single-post__container .header__main{
        font-size: 2.5rem;
        line-height: 2rem;
    }
    .section-text__par--accent{
        font-size: 1.35rem;
    }
}

@media screen and (max-width: 900px) {
    .single-post__content{
        max-width: 600px;
    }
}
