.articles {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.articles__article {
    width: 100%;
    min-height: 374px;
    display: flex;
    background-color: #f2f2f2;
}

.articles__article:nth-child(even) {
    flex-direction: row-reverse;
    background-color: #fff;
}

.articles__article:nth-child(even).articles__article-content {
    justify-content: unset;
    padding: var(--space-xl) var(--space-3xl) var(--space-xl) var(--space-xl);
}

.articles__article-content {
    max-width: 50%;
    display: flex;
    flex: 1;
    text-align: left;
    align-items: center;
    padding: var(--space-xl) var(--space-xl) var(--space-xl) var(--space-3xl);
}

.articles__article-text {
    display: flex;
    flex-direction: column;
    gap: var(--space-m);
}

.articles__article-title {
    font-size: var(--step-4);
}

.articles__article-image-container {
    flex: 1;
}

.articles__article-image {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

@media only screen and (max-width: 996px) { 
    .articles__article-content {
        padding: var(--space-l);
    }
}

@media only screen and (max-width: 768px) { 
    .articles__article {
        flex-direction: column-reverse;
        height: fit-content;
    }
    
    .articles__article:nth-child(even) {
        flex-direction: column-reverse;
    }
    
    .articles__article:nth-child(even).articles__article-content {
        justify-content: center;
        padding: var(--space-m);
    }
    
    .articles__article-image, .articles__article-content {
        max-width: unset;
        width: 100%;
    }

    .articles__article-text {
        width: 100%;
    }
}