/* PAGE */
.pageRecipe {
    background-color: var(--white);
    padding-bottom: 3.688rem;
    color: var(--dark-blue);
}

.pageRecipe .container-width {
    display: flex;
    flex-direction: column;
    gap: 0;

    > .block {
        margin-top: 70px;
    }
}

.pageRecipe .breadcrumbs {
    > .breadcrumbs-items {
        margin: 0;
    }
}

.pageRecipe-title {
    margin: 0;
    font-weight: 700;
    font-size: 36px;
    line-height: 46px;
    letter-spacing: 0;
}

.pageRecipe-separator {
    height: 0.25rem;
    width: 3.125rem;
    border-radius: 0rem;
    background-color: var(--blue);
}

.pageRecipe-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 30px;

    > .pageRecipe-title {
        text-align: center;
        font-family: "Mitr Bold", "sans-serif";
        font-weight: 700;
    }
}

.pageRecipe-detail {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    gap: 20px;
    margin-top: 40px;
    > span {
        display: flex;
        flex-direction: row;
        gap: 0.625rem;
        font-weight: 600;
        font-size: 16px;
        letter-spacing: 0;
        text-align: center;

        > .pageRecipe-detail-logo {
            width: auto;
            height: 1.25rem;
        }
    }
}

/* IMAGE */
.pageRecipe-top-img {
    position: relative;
}

.pageRecipe-top-img-ellipse {
    position: absolute;
    width: 150%;
    bottom: -1px;
    left: -50%;
    right: 0;
}

.pageRecipe-top-img picture {
    display: block;
    height: 22.688rem;
}

.pageRecipe-top-img picture[data-banner-img-width] {
    display: flex;
}

.pageRecipe-top-img picture img {
    object-fit: cover;
    height: 100%;
}

/* INGREDIENTS */
.pageRecipe-ingredients {
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 2px solid var(--dark-blue);
    border-radius: 50px;
    gap: 21px;
    margin-top: 50px;
    padding: 25px 15px;
    
}

.pageRecipe-ingredients-title {
    font-weight: 400;
    font-size: 22px;
    line-height: 27.5px;
    letter-spacing: 0%;
    text-align: center;
    color: var(--blue);
}

.pageRecipe-ingredient-title {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 737px;

    > .left, .right {
        flex: 1;
        text-align: center;
        margin: 0;
        font-size: 1.25rem;
        line-height: 25px;
        letter-spacing: 0;
        font-family: "Mitr Bold", "sans-serif";
        font-weight: 700;
    }
}

.pageRecipe-ingredient-list {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    width: 100%;
    max-width: 737px;


    > .left {
        text-align: left;
    }

    > .right {
        text-align: right;
    }

    > .left, .right {
        margin-bottom: 15px;
        font-weight: 400;
        font-size: 16px;
        line-height: 26px;
        letter-spacing: 0;
    }

    > .left.no-margin,
    > .right.no-margin {
        margin-bottom: 0;
    }

    .divider {
        width: 1px;
        height: 100%;
        background-color: var(--dark-blue);
        margin: 0 2px;
    }
}

/* Etapes */
.pageRecipe-steps {
    display: grid;
    grid-template-columns: 1fr;
    /* display: flex;
    flex-direction: column; */
    gap: 20px;
    align-items: center;
    margin-top: 60px;

    > .pageRecipe-steps-left {
        display: flex;
        flex-direction: column;
        gap: 20px;
        flex: 1;

        > .pageRecipe-title {
            font-size: 2rem;
            line-height: 37px;
            letter-spacing: 0;
            font-family: "Mitr Bold", "sans-serif";
            font-weight: 700;
        }

        > .pageRecipe-steps-list {
            display: flex;
            flex-direction: column;
            gap: 20px;
            padding: 0;
            margin: 0;

            > li {
                display: flex;
                justify-content: flex-start;
                /* align-items: center; */
                counter-increment: inst;
                font-size: 16px;
                line-height: 37px;

                > p {
                    margin: 0;
                    font-weight: 400;
                    font-size: 16px;
                    line-height: 26px;
                    letter-spacing: 0;
                }
            }

            > li:before {
                content: counter(inst, decimal-leading-zero);
                display: block;
                font-family: "Pacifico";
                font-size: 32px;
                line-height: 37px;
                color: var(--blue);
                position: relative;
                margin-right: 14px;
                top: -8px;
                width: auto;
                min-width: 40px;
            }
        }
    }

    > .pageRecipe-steps-right {
        display: flex;
        flex-direction: column;
        gap: 20px;
        flex: 1;

        > .pageRecipe-steps-img{
            height: 100%;
            width:auto;
            margin: 0 auto;
            rotate: 5deg;
        }
    }
}

/* Autres recettes */
.pageRecipe-others-recipes {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 60px;

    > .pageRecipe-title {
        font-size: 2rem;
        line-height: 37px;
        letter-spacing: 0;
        text-align: center;
        font-family: "Mitr Bold", "sans-serif";
        font-weight: 700;
    }
}

.pageRecipe-others-recipes .swiper {
    padding: 0 1.30rem 4rem;
    margin:0 -10px;
}

.pageRecipe .slider-footer-gammes{
    margin-top: 0;
}

.pageRecipe .recipe .swiper-slide{
    height:auto;
}

@media screen and (min-width: 64rem) {
    .pageRecipe {
        padding-bottom: 5rem;
    }

    .pageRecipe .container-width {
        > .block {
            margin-top: 85px;
            margin-bottom: 0;
        }
    }

    .pageRecipe-top-img picture {
        height: 23.75rem;
    }

    .pageRecipe-top-img-ellipse {
        width: 100%;
        left: 0;
    }

    .pageRecipe-header {
        margin-top: 40px;
    }

    .pageRecipe-detail {
        margin-top: 50px;
    }

    .pageRecipe-ingredients {
        padding: 35px 20px;
    }

    .pageRecipe-ingredient-title {
        > .left, .right {
            font-size: 32px;
            line-height: 37px;
        }
    }

    .pageRecipe-steps {
        grid-template-columns: 2fr 1fr;
        margin-top: 80px;
        /* flex-direction: row; */
    }

    .pageRecipe-others-recipes {
        margin-top: 80px;
    }
}