/* ARTICLE CONTENT */
.articles-algolia-content {
    padding-bottom: 2.75rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.articles {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .5rem;
    padding: 1rem;
}

.article {
    padding: 1rem;
    display: flex;
}

.article a {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.article img {
    max-width: 100%;
    border-radius: 15px;
    border: 2px solid var(--color-tertiary);
    aspect-ratio: 3 / 4;
    object-fit: cover;
}

.article h2 {
    margin-block: 1rem;
    text-align: center;
    text-transform: uppercase;
}

/* .article .article-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
} */

.article .cta {
    margin: 0;
    color: var(--yellowMinusl);
    border-radius: 88px;
    border: 2px solid var(--yellowMinusl);
    font-size: 1rem;
    line-height: 100%;
    padding-inline: 1rem;
}

.article h2 {
    font-size: 1.25rem;
    line-height: 100%;
}

@media screen and (min-width: 568px) {
    .articles {
        align-items: stretch;
        gap: 1rem;
    }
}


@media screen and (min-width: 768px) {
    .articles {
        grid-template-columns: repeat(3, 1fr);
        align-items: stretch;
    }

    .articles-algolia-content {
        padding-inline: 3rem;
    }

}

@media screen and (min-width: 1024px) {
    .articles-algolia-content {
        padding-inline: 5.375rem;
    }

    .article h2 {
        font-size: 2rem;
        line-height: 2.25rem;
    }

    .article .cta {
        font-size: 1.25rem;
        line-height: 150%;
        padding-block: 0.3rem;
        padding-inline: 1.938rem;
    }
}

@media screen and (min-width: 1366px) {
    .articles-algolia-content {
        padding-inline: 11.375rem;
    }
}

@media screen and (min-width: 1680px) {

    .articles-algolia-content {
        align-items: center;
    }

    .articles {
        max-width: 1440px;
        width: 100%;
    }

}