﻿/* Base Styles */
.story-image img {
    border: 1px solid #e9e0d5;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

blockquote {
    border-left: 3px solid #c23a2d;
    background: #f8f5f0;
    padding: 15px 20px;
    margin: 20px 0;
}

.highlight {
    font-size: 1.2em;
    text-align: center;
    margin: 25px 0;
    padding: 15px;
    border-top: 1px solid #e0d0c0;
    border-bottom: 1px solid #e0d0c0;
}

/* Transition Section - Enhanced Styles */
.transition-meal {
    background: #fcf8f3;
    border: 1px solid #e9d8c5;
    padding: 35px 30px;
    margin: 50px 0;
    text-align: center;
    position: relative;
    border-radius: 4px;
    box-shadow: 0 5px 25px rgba(194, 58, 45, 0.08);
    transition: all 0.3s ease;
}

    .transition-meal:hover {
        box-shadow: 0 8px 30px rgba(194, 58, 45, 0.12);
        transform: translateY(-3px);
    }

.plate-icon {
    font-size: 54px;
    margin-bottom: 20px;
    display: block;
    opacity: 0.85;
    filter: drop-shadow(0 3px 5px rgba(0,0,0,0.1));
}

.calculation-recipe {
    max-width: 780px;
    margin: 25px auto;
}

.ingredients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.ingredient {
    padding: 20px 15px;
    border: 1px solid #e0d0c0;
    border-radius: 6px;
    background: white;
    transition: all 0.25s ease;
    box-shadow: 0 3px 10px rgba(0,0,0,0.03);
}

    .ingredient:hover {
        transform: translateY(-5px);
        border-color: #c23a2d;
        box-shadow: 0 6px 15px rgba(194, 58, 45, 0.1);
    }

.ingredient-icon {
    width: 36px;
    height: 36px;
    background: #c23a2d;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-weight: bold;
    font-size: 1.1em;
    box-shadow: 0 3px 6px rgba(194, 58, 45, 0.2);
}

.family-principle-wrapper {
    width: 100%;
    margin: 25px 0;
    position: relative;
    background: #f8f5f0;
}

    .family-principle-wrapper::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 3px;
        background: #c23a2d;
    }

.family-principle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    max-width: 900px;
    margin: 0 auto;
    padding: 18px 28px;
    text-align: center;
}

    .family-principle img {
        width: 48px;
        height: auto;
    }

.meal-button {
    background: #c23a2d;
    background: linear-gradient(to right, #c23a2d, #a52c20);
    color: white;
    padding: 14px 38px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
    margin: 15px 0;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1em;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(194, 58, 45, 0.3);
}

    .meal-button:hover {
        transform: translateY(-3px);
        box-shadow: 0 7px 20px rgba(194, 58, 45, 0.4);
        background: linear-gradient(to right, #d14032, #b83225);
    }

.footnote {
    font-size: 0.95em;
    margin-top: 20px;
    color: #666;
    letter-spacing: 0.3px;
}

/* Historical Note Enhancement */
.historical-note {
    border-top: 1px solid #e9d8c5;
    padding-top: 35px;
    margin-top: 30px;
}


