/* recipe.css — shared content styles for all outputs (HTML, PDF, EPUB)
 * Rules: NO var(), NO @media, hard-coded values only.
 * EPUB e-readers don't support CSS variables. */

/* ── Typography fallback ─────────────────────────────────────────── */

body {
    font-family: Georgia, 'Times New Roman', serif;
    line-height: 1.6;
}

/* ── Lists ────────────────────────────────────────────────────────── */

ol {
    list-style: decimal;
    padding-left: 1.5em;
}

ul {
    list-style: disc;
    padding-left: 1.5em;
}

ol, ul {
    margin-bottom: 1em;
}

li {
    display: list-item;
    margin-bottom: 0.4em;
    line-height: 1.5;
}

/* ── Recipe metadata bar (injected by recipe-metadata.lua) ───────── */

.recipe-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5em;
    border-top: 2px solid #4e6d83;
    border-bottom: 1px solid #ccc;
    padding: 0.6em 0;
    margin-bottom: 1.5em;
    font-size: 0.9em;
    color: #4f5a65;
}

.recipe-prep-time::before {
    content: "\1F551 ";
}

.recipe-cook-time::before {
    content: "\1F525 ";
}

.recipe-servings::before {
    content: "\1F37D ";
}

.recipe-prep-time,
.recipe-cook-time,
.recipe-servings,
.recipe-kcal {
    font-weight: 600;
}

/* ── Images ───────────────────────────────────────────────────────── */

img {
    max-width: 100%;
    height: auto;
}

/* ── Definition lists ─────────────────────────────────────────────── */

dl {
    margin-bottom: 1em;
}

dt {
    font-weight: bold;
}

dd {
    margin-left: 1.5em;
    margin-bottom: 0.5em;
}
