/* 
  dkidsnet.com - Print Stylesheet
  Enhancements for WCAG 2.2 Compliance
  Updated: [Today's Date]

  Original Design by Andreas Viklund (http://andreasviklund.com)
  Adapted for Binary Logic SA by [Your Name or Team]
  Licensed under [Specify License if applicable]
*/

body {
    margin: 0;
    padding: 0;
    font-family: "Times New Roman", serif;
    background: #ffffff;
    color: #000000;
    font-size: 12pt; /* Increased base font size for better readability */
    line-height: 1.5; /* Improved line spacing */
  }
  
  #wrap {
    margin: 0; /* Removed percentage margin for print layout */
    width: 100%; /* Utilize full width for print */
  }
  
  #header h1 {
    margin: 0 0 15px 0; /* Increased bottom margin for separation */
    font-size: 18pt; /* Larger font size for headings */
  }
  
  #header p {
    font-size: 12pt; /* Consistent font size for paragraphs */
    margin: 0 0 10px 0; /* Added margin for spacing */
  }
  
  #frontphoto, #avmenu ul, #extras, .announce, .hide {
    display: none; /* Hidden elements remain hidden in print */
  }
  
  #content img {
    display: none; /* Images are hidden to focus on text content */
  }
  
  #content {
    padding: 20px; /* Added padding for better text presentation */
  }
  
  table {
    width: 100%;
    border-collapse: collapse; /* Ensures borders are merged */
    margin-bottom: 20px; /* Adds space below tables */
  }
  
  table caption {
    caption-side: top;
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 14pt;
  }
  
  table th, table td {
    border: 1px solid #000000; /* Clear borders for table readability */
    padding: 8px;
    text-align: left;
    font-size: 12pt;
  }
  
  table th {
    background-color: #f0f0f0; /* Light grey background for headers */
  }
  
  a {
    text-decoration: underline;
    color: #0000FF; /* Blue color remains distinguishable in print */
  }
  
  a:visited {
    color: #551A8B; /* Visited links in purple for differentiation */
  }
  
  footer {
    margin-top: 30px;
    font-size: 10pt; /* Slightly smaller font for footer */
  }
  
  @media print {
    /* Ensure all styles are print-friendly */
    
    a {
      color: #0000FF; /* Maintain link color for visibility */
      text-decoration: underline;
    }
    
    /* Avoid page breaks within tables */
    table, tr, th, td {
      page-break-inside: avoid;
    }
    
    /* Ensure footer is at the bottom */
    #footer {
      position: fixed;
      bottom: 0;
      width: 100%;
    }
  }
  