/* =============================================================================
   PRINT STYLES - ogenergy
   ============================================================================= */

@media print {

  /* Hide navigation, header actions, footer, sidebars, interactive elements */
  header nav,
  .main-menu,
  .mobile-menu,
  .header__actions,
  .region-header,
  footer,
  .region-footer,
  aside,
  .sidebar,
  .breadcrumb,
  .pager,
  .views-exposed-form,
  .search-block-form,
  button,
  .btn,
  a.btn,
  .back-to-top,
  .cookie-consent,
  .messages--status,
  .messages--warning,
  .messages--error,
  .region-footer-top {
    display: none !important;
  }

  /* Reset backgrounds and colors for print */
  *,
  *::before,
  *::after {
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  body {
    font-size: 12pt;
    line-height: 1.5;
    font-family: Georgia, "Times New Roman", serif;
    margin: 0;
    padding: 0;
  }

  .layout-container,
  main,
  .main-content,
  .region-content {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
  }

  /* Show full URLs for links */
  a[href]::after {
    content: " (" attr(href) ")";
    font-size: 10pt;
    color: #555 !important;
  }

  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  /* Page breaks */
  h1, h2, h3, h4, h5, h6 {
    page-break-after: avoid;
    page-break-inside: avoid;
  }

  p, blockquote {
    orphans: 3;
    widows: 3;
  }

  img {
    max-width: 100% !important;
    page-break-inside: avoid;
  }

  table {
    border-collapse: collapse !important;
  }

  table td,
  table th {
    border: 1px solid #ccc !important;
    padding: 4pt 6pt;
  }
}
