/* General settings for print */
@media print {

  /* Display necessary structural elements */
  html, body, main, section, article, .outer-wrapper, .content-constrain, 
  .main-content, .header-container, .body-container, 
  .article-container, .article-content, .grid-snippet, .wrapper {
    display: block !important;
    visibility: visible !important;
  }

  /* Adjust the logo to display in black */
  .masthead-logo-container svg, .logo, .vertical-id, .header-container .masthead-logo-container {
    display: block !important;
    visibility: visible !important;
    max-width: 200px !important;
    height: auto !important;
  }
  .masthead-logo-container svg path, .masthead-logo-container svg polygon {
    fill: black !important;  /* Change the logo color to black */
  }

  /* Remove white space at the top by resetting header and related elements */
  header, .masthead-logo-container, .header-container, .main-content, .hero, .hero.alt, .hero.simple {
    margin: 0 !important;
    padding: 0 !important;
  }

  /* Ensure .hero, .hero.alt, .hero.simple align properly when no image is present */
  .hero.simple {
    margin-left: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100% !important;  /* Ensure it stays within the print margins */
    position: relative !important;
  }

  .hero-content {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin: 0 auto !important;
    text-align: left !important;
  }

  /* Fix the hero image and keep it centered */
  .hero-image {
    display: block !important;
    visibility: visible !important;
    max-width: 100% !important;
    height: auto !important;
    background-size: cover !important;
    position: relative !important;
    margin: 0 auto !important;
  }

  /* Hide the vertical-issue */
  .vertical-issue {
    display: none !important;
  }

  /* Hide the secondary-content section */
  .secondary-content {
    display: none !important;
  }

  /* Display headings H1 to H6 with correct sizes */
  h1 {
    font-size: 2em !important;
    font-weight: bold !important;
  }
  h2 {
    font-size: 1.75em !important;
    font-weight: bold !important;
  }
  h3, h4, h5, h6 {
    font-size: inherit !important;
    font-weight: bold !important;
  }

  /* Ensure the text retains original size, weight, and format */
  p, span, a, li, blockquote, strong, em, .text {
    display: block !important;
    visibility: visible !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    font-style: inherit !important;
  }

  /* Display pull quotes with proper positioning */
  blockquote.pull-quote {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
    position: relative !important;
  }

  /* Hide the "nav" and "nav-container" class to remove top bar links */
  .nav, .nav-container {
    display: none !important;
    visibility: hidden !important;
  }

  /* Hide footer-right but keep footer-left */
  .footer-right {
    display: none !important;
    visibility: hidden !important;
  }

  /* Keep footer-left visible */
  .footer-left {
    display: block !important;
    visibility: visible !important;
  }

  /* Ensure the header and footer sections are displayed */
  header, footer {
    display: block !important;
    visibility: visible !important;
  }

  /* Ensure all main sections inside the body are shown */
  .content-body, .body-content, .content-section {
    display: block !important;
    visibility: visible !important;
  }
}
