ol
{
    list-style-type: none;
    counter-reset: step;
}
.recipe--single-step 
{
    counter-increment: step;
}
li.recipe--single-step::before 
{
    content: counter(step) ".";
    display: block;
    font-size: 35px;
    line-height: 45px;
    margin-bottom: 18px;
}

.product--details-img
{
    -webkit-mask-image: url("../img/product-mask-1.svg");
    mask-image: url("../img/product-mask-1.svg");
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    -webkit-mask-position: center;
    /* border: 1px solid rgba(0, 0, 0, 0);
    
    /* border: 1px solid rgba(0, 0, 0, 0);*/ /* hotfix: otherwise, 1px sides of the image may appear on Windows/Chrome */
}
.product--details:nth-child(2n + 1) .product--details-img
{
    -webkit-mask-image: url("../img/product-mask-2.svg");
    mask-image: url("../img/product-mask-2.svg");
    -webkit-mask-image: url("../img/product-mask-2.svg");
    height: 40vw;
}
.product--details:nth-child(2n + 1) {
    flex-direction: row-reverse;
}
.product--details:nth-child(2n + 1) .details--text-block {
    margin-left: 8.3%;
}
ol + .product--details
{
    margin-top: 114px;
}


.section-red::after,
.section-yellow::after
{
    content: "";
    display: block;
    position: absolute;
    height: 6vw;
    margin-top: -3vw;
    width: 100%;
    bottom: -1px;
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-position: bottom;
}
.section-red::after
{
    background-image: url('../img/_after-towhite.svg');
    transform: scaleX(-1);
}
.section-yellow::after
{
    background-image: url('../img/_after-tored.svg');
}

.section-yellow .div-block .image-3
{
    -webkit-mask-image: url("../img/recipe_header.svg");
    mask-image: url("../img/recipe_header.svg");
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    -webkit-mask-position: center;
}

/* #68557 */
@media screen and (max-width: 768px)
{
    .section-yellow .div-block .image-3
    {
        left: 35%;
        width: 90vw;
        height: 70vw;
    }    
}

.section-red > :last-child {
    padding-bottom: 10vw;
}


.recipe-info::before,
.recipe-item__guests-count::before
{
    content: "";
    display: inline-block;
    width: 26px;
    height: 26px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-right: 1em;
}

.recipe-info:nth-child(1)::before,
.recipe-item__guests-count:nth-child(1)::before
{
    background-image: url("../img/recipe-guests.png");
}
.recipe-info:nth-child(2)::before,
.recipe-item__guests-count:nth-child(2)::before
{
    background-image: url("../img/prep-time.png");
}
.recipe-info:nth-child(3)::before
{
    background-image: url("../img/cooking-time.png");
}
.recipe-item__guests-count:nth-child(2)
{
    margin-left: auto;
}
@media screen and (max-width: 767px)
{
    .product--details.single-recipe 
    {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
        
    }
    .details--text-block
    {
        width: auto;
        margin: 6vw;
        min-width: auto;
    }
}

.heading-8
{
    font-size: clamp(35px, 6vw, 80px);
    line-height: clamp(45px, calc(6vw + 10px), 100px);
}

.div-block
{
    align-items: flex-start;
}
@media screen and (min-width: 768px)
{
    .div-block-2
    {
        margin-top: clamp(10px, 13vw, 100px);
    }
}

.section-red
{
    overflow: hidden;
}

.recipe__preparation-heading::before 
{
    content: url("../img/svg_pictos/spoon.svg");
    position: absolute;
    right: 67%;
    width: 50px;
    top: 33px;
    display: inline-block;
}
@media screen and (max-width: 767px)
{
    .heading-7.recipe__preparation-heading
    {
        position: relative;
        margin-top: 40px;
    }
    .recipe__preparation-heading::before 
    {
        top: 0px;
        left: 50%;
        transform: translate(-50%, -100%);
    }
}

/** loosing time fixing webflow.... */
.single-related-item.recipe-item
{
    width: 100%;
    min-width: 240px;
    max-width: 312px;
    margin: 0 2% 45px;
    flex-direction: column;
}
@media screen and (max-width: 767px)
{
    .single-related-item.recipe-item
    {
        margin: auto;
    }
}
.div-block-3
{
    justify-content: center;
}
.recipe-info + .recipe-info
{
    margin-left: 2em;
}



.related-item-img-container
{
    overflow: hidden;
}
.section-yellow .single-related-item.recipe-item.w-inline-block
{
    margin-right: auto;
    margin-left: auto;
}



/*** TESTING ***/
@media screen and (max-width: 767px)
{
    .single-related-item.recipe-item
    {
        width: 50%;
        max-width: 480px;
    }
}
.related-item-img-container
{
    max-width: none;
    overflow: visible;
}
.related-item-img-container:not(.ingredients)
{
    border-radius: 0;
    overflow: hidden;
}
.section-white .related-item-img-container
{
    margin: 0 auto;
    max-width: 300px;
}
.section-white .related-item-name.recipe-item
{
    margin: 10px auto auto;
}

.image-3::after 
{
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgb(25, 25, 25, 0.06);
}


.swiper-button-prev::after, 
.swiper-button-next::after 
{
    content: url(../img/next_red.svg);
}
.swiper-button-next
{
    right: 24px;
}
.swiper-button-prev::after 
{
    transform: rotateZ(180deg);
    position: absolute;
    left: 10px;
}
.single-related-item.product-item 
{
    width: 100%;
}

@media screen and (max-width: 767px)
{
    .div-block-4 .single-related-item.recipe-item.w-inline-block
    {
        margin-bottom: 30px;
    }
}
.single-related-item.recipe-item
{
    align-items: center;
}
.recipe-item-pictos-container
{
    max-width: 300px;
}

@media screen and (max-width: 767px)
{
    .inline-svg-container
    {
        transform: translateY(-50%);
    }
    .sticky-img-area > .product--details:nth-child(2n + 4) .inline-svg-container 
    {
        transform: translateY(-100%);
    }
}


/* affichage des ingrédients en sous-listes */
@media screen and (min-width: 768px)
{
	.recipe-php-list + .recipe-php-list
	{
		margin-left: 10px;
		padding-left: 40px;
		border-left: 6px solid var(--ptj-white);
        border-image: url("../img/separator_white.svg") 30;
	}
	
	.swiper-button-next,
    .swiper-button-prev,
    .swiper-pagination
    {
        display: none;
    }
    .swiper-wrapper
    {
        justify-content: space-between !important;
    }
    .swiper-slide.single-ptj-product-page
    {
        max-width: 50%;
    }
    
    .swiper-wrapper.single-ptj-product {
          -webkit-box-pack: center !important;
       -ms-flex-pack: center !important;
           justify-content: center !important;
    }
}
@media screen and (max-width: 767px)
{
	.recipe-php-list
	{
		width: 100%;
	}
	.recipe-php-list h2
	{
		text-align: center;
	}
	.recipe-php-list ul
	{
		padding-left: 20px;
	}
	.recipe-php-list li
	{
		max-width: none !important;
	}
	
	.swiper-container.recipes-container{
        width: 100%;
            padding-bottom: 100px;
    }
}



@media screen and (max-width: 767px)
{
    .swiper-slide > a
    {
        margin: 0 6vw;
    }
}
.swiper-pagination.single-ptj-product-page 
{
    bottom: -46px !important;
}
.swiper-pagination.swiper-pagination-bullets
{
    bottom: -8px !important;
}

.swiper-container.recipes-container{
    width: 100%;
}