/* Recipe-specific styles extracted from site.css.
   Load after /Content/site.css. */

.recipe-hero {
    background: linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,.42)), url("/images/recipe-hero.jpg") center/cover no-repeat;
}

.pasta-e-fagioli-hero {
    background: linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,.42)), url("/Content/Images/pastaefagioli.jpg") center/cover no-repeat;
}

.pancetta-potatoes-hero {
    background: linear-gradient(rgba(0,0,0,.45), rgba(0,0,0,.45)), url('/Content/Images/pancetta-potatoes-hero.jpg') center/cover no-repeat;
}

.recipe-index-hero {
    min-height: 500px;
    background: linear-gradient(rgba(20,20,20,.66), rgba(20,20,20,.56)), url('/Content/Images/pastaefagioli-ingredients.jpg') center/cover no-repeat;
}

    .recipe-index-hero .hero-inner {
        padding-bottom: 58px;
    }

    .recipe-index-hero p {
        max-width: 760px;
        font-size: 1.2rem;
        line-height: 1.55;
    }

.recipe-index-count {
    display: inline-block;
    margin-top: 20px;
    padding: 8px 14px;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 999px;
    background: rgba(255,255,255,.12);
    color: #fff;
    font-size: .95rem;
}

.recipe-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 26px 0 0;
}

    .recipe-meta span {
        background: rgba(255,255,255,.16);
        border: 1px solid rgba(255,255,255,.3);
        border-radius: 999px;
        padding: 8px 13px;
        font-size: .95rem;
    }

.recipe-layout {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    gap: 52px;
    align-items: start;
}

.recipe-card {
    background: white;
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 12px 30px rgba(0,0,0,.045);
}

.ingredients-list,
.method-list,
.recipe-notes {
    margin: 0;
    padding-left: 1.25rem;
}

    .ingredients-list li,
    .method-list li,
    .recipe-notes li {
        margin-bottom: 10px;
    }

    .method-list li {
        padding-left: 4px;
        margin-bottom: 18px;
    }

.photo-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 34px;
}

    .photo-row .image-placeholder {
        border: 1px solid var(--line);
        border-radius: 20px;
        aspect-ratio: 1 / 1;
        overflow: hidden;
    }

.recipe-cta {
    background: var(--green);
    color: white;
    border-radius: 28px;
    padding: 38px;
    margin-top: 36px;
    text-align: center;
}

    .recipe-cta p {
        max-width: 680px;
        margin: 0 auto 24px;
        opacity: .95;
        font-size: 1.12rem;
    }

    .recipe-cta .button {
        background: white;
        color: var(--green);
        border-color: white;
    }

.pull-note {
    border-left: 4px solid var(--red);
    padding-left: 18px;
    color: var(--muted);
    font-size: 1.08rem;
    margin: 28px 0;
}

@media (max-width: 900px) {
    .recipe-layout,
    .photo-row {
        grid-template-columns: 1fr;
    }
}

/* Additional reusable recipe page patterns */
.recipe-page {
    max-width: var(--max);
    margin: 0 auto;
    padding: 76px 22px;
}

.recipe-hero--dark,
.recipe-hero.hero {
    color: white;
}

.porchetta-hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.48), rgba(0, 0, 0, 0.48)), url('/Content/Images/porchetta-hero.jpg');
}

.dinner-rolls-hero {
    background: linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,.42)), url("/Content/Images/dinner-rolls-hero.jpg") center/cover no-repeat;
}

.braciole-hero {
    background: linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,.42)), url("/Content/Images/braciole-hero.jpg") center/cover no-repeat;
}

.paccheri-hero {
    background: linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,.42)), url("/Content/Images/paccheri-al-forno.jpg") center/cover no-repeat;
}

.shepherds-pie-hero {
    background: linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,.42)), url('/Content/Images/shepherds-pie-hero.jpg') center/cover no-repeat;
}

.gnocchi-hero {
    background: linear-gradient( rgba(0,0,0,.35), rgba(0,0,0,.35) ), url('/Content/Images/gnocchi-hero.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.chocolate-salami-hero {
    background: linear-gradient( rgba(0,0,0,.35), rgba(0,0,0,.35) ), url('/Content/Images/chocolate-salami-hero.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.amatriciana-hero {
    background: linear-gradient( rgba(0,0,0,.35), rgba(0,0,0,.35) ), url('/Content/Images/amatriciana.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.flourless-chocolate-cake-hero {
    background: linear-gradient( rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35) ), url('/Content/Images/flourless-chocolate-cake-hero.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.chicago-thin-crust-pizza-hero {
    background: linear-gradient( rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35) ), url('/Content/Images/chicago-style-pizza.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.recipe-hero__text {
    max-width: 760px;
}

.recipe-hero__image,
.recipe-gallery img,
.recipe-photo {
    width: 100%;
    border-radius: 20px;
    border: 1px solid var(--line);
    object-fit: cover;
}

.recipe-instructions ol {
    list-style: none;
    counter-reset: recipe-step;
    padding: 0;
    margin: 0;
}

.recipe-instructions li {
    counter-increment: recipe-step;
    position: relative;
    padding-left: 3rem;
    margin-bottom: 1.75rem;
}

    .recipe-instructions li::before {
        content: counter(recipe-step);
        position: absolute;
        left: 0;
        top: 0.1rem;
        width: 2rem;
        height: 2rem;
        border-radius: 999px;
        background: var(--red);
        color: white;
        display: grid;
        place-items: center;
        font-weight: 700;
    }

.recipe-instructions h3 {
    margin: 0 0 .35rem;
}

.recipe-instructions p,
.recipe-notes p {
    line-height: 1.65;
}

.recipe-notes-grid,
.notes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.recipe-tip,
.recipe-equipment,
.recipe-variation {
    background: white;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 22px;
}

.recipe-time-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 24px 0;
}

    .recipe-time-grid span {
        border: 1px solid var(--line);
        border-radius: 999px;
        padding: 8px 13px;
        background: white;
        color: var(--muted);
    }

.recipe-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 34px;
}

.recipe-print-only {
    display: none;
}

.photo-placeholder {
    min-height: 320px;
    border: 2px dashed #cfc7bb;
    border-radius: 20px;
    background: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--muted);
    font-style: italic;
    padding: 18px;
}

.recipe-hero {
    min-height: 700px;
    display: flex;
    align-items: flex-end;
}

.recipe-hero-inner {
    padding-bottom: 80px;
}

.recipe-hero-copy {
    max-width: 760px;
}

.recipe-subtitle {
    font-size: 1.3rem;
    max-width: 680px;
    line-height: 1.6;
    opacity: .96;
}

.recipe-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.recipe-download-card {
    display: block;
    text-decoration: none;
    color: inherit;
}

    .recipe-download-card img {
        width: 100%;
        border-radius: 14px;
        display: block;
        transition: transform .2s ease;
    }

    .recipe-download-card:hover img {
        transform: translateY(-2px);
    }

    .recipe-download-card span {
        display: block;
        margin-top: .75rem;
        text-align: center;
        font-size: .9rem;
        font-weight: 600;
        color: var(--accent-color);
    }

.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-category-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 32px;
}

    .recipe-category-filter a {
        display: inline-block;
        padding: 9px 15px;
        border: 1px solid var(--line);
        border-radius: 999px;
        background: #fff;
        color: var(--ink);
        font-size: .95rem;
        font-weight: 600;
        text-decoration: none;
        transition: background .2s ease, border-color .2s ease, color .2s ease;
    }

        .recipe-category-filter a:hover,
        .recipe-category-filter a.active {
            border-color: var(--red);
            background: var(--red);
            color: #fff;
        }

.recipe-index-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.recipe-index-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #eadcc8;
    border-radius: 18px;
    background: #fff;
    color: inherit;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease;
}

    .recipe-index-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 14px 30px rgba(0,0,0,.09);
    }

.recipe-index-image {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

    .recipe-index-image img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
        transition: transform .25s ease;
    }

.recipe-index-card:hover .recipe-index-image img {
    transform: scale(1.025);
}

.recipe-index-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 22px;
}

.recipe-index-category {
    display: block;
    margin-bottom: 8px;
    color: var(--red);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.recipe-index-title {
    display: block;
    margin-bottom: 10px;
    color: var(--ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.05;
}

.recipe-index-summary {
    display: block;
    margin-bottom: 18px;
    color: var(--muted);
    line-height: 1.55;
}

.recipe-index-link {
    display: block;
    margin-top: auto;
    color: var(--red);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (max-width: 900px) {
    .recipe-index-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .recipe-index-hero {
        min-height: 430px;
    }

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

    .recipe-index-title {
        font-size: 1.8rem;
    }
}

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

    .recipe-page {
        padding: 58px 20px;
    }
}

@media print {
    .site-header,
    .site-footer,
    .footer,
    .nav,
    .recipe-cta,
    .button {
        display: none !important;
    }

    body {
        background: white;
        color: black;
        font-size: 11pt;
    }

    section,
    .recipe-page {
        padding: 0;
    }

    .recipe-card,
    .recipe-tip,
    .recipe-equipment,
    .recipe-variation {
        box-shadow: none;
        break-inside: avoid;
    }

    .recipe-print-only {
        display: block;
    }
}
