:root {
    --paper: #efe1bf;
    --paper-light: #f8f0dc;
    --ink: #3d2c22;
    --green: #53683b;
    --green-soft: #839568;
    --gold: #a9894d;
    --line: rgba(116, 88, 48, .34);
    --white: #fffdf8;
    --shadow: 0 18px 48px rgba(53, 38, 25, .2);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: #e9e4d9;
    font-family: Georgia, "Times New Roman", serif;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; display: block; }

.site-nav {
    position: sticky; top: 0; z-index: 30;
    display: flex; justify-content: space-between; align-items: center;
    min-height: 64px; padding: 0 5vw;
    background: rgba(250, 247, 239, .96);
    border-bottom: 1px solid rgba(81, 61, 37, .13);
    backdrop-filter: blur(12px);
}
.brand { text-decoration: none; font-weight: 700; letter-spacing: .06em; color: var(--green); }
.nav-links { display: flex; gap: 8px; }
.nav-links a { text-decoration: none; padding: 10px 14px; border-radius: 999px; }
.nav-links a:hover, .nav-links a.active { background: #e8dfc8; color: var(--green); }

.button {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 42px; padding: 9px 16px; border: 1px solid #a88e62; border-radius: 8px;
    background: #fffaf0; color: var(--ink); text-decoration: none; font-weight: 700;
}
.button:hover { transform: translateY(-1px); box-shadow: 0 5px 15px rgba(65,45,25,.12); }
.button.primary { background: var(--green); border-color: var(--green); color: white; }
.button.danger { background: #8b3a32; border-color: #8b3a32; color: white; }
.button.small { min-height: 34px; padding: 6px 10px; font-size: .9rem; }
.button.full { width: 100%; }

.eyebrow { margin: 0 0 8px; color: var(--green); text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; font-weight: 700; }

.home-shell { width: min(1480px, 94vw); margin: 36px auto 80px; }
.home-cover {
    display: grid; grid-template-columns: 1.25fr .9fr; min-height: 520px;
    overflow: hidden; border-radius: 22px; background: var(--paper-light); box-shadow: var(--shadow);
}
.home-cover-photo { min-height: 480px; }
.home-cover-photo img { width: 100%; height: 100%; object-fit: cover; }
.home-cover-copy { display: flex; flex-direction: column; justify-content: center; padding: 7%; background: radial-gradient(circle at 90% 10%, rgba(129,149,101,.22), transparent 35%), var(--paper-light); }
.home-cover-copy h1 { margin: 4px 0 14px; font-size: clamp(2.4rem, 5vw, 5.2rem); line-height: .98; font-weight: 500; }
.home-cover-copy > p:not(.eyebrow):not(.recipe-total) { font-size: 1.25rem; line-height: 1.6; }
.home-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0; }
.recipe-total { color: #6e6255; font-size: .94rem; }

.toc-section { margin-top: 62px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 28px; }
.section-heading h2 { margin: 0; font-size: 3rem; font-weight: 500; }
.recipe-search { display: flex; gap: 8px; flex-wrap: wrap; }
.recipe-search input, .recipe-search select { min-height: 42px; border: 1px solid #b9ab8d; border-radius: 8px; padding: 8px 12px; background: #fff; }
.category-block { margin: 36px 0 54px; }
.category-block > header { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 10px; border-bottom: 1px solid #b9aa89; }
.category-block h3 { margin: 0; color: var(--green); font-size: 1.7rem; font-weight: 500; }
.category-block header span { color: #756b5c; }
.recipe-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; margin-top: 18px; }
.recipe-card { display: grid; grid-template-columns: 82px 1fr; min-height: 84px; overflow: hidden; border-radius: 10px; background: #fffdf8; text-decoration: none; border: 1px solid rgba(91,70,44,.12); transition: .18s ease; }
.recipe-card:hover { transform: translateY(-2px); box-shadow: 0 9px 24px rgba(54,40,24,.12); }
.recipe-card img { width: 82px; height: 100%; object-fit: cover; }
.recipe-card span { display: flex; flex-direction: column; justify-content: center; padding: 12px; min-width: 0; }
.recipe-card strong { line-height: 1.2; }
.recipe-card small { margin-top: 7px; color: #7b6b58; }
.empty-state, .message-page { padding: 50px; border-radius: 14px; background: #fff; text-align: center; }
.message-page { width: min(760px, 90vw); margin: 80px auto; }

.print-toolbar {
    position: sticky; top: 64px; z-index: 25;
    display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap;
    padding: 12px 4vw; background: rgba(63, 52, 39, .93); color: white;
}
.print-toolbar label { display: flex; align-items: center; gap: 8px; }
.print-toolbar select { min-height: 38px; border: 0; border-radius: 6px; padding: 5px 28px 5px 10px; }
.toolbar-note { font-size: .85rem; opacity: .78; }
.page-preview { display: flex; flex-direction: column; align-items: center; gap: 26px; padding: 36px 20px 70px; }
.book-preview { gap: 26px; }

.print-page {
    position: relative;
    width: var(--page-width, 297mm);
    min-height: var(--page-height, 210mm);
    overflow: hidden;
    break-after: page;
    page-break-after: always;
    background:
        radial-gradient(circle at 12% 8%, rgba(144, 126, 84, .09), transparent 22%),
        radial-gradient(circle at 86% 86%, rgba(115, 135, 83, .1), transparent 24%),
        repeating-linear-gradient(0deg, rgba(125, 93, 51, .025) 0, rgba(125, 93, 51, .025) 1px, transparent 1px, transparent 4px),
        var(--paper-light);
    box-shadow: var(--shadow);
    color: var(--ink);
}

.recipe-page {
    display: grid; grid-template-columns: minmax(0, 48%) minmax(0, 52%);
    padding: 10mm 12mm;
    gap: 12mm;
    font-size: 13.2px;
}
.recipe-page::before {
    content: ""; position: absolute; inset: 5mm; pointer-events: none;
    border: 1px solid rgba(148, 116, 70, .18); border-radius: 4mm;
}
.botanical { position: absolute; z-index: 0; color: rgba(82, 105, 57, .48); font-size: 48px; line-height: 1; }
.botanical-left { left: 7mm; top: 5mm; transform: rotate(-28deg); }
.botanical-right { right: 7mm; top: 5mm; transform: scaleX(-1) rotate(-28deg); }
.recipe-left, .recipe-right { position: relative; z-index: 1; min-width: 0; }
.recipe-left { display: flex; flex-direction: column; }
.recipe-title { text-align: center; padding: 0 12mm; }
.recipe-title h1 { margin: 0; font-size: 34px; line-height: 1.05; font-weight: 500; letter-spacing: .03em; text-transform: uppercase; }
.recipe-title p { margin: 5px 0 1px; font-size: 14px; letter-spacing: .14em; color: #5a4b3c; }
.mini-heart { color: #8a7b3a; font-size: 12px; }
.recipe-image-wrap { margin: 5mm 0 3mm; height: 67mm; border-radius: 2mm; overflow: hidden; border: 1px solid rgba(112,84,49,.25); box-shadow: inset 0 0 0 4px rgba(255,255,255,.26); }
.recipe-image { width: 100%; height: 100%; object-fit: cover; }
.recipe-meta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 0 1mm; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.meta-item { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 15mm; padding: 2mm; border-right: 1px solid var(--line); }
.meta-item:last-child { border-right: 0; }
.meta-icon { font-size: 23px; color: #6a5c35; }
.meta-item small { display: block; text-transform: uppercase; letter-spacing: .06em; font-size: 7.7px; }
.meta-item strong { display: block; margin-top: 2px; font-size: 10px; font-weight: 500; }
.section-divider { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; margin: 3mm 0 1mm; color: var(--gold); }
.section-divider span { height: 1px; background: var(--line); }
.section-divider b { font-size: 10px; }
.ingredients h2, .method-title h2 { margin: 0; text-align: center; color: var(--green); font-size: 24px; font-weight: 500; letter-spacing: .15em; text-transform: uppercase; }
.ingredient-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4mm; margin-top: 2.5mm; }
.ingredient-group { padding: 2.5mm 3mm; border-left: 1px solid rgba(143,110,67,.35); }
.ingredient-group h3 { margin: 0 0 1.5mm; font-size: 12px; text-transform: uppercase; }
.ingredient-group ul { margin: 0; padding-left: 17px; columns: 1; }
.ingredient-group li { margin: 0 0 1.1mm; line-height: 1.28; break-inside: avoid; }

.recipe-right { display: flex; flex-direction: column; padding: 3mm 0 0; }
.method-title { display: flex; align-items: center; justify-content: center; gap: 11px; margin-bottom: 4mm; color: var(--green); }
.method-title span { font-size: 25px; }
.steps { margin: 0; padding: 0 0 0 9mm; counter-reset: step; }
.steps li { position: relative; margin: 0 0 2.4mm; padding: 0 0 2.2mm 2mm; line-height: 1.42; border-bottom: 1px dotted rgba(136,102,59,.48); break-inside: avoid; }
.steps li::marker { color: var(--green); font-size: 16px; font-weight: 700; }
.recipe-note { position: relative; margin-top: auto; padding: 7mm 9mm 5mm; border: 1px solid rgba(114,91,51,.38); border-radius: 3mm; background: rgba(232, 220, 188, .62); }
.recipe-note .tape { position: absolute; top: -5mm; left: 42%; width: 27mm; height: 9mm; transform: rotate(-1deg); background: rgba(211,188,140,.63); }
.recipe-note h3 { margin: 0 0 3mm; font-size: 14px; letter-spacing: .07em; text-transform: uppercase; border-bottom: 1px solid var(--line); display: inline-block; padding-bottom: 1mm; }
.recipe-note p { margin: 0; font-style: italic; line-height: 1.45; }
.recipe-note p span { color: var(--green); }
.source-note { margin: 3mm 0 0; font-size: 8px; color: #847663; text-align: right; }
.recipe-pagination { display: grid; grid-template-columns: 1fr auto 1fr; width: min(1100px, 94vw); gap: 12px; }
.recipe-pagination a { text-decoration: none; padding: 10px; }
.recipe-pagination a:last-child { text-align: right; }

.compact-1 { font-size: 11.6px; gap: 9mm; padding: 8mm 10mm; }
.compact-1 .recipe-title h1 { font-size: 29px; }
.compact-1 .recipe-image-wrap { height: 55mm; }
.compact-1 .steps li { margin-bottom: 1.5mm; padding-bottom: 1.4mm; line-height: 1.3; }
.compact-1 .ingredient-group li { margin-bottom: .7mm; line-height: 1.2; }
.compact-2 { font-size: 10.2px; gap: 7mm; padding: 7mm 9mm; }
.compact-2 .recipe-title h1 { font-size: 26px; }
.compact-2 .recipe-image-wrap { height: 44mm; margin-top: 3mm; }
.compact-2 .meta-item { min-height: 12mm; }
.compact-2 .steps li { margin-bottom: 1mm; padding-bottom: 1mm; line-height: 1.22; }
.compact-2 .ingredient-group li { margin-bottom: .4mm; line-height: 1.15; }
.compact-2 .ingredients h2, .compact-2 .method-title h2 { font-size: 19px; }
.compact-3 { font-size: 8.5px; gap: 5mm; padding: 6mm 8mm; overflow: visible; }
.compact-3 .recipe-title h1 { font-size: 22px; }
.compact-3 .recipe-image-wrap { height: 32mm; margin: 2mm 0; }
.compact-3 .meta-item { min-height: 10mm; }
.compact-3 .meta-icon { font-size: 15px; }
.compact-3 .steps li { margin-bottom: .6mm; padding-bottom: .5mm; line-height: 1.15; }
.compact-3 .ingredient-group { padding: 1mm 2mm; }
.compact-3 .ingredient-group li { margin-bottom: .2mm; line-height: 1.1; }
.compact-3 .ingredients h2, .compact-3 .method-title h2 { font-size: 16px; }
.compact-3 .recipe-note { padding: 4mm 6mm 3mm; }

.cover-page { display: grid; place-items: center; padding: 11mm; }
.cover-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cover-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(40,25,15,.18), rgba(51,35,20,.35)); }
.cover-panel { position: relative; z-index: 2; width: 54%; padding: 16mm 14mm; text-align: center; background: rgba(249,241,220,.92); border: 1px solid rgba(121,89,49,.46); box-shadow: 0 12px 50px rgba(31,20,12,.24); }
.cover-panel::before { content: ""; position: absolute; inset: 4mm; border: 1px solid rgba(104,125,71,.45); }
.cover-ornament { color: var(--green); font-size: 28px; }
.cover-kicker { position: relative; margin: 3mm 0 5mm; color: var(--green); letter-spacing: .12em; text-transform: uppercase; }
.cover-panel h1 { position: relative; margin: 0; font-size: 48px; line-height: 1; font-weight: 500; text-transform: uppercase; letter-spacing: .05em; }
.cover-subtitle { position: relative; margin: 5mm 0 12mm; font-size: 18px; font-style: italic; }
.cover-author { position: relative; margin: 0; font-weight: 700; }

.toc-page { padding: 14mm 16mm; }
.toc-page .eyebrow { text-align: center; }
.toc-page h1 { margin: 1mm 0 8mm; text-align: center; font-size: 36px; font-weight: 500; color: var(--green); }
.toc-columns { columns: 3; column-gap: 10mm; }
.toc-columns a { display: flex; justify-content: space-between; gap: 8px; padding: 1.4mm 0; text-decoration: none; border-bottom: 1px dotted rgba(120,88,50,.36); break-inside: avoid; font-size: 12px; }
.toc-columns b { color: var(--gold); font-size: 8px; }

.editor-shell { display: grid; grid-template-columns: 310px minmax(0, 1fr); width: min(1600px, 98vw); margin: 24px auto 60px; gap: 22px; }
.editor-sidebar { position: sticky; top: 88px; align-self: start; height: calc(100vh - 110px); display: flex; flex-direction: column; padding: 18px; background: #fff; border-radius: 12px; box-shadow: 0 8px 24px rgba(50,40,30,.1); }
.editor-sidebar h2 { margin: 0 0 12px; }
.editor-sidebar > input { min-height: 42px; padding: 8px 10px; border: 1px solid #baa98a; border-radius: 7px; margin-bottom: 10px; }
.data-links { display:flex; justify-content:space-between; gap:8px; margin-top:10px; font-size:.85rem; }
.data-links a { color:var(--green); }
.editor-recipe-list { overflow: auto; margin-top: 12px; border-top: 1px solid #ded5c3; }
.editor-recipe-list a { display: block; padding: 10px 7px; text-decoration: none; border-bottom: 1px solid #eee8db; }
.editor-recipe-list a:hover, .editor-recipe-list a.active { background: #eee7d6; }
.editor-recipe-list small { display: block; margin-top: 4px; color: #7c705f; }
.editor-content { min-width: 0; }
.flash { margin-bottom: 14px; padding: 13px 16px; border-radius: 8px; }
.flash.success { background: #dfead4; color: #355127; }
.flash.error { background: #f1d9d5; color: #7c2f27; }
.settings-panel, .recipe-editor-form { background: #fff; border-radius: 12px; box-shadow: 0 8px 24px rgba(50,40,30,.09); }
.settings-panel { margin-bottom: 18px; padding: 16px 20px; }
.settings-panel summary { cursor: pointer; font-weight: 700; color: var(--green); }
.settings-form { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; margin-top: 16px; }
.recipe-editor-form { padding: 28px; }
.editor-title-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; border-bottom: 1px solid #e2d9c7; padding-bottom: 20px; }
.editor-title-row h1 { margin: 0; font-size: 2.25rem; font-weight: 500; }
.editor-actions { display: flex; gap: 8px; }
.form-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; margin: 24px 0; }
.form-grid .span-2 { grid-column: span 2; }
label { font-weight: 700; }
label small { display: block; margin-top: 5px; color: #776b5c; font-weight: 400; }
input, select, textarea { width: 100%; border: 1px solid #bdb09a; border-radius: 7px; background: #fffefa; padding: 9px 10px; color: var(--ink); }
label input, label select, label textarea { display: block; margin-top: 6px; }
textarea { resize: vertical; line-height: 1.45; }
.current-image { display: flex; align-items: center; gap: 12px; padding: 10px; background: #f5f1e7; border-radius: 8px; }
.current-image img { width: 130px; height: 82px; object-fit: cover; border-radius: 6px; }
.editor-section { margin-top: 30px; padding-top: 22px; border-top: 1px solid #e2d9c7; }
.editor-section-head { display: flex; justify-content: space-between; align-items: center; }
.editor-section h2 { margin: 0 0 12px; font-size: 1.35rem; color: var(--green); }
#ingredientGroups { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.ingredient-editor-group { position: relative; padding: 16px; border: 1px solid #d7cbb5; border-radius: 9px; background: #fcfaf5; }
.ingredient-editor-group label + label { display: block; margin-top: 12px; }
.link-danger { margin-top: 10px; border: 0; background: transparent; color: #9a3f34; text-decoration: underline; padding: 0; }
.two-column-editor { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; }
.auto-note { margin-top: 12px; padding: 9px; border-left: 3px solid #b59b56; background: #f6efd9; }
.delete-form { margin-top: 16px; text-align: right; }

@media (max-width: 1100px) {
    .home-cover { grid-template-columns: 1fr; }
    .home-cover-photo { max-height: 420px; }
    .section-heading { align-items: stretch; flex-direction: column; }
    .editor-shell { grid-template-columns: 1fr; width: min(960px, 94vw); }
    .editor-sidebar { position: static; height: auto; }
    .editor-recipe-list { max-height: 280px; }
    .form-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .settings-form, #ingredientGroups, .two-column-editor { grid-template-columns: 1fr; }
    .print-page { width: min(100%, var(--page-width)); min-height: auto; }
}
@media (max-width: 700px) {
    .site-nav { padding: 0 14px; }
    .brand { font-size: .9rem; }
    .nav-links a { padding: 8px; font-size: .86rem; }
    .home-shell { width: 92vw; margin-top: 18px; }
    .home-cover-copy { padding: 26px; }
    .recipe-search { flex-direction: column; }
    .recipe-search > * { width: 100%; }
    .form-grid { grid-template-columns: 1fr; }
    .form-grid .span-2 { grid-column: auto; }
    .editor-title-row { align-items: stretch; flex-direction: column; }
    .recipe-page { display: block; padding: 22px; }
    .recipe-right { margin-top: 28px; }
    .recipe-image-wrap { height: 240px; }
    .print-toolbar { top: 64px; }
}

@media print {
    html, body { margin: 0 !important; padding: 0 !important; background: white !important; }
    body { -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; }
    .screen-only, .site-nav, .print-toolbar, .recipe-pagination { display: none !important; }
    .page-preview, .book-preview { display: block; padding: 0; margin: 0; }
    .print-page { margin: 0 !important; box-shadow: none !important; }
    .recipe-page { break-inside: avoid; page-break-inside: avoid; }
    a { text-decoration: none; }
}


/* 2026-07 layout correction: readable type, wrapping, anchors and print-safe page numbers */
.recipe-title h1 { text-transform: none; overflow-wrap: anywhere; }
.recipe-page { scroll-margin-top: 90px; }
.ingredient-columns { grid-template-columns: 1fr; gap: 1.8mm; }
.ingredients-two-columns .ingredient-columns { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 3mm; }
.ingredient-group { min-width: 0; }
.ingredient-group li { font-size: 11.2px; line-height: 1.24; overflow-wrap: anywhere; hyphens: auto; }
.steps li { font-size: 11.4px; line-height: 1.34; overflow-wrap: anywhere; hyphens: auto; }
.steps-compact .steps li { margin-bottom: 1.25mm; padding-bottom: 1.1mm; font-size: 10.6px; line-height: 1.25; }
.dense-content { gap: 8mm; padding: 8mm 10mm; }
.dense-content .recipe-image-wrap { height: 48mm; }
.dense-content .recipe-title h1 { font-size: 27px; }
.dense-content .recipe-note { padding: 4mm 6mm 3mm; }
.compact-1,.compact-2,.compact-3 { font-size: inherit; gap: 8mm; padding: 8mm 10mm; overflow: hidden; }
.page-number { position: absolute; bottom: 8mm; z-index: 5; min-width: 10mm; text-align: center; font-size: 10px; color: #786a55; }
.print-page:nth-child(odd) > .page-number { right: 12mm; }
.print-page:nth-child(even) > .page-number { left: 12mm; }
.toc-columns a b { min-width: 20px; text-align: right; font-size: 10px; }
.toc-columns a:hover { color: var(--green); background: rgba(83,104,59,.06); }
.hidden-badge { display:inline-block; margin-left:6px; padding:2px 5px; border-radius:999px; background:#efe3bd; color:#725c22; font-size:.68em; font-style:normal; }
.checkbox-field { display:flex; gap:8px; align-items:flex-start; flex-wrap:wrap; }
.checkbox-field input { width:auto; margin-top:3px; }
.checkbox-field small { flex-basis:100%; }
@media print {
  .print-page { background-size: 100% 100% !important; }
  .toc-columns a { color: inherit !important; }
}

/* 2026-07-20: többoldalas receptek és biztonságos oldalszámozás */
.page-number {
    bottom: 12mm;
    left: auto;
    right: auto;
    pointer-events: none;
}
.print-page.page-odd > .page-number { right: 13mm; left: auto; }
.print-page.page-even > .page-number { left: 13mm; right: auto; }
.recipe-page-split {
    display: block;
    padding: 10mm 14mm 18mm;
    font-size: 12px;
}
.recipe-page-split .split-page-content {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
}
.recipe-page-split .recipe-title { padding: 0 20mm; }
.recipe-page-split .recipe-image-wrap {
    width: 58%;
    height: 58mm;
    margin: 4mm auto 3mm;
}
.recipe-page-split .recipe-meta { width: 78%; margin: 0 auto; }
.recipe-page-split .ingredients { width: 94%; margin: 0 auto; }
.recipe-page-split .ingredient-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 8mm;
    row-gap: 2mm;
}
.recipe-page-split .ingredient-group li {
    font-size: 12px;
    line-height: 1.34;
    margin-bottom: 1.2mm;
}
.recipe-page-split.method-page .method-only {
    width: 90%;
    margin: 0 auto;
}
.continuation-title { margin-bottom: 6mm; }
.recipe-page-split.method-page .steps {
    columns: 2;
    column-gap: 12mm;
    padding-left: 8mm;
}
.recipe-page-split.method-page .steps li {
    break-inside: avoid;
    font-size: 12px;
    line-height: 1.38;
    margin-bottom: 2.4mm;
    padding-bottom: 2mm;
}
.recipe-page-split.method-page .recipe-note {
    clear: both;
    margin: 5mm auto 0;
    width: 82%;
}
@media print {
    .print-page.page-odd > .page-number { right: 13mm !important; left: auto !important; }
    .print-page.page-even > .page-number { left: 13mm !important; right: auto !important; }
}

/* 2026-08-10: fix A4, responsive recipe density and print-safe metadata */
.print-page {
    height: var(--page-height, 210mm);
    min-height: var(--page-height, 210mm);
    max-height: var(--page-height, 210mm);
    width: var(--page-width, 297mm);
    box-sizing: border-box;
    background-clip: border-box;
}
.recipe-meta { grid-template-columns: repeat(var(--meta-count, 4), minmax(0, 1fr)); }
.recipe-meta:empty { display: none; }
.page-number {
    position: absolute !important;
    bottom: 9mm !important;
    top: auto !important;
    z-index: 20;
    line-height: 1;
    background: rgba(248,240,220,.78);
    padding: .6mm 1.4mm;
    border-radius: 2mm;
}
.print-page.page-odd > .page-number { right: 9mm !important; left: auto !important; }
.print-page.page-even > .page-number { left: 9mm !important; right: auto !important; }

/* Hosszú recepteknél a betűméret fokozatosan csökken, de nem válik olvashatatlanná. */
.recipe-page.compact-1 { font-size: 11.8px; gap: 8mm; padding: 8mm 10mm 15mm; }
.recipe-page.compact-1 .recipe-title h1 { font-size: 29px; }
.recipe-page.compact-1 .recipe-image-wrap { height: 52mm; }
.recipe-page.compact-1 .ingredient-group li,
.recipe-page.compact-1 .steps li { font-size: 10.8px; line-height: 1.24; }

.recipe-page.compact-2 { font-size: 10.7px; gap: 6mm; padding: 7mm 9mm 15mm; }
.recipe-page.compact-2 .recipe-title h1 { font-size: 26px; }
.recipe-page.compact-2 .recipe-image-wrap { height: 43mm; margin: 2mm 0; }
.recipe-page.compact-2 .meta-item { min-height: 11mm; padding: 1.2mm; }
.recipe-page.compact-2 .ingredient-group li,
.recipe-page.compact-2 .steps li { font-size: 9.9px; line-height: 1.18; margin-bottom: .7mm; padding-bottom: .7mm; }
.recipe-page.compact-2 .recipe-note { padding: 3.5mm 5mm 3mm; }

.recipe-page.compact-3 { font-size: 9.6px; gap: 5mm; padding: 6.5mm 8mm 15mm; }
.recipe-page.compact-3 .recipe-title h1 { font-size: 23px; }
.recipe-page.compact-3 .recipe-image-wrap { height: 36mm; margin: 1.5mm 0; }
.recipe-page.compact-3 .meta-item { min-height: 9mm; padding: 1mm; }
.recipe-page.compact-3 .meta-icon { font-size: 14px; }
.recipe-page.compact-3 .meta-item small { font-size: 6.8px; }
.recipe-page.compact-3 .meta-item strong { font-size: 8.8px; }
.recipe-page.compact-3 .ingredient-group li,
.recipe-page.compact-3 .steps li { font-size: 9.1px; line-height: 1.14; margin-bottom: .45mm; padding-bottom: .4mm; }
.recipe-page.compact-3 .ingredients h2,
.recipe-page.compact-3 .method-title h2 { font-size: 17px; }
.recipe-page.compact-3 .recipe-note { padding: 3mm 4mm 2.5mm; }

.recipe-page-split { height: var(--page-height, 210mm); min-height: var(--page-height, 210mm); max-height: var(--page-height, 210mm); overflow: hidden; }
.recipe-page-split .split-page-content { height: calc(100% - 2mm); overflow: hidden; }
.recipe-page-split.ingredients-page .ingredients { max-height: 81mm; overflow: hidden; }
.recipe-page-split.ingredients-page.compact-1 .ingredient-group li { font-size: 10.8px; line-height: 1.2; }
.recipe-page-split.ingredients-page.compact-2 .ingredient-group li { font-size: 10px; line-height: 1.14; margin-bottom: .55mm; }
.recipe-page-split.ingredients-page.compact-3 .ingredient-group li { font-size: 9.2px; line-height: 1.08; margin-bottom: .35mm; }
.recipe-page-split.method-page .method-only { height: 100%; display: flex; flex-direction: column; }
.recipe-page-split.method-page .steps { column-fill: auto; max-height: 142mm; overflow: hidden; }
.recipe-page-split.method-page.compact-1 .steps li { font-size: 10.8px; line-height: 1.22; margin-bottom: 1.3mm; padding-bottom: 1mm; }
.recipe-page-split.method-page.compact-2 .steps li { font-size: 10px; line-height: 1.16; margin-bottom: .9mm; padding-bottom: .7mm; }
.recipe-page-split.method-page.compact-3 .steps li { font-size: 9.2px; line-height: 1.1; margin-bottom: .55mm; padding-bottom: .45mm; }
.recipe-page-split.method-page .recipe-note { margin-top: auto; margin-bottom: 7mm; }

@media print {
    html, body { width: 100%; height: auto; margin: 0 !important; padding: 0 !important; }
    .print-page {
        width: var(--page-width, 297mm) !important;
        height: var(--page-height, 210mm) !important;
        min-height: var(--page-height, 210mm) !important;
        max-height: var(--page-height, 210mm) !important;
        margin: 0 !important;
        padding-bottom: 15mm;
        overflow: hidden !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
        background:
            radial-gradient(circle at 12% 8%, rgba(144,126,84,.09), transparent 22%),
            radial-gradient(circle at 86% 86%, rgba(115,135,83,.10), transparent 24%),
            repeating-linear-gradient(0deg, rgba(125,93,51,.025) 0, rgba(125,93,51,.025) 1px, transparent 1px, transparent 4px),
            var(--paper-light) !important;
    }
    .print-page::before { -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; }
}


/* 2026-08-10 v5: illusztrált metaikonok, tükrözött páros oldalak, biztonságos hosszú listák */
.meta-icon {
    width: 13mm;
    height: 13mm;
    object-fit: contain;
    flex: 0 0 13mm;
    opacity: .94;
}
.compact-2 .meta-icon { width: 10.5mm; height: 10.5mm; flex-basis: 10.5mm; }
.compact-3 .meta-icon { width: 9mm; height: 9mm; flex-basis: 9mm; }

/* Könyvszerű tükörkép: jobb/páratlan oldalon kép balra, bal/páros oldalon kép jobbra. */
.recipe-page.page-even:not(.recipe-page-split) .recipe-left { grid-column: 2; grid-row: 1; }
.recipe-page.page-even:not(.recipe-page-split) .recipe-right { grid-column: 1; grid-row: 1; }

/* Hosszú hozzávalólistánál ne tudja a blokk az oldalszámot vagy a megjegyzést eltolni. */
.recipe-page { padding-bottom: 17mm !important; }
.recipe-left, .recipe-right { min-height: 0; overflow: hidden; }
.ingredients { min-height: 0; }
.ingredient-columns { min-height: 0; }
.recipe-page-split.ingredients-page .split-page-content {
    display: flex;
    flex-direction: column;
    min-height: 0;
}
.recipe-page-split.ingredients-page .ingredients {
    flex: 1 1 auto;
    max-height: none !important;
    overflow: hidden;
    min-height: 0;
}
.recipe-page-split.ingredients-page .ingredient-columns {
    align-content: start;
}
.recipe-page-split.ingredients-page.ingredients-long .recipe-image-wrap { height: 40mm; margin-top: 2mm; }
.recipe-page-split.ingredients-page.ingredients-long .recipe-meta { min-height: 0; }
.recipe-page-split.ingredients-page.ingredients-long .meta-item { min-height: 9.5mm; padding: .8mm 1.2mm; }
.recipe-page-split.ingredients-page.ingredients-long .ingredient-group { padding-top: 1mm; padding-bottom: 1mm; }
.recipe-page-split.ingredients-page.ingredients-long .ingredient-group li { font-size: 9.4px; line-height: 1.12; margin-bottom: .45mm; }
.recipe-page-split.ingredients-page.ingredients-long .ingredients h2 { font-size: 18px; }

/* Dísz a Megjegyzés előtt csak rövid (<=6 lépéses) elkészítésnél. */
.note-ornament {
    height: 32mm;
    margin: auto 2mm 1.5mm;
    display: flex;
    align-items: flex-end;
    pointer-events: none;
}
.note-ornament img {
    width: auto;
    max-width: 58mm;
    max-height: 32mm;
    object-fit: contain;
}
.page-odd .note-ornament { justify-content: flex-end; }
.page-even .note-ornament { justify-content: flex-start; }
.recipe-note { margin-top: 1mm; }
.recipe-page-split.method-page .recipe-note { margin-top: 1mm; }

@media print {
    .recipe-page.page-even:not(.recipe-page-split) .recipe-left { grid-column: 2 !important; grid-row: 1 !important; }
    .recipe-page.page-even:not(.recipe-page-split) .recipe-right { grid-column: 1 !important; grid-row: 1 !important; }
    .note-ornament img, .meta-icon { -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; }
}

/* 2026-08-10 v6: fotókeret, eredeti képarány, külső képelrendezés */
/* A receptfotók megtartják a saját képarányukat; a fehér paszpartu + árnyék
   beragasztott papírkép hatást ad. */
.recipe-image-wrap,
.recipe-page.compact-1 .recipe-image-wrap,
.recipe-page.compact-2 .recipe-image-wrap,
.recipe-page.compact-3 .recipe-image-wrap,
.dense-content .recipe-image-wrap {
    width: fit-content;
    max-width: 100%;
    height: auto;
    max-height: none;
    margin: 5mm auto 4mm;
    padding: 3mm;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: #fffdf8;
    box-shadow:
        0 2.2mm 3.4mm rgba(61, 46, 28, .24),
        0 .5mm 1mm rgba(61, 46, 28, .16);
    transform: rotate(-.25deg);
}
.recipe-image {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 67mm;
    object-fit: contain;
}
.compact-1 .recipe-image { max-height: 55mm; }
.compact-2 .recipe-image { max-height: 44mm; }
.compact-3 .recipe-image { max-height: 36mm; }

/* Kétoldalas recepteknél sincs kényszerített képmagasság vagy képkivágás. */
.recipe-page-split .recipe-image-wrap,
.recipe-page-split.ingredients-page.ingredients-long .recipe-image-wrap {
    width: fit-content;
    max-width: 58%;
    height: auto;
    max-height: none;
    margin: 4mm auto 4mm;
    padding: 3mm;
}
.recipe-page-split .recipe-image {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 58mm;
    object-fit: contain;
}
.recipe-page-split.ingredients-page.ingredients-long .recipe-image {
    max-height: 40mm;
}

/* A képes oldal mindig a könyv külső széle felé kerül:
   bal/páros oldalon balra, jobb/páratlan oldalon jobbra. */
.recipe-page.page-even:not(.recipe-page-split) .recipe-left {
    grid-column: 1;
    grid-row: 1;
}
.recipe-page.page-even:not(.recipe-page-split) .recipe-right {
    grid-column: 2;
    grid-row: 1;
}
.recipe-page.page-odd:not(.recipe-page-split) .recipe-left {
    grid-column: 2;
    grid-row: 1;
}
.recipe-page.page-odd:not(.recipe-page-split) .recipe-right {
    grid-column: 1;
    grid-row: 1;
}

@media print {
    .recipe-page.page-even:not(.recipe-page-split) .recipe-left {
        grid-column: 1 !important;
        grid-row: 1 !important;
    }
    .recipe-page.page-even:not(.recipe-page-split) .recipe-right {
        grid-column: 2 !important;
        grid-row: 1 !important;
    }
    .recipe-page.page-odd:not(.recipe-page-split) .recipe-left {
        grid-column: 2 !important;
        grid-row: 1 !important;
    }
    .recipe-page.page-odd:not(.recipe-page-split) .recipe-right {
        grid-column: 1 !important;
        grid-row: 1 !important;
    }
    .recipe-image-wrap {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }
}

/* 2026-08-10 v7: további botanikus corner illusztrációk és nagyított kétoldalas díszek */
.note-ornament img {
    width: auto;
    height: auto;
    max-width: 46mm;
    max-height: 34mm;
    object-fit: contain;
}
.recipe-page-split.method-page .note-ornament.note-ornament-large {
    min-height: 42mm;
    margin: 2mm 0 1mm;
    align-items: center;
}
.recipe-page-split.method-page .note-ornament.note-ornament-large img {
    max-width: 72mm;
    max-height: 48mm;
}
.page-even.recipe-page-split.method-page .note-ornament.note-ornament-large {
    justify-content: flex-start;
    padding-left: 8mm;
}
.page-odd.recipe-page-split.method-page .note-ornament.note-ornament-large {
    justify-content: flex-end;
    padding-right: 8mm;
}
@media print {
    .note-ornament img {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }
}


/* 2026-08-10 v8: receptenkénti képmappa és szerkesztői képgaléria */
.image-library-section { display: grid; gap: 18px; }
.image-library-head { align-items: flex-start; gap: 24px; }
.image-library-head code, .image-upload-row code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .9em; background: #f3eee3; padding: 2px 5px; border-radius: 4px; }
.resolved-image-preview { display: flex; align-items: center; gap: 10px; color: #6e624f; font-size: 12px; }
.resolved-image-preview img { width: 112px; height: 72px; object-fit: contain; background: #f8f5ed; border: 6px solid #fff; box-shadow: 0 4px 12px rgba(61,46,28,.18); }
.image-mode-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.image-mode-card { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border: 1px solid #ddd2bc; border-radius: 10px; background: #fbf9f3; cursor: pointer; }
.image-mode-card:has(input:checked) { border-color: #8a7a43; box-shadow: 0 0 0 2px rgba(138,122,67,.12); background: #fffdf7; }
.image-mode-card input { margin-top: 3px; }
.image-mode-card span { display: grid; gap: 3px; }
.image-mode-card small { color: #776d5e; line-height: 1.35; }
.picture-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.picture-choice { position: relative; display: grid; gap: 7px; padding: 9px; border: 1px solid #ddd2bc; border-radius: 10px; background: #faf8f2; cursor: pointer; }
.picture-choice input { position: absolute; top: 10px; left: 10px; z-index: 2; width: 18px; height: 18px; }
.picture-choice img { width: 100%; height: 118px; object-fit: contain; background: #efe9dc; border: 5px solid #fff; box-shadow: 0 3px 9px rgba(54,43,29,.16); }
.picture-choice span { font-size: 12px; color: #695f50; overflow-wrap: anywhere; }
.picture-choice.selected, .picture-choice:has(input:checked) { border-color: #81713b; box-shadow: 0 0 0 2px rgba(129,113,59,.12); background: #fffdf6; }
.picture-folder-empty { padding: 14px 16px; border: 1px dashed #c9bda7; border-radius: 10px; background: #faf7ef; color: #766c5d; }
.image-upload-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; padding-top: 4px; }
.image-upload-row > label { flex: 1; display: grid; gap: 7px; }
.image-upload-row input[type="file"] { width: 100%; }
.current-upload-preview { flex: 0 0 auto; display: grid; gap: 5px; justify-items: center; color: #756b5d; font-size: 11px; }
.current-upload-preview img { width: 112px; height: 72px; object-fit: contain; background: #f8f5ed; border: 5px solid #fff; box-shadow: 0 3px 10px rgba(61,46,28,.16); }
@media (max-width: 1000px) { .image-mode-options { grid-template-columns: 1fr; } .image-library-head { flex-direction: column; } .resolved-image-preview { width: 100%; justify-content: space-between; } }
@media (max-width: 650px) { .picture-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } .image-upload-row { flex-direction: column; align-items: stretch; } }


/* 2026-08-10 v9: finoman döntött, régi fotóhatású receptképek és kézírásos receptszöveg */
:root {
    --ink-blue: #2b446b;
    --hand-font: "Segoe Print", "Bradley Hand", "Comic Sans MS", "Lucida Handwriting", cursive;
}

.recipe-image-wrap {
    position: relative;
    isolation: isolate;
    transform: rotate(var(--photo-tilt, -0.35deg));
}
.recipe-image-wrap::after {
    content: "";
    position: absolute;
    inset: 3mm;
    z-index: 2;
    pointer-events: none;
    background-image: var(--photo-overlay, none);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: .18;
    mix-blend-mode: screen;
    border-radius: .4mm;
}
.recipe-image {
    position: relative;
    z-index: 1;
}

/* Kézzel írott hatás a recept tényleges tartalmánál. */
.ingredient-group li,
.steps li span,
.recipe-note p {
    font-family: var(--hand-font);
    color: var(--ink-blue);
    letter-spacing: .015em;
}
.ingredient-group li {
    font-size: 13.2px;
    line-height: 1.36;
}
.steps li span {
    font-size: 14px;
    line-height: 1.48;
}
.recipe-note p {
    font-size: 15px;
    line-height: 1.5;
    font-style: normal;
}
.steps li::marker,
.ingredient-group li::marker {
    color: #365d8f;
}
.recipe-note p span {
    color: #365d8f;
}

/* A szerkesztő képelőnézete is kövesse finoman a beragasztott fotóhangulatot. */
.resolved-image-preview img,
.picture-choice img,
.current-upload-preview img {
    transform: rotate(-0.6deg);
    box-shadow: 0 4px 12px rgba(54,43,29,.18);
}


/* 2026-08-10 v10: sorozatos szerkesztés / Összes mentése */
.editor-actions { flex-wrap: wrap; align-items: center; justify-content: flex-end; }
.draft-status {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #f1ede3;
    color: #6e6354;
    font-size: .82rem;
    white-space: nowrap;
}
.draft-status.dirty { background: #fff0c9; color: #765817; }
.draft-status.saving { background: #e5ebef; color: #40596a; }
.draft-status.saved { background: #dfead4; color: #355127; }
.draft-status.error { background: #f1d9d5; color: #7c2f27; }
#saveAllRecipes { border-color: #667c4d; color: #435735; }
#saveAllRecipes:disabled { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }
@media (max-width: 900px) {
    .editor-actions { justify-content: flex-start; }
    .draft-status { flex-basis: 100%; width: fit-content; }
}

/* 2026-08-10 v11: extra belso margó a könyv gerinckötéséhez */
/* Páratlan = jobb oldal: a gerinc balra van. Páros = bal oldal: a gerinc jobbra van. */
.recipe-page.page-odd {
    padding-left: 30mm !important;
    padding-right: 10mm !important;
}
.recipe-page.page-even {
    padding-left: 10mm !important;
    padding-right: 30mm !important;
}

/* A kétoldalas receptoldalak ugyanazt a kötési margót kapják. */
.recipe-page-split.page-odd {
    padding-left: 30mm !important;
    padding-right: 10mm !important;
}
.recipe-page-split.page-even {
    padding-left: 10mm !important;
    padding-right: 30mm !important;
}

@media print {
    .recipe-page.page-odd,
    .recipe-page-split.page-odd {
        padding-left: 30mm !important;
        padding-right: 10mm !important;
    }
    .recipe-page.page-even,
    .recipe-page-split.page-even {
        padding-left: 10mm !important;
        padding-right: 30mm !important;
    }
}


/* 2026-08-10 v12: a belső keret is követi a gerincmargót,
   a kereten kívüli papírsáv pedig teljesen fehér. */
.recipe-page {
    background: #fff !important;
}

/* A texturált/krémszínű papír csak a belső kereten BELÜL jelenik meg. */
.recipe-page::after {
    content: "";
    position: absolute;
    top: 5mm;
    bottom: 5mm;
    z-index: 0;
    pointer-events: none;
    border-radius: 4mm;
    background:
        radial-gradient(circle at 12% 8%, rgba(144, 126, 84, .09), transparent 22%),
        radial-gradient(circle at 86% 86%, rgba(115, 135, 83, .10), transparent 24%),
        repeating-linear-gradient(
            0deg,
            rgba(125, 93, 51, .025) 0,
            rgba(125, 93, 51, .025) 1px,
            transparent 1px,
            transparent 4px
        ),
        var(--paper-light);
}

/* Jobb/páratlan oldal: a bal, gerinc felőli keret kerül beljebb. */
.recipe-page.page-odd::before {
    left: 25mm !important;
    right: 5mm !important;
}
.recipe-page.page-odd::after {
    left: 25mm;
    right: 5mm;
}

/* Bal/páros oldal: a jobb, gerinc felőli keret kerül beljebb. */
.recipe-page.page-even::before {
    left: 5mm !important;
    right: 25mm !important;
}
.recipe-page.page-even::after {
    left: 5mm;
    right: 25mm;
}

/* A keret mindig a texturált belső lap fölött marad. */
.recipe-page::before {
    top: 5mm !important;
    bottom: 5mm !important;
    z-index: 3;
}

/* A tartalom és a díszek a belső papír fölött jelennek meg. */
.recipe-page > .recipe-left,
.recipe-page > .recipe-right,
.recipe-page > .split-page-content,
.recipe-page > .botanical,
.recipe-page > .page-number {
    position: relative;
    z-index: 1;
}

@media print {
    .recipe-page {
        background: #fff !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }
    .recipe-page::after {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }
}

/* 2026-08-10 v13: stabil kétoldalas tördelés, teljes magasságú egyoldalas tartalom,
   dinamikusan tömöríthető listák és a receptoldalakkal azonos tartalomjegyzék-keret. */

/* --- Kétoldalas receptek: minden tartalom a lap tetejéről, normál dokumentumfolyamban indul. --- */
.recipe-page-split {
    display: block !important;
    padding-top: 7mm !important;
    padding-bottom: 15mm !important;
    align-content: initial !important;
}
.recipe-page-split .split-page-content,
.recipe-page-split.ingredients-page .split-page-content,
.recipe-page-split.method-page .method-only {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    display: block !important;
    margin-top: 0 !important;
}
.recipe-page-split .recipe-title,
.recipe-page-split .continuation-title {
    margin-top: 0 !important;
    padding-top: 0 !important;
}
.recipe-page-split .continuation-title {
    margin-bottom: 4mm !important;
}
.recipe-page-split.ingredients-page .ingredients {
    display: block !important;
    flex: none !important;
    max-height: none !important;
    overflow: visible !important;
}
.recipe-page-split.method-page .method-only {
    width: 92% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}
.recipe-page-split.method-page .steps {
    columns: 2;
    column-gap: 12mm;
    column-fill: balance !important;
    max-height: none !important;
    overflow: visible !important;
}
.recipe-page-split.method-page .note-ornament,
.recipe-page-split.method-page .note-ornament.note-ornament-large {
    height: auto !important;
    min-height: 0 !important;
    margin: 3mm 0 1.5mm !important;
    padding-top: 0 !important;
}
.recipe-page-split.method-page .note-ornament.note-ornament-large img {
    max-width: 58mm;
    max-height: 38mm;
}
.recipe-page-split.method-page .recipe-note {
    width: 82% !important;
    margin: 2mm auto 0 !important;
    clear: both;
}

/* --- Egyoldalas receptek: a két hasáb a teljes rendelkezésre álló magasságot használhatja. --- */
.recipe-page:not(.recipe-page-split) .recipe-left,
.recipe-page:not(.recipe-page-split) .recipe-right {
    min-height: 0;
    height: auto;
    max-height: none;
    overflow: visible;
    align-self: start;
}
.recipe-page:not(.recipe-page-split) .ingredients,
.recipe-page:not(.recipe-page-split) .ingredient-columns {
    max-height: none !important;
    overflow: visible !important;
}
.recipe-page:not(.recipe-page-split) .recipe-note {
    margin-top: 3mm;
}
.recipe-page:not(.recipe-page-split) .note-ornament {
    margin-top: 3mm;
}

/* A JavaScript csak akkor sűrít, ha a lista ténylegesen túlfutna az A4 biztonságos alsó szélén. */
.recipe-page.ingredients-fit-1 .ingredient-group li {
    font-size: 12.4px !important;
    line-height: 1.30 !important;
    margin-bottom: .75mm !important;
}
.recipe-page.ingredients-fit-1 .ingredient-group { padding-top: 1.8mm; padding-bottom: 1.8mm; }
.recipe-page.ingredients-fit-1 .ingredient-columns { gap: 3mm !important; }

.recipe-page.ingredients-fit-2 .ingredient-group li {
    font-size: 11.4px !important;
    line-height: 1.23 !important;
    margin-bottom: .45mm !important;
}
.recipe-page.ingredients-fit-2 .ingredient-group { padding-top: 1.2mm; padding-bottom: 1.2mm; }
.recipe-page.ingredients-fit-2 .ingredient-columns { gap: 2.2mm !important; }
.recipe-page.ingredients-fit-2 .ingredients h2 { font-size: 21px; }

.recipe-page.ingredients-fit-3 .ingredient-group li {
    font-size: 10.4px !important;
    line-height: 1.16 !important;
    margin-bottom: .25mm !important;
}
.recipe-page.ingredients-fit-3 .ingredient-group { padding: .8mm 1.5mm; }
.recipe-page.ingredients-fit-3 .ingredient-columns { gap: 1.5mm !important; margin-top: 1.5mm; }
.recipe-page.ingredients-fit-3 .ingredients h2 { font-size: 19px; }
.recipe-page.ingredients-fit-3 .section-divider { margin-top: 1.5mm; margin-bottom: .5mm; }

.recipe-page.method-fit-1 .steps li span,
.recipe-page.method-fit-1 .recipe-note p {
    font-size: 13px !important;
    line-height: 1.38 !important;
}
.recipe-page.method-fit-1 .steps li { margin-bottom: 1.5mm; padding-bottom: 1.3mm; }

.recipe-page.method-fit-2 .steps li span,
.recipe-page.method-fit-2 .recipe-note p {
    font-size: 12px !important;
    line-height: 1.30 !important;
}
.recipe-page.method-fit-2 .steps li { margin-bottom: 1mm; padding-bottom: .8mm; }
.recipe-page.method-fit-2 .note-ornament { height: 23mm !important; }

.recipe-page.method-fit-3 .steps li span,
.recipe-page.method-fit-3 .recipe-note p {
    font-size: 11px !important;
    line-height: 1.22 !important;
}
.recipe-page.method-fit-3 .steps li { margin-bottom: .6mm; padding-bottom: .5mm; }
.recipe-page.method-fit-3 .note-ornament { height: 18mm !important; margin-top: 1mm !important; }
.recipe-page.method-fit-3 .recipe-note { padding-top: 5mm; padding-bottom: 3mm; }

/* --- Tartalomjegyzék: ugyanolyan belső papír és keret, mint a receptoldalakon. --- */
.toc-page {
    position: relative;
    background: #fff !important;
    overflow: hidden;
}
.toc-page::after {
    content: "";
    position: absolute;
    top: 5mm;
    bottom: 5mm;
    z-index: 0;
    pointer-events: none;
    border-radius: 4mm;
    background:
        radial-gradient(circle at 12% 8%, rgba(144, 126, 84, .09), transparent 22%),
        radial-gradient(circle at 86% 86%, rgba(115, 135, 83, .10), transparent 24%),
        repeating-linear-gradient(0deg, rgba(125, 93, 51, .025) 0, rgba(125, 93, 51, .025) 1px, transparent 1px, transparent 4px),
        var(--paper-light);
}
.toc-page::before {
    content: "";
    position: absolute;
    top: 5mm;
    bottom: 5mm;
    z-index: 3;
    pointer-events: none;
    border: 1px solid rgba(148, 116, 70, .18);
    border-radius: 4mm;
}
.toc-page.page-odd {
    padding: 14mm 10mm 14mm 30mm !important;
}
.toc-page.page-even {
    padding: 14mm 30mm 14mm 10mm !important;
}
.toc-page.page-odd::before,
.toc-page.page-odd::after {
    left: 25mm;
    right: 5mm;
}
.toc-page.page-even::before,
.toc-page.page-even::after {
    left: 5mm;
    right: 25mm;
}
.toc-page > * {
    position: relative;
    z-index: 1;
}
.toc-page > .page-number { z-index: 5; }

@media print {
    .recipe-page-split .split-page-content,
    .recipe-page-split.method-page .method-only,
    .recipe-page:not(.recipe-page-split) .recipe-left,
    .recipe-page:not(.recipe-page-split) .recipe-right {
        overflow: visible !important;
    }
    .toc-page {
        background: #fff !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }
    .toc-page::after {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }
}


/* 2026-08-10 v14: stabilabb kétoldalas oldalak, kisebb gerincmargó és kávéfolt-díszítés. */

/* --- Gerincoldali padding felezése: 30 mm helyett 15 mm. --- */
.recipe-page.page-odd,
.recipe-page-split.page-odd { padding-left: 15mm !important; padding-right: 10mm !important; }
.recipe-page.page-even,
.recipe-page-split.page-even { padding-left: 10mm !important; padding-right: 15mm !important; }
@media print {
  .recipe-page.page-odd, .recipe-page-split.page-odd { padding-left: 15mm !important; padding-right: 10mm !important; }
  .recipe-page.page-even, .recipe-page-split.page-even { padding-left: 10mm !important; padding-right: 15mm !important; }
}

/* A belső keret is ehhez igazodik. */
.recipe-page.page-odd::before, .recipe-page.page-odd::after { left: 10mm !important; right: 5mm !important; }
.recipe-page.page-even::before, .recipe-page.page-even::after { left: 5mm !important; right: 10mm !important; }
.toc-page.page-odd { padding: 14mm 10mm 14mm 15mm !important; }
.toc-page.page-even { padding: 14mm 15mm 14mm 10mm !important; }
.toc-page.page-odd::before, .toc-page.page-odd::after { left: 10mm !important; right: 5mm !important; }
.toc-page.page-even::before, .toc-page.page-even::after { left: 5mm !important; right: 10mm !important; }

/* --- Egyoldalas receptek: a két oldalhasáb tényleg töltse ki a lapmagasságot. --- */
.recipe-page:not(.recipe-page-split) { align-items: stretch !important; }
.recipe-page:not(.recipe-page-split) .recipe-left,
.recipe-page:not(.recipe-page-split) .recipe-right {
    height: 100% !important;
    min-height: 0 !important;
    align-self: stretch !important;
}
.recipe-page:not(.recipe-page-split) .ingredients { flex: 1 1 auto; }
.recipe-page:not(.recipe-page-split) .recipe-note { margin-top: auto !important; }

/* Ha hosszú a hozzávalólista, legyen még 2 extra tömörítési fokozat. */
.recipe-page.ingredients-fit-4 .ingredient-group li {
    font-size: 9.7px !important; line-height: 1.10 !important; margin-bottom: .2mm !important;
}
.recipe-page.ingredients-fit-4 .ingredient-group { padding: .6mm 1.2mm !important; }
.recipe-page.ingredients-fit-4 .ingredients h2 { font-size: 18px !important; }
.recipe-page.ingredients-fit-5 .ingredient-group li {
    font-size: 9.1px !important; line-height: 1.04 !important; margin-bottom: .1mm !important;
}
.recipe-page.ingredients-fit-5 .ingredient-group { padding: .4mm 1mm !important; }
.recipe-page.ingredients-fit-5 .ingredients h2 { font-size: 17px !important; }

/* --- Kétoldalas receptek: egyszerűbb, stabilabb felső igazítás. --- */
.recipe-page-split {
    display: block !important;
    padding-top: 9mm !important;
    padding-bottom: 12mm !important;
}
.recipe-page-split .split-page-content,
.recipe-page-split.ingredients-page .split-page-content,
.recipe-page-split.method-page .method-only {
    position: relative;
    width: 100% !important;
    margin: 0 auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
}
.recipe-page-split .recipe-title,
.recipe-page-split .continuation-title {
    margin-top: 0 !important;
    margin-bottom: 3.5mm !important;
    padding-top: 0 !important;
}
.recipe-page-split .botanical { top: 7mm !important; }
.recipe-page-split .recipe-image-wrap { margin-top: 3mm !important; margin-bottom: 3mm !important; }
.recipe-page-split .recipe-meta { width: 82% !important; }
.recipe-page-split.ingredients-page .ingredients {
    width: 100% !important;
    max-height: none !important;
    overflow: visible !important;
    flex: 1 1 auto !important;
}
.recipe-page-split.ingredients-page .ingredient-columns { align-items: start !important; }
.recipe-page-split.method-page .method-only {
    padding-top: 0 !important;
}
.recipe-page-split.method-page .steps {
    margin-top: 2mm !important;
    columns: 2 !important;
    column-gap: 10mm !important;
    column-fill: balance !important;
    max-height: none !important;
    overflow: visible !important;
}
.recipe-page-split.method-page .steps li {
    margin-bottom: 1.8mm !important;
    padding-bottom: 1.4mm !important;
    break-inside: avoid-column !important;
}
/* A nagy dísz ne tolja le a tartalmat: lebegjen dekorációként a lap alján. */
.recipe-page-split.method-page .note-ornament,
.recipe-page-split.method-page .note-ornament.note-ornament-large {
    position: absolute !important;
    bottom: 22mm !important;
    z-index: 0 !important;
    margin: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    pointer-events: none !important;
}
.page-even.recipe-page-split.method-page .note-ornament,
.page-even.recipe-page-split.method-page .note-ornament.note-ornament-large { left: 6mm !important; right: auto !important; }
.page-odd.recipe-page-split.method-page .note-ornament,
.page-odd.recipe-page-split.method-page .note-ornament.note-ornament-large { right: 6mm !important; left: auto !important; }
.recipe-page-split.method-page .note-ornament img,
.recipe-page-split.method-page .note-ornament.note-ornament-large img {
    max-width: 42mm !important;
    max-height: 30mm !important;
}
.recipe-page-split.method-page .recipe-note {
    position: relative !important;
    z-index: 1 !important;
    width: 78% !important;
    margin: 5mm auto 0 !important;
}

/* --- Kávéfoltok ritkán, hangulati elemként. --- */
.print-page.coffee-stain-corner::marker { content: ''; }
.print-page.coffee-stain-note::selection { background: transparent; }
.print-page.coffee-stain-corner::after,
.print-page.coffee-stain-note::after {
    content: '';
    position: absolute;
    width: 64mm;
    height: 64mm;
    background: url('assets/img/coffee_stain.png') center/contain no-repeat;
    opacity: .23;
    pointer-events: none;
    z-index: 2;
    filter: saturate(.92) sepia(.06);
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
}
.print-page.coffee-stain-note::after {
    left: 50%;
    bottom: -8mm;
    transform: translateX(-50%) rotate(-6deg);
}
.print-page.coffee-stain-corner.page-odd::after {
    top: -34mm;
    right: -34mm;
    transform: rotate(14deg);
}
.print-page.coffee-stain-corner.page-even::after {
    top: -34mm;
    left: -34mm;
    transform: scaleX(-1) rotate(14deg);
}

@media print {
    .print-page.coffee-stain-corner::after,
    .print-page.coffee-stain-note::after {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }
}

/* 2026-08-10 v15: lapmagassag-alapu tordeles, kulon kavefolt-reteg,
   stabil ketoldalas diszites es TOC dekoracio. */

/* A v14 kavefolt-osztalyok tobbe nem hasznalhatjak a papir ::after reteget.
   A JS ezeket eltavolitja es kulon .coffee-stain-decor elemet hoz letre. */
.coffee-stain-decor {
    position: absolute;
    width: 62mm;
    height: 62mm;
    z-index: 6;
    pointer-events: none;
    background: url('../img/coffee_stain.png') center / contain no-repeat;
    opacity: .20;
    filter: saturate(.92) sepia(.08);
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
}
.coffee-stain-decor.at-note {
    left: 50%;
    bottom: -8mm;
    transform: translateX(-50%) rotate(-7deg);
}
.page-odd > .coffee-stain-decor.at-corner {
    top: -34mm;
    right: -34mm;
    transform: rotate(13deg);
}
.page-even > .coffee-stain-decor.at-corner {
    top: -34mm;
    left: -34mm;
    transform: scaleX(-1) rotate(13deg);
}

/* Egyoldalas oldal: a grid-sor pontosan a rendelkezesre allo A4-magassag legyen.
   Igy a JS a valodi tulcsordulast meri, nem a dokumentum teljes magassagat. */
.recipe-page:not(.recipe-page-split) {
    grid-template-rows: minmax(0, 1fr) !important;
    align-items: stretch !important;
}
.recipe-page:not(.recipe-page-split) .recipe-left,
.recipe-page:not(.recipe-page-split) .recipe-right {
    height: auto !important;
    min-height: 0 !important;
    max-height: 100% !important;
    align-self: stretch !important;
    overflow: visible !important;
}
.recipe-page:not(.recipe-page-split) .recipe-right {
    display: flex !important;
    flex-direction: column !important;
}
/* A kis illusztracio + megjegyzes egyutt keruljon le az also reszhez. */
.recipe-page:not(.recipe-page-split) .note-ornament {
    margin-top: auto !important;
    margin-bottom: 1mm !important;
    min-height: 0 !important;
}
.recipe-page:not(.recipe-page-split) .recipe-note {
    margin-top: 0 !important;
    flex: 0 0 auto;
}

/* Tovabbi, tenyleges tulcsordulas eseten hasznalt hozzavalo-surutites. */
.recipe-page.ingredients-fit-4 .ingredient-group li { font-size: 9.7px !important; line-height: 1.10 !important; margin-bottom: .18mm !important; }
.recipe-page.ingredients-fit-4 .ingredient-group { padding: .55mm 1.1mm !important; }
.recipe-page.ingredients-fit-4 .ingredient-columns { gap: 1.2mm !important; margin-top: 1.1mm !important; }
.recipe-page.ingredients-fit-4 .ingredients h2 { font-size: 17.5px !important; }
.recipe-page.ingredients-fit-5 .ingredient-group li { font-size: 9.0px !important; line-height: 1.04 !important; margin-bottom: .08mm !important; }
.recipe-page.ingredients-fit-5 .ingredient-group { padding: .35mm .9mm !important; }
.recipe-page.ingredients-fit-5 .ingredient-columns { gap: .9mm !important; margin-top: .8mm !important; }
.recipe-page.ingredients-fit-5 .ingredients h2 { font-size: 16.5px !important; }
.recipe-page.ingredients-fit-6 .ingredient-group li { font-size: 8.4px !important; line-height: 1.00 !important; margin-bottom: 0 !important; }
.recipe-page.ingredients-fit-6 .ingredient-group { padding: .25mm .7mm !important; }
.recipe-page.ingredients-fit-6 .ingredient-columns { gap: .6mm !important; margin-top: .5mm !important; }
.recipe-page.ingredients-fit-6 .ingredients h2 { font-size: 15.5px !important; letter-spacing: .10em !important; }

/* Egyoldalas elkesziteshez is legyen tartalek suritesi szint. */
.recipe-page.method-fit-4 .steps li span,
.recipe-page.method-fit-4 .recipe-note p { font-size: 10.3px !important; line-height: 1.14 !important; }
.recipe-page.method-fit-4 .steps li { margin-bottom: .35mm !important; padding-bottom: .3mm !important; }
.recipe-page.method-fit-4 .note-ornament img { max-width: 31mm !important; max-height: 22mm !important; }
.recipe-page.method-fit-5 .steps li span,
.recipe-page.method-fit-5 .recipe-note p { font-size: 9.6px !important; line-height: 1.08 !important; }
.recipe-page.method-fit-5 .steps li { margin-bottom: .15mm !important; padding-bottom: .15mm !important; }
.recipe-page.method-fit-5 .note-ornament { display: none !important; }

/* Ketoldalas oldalak: a gyerek pontosan a belso lapterulet magassagat kapja. */
.recipe-page-split {
    display: block !important;
    overflow: hidden !important;
}
.recipe-page-split .split-page-content,
.recipe-page-split.ingredients-page .split-page-content,
.recipe-page-split.method-page .method-only {
    box-sizing: border-box !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: stretch !important;
}
.recipe-page-split .recipe-title,
.recipe-page-split .continuation-title {
    flex: 0 0 auto !important;
    margin: 0 0 3mm !important;
    padding-top: 0 !important;
}
.recipe-page-split.ingredients-page .ingredients {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    overflow: hidden !important;
}
.recipe-page-split.method-page .method-title { flex: 0 0 auto !important; }
.recipe-page-split.method-page .steps {
    flex: 0 1 auto !important;
    min-height: 0 !important;
    margin-top: 1.5mm !important;
    columns: 2 !important;
    column-gap: 10mm !important;
    column-fill: balance !important;
    overflow: visible !important;
}
.recipe-page-split.method-page .steps li {
    break-inside: avoid-column !important;
}

/* A split-oldali oldalszeli botanical jelek ne keruljenek a szoveg moge.
   A hozzavalos oldalon szimmetrikusan a kep mellett maradnak; az elkeszites-oldalon elrejtjuk. */
.recipe-page-split.ingredients-page > .botanical {
    top: 66mm !important;
    z-index: 1 !important;
    opacity: .48 !important;
    font-size: 40px !important;
}
.recipe-page-split.ingredients-page > .botanical-left { left: 13mm !important; }
.recipe-page-split.ingredients-page > .botanical-right { right: 13mm !important; }
.recipe-page-split.ingredients-page > .split-page-content { position: relative; z-index: 2 !important; }
.recipe-page-split.method-page > .botanical { display: none !important; }

/* Ketoldalas elkeszites: a corner kep normal folyam, kozvetlenul a megjegyzes felett.
   Igy nem tud a lepesek ala/moge csuszni. */
.recipe-page-split.method-page .note-ornament,
.recipe-page-split.method-page .note-ornament.note-ornament-large {
    position: relative !important;
    inset: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    z-index: 1 !important;
    display: flex !important;
    flex: 0 0 auto !important;
    width: 100% !important;
    height: 25mm !important;
    min-height: 0 !important;
    margin: 3mm 0 .8mm !important;
    padding: 0 7mm !important;
    align-items: flex-end !important;
}
.page-even.recipe-page-split.method-page .note-ornament { justify-content: flex-start !important; }
.page-odd.recipe-page-split.method-page .note-ornament { justify-content: flex-end !important; }
.recipe-page-split.method-page .note-ornament img,
.recipe-page-split.method-page .note-ornament.note-ornament-large img {
    width: auto !important;
    height: auto !important;
    max-width: 39mm !important;
    max-height: 24mm !important;
    object-fit: contain !important;
}
.recipe-page-split.method-page .recipe-note {
    position: relative !important;
    z-index: 2 !important;
    flex: 0 0 auto !important;
    width: 78% !important;
    margin: 0 auto !important;
}

/* Split elkeszites suritesi fokozatok. */
.recipe-page-split.split-method-fit-1 .steps li span { font-size: 13px !important; line-height: 1.35 !important; }
.recipe-page-split.split-method-fit-1 .steps li { margin-bottom: 1.2mm !important; padding-bottom: 1mm !important; }
.recipe-page-split.split-method-fit-2 .steps li span { font-size: 12px !important; line-height: 1.26 !important; }
.recipe-page-split.split-method-fit-2 .steps li { margin-bottom: .8mm !important; padding-bottom: .65mm !important; }
.recipe-page-split.split-method-fit-2 .note-ornament { height: 21mm !important; }
.recipe-page-split.split-method-fit-2 .note-ornament img { max-width: 34mm !important; max-height: 20mm !important; }
.recipe-page-split.split-method-fit-3 .steps li span { font-size: 11px !important; line-height: 1.18 !important; }
.recipe-page-split.split-method-fit-3 .steps li { margin-bottom: .5mm !important; padding-bottom: .4mm !important; }
.recipe-page-split.split-method-fit-3 .note-ornament { height: 17mm !important; margin-top: 1.5mm !important; }
.recipe-page-split.split-method-fit-3 .note-ornament img { max-width: 29mm !important; max-height: 16mm !important; }
.recipe-page-split.split-method-fit-4 .steps li span { font-size: 10px !important; line-height: 1.10 !important; }
.recipe-page-split.split-method-fit-4 .steps li { margin-bottom: .25mm !important; padding-bottom: .2mm !important; }
.recipe-page-split.split-method-fit-4 .note-ornament { display: none !important; }
.recipe-page-split.split-method-fit-4 .recipe-note { padding-top: 4.5mm !important; padding-bottom: 3mm !important; }
.recipe-page-split.split-method-fit-5 .steps li span { font-size: 9.2px !important; line-height: 1.04 !important; }
.recipe-page-split.split-method-fit-5 .steps li { margin-bottom: .1mm !important; padding-bottom: .1mm !important; }
.recipe-page-split.split-method-fit-5 .method-title { margin-bottom: 1mm !important; }

/* Split hozzavalokhoz is valodi magassag-alapu surites. */
.recipe-page-split.split-ingredients-fit-1 .ingredient-group li { font-size: 10.4px !important; line-height: 1.14 !important; margin-bottom: .4mm !important; }
.recipe-page-split.split-ingredients-fit-2 .ingredient-group li { font-size: 9.6px !important; line-height: 1.08 !important; margin-bottom: .2mm !important; }
.recipe-page-split.split-ingredients-fit-2 .recipe-image { max-height: 49mm !important; }
.recipe-page-split.split-ingredients-fit-3 .ingredient-group li { font-size: 8.9px !important; line-height: 1.02 !important; margin-bottom: .05mm !important; }
.recipe-page-split.split-ingredients-fit-3 .recipe-image { max-height: 43mm !important; }
.recipe-page-split.split-ingredients-fit-3 .recipe-image-wrap { padding: 2mm !important; margin-top: 1.5mm !important; margin-bottom: 1.5mm !important; }
.recipe-page-split.split-ingredients-fit-4 .ingredient-group li { font-size: 8.3px !important; line-height: 1.00 !important; margin-bottom: 0 !important; }
.recipe-page-split.split-ingredients-fit-4 .recipe-image { max-height: 37mm !important; }
.recipe-page-split.split-ingredients-fit-4 .ingredients h2 { font-size: 17px !important; }

/* Tartalomjegyzek botanikus jelei csak a fejléc melletti sarokban legyenek,
   ne a receptcimek oszlopai mogott. */
.toc-page > .botanical {
    top: 9mm !important;
    z-index: 1 !important;
    font-size: 34px !important;
    opacity: .32 !important;
}
.toc-page > .botanical-left { left: 13mm !important; }
.toc-page > .botanical-right { right: 13mm !important; }
.toc-page > .eyebrow,
.toc-page > h1,
.toc-page > .toc-columns,
.toc-page > .page-number { position: relative; z-index: 2 !important; }

@media print {
    .coffee-stain-decor { -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; }
}


/* 2026-08-10 v16: TOC-diszek a kategoriacim mellett, split-fejlec ujrarendezve,
   split level-ikonok eltavolitva, biztos A4-fit es javitott kavefolt. */

/* Tartalomjegyzek: a ket kis level kozvetlenul a csoportcim ket oldalan. */
.toc-page > .botanical {
    top: 31mm !important;
    font-size: 27px !important;
    opacity: .42 !important;
    z-index: 2 !important;
}
.toc-page > .botanical-left {
    left: calc(50% - 50mm) !important;
    right: auto !important;
    transform: rotate(-24deg) !important;
}
.toc-page > .botanical-right {
    right: calc(50% - 50mm) !important;
    left: auto !important;
    transform: scaleX(-1) rotate(-24deg) !important;
}
.toc-page > h1 { position: relative; z-index: 3 !important; }

/* KETOLDALAS oldalakrol a leveles oldalszeli ikonok teljesen eltunnek. */
.recipe-page-split > .botanical { display: none !important; }

/* Ketoldalas recept elso oldal: cim balra, kep jobbra, meta + hozzavalok teljes szelessegben. */
.recipe-page-split.ingredients-page .split-page-content {
    display: grid !important;
    grid-template-columns: minmax(0, 38%) minmax(0, 62%) !important;
    grid-template-rows: auto auto auto 1fr !important;
    column-gap: 8mm !important;
    row-gap: 1.5mm !important;
    align-items: center !important;
    height: 100% !important;
    overflow: hidden !important;
}
.recipe-page-split.ingredients-page .recipe-title {
    grid-column: 1 !important;
    grid-row: 1 !important;
    margin: 0 !important;
    padding: 0 4mm !important;
    text-align: left !important;
    align-self: center !important;
}
.recipe-page-split.ingredients-page .recipe-title h1 {
    text-align: left !important;
    font-size: 29px !important;
    line-height: 1.08 !important;
}
.recipe-page-split.ingredients-page .recipe-title p,
.recipe-page-split.ingredients-page .recipe-title .mini-heart {
    text-align: left !important;
}
.recipe-page-split.ingredients-page .recipe-image-wrap {
    grid-column: 2 !important;
    grid-row: 1 !important;
    justify-self: center !important;
    align-self: center !important;
    margin: 0 auto !important;
    max-width: 92% !important;
}
.recipe-page-split.ingredients-page .recipe-image { max-height: 52mm !important; }
.recipe-page-split.ingredients-page .recipe-meta {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    width: 88% !important;
    margin: 1mm auto 0 !important;
}
.recipe-page-split.ingredients-page .section-divider {
    grid-column: 1 / -1 !important;
    grid-row: 3 !important;
    width: 100% !important;
    margin: 1.5mm 0 .5mm !important;
}
.recipe-page-split.ingredients-page .ingredients {
    grid-column: 1 / -1 !important;
    grid-row: 4 !important;
    width: 100% !important;
    min-height: 0 !important;
    overflow: hidden !important;
    align-self: stretch !important;
}
.recipe-page-split.ingredients-page .ingredient-columns {
    margin-top: 1.5mm !important;
}

/* Ketoldalas elkeszites: tovabbi suritesi fokozatok, hogy a hosszu receptek is benn maradjanak. */
.recipe-page-split.split-method-fit-6 .steps li span { font-size: 8.6px !important; line-height: 1.00 !important; }
.recipe-page-split.split-method-fit-6 .steps li { margin-bottom: 0 !important; padding-bottom: 0 !important; }
.recipe-page-split.split-method-fit-6 .recipe-note p { font-size: 10px !important; line-height: 1.15 !important; }
.recipe-page-split.split-method-fit-7 .steps li span { font-size: 8.0px !important; line-height: .96 !important; }
.recipe-page-split.split-method-fit-7 .steps li { margin-bottom: 0 !important; padding-bottom: 0 !important; }
.recipe-page-split.split-method-fit-7 .method-title { margin-bottom: .4mm !important; }
.recipe-page-split.split-method-fit-7 .recipe-note { padding: 3.5mm 5mm 2.5mm !important; }

/* Split hozzavalo tovabbi tartalek. */
.recipe-page-split.split-ingredients-fit-5 .ingredient-group li { font-size: 7.8px !important; line-height: .98 !important; margin-bottom: 0 !important; }
.recipe-page-split.split-ingredients-fit-5 .ingredient-group { padding: .25mm .65mm !important; }
.recipe-page-split.split-ingredients-fit-6 .ingredient-group li { font-size: 7.2px !important; line-height: .94 !important; margin-bottom: 0 !important; }
.recipe-page-split.split-ingredients-fit-6 .ingredient-group { padding: .15mm .5mm !important; }
.recipe-page-split.split-ingredients-fit-6 .ingredients h2 { font-size: 15.5px !important; }

/* Egyoldalas listakhoz meg ket vegso biztonsagi fokozat. */
.recipe-page.ingredients-fit-7 .ingredient-group li { font-size: 7.8px !important; line-height: .96 !important; margin-bottom: 0 !important; }
.recipe-page.ingredients-fit-7 .ingredient-group { padding: .2mm .55mm !important; }
.recipe-page.ingredients-fit-8 .ingredient-group li { font-size: 7.2px !important; line-height: .92 !important; margin-bottom: 0 !important; }
.recipe-page.ingredients-fit-8 .ingredient-group { padding: .1mm .45mm !important; }
.recipe-page.ingredients-fit-8 .ingredients h2 { font-size: 15px !important; }

/* A kavefolt mindenkepp a papir felett, de a tartalom alatt legyen. */
.coffee-stain-decor {
    z-index: 1 !important;
    opacity: .24 !important;
}
.recipe-page > .recipe-left,
.recipe-page > .recipe-right,
.recipe-page > .split-page-content,
.recipe-page > .page-number { z-index: 2 !important; }

@media print {
  .recipe-page-split.ingredients-page .split-page-content { display: grid !important; }
}


/* 2026-08-10 v17: szerkeszthető oldalszám/képméret és split-layout finomhangolás. */

/* Képméret: normál = jelenlegi; kicsi/nagy csak a max. magasságot skálázza. */
.recipe-page.image-size-small .recipe-image { max-height: 46.9mm !important; }
.recipe-page.image-size-normal .recipe-image { max-height: 67mm; }
.recipe-page.image-size-large .recipe-image { max-height: 87.1mm !important; }
.recipe-page-split.image-size-small .recipe-image { max-height: 36.4mm !important; }
.recipe-page-split.image-size-normal .recipe-image { max-height: 52mm !important; }
.recipe-page-split.image-size-large .recipe-image { max-height: 67.6mm !important; }

.image-size-setting {
    width: min(420px, 100%);
    padding: 12px 14px;
    border: 1px solid #ddd2bc;
    border-radius: 10px;
    background: #faf8f2;
}
.image-size-setting label { display: grid; gap: 7px; }
.image-size-setting small { color: #756b5d; line-height: 1.35; }

/* Kétoldalas első oldal: a cím nem balra zárt, hanem egy kb. 1/3-os tengely köré középre rendezett. */
.recipe-page-split.ingredients-page .split-page-content {
    grid-template-columns: minmax(0, 44%) minmax(0, 56%) !important;
}
.recipe-page-split.ingredients-page .recipe-title {
    text-align: center !important;
    justify-self: stretch !important;
    padding: 0 0 0 13mm !important;
    transform: translateX(3mm);
}
.recipe-page-split.ingredients-page .recipe-title h1,
.recipe-page-split.ingredients-page .recipe-title p,
.recipe-page-split.ingredients-page .recipe-title .mini-heart {
    text-align: center !important;
}
.recipe-page-split.ingredients-page .recipe-image-wrap {
    justify-self: start !important;
    margin-left: 2mm !important;
}

/* Legalább 15 mm vizuális levegő az elkészítés és a Megjegyzés között. */
.recipe-page-split.method-page .recipe-note {
    margin-top: 15mm !important;
}
.recipe-page-split.method-page .note-ornament + .recipe-note {
    margin-top: 15mm !important;
}

/* Egyoldalas recepteknél a corner dísz soha ne ússzon rá az elkészítés szövegére. */
.recipe-page:not(.recipe-page-split) .recipe-right .note-ornament {
    position: relative !important;
    inset: auto !important;
    flex: 0 0 auto !important;
    clear: both !important;
    margin: 8mm 0 2mm !important;
    min-height: 22mm !important;
    z-index: 1 !important;
    pointer-events: none !important;
}
.recipe-page:not(.recipe-page-split) .recipe-right .note-ornament img {
    max-height: 21mm !important;
    max-width: 36mm !important;
}

/* A split oldali sűrítés közben se változzon meg a képméret-választás aránya. */
.recipe-page-split.image-size-small.split-ingredients-fit-2 .recipe-image,
.recipe-page-split.image-size-small.split-ingredients-fit-3 .recipe-image,
.recipe-page-split.image-size-small.split-ingredients-fit-4 .recipe-image { max-height: 32mm !important; }
.recipe-page-split.image-size-large.split-ingredients-fit-2 .recipe-image { max-height: 58mm !important; }
.recipe-page-split.image-size-large.split-ingredients-fit-3 .recipe-image { max-height: 51mm !important; }
.recipe-page-split.image-size-large.split-ingredients-fit-4 .recipe-image { max-height: 44mm !important; }

/* 2026-08-12 webes kiadás: belépés, szerkesztői állapotok és kép nélküli mód. */
.nav-logout-form { display: inline-flex; margin: 0; }
.nav-logout-form input { display: none; }
.nav-logout {
    appearance: none; border: 0; background: transparent; color: inherit;
    padding: 10px 14px; border-radius: 999px; cursor: pointer;
}
.nav-logout:hover { background: #e8dfc8; color: var(--green); }

.editor-recipe-list a.is-hidden { color: #9a968f; background: #f7f5f1; }
.editor-recipe-list a.is-hidden strong { color: #99958e; font-weight: 500; }
.editor-recipe-list a.is-hidden small { color: #b0aca5; }
.editor-recipe-list a.is-hidden.active { background: #ece8df; color: #77716a; }

.image-mode-options { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.no-image-preview {
    display: inline-flex; align-items: center; justify-content: center;
    width: 112px; height: 72px; padding: 8px; border: 1px dashed #c7bca7;
    background: #faf8f2; color: #777063; font-size: 12px; font-weight: 600;
}
.recipe-card.no-image-card { grid-template-columns: 1fr; }
.recipe-card.no-image-card span { min-height: 84px; }
.no-recipe-image .recipe-title { margin-bottom: 4mm; }
.recipe-page-split.ingredients-page.no-recipe-image .split-page-content { padding-top: 3mm; }

.save-toast {
    position: fixed; z-index: 200; right: 26px; top: 86px;
    min-width: 230px; max-width: min(420px, calc(100vw - 32px));
    padding: 13px 18px; border-radius: 10px;
    background: #405b36; color: #fff; box-shadow: 0 12px 32px rgba(32, 43, 26, .28);
    opacity: 0; transform: translateY(-8px); transition: opacity .2s ease, transform .2s ease;
    font-family: system-ui, sans-serif; font-weight: 650;
}
.save-toast.show { opacity: 1; transform: translateY(0); }

.login-view {
    min-height: 100vh;
    background:
        radial-gradient(circle at 18% 12%, rgba(144,126,84,.12), transparent 26%),
        radial-gradient(circle at 86% 88%, rgba(115,135,83,.12), transparent 28%),
        #eee8dc;
}
.login-shell { min-height: 100vh; display: grid; place-items: center; padding: 28px; }
.login-card {
    width: min(460px, 94vw); padding: 42px 44px 38px; border-radius: 18px;
    background: var(--paper-light); border: 1px solid rgba(138,107,65,.22);
    box-shadow: 0 20px 54px rgba(58,43,28,.18); text-align: center;
}
.login-card h1 { margin: 4px 0 10px; font-size: 42px; font-weight: 500; }
.login-ornament { color: var(--green); font-size: 36px; line-height: 1; }
.login-intro { margin: 0 auto 24px; max-width: 32em; color: #6f6455; line-height: 1.55; }
.login-form { display: grid; gap: 16px; text-align: left; }
.login-form label { display: grid; gap: 6px; font-weight: 700; }
.login-form input { background: #fff; min-height: 46px; }
.login-message { margin: 0 0 16px; padding: 10px 12px; border-radius: 8px; background: #f2ead4; color: #6e5b2e; }
.login-warning { margin: 18px 0 0; font-size: 12px; line-height: 1.45; color: #8a5e39; }

@media (max-width: 1100px) { .image-mode-options { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 650px) {
    .image-mode-options { grid-template-columns: 1fr; }
    .login-card { padding: 32px 24px; }
    .save-toast { right: 16px; top: 74px; }
}
\n\n/* 2026-08-12 v19: editor rejtett sorok, elvetés gomb, egyszerű könyvborító-helyőrző. */\n.editor-recipe-list a.is-hidden { background: #e7e7e7 !important; color: #8d8d8d !important; border-bottom-color: #d4d4d4 !important; }\n.editor-recipe-list a.is-hidden strong, .editor-recipe-list a.is-hidden small { color: #929292 !important; }\n.editor-recipe-list a.is-hidden:hover { background: #dedede !important; }\n.editor-recipe-list a.is-hidden.active { background: #d3d3d3 !important; box-shadow: inset 3px 0 0 #8b3a32; }\n#discardAllChanges:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }\n.cover-page.cover-placeholder { display: grid !important; place-items: center !important; background: #fff !important; }\n.cover-placeholder-label { font-family: Georgia, \"Times New Roman\", serif; font-size: 34px; color: #50473b; letter-spacing: .04em; }\n

/* 2026-08-12 v20: TOC díszek eltávolítása, egyszínű háttér, előszó-oldal és szorosabb layout-szabályok. */
.print-page {
    background: var(--paper-light) !important;
}
.toc-page,
.preface-page,
.cover-page.cover-placeholder {
    background: var(--paper-light) !important;
}
.toc-page::after,
.preface-page::after {
    content: "" !important;
    background: var(--paper-light) !important;
}
.toc-page > .botanical,
.toc-page .botanical,
.toc-page .botanical-left,
.toc-page .botanical-right {
    display: none !important;
}
.coffee-stain-decor,
.print-page.coffee-stain-corner::after,
.print-page.coffee-stain-note::after {
    display: none !important;
    content: none !important;
}
.preface-page {
    display: grid !important;
    place-items: center !important;
    padding: 14mm !important;
}
.preface-placeholder {
    width: min(120mm, 72%);
    padding: 16mm 14mm;
    text-align: center;
    background: rgba(249, 241, 220, .52);
    border: 1px solid rgba(121,89,49,.26);
    border-radius: 3mm;
}
.preface-placeholder h1 {
    margin: 2mm 0 5mm;
    font-size: 38px;
    line-height: 1.05;
    font-weight: 500;
    color: var(--ink);
}
.preface-note {
    margin: 0;
    color: #6e6255;
    font-size: 15px;
    line-height: 1.5;
}
/* A tartalomjegyzék oldalain a cím legyen tiszta, díszek nélkül. */
.toc-page { background: var(--paper-light) !important; }

/* A hozzávalók tipográfiája kicsit nagyobbról induljon, majd a JS szükség esetén visszasűríti. */
.recipe-page .ingredient-group li {
    font-size: 12.6px;
    line-height: 1.34;
}
.recipe-page .ingredient-group h3 {
    font-size: 12.6px;
}
.recipe-page .ingredients h2 {
    font-size: 25px;
}
.recipe-page-split.ingredients-page .ingredient-group li {
    font-size: 12.0px;
    line-height: 1.30;
}
.recipe-page-split.ingredients-page .ingredients h2 {
    font-size: 24px;
}

/* Növelési fokozatok a rövid hozzávalólisták jobb helykihasználásához. */
.recipe-page.ingredients-grow-1 .ingredient-group li { font-size: 13.2px !important; line-height: 1.36 !important; }
.recipe-page.ingredients-grow-1 .ingredient-group h3 { font-size: 13px !important; }
.recipe-page.ingredients-grow-1 .ingredients h2 { font-size: 26px !important; }
.recipe-page.ingredients-grow-2 .ingredient-group li { font-size: 13.8px !important; line-height: 1.38 !important; }
.recipe-page.ingredients-grow-2 .ingredient-group h3 { font-size: 13.4px !important; }
.recipe-page.ingredients-grow-2 .ingredients h2 { font-size: 27px !important; }
.recipe-page.ingredients-grow-3 .ingredient-group li { font-size: 14.5px !important; line-height: 1.40 !important; }
.recipe-page.ingredients-grow-3 .ingredient-group h3 { font-size: 13.9px !important; }
.recipe-page.ingredients-grow-3 .ingredients h2 { font-size: 28px !important; }

.recipe-page-split.ingredients-page.split-ingredients-grow-1 .ingredient-group li { font-size: 12.5px !important; line-height: 1.34 !important; }
.recipe-page-split.ingredients-page.split-ingredients-grow-1 .ingredient-group h3 { font-size: 12.8px !important; }
.recipe-page-split.ingredients-page.split-ingredients-grow-1 .ingredients h2 { font-size: 25px !important; }
.recipe-page-split.ingredients-page.split-ingredients-grow-2 .ingredient-group li { font-size: 13.0px !important; line-height: 1.36 !important; }
.recipe-page-split.ingredients-page.split-ingredients-grow-2 .ingredient-group h3 { font-size: 13.1px !important; }
.recipe-page-split.ingredients-page.split-ingredients-grow-2 .ingredients h2 { font-size: 26px !important; }
.recipe-page-split.ingredients-page.split-ingredients-grow-3 .ingredient-group li { font-size: 13.6px !important; line-height: 1.38 !important; }
.recipe-page-split.ingredients-page.split-ingredients-grow-3 .ingredient-group h3 { font-size: 13.4px !important; }
.recipe-page-split.ingredients-page.split-ingredients-grow-3 .ingredients h2 { font-size: 27px !important; }

/* Hosszú kétoldalas elkészítésnél még több biztonsági szint. */
.recipe-page-split.split-method-fit-8 .steps li span { font-size: 7.6px !important; line-height: .92 !important; }
.recipe-page-split.split-method-fit-8 .steps li { margin-bottom: 0 !important; padding-bottom: 0 !important; }
.recipe-page-split.split-method-fit-8 .recipe-note { padding: 3mm 4.6mm 2.2mm !important; }
.recipe-page-split.split-method-fit-8 .recipe-note p { font-size: 9.3px !important; line-height: 1.08 !important; }
.recipe-page-split.split-method-fit-9 .steps li span { font-size: 7.1px !important; line-height: .88 !important; }
.recipe-page-split.split-method-fit-9 .steps li { margin-bottom: 0 !important; padding-bottom: 0 !important; }
.recipe-page-split.split-method-fit-9 .method-title h2 { font-size: 21px !important; }
.recipe-page-split.split-method-fit-9 .recipe-note { padding: 2.6mm 4mm 1.9mm !important; }
.recipe-page-split.split-method-fit-9 .recipe-note p { font-size: 8.8px !important; line-height: 1.04 !important; }
.recipe-page-split.split-method-fit-9 .note-ornament { display: none !important; }

/* A megjegyzés mindig biztonságos távolságra maradjon. */
.recipe-page-split.method-page .recipe-note {
    margin-top: 15mm !important;
}
.recipe-page-split.method-page .note-ornament + .recipe-note {
    margin-top: 15mm !important;
}

/* A Kezdőlap nincs használatban, csak háttér-URL marad. */
.site-nav .nav-links a[href="home.php"] { display: none !important; }


/* 2026-08-12 v21: split hozzávalók maximális helykihasználása és pontos TOC háttérkeret. */

/* Tartalomjegyzék: a kereten kívül tiszta fehér, a papírszín 1px-cel a kereten belül kezdődik. */
.toc-page {
    background: #fff !important;
}
.toc-page::after {
    top: calc(5mm + 1px) !important;
    bottom: calc(5mm + 1px) !important;
    border-radius: calc(4mm - 1px) !important;
    background: var(--paper-light) !important;
}
.toc-page.page-odd::after {
    left: calc(10mm + 1px) !important;
    right: calc(5mm + 1px) !important;
}
.toc-page.page-even::after {
    left: calc(5mm + 1px) !important;
    right: calc(10mm + 1px) !important;
}

/* A rövid/közepes kétoldalas hozzávalólisták nagyobbra nőhetnek, amíg az A4 lap engedi. */
.recipe-page-split.ingredients-page.split-ingredients-grow-4 .ingredient-group li { font-size: 14.4px !important; line-height: 1.40 !important; }
.recipe-page-split.ingredients-page.split-ingredients-grow-4 .ingredient-group h3 { font-size: 13.8px !important; }
.recipe-page-split.ingredients-page.split-ingredients-grow-4 .ingredients h2 { font-size: 28px !important; }
.recipe-page-split.ingredients-page.split-ingredients-grow-5 .ingredient-group li { font-size: 15.2px !important; line-height: 1.42 !important; }
.recipe-page-split.ingredients-page.split-ingredients-grow-5 .ingredient-group h3 { font-size: 14.2px !important; }
.recipe-page-split.ingredients-page.split-ingredients-grow-5 .ingredients h2 { font-size: 29px !important; }
.recipe-page-split.ingredients-page.split-ingredients-grow-6 .ingredient-group li { font-size: 16px !important; line-height: 1.44 !important; }
.recipe-page-split.ingredients-page.split-ingredients-grow-6 .ingredient-group h3 { font-size: 14.6px !important; }
.recipe-page-split.ingredients-page.split-ingredients-grow-6 .ingredients h2 { font-size: 30px !important; }
.recipe-page-split.ingredients-page.split-ingredients-grow-7 .ingredient-group li { font-size: 16.8px !important; line-height: 1.46 !important; }
.recipe-page-split.ingredients-page.split-ingredients-grow-7 .ingredient-group h3 { font-size: 15px !important; }
.recipe-page-split.ingredients-page.split-ingredients-grow-7 .ingredients h2 { font-size: 31px !important; }
.recipe-page-split.ingredients-page.split-ingredients-grow-8 .ingredient-group li { font-size: 17.6px !important; line-height: 1.48 !important; }
.recipe-page-split.ingredients-page.split-ingredients-grow-8 .ingredient-group h3 { font-size: 15.4px !important; }
.recipe-page-split.ingredients-page.split-ingredients-grow-8 .ingredients h2 { font-size: 32px !important; }
.recipe-page-split.ingredients-page.split-ingredients-grow-9 .ingredient-group li { font-size: 18.4px !important; line-height: 1.50 !important; }
.recipe-page-split.ingredients-page.split-ingredients-grow-9 .ingredient-group h3 { font-size: 15.8px !important; }
.recipe-page-split.ingredients-page.split-ingredients-grow-9 .ingredients h2 { font-size: 33px !important; }
.recipe-page-split.ingredients-page.split-ingredients-grow-10 .ingredient-group li { font-size: 19.2px !important; line-height: 1.52 !important; }
.recipe-page-split.ingredients-page.split-ingredients-grow-10 .ingredient-group h3 { font-size: 16.2px !important; }
.recipe-page-split.ingredients-page.split-ingredients-grow-10 .ingredients h2 { font-size: 34px !important; }
.recipe-page-split.ingredients-page.split-ingredients-grow-11 .ingredient-group li { font-size: 20px !important; line-height: 1.54 !important; }
.recipe-page-split.ingredients-page.split-ingredients-grow-11 .ingredient-group h3 { font-size: 16.6px !important; }
.recipe-page-split.ingredients-page.split-ingredients-grow-11 .ingredients h2 { font-size: 35px !important; }
.recipe-page-split.ingredients-page.split-ingredients-grow-12 .ingredient-group li { font-size: 20.8px !important; line-height: 1.56 !important; }
.recipe-page-split.ingredients-page.split-ingredients-grow-12 .ingredient-group h3 { font-size: 17px !important; }
.recipe-page-split.ingredients-page.split-ingredients-grow-12 .ingredients h2 { font-size: 36px !important; }

/* A nagyított listák oszlopai is arányosan kapjanak levegőt. */
.recipe-page-split.ingredients-page[class*="split-ingredients-grow-"] .ingredient-columns {
    column-gap: 8mm !important;
    row-gap: 2mm !important;
}


/* 2026-08-13 v22: olvasható receptszöveg és biztos térköz a Megjegyzés előtt. */
/* A hozzávalók és az elkészítés kézírásos betűje helyett jól olvasható,
   magyar ékezeteket biztosan támogató rendszer-betűtípust használunk. */
.recipe-page .ingredient-group li,
.recipe-page .steps li span {
    font-family: Arial, "Helvetica Neue", "Liberation Sans", "DejaVu Sans", sans-serif !important;
    color: #2b2b2b !important;
    letter-spacing: 0 !important;
}

/* Corner dekoráció nélküli Megjegyzés előtt mindig maradjon egy teljes üres sornyi hely. */
.note-spacer {
    display: block;
    flex: 0 0 auto;
    width: 100%;
    height: 1.45em;
    min-height: 1.45em;
}

/* A split oldalon eleve nagyobb a védőtávolság; az üres sor itt is megmarad,
   de a Megjegyzés saját 15 mm-es felső margóját nem növeljük tovább. */
.recipe-page-split.method-page .note-spacer + .recipe-note {
    margin-top: 10mm !important;
}
