
@media print {
  html, body { background:#fff !important; color:#000 !important; -webkit-print-color-adjust:exact; print-color-adjust:exact; }
  body { font-size:11pt; line-height:1.35; padding-top: 0;}

  body * { background:transparent !important; mix-blend-mode:normal !important; filter:none !important; }
  body.toolbar-vertical.toolbar-tray-open::before { display:none !important; }
  
  h1, h2, h3, h4, h5, h6 { page-break-after:avoid; }

  h1 { font-size:20pt !important; line-height:1.2 !important; }
  h2 { font-size:18pt !important; line-height:1.25 !important; }
  h3 { font-size:16pt !important; line-height:1.25 !important; }
  h4 { font-size:14pt !important; line-height:1.3 !important; }
  h5 { font-size:14pt !important; line-height:1.3 !important; }
  h6 { font-size:14pt !important; line-height:1.3 !important; }
  h1, h2, h3, h4, h5, h6, .page-header { margin:0.5em 0 0.3em 0 !important; }
  p { font-size:12pt !important; margin:0 0 0.6em 0 !important; }
  ul, ol { margin:0 0 0.6em 1.25em !important; }
  figcaption { font-size:9pt !important; line-height:1.3 !important; margin-top:0.25em !important; }

  p:empty { display:none !important; }
  p:has(> br:only-child),
  p:has(> br):not(:has(> :not(br))) { display:none !important; }

  .site-header, .main-menu, .sidebar-menu, .breadcrumb, .footer,
  .site-footer, .messages, .tabs, .toolbar, #toolbar-bar,
  .admin-toolbar, .region-header, .region-footer, .mobile-menu-toggle,
  .sidebar, .sidebar_right, .sidebar_left, .sharethis-buttons,
  .better-social-sharing-buttons, .social-sharing, .print-hide, 
  .tabs__nav--local-tasks, .tabs__nav, nav, header, .alerts,
  .automatic-jump-links, .social-sharing-buttons, .re-usable-content { display:none !important; }

  .layout-container, main, .region-content, .content { width:100% !important; max-width:100% !important; margin:0 !important; padding:0 !important; }
  
  .hero-header__title { color: #000 !important; }
  .hero-header, .hero_header__gradient { min-height: 0 !important;}
  
  a[href^="http"]:after { content:" (" attr(href) ")"; font-size:9pt; }
  a[href^="/"]:after { content:" (https://mwrd.org" attr(href) ")"; font-size:9pt; }

  img, svg, figure { page-break-inside:avoid; }

  img, figure, picture, .media { margin-top:0 !important; }
  figure { margin:0 0 0.5rem 0 !important; }
  p + img,
  p + figure,
  p + picture,
  p + .media,
  h1 + img, h1 + figure, h1 + picture, h1 + .media,
  h2 + img, h2 + figure, h2 + picture, h2 + .media,
  h3 + img, h3 + figure, h3 + picture, h3 + .media,
  h4 + img, h4 + figure, h4 + picture, h4 + .media,
  h5 + img, h5 + figure, h5 + picture, h5 + .media,
  h6 + img, h6 + figure, h6 + picture, h6 + .media { margin-top:0 !important; }
  * { box-shadow:none !important; text-shadow:none !important; }
  [style*="color: #fff"], [style*="color:#fff"], .text-white { color:#000 !important; }

  .gradient-text, [style*="background-clip:text"], [style*="-webkit-background-clip:text"] { -webkit-text-fill-color:#000 !important; color:#000 !important; background:none !important; }

  .button, .btn, [class*="button"], [class*="btn"] { border:1px solid #000 !important; background:transparent !important; color:#000 !important; box-shadow:none !important; }

  table { border-collapse:collapse !important; width:100% !important; }
  th, td { border:1px solid #999 !important; padding:4px 6px !important; }

  [class*="gap-"], .gap { row-gap:0 !important; column-gap:0 !important; }

  .leaflet-container .leaflet-control-attribution { display:none !important; }

  @page { margin:0.5in; }
}
