@media print {
  @page {
    size: A4 portrait;
    margin: 0;
  }

  html, body, main {
    display: block;
    margin: 0;
    padding: 0;
    background: white;
  }

  body > :not(main),
  main > :not(#menu, #gather),
  #menu > :not(.menu-panels),
  .menu-illustration, .venue-illustration, .event-poster-link,
  .events-enquiry .button span {
    display: none !important;
  }

  #menu, #menu .menu-panels {
    display: contents;
  }

  /* Both menu panels must print, including the inactive tab. */
  #menu .menu-panel, #gather {
    display: block !important;
    position: relative;
    box-sizing: border-box;
    width: 210mm;
    height: 297mm;
    max-width: none;
    margin: 0;
    padding: 12mm;
    overflow: hidden;
    break-inside: avoid;
    background: white;
  }

  #drinks-menu, #gather {
    break-before: page;
  }

  /* Keep the HTML descriptions in print reading order beneath each poster. */
  #menu .menu-groups, #gather .events-options {
    display: block;
    columns: 2;
    column-gap: 8mm;
  }
  #menu .menu-category, #gather .events-options section {
    break-inside: avoid;
  }
  #menu .menu-category, #gather .events-options, #gather .events-special,
  #gather .events-intro, #gather .events-intro > div, #gather .events-enquiry {
    position: static;
    padding: 0;
    margin: 0;
  }
  #menu .menu-panel-title, #gather h2 {
    position: static;
    clip-path: none;
    width: auto;
    height: auto;
    overflow: visible;
    margin: 0 0 3mm;
    font: 18pt/1.15 Georgia, serif;
  }
  #menu .menu-category h4, #gather h3 {
    margin: 2mm 0;
    padding: 0;
    font: 13pt/1.2 Georgia, serif;
  }
  #menu dl, #gather dl { margin: 0; }
  #menu .menu-category dl > div, #gather .events-rates > div {
    padding: 1mm 0;
    font: 9pt/1.22 Arial, sans-serif;
  }
  #menu .menu-category dt, #menu .menu-category dd, #gather dt, #gather dd {
    font-size: 9pt;
  }

  /* Foreground images print even when the browser omits backgrounds. */
  #menu .print-poster, #gather .print-poster {
    display: block !important;
    position: absolute;
    z-index: 1;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    object-fit: fill;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }
}
