/* ========== PRINT STYLESHEET ========== */

@media print {
  /* Hide elements that shouldn't be printed */
  header,
  nav,
  footer,
  form,
  button,
  #cookie-banner,
  #back-to-top,
  .social-share,
  .hamburger,
  #nav-toggle {
    display: none !important;
  }

  /* Body styles */
  body {
    color: #000;
    background: #fff;
    font-size: 12pt;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.5;
  }

  /* Text styles */
  a {
    color: #000;
    text-decoration: underline;
  }

  a[href]:after {
    content: " (" attr(href) ")";
  }

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

  /* Headings */
  h1,
  h2,
  h3 {
    page-break-after: avoid;
    font-weight: 700;
    color: #000;
  }

  h1 {
    font-size: 24pt;
    margin-bottom: 12pt;
  }

  h2 {
    font-size: 18pt;
    margin-bottom: 10pt;
  }

  h3 {
    font-size: 14pt;
    margin-bottom: 8pt;
  }

  /* Paragraphs and lists */
  p,
  li {
    orphans: 3;
    widows: 3;
    margin-bottom: 6pt;
  }

  ul,
  ol {
    margin-left: 18pt;
    margin-bottom: 6pt;
  }

  /* Tables */
  table {
    border-collapse: collapse;
    page-break-inside: avoid;
  }

  th,
  td {
    border: 1px solid #000;
    padding: 6pt;
    text-align: left;
  }

  th {
    background: #f5f5f5;
    font-weight: 700;
  }

  /* Main content */
  main {
    margin-top: 0;
  }

  /* Container spacing */
  .container {
    padding: 0;
  }

  /* Section spacing */
  section {
    page-break-inside: avoid;
    margin-bottom: 12pt;
  }

  /* Footer information */
  body::after {
    content: "DEKA Security — www.dekasecurity.com — info@dekasecurity.com";
    display: block;
    margin-top: 18pt;
    padding-top: 6pt;
    font-size: 9pt;
    color: #555;
    border-top: 1px solid #ccc;
  }
}
