/*
Theme Name: Equichain
Description: Print styles
*/

@media print {
  /* Hide non-essential elements */
  #site-header,
  #site-footer,
  .search-modal,
  .menu-modal,
  .toggle,
  .elementor-background-overlay,
  nav,
  button,
  .no-print {
    display: none !important;
  }

  /* Reset page styles */
  * {
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  body {
    margin: 0;
    padding: 0;
    font-size: 12pt;
    line-height: 1.5;
  }

  /* Links */
  a,
  a:visited {
    text-decoration: underline;
    color: #000 !important;
  }

  a[href]:after {
    content: " (" attr(href) ")";
    font-size: 90%;
  }

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

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

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

  h1 {
    font-size: 24pt;
  }

  h2 {
    font-size: 18pt;
  }

  h3 {
    font-size: 14pt;
  }

  /* Tables */
  table {
    border-collapse: collapse;
    width: 100%;
  }

  table,
  th,
  td {
    border: 1px solid #000;
  }

  th,
  td {
    padding: 8px;
    text-align: left;
  }

  /* Page breaks */
  p,
  blockquote {
    orphans: 3;
    widows: 3;
  }

  blockquote {
    page-break-inside: avoid;
  }

  /* Content */
  .entry-content {
    width: 100%;
  }

  .site-logo img {
    max-width: 200px;
  }
}
