﻿.page-title {
    margin-left: 43%;
    margin-top: -70px;
    margin-bottom: 50px;
    font-weight: 700 !important;
    color: darkgreen;
}

.page-text {
    /*    margin-left: 36.55555%;*/
    margin-bottom: -14px;
    font-weight: 700 !important;
    font-size: 18px;
}

.main-sec {
    padding: 20px;
}

.main-content {
    display: flex;
    align-items: flex-start;
    gap: 60px;
    flex-wrap: nowrap;
}

.main-img img {
    max-width: 330px;
    width: 120%;
    height: 60%;
    border-radius: 25px;
    display: block;
}

.text-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 250px;
    gap: 20px;
}

.description-text {
    font-size: 16px;
    margin-bottom: 20px;
    padding-top: 10px;
}



.benefits-section {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.benefit-list {
    background-color: #f6f6f6;
    color: #333;
    font-size: 16px;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 6px;
    max-width: 100%;
}

/*.cooking-sec {
    padding: 20px;
    margin-top: 10px;
}*/
/* ==== Layout for Each Recipe Section ==== */

/*.method-block {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 3rem;
    
}*/

/* Text column */
/*.left-column-method {
    flex: 1 1 50%;
    padding: 0;
}*/

/* Image column */
/*.right-column-method {
    flex: 1 1 50%;
    padding: 0;
    text-align: center;
}*/


/* Alternate layout for every second recipe (image on left) */
/*.method-block:nth-child(even) {
    flex-direction: row-reverse;
}*/


/* ==== Typography & Lists ==== */

/*.method-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.ingredients-title,
.steps-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 1rem;
    color: #222;
}

.ingredients-section ul,
.steps-section ol {
    padding-left: 1.2rem;
    font-size: 1rem;
    line-height: 1.2;
}*/


/* ==== Responsive Layout ==== */
/*@media (min-width: 1200px) {
    .method-block {
        display: flex;
        flex-direction: row;
        align-items: stretch;
        gap: 24rem;
        margin-bottom: 3rem;
    }

        .method-block:nth-child(even) {
            flex-direction: row-reverse;
        }

    .left-column-method {
        flex: 0 1 60%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 1rem 0;
    }

    .right-column-method {
        flex: 0 1 40%;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 1rem 0;
    }

        .right-column-method img {
            width: 100%;
            max-width: 320px;
            max-height: 280px;*/ /* 🚩 Control height */
/*object-fit: cover;
            border-radius: 20px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        }
}*/


/* ==== Section Container ==== */
.cooking-sec {
    padding: 20px;
    margin-top: 10px;
}

/* ==== Layout for Each Recipe Section ==== */
.method-block {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 3rem;
    flex-direction: column; /* default: stacked layout for <1200px */
    gap: 1.5rem;
}

/* ==== Columns ==== */
.left-column-method {
    flex: 1 1 100%;
    padding: 0;
}

.right-column-method {
    flex: 1 1 100%;
    padding: 0;
    text-align: center;
}

/* ==== Responsive Layout ==== */
@media (min-width: 1200px) {
    .method-block {
        flex-direction: row;
        align-items: stretch;
        gap: 2rem;
        margin-bott@media (min-width: 1200px) {om: 3rem;
    }

        .method-block:nth-child(even) {
            flex-direction: row-reverse;
        }

    .left-column-method {
        flex: 0 1 60%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 1rem 0;
        background-color: #fafafa;
        border-radius: 10px;
        padding: 2rem;
        box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    }

    .right-column-method {
        flex: 0 1 40%;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 1rem 0;
    }

        .right-column-method img {
           
           max-width: 280px; /* ✅ Smaller than 330px */
            
            object-fit: cover;
            border-radius: 20px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            display: block;
            margin: 0 auto;
        }
}

/* ==== Titles and Content Styling ==== */

/* Recipe Title */
.method-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #333;
    padding-right: 1rem;
    padding-left: 1rem;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
}

/* Subtitles: Ingredients & Steps */
.ingredients-title,
.steps-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #444;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    position: relative;
}

    .ingredients-title::after,
    .steps-title::after {
        content: '';
        display: block;
        width: 40px;
        height: 3px;
        background-color: green;
        margin-top: 6px;
        border-radius: 2px;
    }

/* Lists */
.ingredients-section ul,
.steps-section ol {
    padding-left: 1.5rem;
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
}

.ingredients-section li,
.steps-section li {
    margin-bottom: 0.5rem;
    position: relative;
}

  
/* Ordered step styling */
.steps-section ol {
    list-style: decimal inside;
    counter-reset: step-counter;
}

.steps-section li {
    counter-increment: step-counter;
}

/* Section spacing */
.ingredients-section,
.steps-section {
    margin-bottom: 1.5rem;
}

/* ==== Small Devices (Mobile) ==== */
@media (max-width: 576px) {
    .method-title {
        font-size: 1.5rem;
    }

    .ingredients-title,
    .steps-title {
        font-size: 1.25rem;
    }

    .ingredients-section ul,
    .steps-section ol {
        font-size: 0.95rem;
    }

    .right-column-method img {
        border-radius: 6px;
    }
}
.green-bullets li::marker {
    color: green;
}
@media(max-width: 768px) {
    .main-content {
        gap: 0px;
    }

    .main-img img {
        display: none;
    }
}