.error-page {
    padding: 75px 0;
}
.error {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.error__img {
    width: 300px;
    height: 300px;
    display: flex;
    justify-content: center;
    margin-bottom: 40px;

    img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
}
.error__text {
    font-size: 24px;
}
.error__btn {
    margin-top: 25px;
    display: flex;
}

.posts-wrapper picture {
    width: 100%;
    height: 100%;
}

.posts-wrapper__body {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 30px;

        @media(min-width: 600px) {
            grid-template-columns: repeat(2, 1fr);
        }

        @media(min-width: 960px) {
            grid-template-columns: repeat(3, 1fr);
        }
    }

.posts-wrapper__cat-title {
        font-weight: 400;
        line-height: 115%;
    }

.posts-wrapper__item {

    &:hover .posts-wrapper {

        &__img img {
            transform: scale(1.1);
        }
    }
}

.posts-wrapper__img {
    display: flex;
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: 16px;

    img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transform: scale(1);
        transition: transform .3s linear;
    }
}

.posts-wrapper__inner {
    margin-top: 20px;
}

.posts-wrapper__meta {
    display: flex;
    align-items: center;
    margin: 7px 0;
    color: silver;
}

.posts-wrapper__title {
    margin-bottom: 15px;
    font-size: 24px;
}

.posts-wrapper__title-link {
    transition: color .3s linear;
}







.more-posts {
    padding-bottom: 80px;
}

.category-head {
    overflow: hidden;
}

.category-head__more-posts-title {
    font-weight: 700;
    font-size: 30px;
    text-align: center;
}

.category-head__content {
        overflow: visible;
    }

.category-head__slide {
        display: flex;
        position: relative;
        z-index: 1;
        width: 100%;
        min-height: 400px;
        border-radius: 6px;
        overflow: hidden;

        @media(min-width: 520px) {
            max-width: 285px;
        }
    }

.category-head__link {
    display: flex;
    align-items: flex-end;
    padding: 45px 25px;
    position: relative;
    width: 100%;

    &:after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        backdrop-filter: blur(3px);
        background: rgba(0, 0, 0, .2);
        z-index: 2;
        transition: .3s linear;
        opacity: 0;
        visibility: hidden;
    }

    @media(hover:hover) {
        &:hover {
            &:after {
                opacity: 1;
                visibility: visible;
            }
            .category-head__title-post {
                color: #EA559D;
            }
        }
    }
}

.category-head__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    &:after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, .2);
        transition: background .3s linear;
        z-index: 2;
    }
}

.category-head__title-post {
    position: relative;
    z-index: 3;
    font-size: 20px;
    line-height: 130%;
    transition: all .3s linear;
    margin-bottom: 0;
    color: #fff;
    }

.swiper-horizontal>.swiper-scrollbar,
.swiper-scrollbar.swiper-scrollbar-horizontal {
    position: static;
    top: 0;
    left: 0;
    width: 100%;
    margin-top: 35px;
}

.swiper-scrollbar-drag {

}


.section-content__btn {
    margin-top: 20px;
}

.section-content__body {
    max-height: 350px;
    overflow: hidden;
    transition: all .5s linear;
    position: relative;
}

.section-content__body:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 300px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 16.3%, #fff 100%);
}

.section-content__body.open:after {
    display: none;
}

.logo .custom-logo-link {
    font-size: 28px;
    font-weight: 700;
}