/* =====================================================
   GRANNY RECIPE DISPLAY - FULL STYLESHEET
   Adjusted: Title + Story full width and centered
===================================================== */

/* =========================================
   FULL-WIDTH TITLE CARD
========================================= */
.granny-recipe-title-card {
    width: 90%;                  /* full width */
    max-width: none;            /* limit max width */
    margin: 0 auto 20px auto;     /* center horizontally */
    padding: 30px;
    background: #ffffff;
     border-radius: 18px; /* <-- full rounding on all corners */
    border: 1px solid #e8e0d8;
    box-shadow: 0 8px 22px rgba(0,0,0,0.08);
    text-align: center;
}

.granny-recipe-title-card .granny-title {
    font-size: 36px;
    margin: 0;
    font-weight: 700;
}

/* =========================================
   META INFORMATION
========================================= */
.granny-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;                /* space between items */
    justify-content: center;  /* center horizontally */
    font-size: 16px;
    color: #403732;
    margin-top: 12px;
}

.granny-meta span {
    display: inline-block;
}

/* =========================================
   OTHER CARDS (Ingredients / Directions)
   Narrow cards, centered
========================================= */
.granny-card {
    max-width: 900px;
    margin: 10px auto;        /* center horizontally, smaller vertical spacing */
    padding: 24px;
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid #e8e0d8;
    box-shadow: 0 8px 22px rgba(0,0,0,0.08);
}

/* =========================================
   STORY CARD - FULL WIDTH
========================================= */
.granny-card.granny-recipe-story {
    width: 90%;
    max-width: none;       /* limit width */
    margin: 20px auto;        /* center horizontally */
    border-radius: 18px;
    padding: 30px;
    background: #fffaf5;
    border-left: 4px solid #8b5a2b;
    box-shadow: 0 8px 22px rgba(0,0,0,0.08);
    font-style: italic;
    color: #403732;
    line-height: 1.7;
}

/* =========================================
   SECTION HEADINGS (Ingredients / Directions)
========================================= */
.granny-card h2 {
    font-size: 24px;
    font-weight: 700;
    color: #444;
    margin-bottom: 16px;
    position: relative;
    padding-bottom: 8px;
}

.granny-card h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: #8b5a2b;
    border-radius: 2px;
}

/* =========================================
   INGREDIENTS
========================================= */
.granny-recipe-ingredients p,
.granny-recipe-ingredients li {
    font-size: 16px;
    line-height: 1.65;
    margin: 6px 0;
}

.granny-recipe-ingredients ul {
    list-style: none;
    padding-left: 0;
}

.granny-recipe-ingredients li {
    padding-left: 24px;
    position: relative;
}

.granny-recipe-ingredients li:before {
    content: "•";
    color: #8b5a2b;
    position: absolute;
    left: 0;
    font-size: 1.4em;
    line-height: 1;
}

/* =========================================
   DIRECTIONS
========================================= */
.granny-recipe-directions p {
    font-size: 16px;
    line-height: 1.7;
    margin: 6px 0;
}

/* =========================================
   RESPONSIVE / MOBILE
========================================= */
@media (max-width: 768px) {
    .granny-recipe-title-card,
    .granny-card.granny-recipe-story {
        padding: 20px;
    }

    .granny-title {
        font-size: 28px;
    }

    .granny-meta {
        gap: 12px;
        font-size: 14px;
    }

    .granny-card {
        padding: 16px;
        border-radius: 12px;
    }

    .granny-card h2 {
        font-size: 20px;
    }
}