/* ==========================================================================
   RECIPIFY: CLEAN PRINT STYLESHEET
   Prints ONLY the recipe card, cleanly formatted for paper with zero clutter.
   ========================================================================== */

@media print {
  /* Hide non-printable navigation, sidebar, ads, comments, footer */
  .rcp-site-header,
  .rcp-site-footer,
  .rcp-sidebar,
  .rcp-quick-action-bar,
  .rcp-ad-container,
  .hb-ad-inpage,
  .tasty-recipes-quick-links,
  .tasty-recipes-buttons,
  .rcp-comments-area,
  .rcp-mobile-nav-drawer,
  .rcp-share-bar,
  #comments {
    display: none !important;
  }

  body {
    background: #ffffff !important;
    color: #000000 !important;
    font-size: 13pt !important;
    line-height: 1.5 !important;
  }

  .rcp-container,
  .rcp-single-post,
  .tasty-recipes,
  .tasty-recipes-display,
  .rcp-native-card {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    box-shadow: none !important;
    background: #ffffff !important;
  }

  .tasty-recipes-image img,
  .rcp-featured-media img {
    max-height: 260px !important;
    object-fit: cover !important;
  }

  .tasty-recipes-ingredients ul li::before,
  .rcp-native-checklist li::before {
    border-color: #333333 !important;
  }

  .tasty-recipes-instructions ol > li::before,
  .rcp-native-steps li::before {
    background: #333333 !important;
    color: #ffffff !important;
  }

  a {
    color: #000000 !important;
    text-decoration: none !important;
  }

  /* Prevent page-breaks in the middle of ingredients or instructions */
  .tasty-recipes-ingredients,
  .tasty-recipes-instructions,
  .rcp-native-checklist li,
  .rcp-native-steps li {
    page-break-inside: avoid;
  }
}
