/****************************************** 
    Recipes CSS Start 
******************************************/
/****************************************** 
    Recipes CSS Start 
******************************************/

.recipes-box {
    display: block;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
}

.recipes-box img {
    width: 100%;
    height: 100%;
}

.recipes-box::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(180deg, #26262600 0%, #262626 100%);
    transition: all ease-in-out 0.4s;
    z-index: 1;
}

.recipes-txt {
    position: absolute;
    left: 0px;
    bottom: 0px;
    width: 100%;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    gap: 10px;
}

.recipes-txt p {
    font-family: 'myfirstfont-SemiBold';
    color: #fff;
    margin-bottom: 10px;
    position: relative;
    width: fit-content;
}

.recipes-txt p::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #fff;
    transition: all ease-in-out 0.4s;
}

.recipes-box:hover .recipes-txt p::after {
    width: 100%;
}

.recipes-txt i {
    color: #fff;
}

/******************************************
    Recipes CSS End 
******************************************/

/****************************************** 
    Recipes Details CSS Start 
******************************************/
/****************************************** 
    Recipes Left CSS Start 
******************************************/

.rd-head p a {
    color: var(--main-dark-color);
    font-family: 'mysecondfont-SemiBold';
}

.rd-head {
    margin-bottom: 40px;
}

.rd-main {
    margin-bottom: 40px;
}

.rd-title {
    display: flex;
    gap: 15px;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 20px;
}

.rd-icon {
    width: 55px;
    height: 55px;
    border-radius: 50px;
    background: var(--main-color);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px;
}

.rd-title h2 {
    font-family: 'myfirstfont-SemiBold';
    color: #000;
    position: relative;
    width: fit-content;
    font-size: 22px;
    line-height: 1.2;
}

.ingredients-list ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 25px;
    list-style: none;
    margin-bottom: 38px;
}

.ingredients-list li {
    position: relative;
    padding: 8px 0 8px 22px;
    color: #555;
    border-bottom: 1px solid #eee;
}

.ingredients-list li::before {
    content: "•";
    position: absolute;
    left: 3px;
    top: 4px;
    color: #ef3b51;
    font-size: 20px;
    font-weight: bold;
}

.steps-list li {
    counter-increment: recipe;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 17px;
    line-height: 1.6;
    color: #555;
}

.steps-list li::before {
    content: counter(recipe);
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--main-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

/******************************************
    Recipes Left CSS End 
******************************************/

/****************************************** 
    Recipes Right CSS Start 
******************************************/

.other-box {
    display: block;
    background: #fffcd5;
    display: flex;
    justify-content: flex-start;
    gap: 10px;
    transition: all ease-in-out 0.4s;
    border-radius: 5px;
    overflow: hidden;
    margin: 15px 0;
}

.other-box img {
    width: 40%;
}

.other-txt {
    padding: 15px;
}

.other-txt p {
    font-family: 'mysecondfont-SemiBold';
    margin-bottom: 10px;
    transition: all ease-in-out 0.4s;
}

.other-txt span {
    display: block;
    font-size: 14px;
    color: #3a3a3a;
    transition: all ease-in-out 0.4s;
}

.other-box:hover {
    background: var(--main-color)
}

.other-box:hover p, .other-box:hover span {
    color: var(--white-color);
}

.recipes-slider {
    padding-bottom: 50px;
}

/******************************************
    Recipes Right CSS End 
******************************************/

/******************************************
    Responsive Start
******************************************/

@media (max-width: 1600px) {

    .rd-title h2 {
        font-size: 20px;
    }

}

@media (max-width: 1399px) {

    .rd-title h2 {
        font-size: 18px;
    }

}

@media (max-width: 767px) {

    .ingredients-list {
        grid-template-columns: 1fr;
    }

    .rd-head {
        margin-bottom: 20px;
    }

    .rd-main {
        margin-bottom: 25px;
    }

}