/* recipe listing */
.recipeListing {
    .recipeListingTop {
        align-items: center;

        .recipeDrop {
            width: 100%;

            form {
                width: 100%;

                .nice-select {
                    width: 100%;
                    line-height: 40px;
                    border-radius: 55px;
                    border: 1px solid rgba(0, 0, 0, 0.25);
                    padding: 4px 20px;

                    span {
                        color: #000;
                        font-family: "Instrument_Sans";
                        font-size: 18px;
                        font-weight: 400;
                    }

                    &::after {
                        filter: brightness(0) saturate(100%) invert(94%) sepia(53%) saturate(1147%) hue-rotate(311deg) brightness(84%) contrast(82%);
                    }
                }
            }
        }
    }

    .recipeListingBtm {
        padding-top: 15px;
        padding-bottom: 20px;

        .commonCard {
            overflow: hidden;

            .brochureBtn {
                height: 60px;
                padding: 0;

                a {
                    display: block;
                    width: 100%;
                    height: 100%;
                    text-align: left;
                    padding: 10px 20px;
                    padding-left: 0;
                    transition: all 0.5s;

                    span {
                        display: flex;
                        align-items: center;
                        width: 100%;
                        height: 100%;
                    }
                }

                &::after {
                    transform: translateY(-50%) scale(1);
                }
            }

            .commonCardImg {
                overflow: hidden;
                border-radius: 20px;
                transition: all 0.5s;

                img {
                    transition: all 0.5s;
                }
            }

            &:hover {
                .brochureBtn {
                    &::after {
                        opacity: 1;
                        visibility: visible;
                    }

                    a {
                        padding-left: 20px;
                    }
                }

                .commonCardImg {
                    img {
                        transform: scale(1.15);
                    }
                }

            }
        }
    }
}

/* recipe details */
.recipeDetSec {
    .recipeBanSec {
        width: 100%;
        height: 500px;
        position: relative;

        .recipeBanImg {
            width: 100%;
            height: 100%;

            img {
                width: 100%;
                height: 100%;
                object-fit: cover;
                border-radius: 15px;
            }
        }

        .recipeBanList {
            min-width: 350px;
            position: absolute;
            left: 30px;
            top: 50%;
            transform: translateY(-50%);
            border-radius: 20px;
            border: 1px solid rgba(0, 0, 0, 0.33);
            background: rgba(255, 255, 255, 0.45);
            backdrop-filter: blur(12.5px);
            padding: 40px 20px;

            .recipeBanListHead {
                color: #00435E;
                font-family: "Instrument_Sans";
                font-size: 25px;
                font-weight: 600;
                margin-bottom: 20px;
            }

            ul {
                max-height: 320px;
                overflow-y: auto;
                padding-right: 6px;

                li {
                    font-size: 16px;

                    &::before {
                        width: 16px;
                        height: 16px;
                    }
                }
            }
        }
    }

    .recipeDetBtm {
        padding-top: 80px;

        .recipeDetBtmLt {
            .recipeDetStepsDiv {
                padding: 20px;

                .recipeStepInn {
                    &:not(:last-child) {
                        margin-bottom: 30px;
                    }

                    .recipeDetStepHead {
                        color: #000;
                        font-family: "Instrument_Sans";
                        font-size: 20px;
                        font-weight: 600;
                        margin-bottom: 15px;
                    }
                }

                ol {
                    >li {
                        list-style-type: decimal;
                        list-style-position: inside;
                        margin-bottom: 12px;

                        ul {
                            padding-left: 20px;
                            padding-top: 10px;
                        }

                        br {
                            display: none;
                        }
                    }
                }

            }
        }

        .recipeDetBtmRt {
            .recipeProcessImg {
                width: 100%;
                height: auto;
                margin-bottom: 20px;

                img {
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                    border-radius: 20px;
                }
            }

            .recipeRelatedImgDiv {
                display: flex;
                justify-content: space-between;

                .recipeRelatedImg {
                    width: calc(50% - 10px);
                    height: 250px;

                    img {
                        width: 100%;
                        height: 100%;
                        object-fit: cover;
                        border-radius: 20px;
                    }
                }
            }
        }
    }
}

/* Responsive */
@media (max-width: 1600px) {
    .recipeListing {
        .recipeListingBtm {
            .commonCard {
                &:hover {
                    .brochureBtn {
                        width: 100%;
                    }
                }
            }
        }
    }
}

@media (max-width: 1440px) {
    .recipeListing {
        .recipeListingTop {
            .recipeDrop {
                form {
                    .nice-select {
                        span {
                            font-size: 16px;
                        }
                    }
                }
            }
        }

        .recipeListingBtm {
            .commonCard {
                height: 360px;

                .commonCardImg {
                    height: 290px;
                }

                .brochureBtn {
                    a {
                        font-size: 15px;
                    }
                }
            }
        }
    }
}

@media (max-width: 1366px) {
    .recipeDetSec {
        .recipeBanSec {
            height: 390px;

            .recipeBanList {
                padding: 30px 20px;

                .recipeBanListHead {
                    font-size: 20px;
                    margin-bottom: 16px;
                }

                ul {
                    max-height: 215px;

                    li {
                        font-size: 14px;
                    }
                }
            }
        }

        .recipeDetSec {
            .recipeDetBtm {
                .recipeDetBtmLt {
                    .recipeDetStepsDiv {
                        .recipeStepInn {
                            .recipeDetStepHead {
                                font-size: 18px;
                                margin-bottom: 10px;
                            }
                        }
                    }
                }
            }
        }
    }

}

@media (max-width: 1024px) {
    .recipeListing {
        .recipeListingTop {
            .recipeDrop {
                form {
                    .nice-select {
                        padding: 4px 16px;

                        span {
                            font-size: 14px;
                        }
                    }
                }
            }
        }

        .recipeListingBtm {
            .commonCard {
                height: 320px;
                position: relative;

                .commonCardImg {
                    position: absolute;
                    top: 0;
                    left: 0;
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                }

                .brochureBtn {
                    height: auto;
                    background-color: #C79F64;
                    width: calc(100% - 20px);
                    left: 50%;
                    position: absolute;
                    bottom: 15px;
                    transform: translateX(-50%);

                    a {
                        color: #fff;
                        font-size: 15px;
                        padding: 12px 15px;
                    }

                    &::after {
                        opacity: 1;
                        visibility: visible;
                        width: 38px;
                        height: 38px;
                    }
                }

                &:hover {
                    .brochureBtn {
                        width: calc(100% - 20px);

                        a {
                            padding-left: 15px;
                        }
                    }
                }
            }
        }
    }
}

@media (max-width: 991px) {
    .recipeListing {
        .recipeListingTop {
            row-gap: 10px;

            .headingWrap {
                text-align: center;
            }
        }

        .recipeListingBtm {
            padding-top: 40px;
        }
    }

    .recipeDetSec {
        .recipeBanSec {
            .recipeBanList {
                .recipeBanListHead {
                    font-size: 18px;
                    margin-bottom: 15px;
                }
            }
        }

        .recipeDetBtm {
            .recipeDetBtmLt {
                .recipeDetStepsDiv {
                    .recipeStepInn {
                        .recipeDetStepHead {
                            font-size: 18px;
                            margin-bottom: 12px;
                        }
                    }
                }
            }
        }
    }
}

@media (max-width: 768px) {
    .recipeDetSec {
        .recipeBanSec {
            height: auto;

            .recipeBanImg {
                height: 400px;
            }

            .recipeBanList {
                min-width: auto;
                width: 95%;
                margin: 0px auto;
                position: static;
                transform: none;
                border-bottom: 1px solid #00000025;
                margin-top: 20px;
                padding: 20px 18px;

                ul {
                    max-height: 100%;
                }

                .recipeBanListHead {
                    font-size: 16px;
                }
            }
        }

        .recipeDetBtm {
            .recipeDetBtmLt {
                .recipeDetStepsDiv {
                    padding: 20px 15px;

                    .recipeStepInn {
                        .recipeDetStepHead {
                            font-size: 16px;
                            margin-bottom: 10px;
                        }
                    }
                }
            }
        }
    }
}

@media (max-width: 767px) {
    .recipeListing {
        .recipeListingBtm {
            .commonCard {
                height: 400px;
            }
        }
    }
}

@media (max-width: 575px) {
    .recipeListing {
        .recipeListingBtm {
            padding-bottom: 0;
        }
    }

    .recipeDetSec {
        .recipeBanSec {
            .recipeBanImg {
                height: auto;
            }
        }
    }
}

@media (max-width: 480px) {
    .recipeListing {
        .recipeListingBtm {
            .commonCard {
                height: 330px;
            }
        }
    }
}


/*===== min width ======*/

@media (min-width: 1921px) {
    .recipeDetSec {
        .recipeBanSec {
            .recipeBanList {
                ul {
                    li {
                        font-size: clamp(16px, 0.9vw, 18px);
                    }
                }
            }
        }

        .recipeDetBtm {
            .recipeDetBtmLt {
                .recipeDetStepsDiv {
                    .recipeStepInn {
                        .recipeDetStepHead {
                            font-size: clamp(20px, 0.9vw, 22px);
                        }
                    }
                }
            }
        }
    }
}