.news__inner {
    display: flex;
    align-items: flex-start;
}

.news__l {
    display: flex;
    flex-direction: column;
    flex-grow: 0;
    flex-shrink: 0;
    flex-basis: 160px;
}

.news__r {
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: auto;
    padding-left: 26px;
}

.news__l h1 {
    font-weight: 400;
    font-size: 40px;
    line-height: 100%;
    color: #333;
    margin-bottom: 32px;
    margin-top: 0;
}

.news-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 400;
    font-size: 16px;
    line-height: 120%;
    color: #333;
    background: #fff;
    border: 1px solid #b7b7b7;
    border-radius: 4px;
    padding: 3px;
    height: 40px;
    transition: all 0.5s;
    cursor: pointer;
    margin-bottom: 8px;
    text-decoration: unset;
}

.news-btn:last-child {
    margin-bottom: 0;
}

.news-btn:hover,
.news-btn.active {
    transition: all 0.5s;
    color: #fff;
    background: #7d64aa;
    border: 1px solid #7d64aa;
}

.news__item {
    display: flex;
    justify-content: space-between;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 10px;
    background: #f5f0ff;
}

.news-item:last-child {
    margin-bottom: 0;
}

.news__img {
    position: relative;
    flex-grow: 0;
    flex-shrink: 1;
    flex-basis: 57%;
    width: 57%;
    border-radius: 10px;
    overflow: hidden;
}

.news__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex-grow: 0;
    flex-shrink: 1;
    flex-basis: 40%;
    width: 40%;
}

.news__img a {
    display: block;
    width: 100%;
    height: 100%;
}

.news__img img {
    width: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.news__section {
    position: absolute;
    top: 13px;
    left: 13px;
    font-weight: 700;
    font-size: 12px;
    line-height: 100%;
    color: #fff;
    background: #5ad28e;
    padding: 10px;
    border-radius: 40px;
}

.news__section_blue {
    background: #4eb3f2;
}


.news__date {
    display: inline-block;
    font-weight: 500;
    font-size: 14px;
    line-height: 100%;
    color: #7d64aa;
    padding: 10px 15px;
    border-radius: 40px;
    background: #fff;
    margin-bottom: 14px;
}

.news__name {
    display: block;
    font-weight: 600;
    font-size: 22px;
    line-height: 127%;
    color: #333;
    margin-bottom: 14px;
    text-decoration: unset;
}

.news__text {
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: #333;
    margin-bottom: 14px;
}

.news__link-wrap {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: auto;
}

.news__link {
    font-weight: 500;
    font-size: 16px;
    line-height: 150%;
    color: #7d64aa;
}

@media screen and (max-width: 1024px) {
    .news__inner {
        flex-direction: column;
    }

    .news__img,
    .news__content,
    .news__l,
    .news__r {
        flex-basis: 100%;
        width: 100%;
        padding-left: 0;
    }

    .news__img {
        margin-bottom: 20px;
    }

    .news__l h1 {
        order: 1;
        margin-bottom: 24px;
        margin-top: 24px;
    }

    .news__item {
        flex-direction: column;
        padding: 15px;
        margin-bottom: 24px;
    }
}