@media print {
  @page {
    margin: 0.5cm; // Use centimeters or inches, not pixels
  }

  body {
    background: #fff;
    color: #222;
    width: 100%;
    margin: 0;
    padding: 0;
  }

  /* Hide page elements */
  .layout-header-top,
  .main-navigation,
  .layout-highlighted,
  .section__front-hero,
  .section__hero,
  .layout-above-content,
  .block--breadcrumbs,
  .layout-subscribe,
  .layout-footer,
  .layout-bottom,
  .mobile-menu,
  .block-facet--checkbox,
  .pager,
  #scrollToTopButton,
  .popup_close,
  .front_page_resource_card__explore,
  .explore_resource_card__text,
  .locator-container,
  .front-page .event-job-container,
  .fa.fa-external-link {
    display: none;
  }

  header {
    border-bottom: none;
  }

  /* Avoid Odd Page Breaks */
  h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
    page-break-after: avoid; // Prevent headings from being printed at the bottom of the page
  }

  h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
    font-weight: bold;
  }

  img {
    page-break-inside: avoid; // Prevent images from being split up
  }

  /* Topic Page Styling */
  .paragraph__explore_resource_card_container .paragraph__explore_resource_card a.explore_resource_card__link .explore_resource_card__heading {
    position: relative;
  }

  /* Resource Item Style */
  .paragraph__resource_item {
    padding-left: 0;
  }

  /* Book Styling */
  #block-booknavigation,
  .book-navigation {
    display: none;
  }

  /* Curriculum Consumer Report Styling */
  .back_to_category,
  .one-column_right_cust,
  .block--eclkc-curriculum-tabs,
  .curriculum-criterion,
  .curriculum-row-wrap,
  .compare-curriculum .to-border,
  .si-toggle-container.si-pos-side.si-pos-east {
    display: none;
  }

  .rating-dscp {
    min-width: 100%;
  }

  .what-rating-mean.rating-inline {
    background-color: #dee3e8 !important;
    margin-top: 2.5em;
  }
  /* Upcoming Events Styling */
  .event__featured-image {
    display: none;
  }

  .event__teaser .event__featured-image + .event__content {
    max-width: unset;
  }

  .event__teaser .event-links span {
    display: block;
  }
}
