/* Print styles for recipe pages */
@media print {
  /* Remove nav, footer, and non-essential background colors */
  .main-nav,
  footer,
  .related-recipes {
    display: none !important;
  }
  header {
    background: none !important;
    color: #000 !important;
  }
  body {
    background: #fff !important;
    color: #000 !important;
  }

  /* Container width and margins for print */
  .container {
    max-width: none;
    padding: 0;
  }
  main {
    padding: 0;
  }

  /* Make headings and content clear */
  h1,
  h2,
  h3 {
    color: #000 !important;
    text-shadow: none !important;
  }

  /* Images full width with no shadows */
  .recipe-image {
    box-shadow: none !important;
    margin: 1rem 0 !important;
  }
  .recipe-image img {
    width: 100% !important;
  }

  /* Hide interactive-only controls */
  .print-button,
  .cta-section {
    display: none !important;
  }

  /* Avoid breaking steps/ingredients across pages */
  .ingredients,
  .instructions,
  ul,
  ol,
  li {
    break-inside: avoid;
  }

  /* Hide newsletter sign-up in print */
  .newsletter,
  .newsletter-card {
    display: none !important;
  }
}
