.articles__row {
    display: grid;
    gap: 40px;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 160px;
}

.articles__card {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-direction: column;
    gap: 30px;
    height: 530px;
    flex-basis: 343px;
    border-radius: 40px;
    background: var(--color-lightgray);
    overflow: hidden;
}


.articles__card h3 {
    font-size: 32px;
    line-height: 1;
    margin-bottom: 60px;
    padding: 0 50px;
    color: var(--text-black);
}

.articles__card a {
    color: inherit;
}

.articles__card:nth-child(even) h3 {
    margin-bottom: 0;
    padding-top: 48px;
    color: var(--text-black);
}

.articles__card picture {
    display: flex;
    width: 100%;
    margin: 0 auto;
}

.articles__card--img-top img {
    max-width: 353px;
    margin: 70px auto 0;
}

.articles__card--img-bottom img {
    width: 100%;
}

@media (max-width: 992px) {
    .articles .container {
        padding: 0;
    }

    .articles__row {
        grid-template-columns: 1fr;
        gap: 42px;
        margin-bottom: 100px;
    }

    .articles__card {
        padding: 0;
        gap: 34px;
        overflow: hidden;
    }

    .articles__card--img-bottom {
        gap: 32px;
    }

    .articles__card--img-top img {
        margin-top: 0px;
        aspect-ratio: 353/314;
        width: 100%;
        height: auto;
    }

    .articles__card--img-bottom img {
        width: 100%;
        aspect-ratio: 355/303;
    }

    .articles__card h3 {
        padding: 0 30px;
        font-size: 24px;
        line-height: 1;
        margin-bottom: 38px;
    }

    .articles__card:nth-child(even) h3 {
        padding-top: 40px;
        margin-bottom: 8px;
    }
}