/* ==========================================================================
   Straightfrom — recipe print stylesheet (A4)
   Loaded with media="print" only on recipe detail pages.
   ========================================================================== */

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

@media print {
  body {
    background: #fff;
    color: #000;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 11.5pt;
    line-height: 1.4;
  }

  header.site-header,
  footer.site-footer,
  .no-print,
  .print-button,
  .staging-banner,
  .related {
    display: none !important;
  }

  .recipe-print-footer {
    display: block !important;
  }

  a {
    color: #000;
    text-decoration: none;
  }

  .recipe-hero img {
    max-height: 55mm;
    width: auto;
    object-fit: cover;
  }

  .recipe-meta {
    display: flex;
    gap: 1.5em;
    border-top: 1px solid #999;
    border-bottom: 1px solid #999;
    padding: 0.4em 0;
    margin: 0.6em 0 1em;
    font-size: 10pt;
  }

  .recipe-columns {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 1.2em;
    align-items: start;
  }

  .ingredients-list {
    break-inside: avoid;
    font-size: 10.5pt;
  }

  .ingredients-list h2,
  .instructions h2 {
    font-size: 12pt;
    margin-bottom: 0.3em;
  }

  .instructions ol {
    padding-left: 1.1em;
  }

  .instructions li {
    break-inside: avoid;
    margin-bottom: 0.6em;
  }

  .recipe-notes {
    break-inside: avoid;
    margin-top: 1em;
    font-size: 10pt;
    border-top: 1px dotted #999;
    padding-top: 0.5em;
  }
}
