/* ================================================================
   zeliva-single-recipe.css
   Styles for single-recipe.php
   Requires: zeliva-recipes-common.css
   ================================================================ */

.ez-single-recipe {
    padding-top: 0 !important;
}

/* ── Back Button ── */
.ez-single-recipe__back {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-family: var(--gp-font--plus-jakarta-sans);
    margin-bottom: 30px;
    transition: color 0.2s;
    font-size: 18px;
    font-weight: 400;
    color: #000;
    line-height: 1.5;
    margin-top: 80px;
}

.ez-single-recipe__back:hover {
    color: #766c24;
}

.ez-single-recipe__back-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid rgba(118, 108, 36, 0.25);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s;
}

.ez-single-recipe__back:hover .ez-single-recipe__back-icon {
    background: #f3f5e9;
}

/* ── Meta Row ── */
.ez-single-recipe__meta-row {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 10px;
}

.ez-single-recipe__meta-item>svg {
    display: block;
    width: 20px;
    height: 20px;
}

.single-recipe .ez-single-recipe div>h1 {
    color: var(--333333);
    line-height: 1.3812;
    margin-bottom: 20px;
}

.ez-single-recipe__meta-item>svg path {
    stroke: #000;
}

.ez-single-recipe__meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    line-height: 1.5724;
    color: var(--888888);
    font-family: var(--gp-font--plus-jakarta-sans);
}

/* ── Title ── */
.ez-single-recipe__title {
    margin-bottom: 20px;
    font-family: var(--gp-font--helvetica, sans-serif);
}

/* ── Tags ── */
.ez-single-recipe__tags {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

/* ── Hero Image ── */
.ez-single-recipe__hero {
    width: 100%;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 50px;
}

.single-recipe .ez-single-recipe__intro>p {
    line-height: 1.6116;
    color: var(--333333);
}

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

/* ── Intro ── */
.ez-single-recipe__intro {
    margin-bottom: 50px;
    font-family: var(--gp-font--plus-jakarta-sans);
}

.ez-single-recipe__intro p {
    margin: 0;
}

/* ── Two-Column Body ── */
.ez-single-recipe__body {
    display: grid;
    grid-template-columns: 486px 1fr;
    gap: 72px;
    align-items: start;
}

/* ── LEFT: Ingredients Box ── */
.ez-single-recipe__ingredients-box {
    border: 8px solid transparent;
    border-image-source: url(/wp-content/uploads/2026/05/ingredients-col-bg.svg);
    border-image-slice: 10;
    border-image-repeat: round;
    border-radius: 20px;
}

.ez-single-recipe__ingredients-list li:not(:last-child) {
    margin-bottom: 10px;
}

.ez-single-recipe__ingredients-inner {
    padding: 8px 8px 46px;
    background-color: var(--white);
}

.ez-single-recipe__box-header {
    margin-bottom: 20px;
}

.single-recipe .ez-single-recipe__box-header>h2 {
    line-height: 1.3812;
    font-weight: 400;
}

.ez-single-recipe__divider {
    border: none;
    border-top: 1px solid rgba(118, 108, 36, 0.25);
    margin: 0 0 16px;
}

.ez-single-recipe__ingredients-list {
    list-style: disc;
    padding-left: 24px;
    margin-bottom: 20px;
}

.ez-single-recipe__ingredients-list li {
    font-size: 18px;
    color: var(--333333);
    line-height: 1.6;
    font-family: var(--gp-font--plus-jakarta-sans);
}

/* ── Used Zeliva Masalas box ── */
.ez-single-recipe__masalas-box {
    background: rgba(118, 108, 36, 0.10);
    border-radius: 10px;
    padding: 20px 12px 20px 20px;
    position: relative;
}

.ez-single-recipe__masalas-title {
    font-size: 26px;
    color: var(--113f24);
    margin-bottom: 6px;
    font-family: var(--gp-font--helvetica, sans-serif);
    font-weight: 400;
    line-height: 1.1542;
}

.ez-single-recipe__masalas-text {
    font-size: 18px;
    color: var(--333333);
    line-height: 1.6116;
    margin-bottom: 10px;
    width: 100%;
    max-width: 94%;
    font-family: var(--gp-font--plus-jakarta-sans);
}

.ez-single-recipe__masalas-btn:hover {
    background-color: var(--766c24) !important;
}

.single-recipe .ez-single-recipe__cooking-header>h2 {
    font-weight: 400;
    margin-bottom: 14px;
    line-height: 1.3812;
}

.ez-single-recipe__masalas-btn {
    padding: 0 24px;
    background: #d0431e;
    color: var(--white) !important;
    border-radius: 15px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    font-family: var(--gp-font--plus-jakarta-sans);
    width: 100%;
    max-width: 200px;
    margin-right: auto;
    display: block;
    text-align: center;
    padding-top: 14.5px;
    padding-bottom: 14.5px;
    line-height: 1.6256;
}

.ez-single-recipe__masalas-btn:hover {
    background: #b83518;
}

/* ── RIGHT: Cooking Method ── */
.ez-single-recipe__cooking-header {
    margin-bottom: 24px;
}

.ez-single-recipe__cooking-subtitle {
    font-size: 18px;
    color: var(--333333);
    line-height: 1.6116;
    font-family: var(--gp-font--plus-jakarta-sans);
}

.ez-single-recipe__step {
    border-radius: 20px;
    padding: 11.5px;
    border: 8px solid transparent;
    border-image-source: url(https://zeliva.myarchivebundle.com/wp-content/uploads/2026/05/cooking-method-step-bg.svg);
    border-image-slice: 10;
    background-color: var(--white);
}

/* .ez-single-recipe__step {
    border: 3px solid rgba(168, 163, 115, 0.5);
    border-radius: 20px;
    padding: 20px;
} */

.ez-single-recipe__step-head {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 4px;
}

.ez-single-recipe__step-num {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--113f24);
    color: var(--white);
    font-size: 18px;
    font-weight: 600;
    align-content: center;
    flex-shrink: 0;
    font-family: var(--gp-font--plus-jakarta-sans);
    text-align: center;
}

.ez-single-recipe__step-title {
    font-size: 26px;
    font-weight: 400;
    color: var(--113f24);
    font-family: var(--gp-font--helvetica);
    line-height: 1.1542;
    margin: 0;
}

.ez-single-recipe__step:not(:last-child) {
    margin-bottom: 20px;
}

.ez-single-recipe__step-desc {
    font-size: 18px;
    color: var(--333333);
    line-height: 1.6116;
    padding-left: 60px;
    font-family: var(--gp-font--plus-jakarta-sans);
    margin: 0;
}

/* ── Related Recipes ── */
.ez-recipe-related__header {
    display: flex;
    gap: 12px;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.ez-single-recipe__body {
    padding-top: 0 !important;
}

.ez-recipe-related__title {
    font-size: 30px;
    font-weight: 600;
    color: #333;
    font-family: var(--gp-font--plus-jakarta-sans);
    margin: 0;
}

.ez-recipe-related__view-all {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 18px;
    font-weight: 500;
    color: #333;
    text-decoration: none;
    margin-left: auto;
    transition: color 0.2s;
}

.ez-recipe-related__view-all:hover {
    color: #766c24;
}

.ez-recipe-related__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.ez-single-recipe__masalas-box:after {
    content: '';
    position: absolute;
    width: 58px;
    height: 57px;
    background-image: url("https://zeliva.myarchivebundle.com/wp-content/uploads/2026/05/zeliva-bird.svg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    bottom: 20px;
    left: auto;
    right: 20px;
    pointer-events: none;
}

/* ── Responsive ── */
@media only screen and (max-width: 1459.5px) {
    .ez-single-recipe__back {
        margin-top: 60px;
        font-size: 16px;
    }

    .ez-single-recipe__back-icon {
        width: 36px;
        height: 36px;
    }

    .ez-single-recipe__tags {
        gap: 10px;
    }

    .ez-single-recipe__hero {
        margin-bottom: 30px;
    }

    .ez-single-recipe__intro {
        margin-bottom: 30px;
    }

    .ez-single-recipe__body {
        gap: 56px;
    }

    .ez-single-recipe__ingredients-inner {
        padding: 10px;
    }

    .single-recipe .ez-single-recipe__box-header>h2 {
        line-height: 1;
    }

    .ez-single-recipe__masalas-btn {
        padding: 10px;
        max-width: 160px;
    }
}

@media only screen and (max-width: 1229.5px) {
    .single-recipe .ez-recipe-stars>svg {
        width: 18px;
        height: 18px;
    }
}

@media only screen and (max-width: 1200px) {
    .ez-single-recipe__body {
        grid-template-columns: 380px 1fr;
        gap: 26px;
    }
}

@media only screen and (max-width: 1024px) {

    .ez-single-recipe__masalas-text,
    .ez-single-recipe__ingredients-list li,
    .ez-single-recipe__step-desc,
    .ez-single-recipe__cooking-subtitle {
        font-size: 16px !important;
    }

    .single-recipe .ez-single-recipe__cooking-header>h2 {
        margin-bottom: 10px;
    }
}

@media only screen and (max-width: 768px) {
    .ez-single-recipe__back {
        margin-top: 16px;
    }
}

@media only screen and (max-width: 991px) {
    .ez-single-recipe__title {
        font-size: 28px;
    }

    .ez-recipe-card__body {
        padding: 16px;
    }

    .ez-single-recipe__step-desc {
        padding-left: 46px;
    }

    .ez-single-recipe__body {
        grid-template-columns: 1fr;
    }

    .ez-single-recipe__hero {
        height: 280px;
    }

    .ez-recipe-related__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ez-single-recipe__step-title {
        font-size: 20px;
    }

    .ez-single-recipe__step-head {
        gap: 12px;
    }

    .ez-single-recipe__step-num {
        width: 34px;
        height: 34px;
        font-size: 16px;
    }
}

@media only screen and (max-width: 576px) {
    .ez-single-recipe__title {
        font-size: 22px;
    }

    .ez-recipe-related__grid {
        grid-template-columns: 1fr;
    }

    .ez-single-recipe__step {
        border-image-slice: 12;
    }

    .ez-single-recipe__masalas-box:after {
        width: 40px;
        height: 40px;
        right: 10px;
    }
}