/*
 * Print stylesheet for happynectar.
 *
 * Enqueued with media="print" — only loaded/applied when the browser is
 * preparing to print. No @media print wrapper needed inside.
 *
 * Hides all chrome from NectarBlocks (header nav, footer global section,
 * off-canvas menu, back-to-top button, in-page modals) so printed pages
 * just contain the article content.
 *
 * Also re-enables the legacy `.show_on_print` / `.print-only` markers used
 * by the single-content template to surface print-only content.
 */

/* Hide site chrome */
#nectar-nav,
#nectar-nav-spacer,
#header-outer,
header#top,
#header-secondary-outer,
#mobile-menu,
#mobile_menu,
.nectar-global-section.nectar_hook_global_section_footer,
.nectar-global-section.nectar_hook_global_section_before_content,
.nectar-global-section.nectar_hook_global_section_after_content,
#footer-outer,
#site-footer,
#slide-out-widget-area,
#slide-out-widget-area-bg,
.slide-out-widget-area-toggle,
#back-to-top,
.menu_trigger,
#search-outer,
.happy_modal,
.access_message,
#wpadminbar {
  display: none !important;
}

/* Strip extra body padding the fixed-header spacer normally provides */
body {
  padding-top: 0 !important;
}

/* Re-show print-only markers from the legacy single-content template */
.show_on_print {
  display: block !important;
}
.show_on_print.track_heading {
  display: flex !important;
}
.print-only {
  display: block !important;
}

/* Don't waste a printed page on visited link underlines / outline */
a, a:visited {
  color: inherit;
  text-decoration: none;
}

/* Avoid page breaks inside content sections */
.content_section,
.asset_list,
.what-well-need {
  break-inside: avoid;
  page-break-inside: avoid;
}
