html {
    scroll-behavior: smooth;
}

.recipe-v2-overview,
.recipe-directions,
.recipe-v2-notes {
    scroll-margin-top: 140px;
}


/*==========================================================
    RECIPE V2
==========================================================*/

.recipe-v2 {
    background: #fff;
    color: #2d2d2d;
    font-family: Lato, Arial, sans-serif;
}

    .recipe-v2 section {
        padding: 0;
    }

.page-width {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.recipe-draft-label {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 6px;
    border-radius: 4px;
    background: #AC0E12;
    color: #fff;
    font-family: Arial, sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    vertical-align: middle;
}

.recipe-v2-step-video {
    margin-top: 20px;
}

    .recipe-v2-step-video video {
        display: block;
        width: 100%;
        height: auto;
        border-radius: 8px;
    }

.recipe-v2-intro-video {
    max-width: 900px;
    margin: 40px auto;
}

    .recipe-v2-intro-video video {
        display: block;
        width: 100%;
        height: auto;
        border-radius: 8px;
    }

.recipe-v2-intro-video-caption {
    margin: 10px 0 0;
    font-size: 14px;
    font-style: italic;
    color: #666;
    text-align: center;
}

/*==========================================================
    HERO
==========================================================*/

.recipe-v2-hero-print-image {
    display: none;
}


.recipe-v2-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
}

.recipe-v2-hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 620px;
    background-position: center center;
    background-size: cover;
}

.recipe-v2-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( 90deg, rgba(0, 0, 0, .62) 0%, rgba(0, 0, 0, .45) 40%, rgba(0, 0, 0, .12) 70%, rgba(0, 0, 0, 0) 100% );
}

.recipe-v2-hero-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
    padding-bottom: 100px;
    color: #fff;
}

.recipe-v2-accent {
    width: 90px;
    height: 4px;
    margin-bottom: 40px;
    background: #AC0E12;
}

.recipe-v2-hero h1 {
    margin: 0 0 42px;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 4rem;
    font-weight: 600;
    line-height: 1.05;
}

.recipe-v2-summary {
    margin-bottom: 56px;
    font-size: 1.35rem;
    line-height: 1.8;
}

.recipe-v2-meta {
    display: flex;
    gap: 48px;
    margin-top: 48px;
}

.recipe-v2-meta-item {
    display: flex;
    flex-direction: column;
}

.recipe-v2-meta-label {
    margin-bottom: 6px;
    color: rgba(255, 255, 255, .75);
    font-size: .72rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.recipe-v2-meta-value {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
}


/*==========================================================
    RECIPE NAVIGATION
==========================================================*/

.recipe-v2-nav {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 28px 20px;
    border-bottom: 1px solid #ececec;
}

    .recipe-v2-nav a {
        color: #666;
        font-size: .85rem;
        letter-spacing: 2px;
        text-decoration: none;
        text-transform: uppercase;
        transition: color .2s ease;
    }

        .recipe-v2-nav a:hover {
            color: #AC0E12;
        }


/*==========================================================
    CONTENT LAYOUT
==========================================================*/

.recipe-v2-content {
    display: grid;
    grid-template-columns: 360px minmax(0, 1fr);
    gap: 80px;
    align-items: start;
    border-bottom: 1px solid #ddd;
}

.recipe-v2-sidebar {
    align-self: start;
}

    .recipe-v2-sidebar.recipe-v2-sidebar-sticky {
        position: sticky;
        top: 120px;
    }

.recipe-v2-main {
    min-width: 0;
}

    .recipe-v2-main section {
        padding: 0;
    }


/*==========================================================
    SHARED SECTION TYPOGRAPHY
==========================================================*/

.recipe-v2-section-label {
    display: block;
    height: 18px;
    margin: 0 0 12px;
    color: #AC0E12;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.recipe-v2-ingredients h2,
.recipe-v2-equipment h2 {
    margin: 0 0 32px;
    color: #2d2d2d;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 3.25rem;
    font-weight: 600;
    line-height: 1;
}


/*==========================================================
    INGREDIENTS
==========================================================*/

.recipe-v2-ingredient-group {
    margin-bottom: 36px;
}

    .recipe-v2-ingredient-group:last-child {
        margin-bottom: 0;
    }

    .recipe-v2-ingredient-group h3 {
        margin: 0 0 14px;
        font-family: "Cormorant Garamond", Georgia, serif;
        font-size: 1.65rem;
        font-weight: 600;
    }

.recipe-v2-ingredients ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.recipe-v2-ingredients li {
    position: relative;
    margin-bottom: 12px;
    padding-left: 22px;
    font-size: 1.08rem;
    line-height: 1.65;
}

    .recipe-v2-ingredients li::before {
        content: "";
        position: absolute;
        top: .72em;
        left: 0;
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: #AC0E12;
    }


/*==========================================================
    EQUIPMENT
==========================================================*/

.recipe-v2-equipment {
    padding-bottom: 50px;
    border-bottom: 1px solid #dedbd5;
}

    .recipe-v2-equipment ul {
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .recipe-v2-equipment li {
        position: relative;
        margin-bottom: 16px;
        padding-left: 18px;
        line-height: 1.5;
    }

        .recipe-v2-equipment li::before {
            content: "";
            position: absolute;
            top: .7em;
            left: 0;
            width: 5px;
            height: 5px;
            border-radius: 50%;
            background: #AC0E12;
        }


/*==========================================================
    PAUL'S TIP
==========================================================*/

.recipe-v2-paul-tip {
    margin-top: 40px;
    padding-left: 22px;
    border-left: 4px solid #AC0E12;
}

.recipe-v2-tip-content {
    min-width: 0;
}

    .recipe-v2-tip-content .recipe-v2-section-label {
        margin-bottom: 12px;
    }

.recipe-v2-paul-tip blockquote {
    margin: 0;
    padding: 28px;
    border: 1px solid #eee6dd;
    border-radius: 18px;
    background: #fff;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 1.6rem;
    font-style: italic;
    line-height: 1.5;
}


/*==========================================================
    OPTIONAL BATCH NOTE
==========================================================*/

.recipe-v2-batch-note h3 {
    margin: 0 0 10px;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 1.8rem;
    font-weight: 600;
}

.recipe-v2-batch-note p {
    margin: 0;
    line-height: 1.8;
}


/*==========================================================
    DIRECTIONS
==========================================================*/

.recipe-directions {
    max-width: 900px;
    margin: 20px auto;
    padding: 0;
}

.recipe-section-title {
    margin-bottom: 10px;
    font-size: 3rem;
    text-align: center;
}


/*==========================================================
    RECIPE STEP
==========================================================*/

.recipe-step {
    margin: 40px 0;
}

.recipe-step-header {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 24px;
    align-items: start;
}

.recipe-step-number {
    color: #AC0E12;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 4rem;
    line-height: 1;
}

.recipe-step-header h3 {
    margin: 0 0 18px;
    font-size: 2.6rem;
}

.recipe-step-intro {
    max-width: 700px;
    color: #666;
    font-size: 1.2rem;
    line-height: 1.8;
}

.recipe-step-photo {
    margin: 15px 0;
}

    .recipe-step-photo a {
        display: block;
        width: fit-content;
        max-width: 100%;
        margin: 0 auto;
        cursor: zoom-in;
    }

    .recipe-step-photo img {
        display: block;
        width: auto;
        max-width: 100%;
        height: auto;
        max-height: 450px;
        border-radius: 14px;
        transition: opacity .2s ease;
    }

    .recipe-step-photo a:hover img {
        opacity: .92;
    }

    .recipe-step-photo figcaption {
        margin-top: 12px;
        color: #777;
        font-size: .95rem;
        font-style: italic;
    }

.recipe-step-body {
    max-width: 760px;
    font-size: 1.12rem;
    line-height: 1.9;
}

.recipe-tip {
    margin-top: 36px;
    padding-left: 22px;
    border-left: 4px solid #AC0E12;
}

.recipe-v2-finished img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 14px;
}

/*==========================================================
    INGREDIENTS PHOTO
==========================================================*/


.recipe-v2-ingredients-photo {
    margin-top: 40px;
    margin-left: 0px;
}

    .recipe-v2-ingredients-photo img {
        width: 100%;
        max-width: 240px;
        border-radius: 12px;
        display: block;
        margin: 0;
        transition: opacity .2s ease;
    }

    .recipe-v2-ingredients-photo a {
        display: inline-block;
    }

        .recipe-v2-ingredients-photo a:hover img {
            opacity: .92;
            cursor: zoom-in;
        }

    .recipe-v2-ingredients-photo figcaption {
        margin-top: 10px;
        color: #777;
        font-size: .9rem;
        font-style: italic;
    }


/*==========================================================
    NOTES
==========================================================*/

.notes {
    margin-top: 5rem;
    padding-top: 2rem;
    border-top: 1px solid #ddd;
}

.recipe-v2-notes {
    max-width: 1100px;
    margin: 30px auto 0;
    padding-bottom: 20px !important;
    border-bottom: 1px solid #ddd;
}

    .recipe-v2-notes h2 {
        margin-bottom: 10px;
    }

.recipe-v2-note-list {
    display: grid;
    max-width: 980px;
    margin: 0 auto 0;
    padding-top: 10px;
    gap: 24px;
}

.recipe-v2-note {
    padding: 22px 28px;
    border-left: 4px solid #AC0E12;
    background: #faf9f7;
    border-radius: 8px;
}

    .recipe-v2-note h3 {
        margin: 0 0 8px;
        font-family: "Cormorant Garamond", Georgia, serif;
        font-size: 1.8rem;
        font-weight: 600;
        color: #2d2d2d;
    }

    .recipe-v2-note p {
        margin: 0;
        line-height: 1.8;
        color: #555;
    }


/*==========================================================
    STORAGE & REHEATING
==========================================================*/

.recipe-v2-storage {
    max-width: 1100px;
    margin: 40px auto 0;
    padding-bottom: 20px !important;
    border-bottom: 1px solid #ddd;
}

.recipe-v2-storage-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.recipe-v2-storage-item {
    padding: 28px 32px;
    background: #faf9f7;
    border: 1px solid #ece7df;
    border-radius: 14px;
}

    .recipe-v2-storage-item h3 {
        margin: 0 0 12px;
        font-family: "Cormorant Garamond", Georgia, serif;
        font-size: 2rem;
        font-weight: 700;
        color: #2d2d2d;
    }

    .recipe-v2-storage-item p {
        margin: 0;
        line-height: 1.8;
    }


/*==========================================================
    RELATED RECIPES
==========================================================*/

.recipe-v2-related {
    max-width: 1100px;
    margin: 30px auto;
}

.recipe-v2-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 40px;
}

.recipe-v2-related-card {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform .2s ease;
}

    .recipe-v2-related-card:hover {
        transform: translateY(-4px);
    }

    .recipe-v2-related-card img {
        width: 100%;
        aspect-ratio: 4 / 3;
        object-fit: cover;
        border-radius: 14px;
        display: block;
    }

    .recipe-v2-related-card h3 {
        margin: 16px 0 0;
        font-size: 1.3rem;
        line-height: 1.35;
        text-align: center;
    }


/*==========================================================
    RESPONSIVE
==========================================================*/

@media (max-width: 900px) {
    .recipe-v2-storage-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .recipe-v2-related-grid {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 900px) {
    .page-width {
        padding: 2rem 1.5rem;
    }

    .recipe-v2-container {
        padding: 0 24px;
    }

    .recipe-v2-hero {
        min-height: 500px;
    }

        .recipe-v2-hero h1 {
            font-size: 3rem;
        }

    .recipe-v2-summary {
        font-size: 1.1rem;
    }

    .recipe-v2-meta {
        flex-wrap: wrap;
        gap: 24px;
    }

    .recipe-v2-nav {
        flex-wrap: wrap;
        gap: 20px;
    }

    .recipe-v2-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .recipe-v2-sidebar.recipe-v2-sidebar-sticky {
        position: static;
    }

    .recipe-v2-ingredients h2,
    .recipe-v2-equipment h2 {
        font-size: 2.65rem;
    }

    .recipe-step-header {
        grid-template-columns: 1fr;
        row-gap: 12px;
    }

    .recipe-step-number {
        font-size: 3.25rem;
    }

    .recipe-step-header h3 {
        font-size: 2.15rem;
    }
}

.recipe-v2-product {
    display: block;
    margin-top: 4px;
    font-size: 0.82em;
    color: #666;
}

    .recipe-v2-product a {
        color: inherit;
        text-decoration: underline;
        text-underline-offset: 2px;
    }

/*Print****************************/
@media print {

    header,
    footer,
    .recipe-v2-nav,
    .site-navigation {
        display: none !important;
    }

    .page-width,
    .recipe-v2-overview,
    .recipe-directions,
    .recipe-v2-notes,
    .recipe-v2-storage,
    .recipe-v2-related {
        max-width: none;
        width: 100%;
        margin: 0;
    }

    .recipe-v2-related {
        display: none !important;
    }



    .recipe-step,
    .recipe-v2-note,
    .recipe-v2-storage-item,
    .recipe-v2-related-card {
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .recipe-v2-hero {
        background: none !important;
        min-height: auto;
    }

    .recipe-v2-hero-overlay {
        display: none;
    }

    .recipe-v2-hero-print-image {
        display: block;
        text-align: center;
        margin: 0 0 30px;
    }

        .recipe-v2-hero-print-image img {
            width: 100%;
            max-width: 550px;
            height: auto;
            display: inline-block;
        }

    .recipe-v2-overview {
        display: block !important;
    }

    .recipe-v2-ingredients,
    .recipe-v2-sidebar {
        width: 100%;
        max-width: none;
        margin: 0;
    }

    .recipe-v2-paul-tip {
        display: none !important;
    }
}
