/* Print: recipe pages print as a clean card; other pages print their main text. */

@page { margin: 1.6cm 1.8cm; }

* {
  background: transparent !important;
  color: #000 !important;
  box-shadow: none !important;
  text-shadow: none !important;
}

html { font-size: 10.5pt; }

body {
  display: block;
  font-family: Charter, Georgia, "Times New Roman", serif;
  line-height: 1.45;
}

.skip,
.site-header,
.site-footer,
.breadcrumb,
.jump,
.post-nav,
.related,
.related-notes,
.author-box,
.aside-box,
.card-grid,
.home-section,
.about-strip,
.jump-list {
  display: none !important;
}

main { padding: 0; }

.wrap,
.wrap-mid,
.wrap-narrow,
.wrap-hero { width: auto; max-width: none; margin: 0; }

a { text-decoration: none; }

h1, h2, h3, h4 { page-break-after: avoid; break-after: avoid; }
p, li { orphans: 3; widows: 3; }

.kicker { font-size: 8pt; margin: 0 0 4pt; }
.post-head h1 { font-size: 20pt; margin: 0 0 4pt; }
.standfirst { font-size: 11pt; margin: 0 0 4pt; }
.byline { font-size: 8.5pt; }

.hero img { max-height: 9cm; width: auto; margin: 0 auto; border-radius: 0; }
.hero figcaption { display: none; }

/* Recipe pages: only the card matters on paper */
.page-recipe .hero,
.page-recipe .post-intro,
.page-recipe .post-head .standfirst,
.page-recipe .kicker {
  display: none !important;
}

.page-recipe .post-head { margin-bottom: 8pt; border-bottom: 1pt solid #000; padding-bottom: 6pt; }

.recipe-card {
  border: 0;
  padding: 0;
  margin: 0;
}

.recipe-card-label,
.recipe-card-head h2 { display: none; }

.recipe-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0 18pt;
  border: 0;
  border-bottom: 0.5pt solid #999;
  padding-bottom: 6pt;
}

.recipe-facts div { padding: 0; }
.recipe-facts dt { font-size: 7pt; }
.recipe-facts dd { font-size: 10pt; }

.recipe-card h3 { font-size: 12pt; margin: 12pt 0 5pt; }

.recipe-ingredients { columns: 2; column-gap: 24pt; }
.recipe-ingredients h3 { column-span: all; }
.ing-group { margin: 6pt 0 2pt; font-size: 8pt; break-after: avoid; }

.ingredients li {
  border: 0;
  padding: 1.5pt 0 1.5pt 9pt;
  break-inside: avoid;
}

.ingredients li::before {
  background: #000 !important;
  width: 3pt;
  height: 3pt;
  top: 0.65em;
}

.steps li { padding-left: 20pt; margin: 0 0 6pt; break-inside: avoid; }

.steps li::before {
  border: 0.75pt solid #000;
  width: 13pt;
  height: 13pt;
  line-height: 12pt;
  font-size: 7.5pt;
}

.recipe-notes { border-top: 0.5pt solid #999; margin-top: 8pt; }
.recipe-notes li { font-size: 9.5pt; margin: 0 0 3pt; break-inside: avoid; }

.print-only { display: block !important; }

.print-source {
  margin-top: 14pt;
  padding-top: 5pt;
  border-top: 0.5pt solid #999;
  font-size: 8pt;
}

/* Articles: show link targets for the recipes mentioned */
.mentioned { border: 0; padding: 0; }
.mini-thumb { display: none; }
.mini-list a[href^="/"]::after { content: " (modestoven.com" attr(href) ")"; font-size: 8pt; }
