.pageRecipesList-content {
    --nb-columns: 1;
    box-sizing: border-box;
    padding-top: 0;
    padding-bottom: 1.75rem;
    padding-inline: 1rem;
    text-align: right;
    display: grid;
}

.pageRecipesList-recipes {
    display: grid;
    grid-template-columns: repeat(var(--nb-columns), 1fr);
    gap: 1.5rem;
    padding-top: .625rem;
}

.pageRecipesList-recipe.card {
    background-color: var(--white);
    border-radius: 1rem;
    padding: 1.5rem;
    padding-bottom: 0;
    display: flex;
    align-items: center;
    flex-direction: column;
    min-width: 0;
}

.pageRecipesList-recipe a:not(.cta) {
    width: 100%;
}

.pageRecipesList-recipe a:not(.cta) img {
    border-radius: 15px;
    height: 21.87rem;
    object-fit: cover;
    display: block;
}

.pageRecipesList-recipe a img {
    width: 100%;
    height: auto;
}

.pageRecipesList-recipes h3 {
    font-size: 1.25rem;
    line-height: 100%;
    text-transform: uppercase;
    width: 90%;
    margin-bottom: 0.18rem;
    font-weight: var(--font-weight-lt);
    letter-spacing: -0.03em;
}

.pageRecipesList-recipes h3 a {
    color: var(--color-primary);
}

.recipe.card .recipe-footer {
    margin-top: 1.68rem;
    margin-bottom: 1.125rem;
}

.recipe.card .recipe-footer .cta {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1.875rem;
    height: auto;
    padding: 0;
    margin: 0;
}


/* 568px */
@media screen and (min-width: 35.5rem) {
    .pageRecipesList-content {
        --nb-columns: 2;
    }
}


/* 768px */
@media screen and (min-width: 48rem) {

    .pageRecipesList-content {
        padding-bottom: 3rem;
        padding-inline: 3.25rem;
    }

    .pageRecipesList-recipes {
        gap: 1.063rem;
    }

    .pageRecipesList-recipes h3 {
        font-size: 1.5rem;
        line-height: 1.75rem;
    }

    .pageRecipesList-recipe a:not(.cta) {
        margin-bottom: .375rem;
    }

    .pageRecipesList-recipe a:not(.cta) img {
        height: unset;
    }
}

/* 1024px */
@media screen and (min-width: 64rem) {

    .pageRecipesList-content {
        --nb-columns: 3;
        padding-top: 2.125rem;
    }

    .recipe.card .recipe-footer {
        padding: .75rem 1.875rem;

        margin-top: auto;
        margin-bottom: auto;
    }

    .recipe.card .recipe-footer .cta {
        right: 0.8rem;
        width: 3rem;
    }
}

/* 1440px */
@media screen and (min-width: 90rem) {
    .pageRecipesList-content {
        padding-bottom: 7.75rem;
        padding-inline: 13.37rem;
    }
}

/* 1680px */
@media screen and (min-width: 1680px) {
    .pageRecipesList-content {
        padding-inline: unset;
    }
}