[data-md-color-scheme="default"] .dark-mode-only {
  display: none;
}

[data-md-color-scheme="slate"] .light-mode-only {
  display: none;
}

.img-shadow {
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.img-shadow-lg {
  border-radius: 12px;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.15);
}

.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
}


@font-face 
{
  font-family: 'SourceSansPro';
  src: url('../assets/SourceSansPro.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face 
{
  font-family: 'SourceSansPro';
  src: url('../assets/SourceSansPro-Bold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
}

body
{
  font-family: 'SourceSansPro', 'Roboto', 'Helvetica', 'Arial', sans-serif !important;
  text-align: justify;
}



/* PDF-specific font size adjustments */
@media print {

  *
  {
    
    font-family: 'SourceSansPro', 'Roboto', 'Helvetica', 'Arial', sans-serif !important;
  }

  .md-typeset .admonition-title::before
  {
    position:absolute;
    left: 1em;
    top: 1.1em;
  }

    h1, h2, h3, h4, h5, h6 
  {
    border-bottom-color: #004DFF !important;
  }

  .dark-mode-only 
  {
    display: none !important;
  }
  
  .light-mode-only 
  {
    display: block !important;
  }

  .img-shadow-lg 
  {
    border: 1px solid #ddd !important;
    box-shadow: none !important;
  }

  /* Base font size for body text */
  body {
    font-family: 'SourceSansPro', 'Roboto', 'Helvetica', 'Arial', sans-serif !important;
    font-size: 12pt !important;
    text-align: justify;
  }
  
  /* Headers */
  h1 {
    font-size: 28pt !important;
  }
  
  h2 {
    font-size: 24pt !important;
  }
  
  h3 {
    font-size: 20pt !important;
  }
  
  h4 {
    font-size: 18pt !important;
  }
  
  h5 {
    font-size: 16pt !important;
  }
  
  h6 {
    font-size: 14pt !important;
  }
  
  /* Table of Contents */
  .pdf-toc,
  .pdf-toc li,
  .pdf-toc a {
    font-size: 12pt !important;
  }
  
  /* Paragraphs and general text */
  p, li, td, th {
    font-size: 12pt !important;
  }
  
  /* Code blocks */
  code, pre {
    font-size: 12pt !important;
  }
}