.project-item {
    position: relative;
    width: 100%;
    height: 597px;

    > img {
        object-fit: cover;
        object-position: center;
        width: 100%;
        height: 100%;
        max-height: 100%;
    }
}

.project-item__content {
    padding: 30px;
    position: absolute;
    top: 0;
    left: 0;

    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    align-items: start;
    justify-items: start;
    height: 100%;
    width: 100%;
    .new-items__all {
        border: 1px solid var(--White, #fff);
        color: var(--White, #fff);
        margin-top: auto;
    }

    .events-item__event-span {
        position: static;
        margin-top: auto;
    }
}

.project-item__title {
    margin: 0;

    color: #fafafa;
    font-size: 48px;
    font-style: normal;
    font-weight: 400;
    line-height: 100%; /* 48px */
    max-width: 440px;
}

.project-item__text {
    color: var(--White, #fff);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    max-height: 150%;
    overflow: hidden;
    line-height: 140.018%; /* 22.403px */
    text-align: right;
    max-width: 650px;
    margin-left: auto;
}

.line {
    width: 100%;
    height: 1px;
    margin: 20px 0 50px 0;
    background-color: var(--Black, #101010);
}

.banner__with-title_projects {
    gap: 0;
    > h1 {
        margin-bottom: 40px;
    }
}

.solutions__elements_projects {
    border-bottom: 1px solid var(--Black, #101010);
    padding-bottom: 20px;


    .solutions__item {
        width: calc((100% - 20px) / 3);
        display: block;
    }

    .solutions__elements {
        border-bottom: none;
        gap: 0 10px;
        padding-top: 0;
    }
}

@media (max-width: 1340px) {
    .project-item__title {
        font-size: 32px;
    }

    .project-item__text {
        max-width: 489px;
    }

    .project-item {
        height: 360px;
    }
}

@media (max-width: 964px) {
    .project-item {
        height: auto;
        > img {
            object-fit: cover;
            object-position: center;
            width: 100%;
            height: 262px;
            max-height: 100%;
            margin-bottom: 16px;
        }
    }

    .project-item__content {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, auto);
        gap: 16px;

        height: auto;
        width: auto;
        padding: 0;

        .new-items__all {
            border: 1px solid var(--Black, #101010);
            color: var(--Black, #101010);

            path {
                fill: #101010;
            }
        }
    }

    .project-item__text {
        color: var(--Black, #101010);
        max-width: 100%;
        text-align: left;
        grid-column: 1 / span 2;
    }

    .project-item__title {
        position: absolute;
        top: 20px;
        left: 20px;
        font-size: 24px;
    }
}

@media (max-width: 700px) {
    .project-item__content {
        display: flex;
        flex-direction: column;
    }

    .project-item__title {
        color: var(--Black, #101010);
        position: static;
        max-width: 343px;
    }

    .project-item {
        > img {
            height: 128px;
        }
    }

    .solutions__elements_projects {
        .solutions__elements {
            gap: 0 8px;
        }
        .solutions__item {
            width: calc((100% - 8px) / 2);
        }

        .solutions__text {
            font-size: 14px;
        }

        .pagination {
            display: flex;
        }
    }
}
