/* Only affects print / PDF (mkdocs-with-pdf uses print styles) */
@media print {

    /* Make body text readable */
    body,
    .md-content,
    .md-typeset {
      background: #ffffff !important;
      color: #000000 !important;
      font-size: 14px !important;   /* default is ~0.8–0.9rem, so 14–16px is larger */
      line-height: 1.5 !important;
    }

    /* Most normal text */
    .md-typeset p,
    .md-typeset li,
    .md-typeset span {
      color: #000000 !important;
    }
    
    /* Headings */
    .md-typeset h1,
    .md-typeset h2,
    .md-typeset h3,
    .md-typeset h4,
    .md-typeset h5,
    .md-typeset h6 {
      color: #000000 !important;
    }
    
    /* Links: dark blue-ish instead of low-contrast gray */
    .md-typeset a {
      color: #000080 !important;
      text-decoration: underline;
    }
    
    /* Code blocks: light background and dark text */
    .md-typeset pre,
    .md-typeset code {
      background: #f5f5f5 !important;
      color: #000000 !important;
    }
    
    /* Tables */
    .md-typeset table {
      color: #000000 !important;
      font-size: 14px !important;   /* default is ~0.8–0.9rem, so 14–16px is larger */
    }

     /* Admonitions (!!! tip, !!! note, etc.) */
  .md-typeset .admonition,
  .md-typeset details {
    background: #ffffff !important;
    color: #000000 !important;
    border-color: #000000 !important;  /* or #cccccc if you prefer softer */
    box-shadow: none !important;
    font-size: 14px !important;   /* default is ~0.8–0.9rem, so 14–16px is larger */
  }

  /* Admonition titles (the colored header bar) */
  .md-typeset .admonition > .admonition-title,
  .md-typeset details > summary {
    background: #f5f5f5 !important;    /* light gray bar */
    color: #000000 !important;
    border-bottom: 1px solid #cccccc !important;
  }

  /* Icons in admonitions (avoid dark-on-dark or weird colors) */
  .md-typeset .admonition .admonition-title::before,
  .md-typeset details > summary::before {
    color: #000000 !important;
  }

  /* Tables: white background and dark text/borders */
  .md-typeset table {
    background: #ffffff !important;
    color: #000000 !important;
  }

  .md-typeset table th,
  .md-typeset table td {
    background: #ffffff !important;
    color: #000000 !important;
    border-color: #000000 !important;   /* or #cccccc */
      
  }

  .md-typeset table thead th {
    background: #f5f5f5 !important;     /* light header row */
    font-weight: 600;
  }
    
}