@media print {
  @page {
    size: A4;
    margin: 12mm;
  }

  body.single-post,
  body.wprm-print {
    border: 0;
    background: #fff;
    color: #000;
  }

  body.single-post,
  body.wprm-print,
  .single-post #main,
  .single-post article,
  .single-post .ct-container-full {
    min-height: 0;
    height: auto;
    padding-block: 0;
    margin-block: 0;
  }

  body.single-post::before,
  body.single-post::after,
  #header,
  #footer,
  #offcanvas,
  #search-modal,
  .cd-ad-wrapper,
  .cd-guide-toc,
  .ct-related-posts,
  .ct-comments,
  .cky-btn-revisit-wrapper,
  .single-post .cky-consent-container,
  .single-post .cky-modal,
  .single-post .cky-overlay,
  .ct-back-to-top,
  .wprm-print #wprm-print-footer-ad,
  .single-post article > :not(.entry-content),
  .single-post .entry-content > :not(.cd-article-content),
  .single-post .cd-guide-body > :not(.wprm-recipe-container) {
    display: none;
  }

  .single-post :is(.entry-content, .cd-article-content, .cd-guide-body, .wprm-recipe-container, .wprm-recipe),
  .wprm-print #wprm-print-content,
  .wprm-print .wprm-recipe {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    border: 0;
    box-shadow: none;
  }

  .wprm-recipe-container,
  .wprm-print .wprm-recipe {
    font-size: 10pt;
    line-height: 1.3;
  }

  .single-post .entry-content .wprm-recipe-container :is(button, .wprm-recipe-print, .wprm-recipe-pin, .wprm-recipe-image) {
    display: none;
  }

  .single-post .entry-content .wprm-recipe-container :is(h2, h3, h4),
  .wprm-print .wprm-recipe :is(h2, h3, h4) {
    margin-block: 10pt 5pt;
    font-size: 12pt;
    break-after: avoid;
  }

  .wprm-recipe-container :is(li, .wprm-recipe-instruction),
  .wprm-print .wprm-recipe li {
    break-inside: avoid;
  }

  .single-post .entry-content .wprm-recipe-container :is(li, p, .wprm-recipe-summary, .wprm-recipe-notes),
  .wprm-print .wprm-recipe :is(li, p, .wprm-recipe-summary, .wprm-recipe-notes) {
    font-size: 10pt;
    line-height: 1.3;
  }

  .single-post .entry-content .wprm-recipe-container :is(ul, ol) {
    margin-block: 5pt;
  }

  .single-post .wprm-recipe-container :is(.wprm-recipe-equipment, .wprm-recipe-ingredients),
  .wprm-print .wprm-recipe :is(.wprm-recipe-equipment, .wprm-recipe-ingredients) {
    columns: 2;
    column-gap: 8mm;
  }

  .single-post .wprm-recipe-container .wprm-container-float-right {
    display: none;
  }
}
