/* =====================================================================
   Ketovavaria – Druckansicht (media="print")
   Rezeptseite im Layout der Buchseite (Kochbuch v1.1, s032/s048/s074):
   Kopf mit Titel + Chips links, Foto rechts · Zutaten-Box | Zubereitung ·
   Nährwert-Leiste (7 Werte, kcal hervorgehoben) · Nieren-Hinweis (Bavarian Ice).
   ===================================================================== */

@page { size: A4; margin: 14mm 16mm 14mm; }

:root {
	/* BRAND.md §2a „Zucchini Mist“ (#A5D6A7 @ 22 %) – VORSCHLAG, Freigabe offen. Wie im Buch für die Zutaten-Box. */
	--kv-mist: #EDF7EE;
}

html, body { background: #FFFFFF !important; }
body { font-size: 10.5pt; line-height: 1.5; color: #1A2E1F; }
* { -webkit-print-color-adjust: exact; print-color-adjust: exact; box-shadow: none !important; }

/* Alles ausblenden, was nicht zum Rezept gehört */
.site-header-part, .site-footer-part, #wpadminbar, .skip-link,
.kv-breadcrumbs, .kv-filter, .kv-drucken, .kv-aehnliche, .kv-portionen, .wp-block-query-pagination { display: none !important; }
.container { max-width: none !important; padding: 0 !important; }
.section { padding: 0 !important; }
a { color: inherit !important; text-decoration: none !important; }

/* Kopf: Text links, Foto rechts (wie Buch) */
.recipe-detail .recipe {
	display: grid !important;
	grid-template-columns: 1fr 74mm;
	grid-template-areas: "head img" "body body";
	column-gap: 8mm;
	row-gap: 6mm;
}
.recipe__hero { grid-area: img; max-width: none !important; margin: 0 !important; }
.recipe__hero img { aspect-ratio: 1 / 1 !important; border-radius: 4mm !important; }
.recipe__head { grid-area: head; max-width: none; }
.recipe__layout { grid-area: body; display: block !important; margin: 0 !important; }
.recipe__head > * + * { margin-top: 3mm !important; }

.kv-eyebrow { font-size: 7.5pt; margin: 0; }
.kv-eyebrow__motif { width: 8mm; height: 8mm; }
.recipe__title { font-size: 20pt !important; color: #2E7D32 !important; line-height: 1.15; margin: 1mm 0 2mm !important; }
.kv-meta { gap: 2mm; margin: 0 !important; }
.kv-chip { background: var(--kv-mist); font-size: 8.5pt; padding: 1mm 3mm 1mm 2mm; }
.kv-chip .kv-chip__k { color: #2E7D32; }
.kv-beschreibung p { font-size: 10.5pt; line-height: 1.55; }

/* Zutaten-Box | Zubereitung */
.recipe__main {
	display: grid !important;
	grid-template-columns: 38% 1fr;
	column-gap: 8mm;
	align-items: start;
}
.recipe__main > * + * { margin-top: 0 !important; }
.recipe__content { grid-column: 1 / -1; }
.kv-zutaten { background: var(--kv-mist); border-radius: 4mm; padding: 5mm; }
.kv-section-title { font-size: 7.5pt; margin-bottom: 3mm; }
.kv-section-title .kv-ico { width: 5mm; height: 5mm; }
.recipe-ingredients li { border: none; padding: 0.6mm 0; gap: 2.5mm; font-size: 10pt; }
.recipe-ingredients li::before { width: 3mm; height: 3mm; }
.kv-q { font-weight: inherit; }
.recipe-steps li { padding-left: 9mm; margin-bottom: 2.5mm; min-height: 0; font-size: 10.5pt; line-height: 1.5; }
.recipe-steps li::before { width: 5.5mm; height: 5.5mm; font-size: 7.5pt; background: #2E7D32; color: #FFFFFF; top: 0.3mm; }

/* Nährwert-Leiste: Tabelle → 7 Zellen nebeneinander, kcal in Forest Green */
.recipe__aside { position: static !important; margin-top: 8mm !important; break-inside: avoid; }
.recipe__aside > * + * { margin-top: 5mm !important; }
.recipe-nutrition, .recipe-nutrition tbody { display: block; }
.recipe-nutrition thead { display: none; }
.recipe-nutrition tbody {
	display: grid; grid-template-columns: repeat(7, 1fr);
	border: 0.3mm solid #A5D6A7; border-radius: 3mm; overflow: hidden;
}
.recipe-nutrition tr { display: flex; flex-direction: column-reverse; align-items: center; padding: 2.5mm 1mm; border-left: 0.3mm solid #A5D6A7; }
.recipe-nutrition tr:first-child { border-left: none; }
.recipe-nutrition th, .recipe-nutrition td { border: none !important; padding: 0 !important; text-align: center !important; }
.recipe-nutrition td { font-size: 11pt; font-weight: 700; }
.recipe-nutrition th { font-size: 6.5pt; font-weight: 600 !important; text-transform: uppercase; letter-spacing: 0.02em; }
.recipe-nutrition .kv-nw--kcal { background: #2E7D32; color: #FFFFFF; }

.kv-nieren { padding: 4mm 5mm; border-radius: 4mm; break-inside: avoid; }
.kv-ampel { display: flex; flex-wrap: wrap; gap: 1.5mm 4mm; margin-bottom: 1.5mm; }
.kv-ampel__item { font-size: 9.5pt; }
.nutrition-warning { padding: 1mm 2.5mm; }
.kv-nieren__rest { font-size: 9pt; }

/* Quelle unten auf der Seite */
.recipe-detail::after {
	/* Disclaimer-Text wörtlich aus Spec §5.5 */
	content: "Ketovavaria ist keine medizinische Beratung. Bei Nierenerkrankungen immer ärztlich abklären. K⁺- und P-Werte individuell mit Arzt/Diätolog:in abstimmen.";
	display: block; margin-top: 6mm; font-size: 7.5pt; color: #1A2E1F;
}
.kv-nieren__motif { width: 18mm; height: 18mm; }

/* ===== 0.1.61 P9 (designer/konsistenz-2026-10-30 P9): Rezept auf eine A4-Seite =====
   Klassen an das echte Markup angepasst (Plugin ketovaria-rezepte 0.6.x, kv-comment-photos, Theme 0.1.61). */
@page { size: A4; margin: 14mm; }
.kv-shop-intro, .kv-shop-legende, .kv-shop, .kv-shop-live, .kv-partner-hinweis, .kv-affiliate,
.kv-portionen, .kv-werkzeuge, .kv-bewertung, .kv-abhaken-reset, .kv-verwandte, .kv-aehnliche,
.kv-kommentare, .comments-area, #respond, .kv-gallery, .kv-drucken, .kv-bildcredit, .kv-crumb, .kv-breadcrumbs,
.kv-score-wrap__more, .kv-cv, .kv-ng-pille-li, .kv-nieren__motif, .kv-eyebrow__motif { display: none !important; }
body > div[style*="background:#c00"] { display: none !important; } /* nur Staging-Balken */
body { font-size: 10pt; line-height: 1.4; color: #000; }  /* Druck: Schwarz erlaubt */
.recipe-detail .recipe { display: block !important; }
.recipe__head {
	display: grid !important; grid-template-columns: 1fr 52mm !important; gap: 6mm !important; align-items: start !important;
	max-width: none !important; padding: 0 !important; margin: 0 0 4mm !important;
}
.recipe__head-text > * + * { margin-top: 2mm !important; }
.recipe__head .recipe__hero { grid-area: auto; order: 0 !important; margin: 0 !important; }
.recipe__head .wp-post-image { aspect-ratio: 1 / 1 !important; border-radius: 4mm !important; width: 100% !important; height: auto !important; }
.recipe__title { font-size: 20pt !important; margin: 0 !important; }
.recipe__head .kv-beschreibung { margin: 0 !important; }
.recipe__head .kv-beschreibung p { font-size: 10pt !important; line-height: 1.45; }
.kv-score-img--gross { width: 40mm; height: auto; }
.kv-section-title { font-size: 12pt !important; margin-bottom: 2mm !important; break-after: avoid; }
.recipe .kv-section-title::before { width: 2.5mm; height: 2.5mm; }
.recipe__layout { margin-top: 3mm !important; }
.recipe__main { column-gap: 6mm; }
.kv-zutaten { padding: 4mm; }
.recipe-ingredients li { padding: 0.3mm 0; font-size: 9.5pt; }
.recipe-steps li { margin-bottom: 1.5mm; font-size: 9.5pt; line-height: 1.4; }
.recipe-ingredients, .recipe-steps li, .kv-naehrwerte, .kv-nieren { break-inside: avoid; }
.recipe__aside { margin-top: 4mm !important; }
.recipe__aside > * + * { margin-top: 3mm !important; }
.recipe-nutrition tr { padding: 1.5mm 1mm; }
.kv-nieren { padding: 3mm 4mm; }
.kv-ampel__item { font-size: 9pt; }
.kv-nieren__rest { font-size: 8.5pt; margin: 0; }
.recipe-detail::after {
	content: "ketovavaria.de · Richtwerte, keine ärztliche Beratung. Bei Nierenerkrankungen immer ärztlich abklären.";
	margin-top: 4mm; font-size: 8pt;
}
.kv-tour-slot { display: none !important; }
