
/*
Moved to Styles.css

.md-content { 
  counter-reset: figureCounter;
  counter-reset: tableCounter;
}
*/

/* increment the counter for every instance of a figure or table even if it doesn't have a caption */
 figure { 
  counter-increment: figureCounter; 
}

table {
  /* increment the counter for every instance of a table or table even if it doesn't have a caption */
  counter-increment: tableCounter;
}

/* prepend the counter to the tableCounter content */
table caption::before {
  content: "Table " counter(tableCounter) ": ";
}

 /* prepend the counter to the figcaption content */
 figure figcaption::before {
     content: "Fig " counter(figureCounter) ": ";
 }  
 
 .md-typeset__table{
    width: 100%;
 }

 table {  
  display:table !important;
  table-layout: auto;
  border-spacing: 0;
  border-collapse: collapse; /* Collapse borders to avoid double lines */
  width: 100%;
  vertical-align:middle; 
 }

caption {
  caption-side: bottom; /* Places the caption below the table */
  text-align: center; /* Optional: Center the caption text */
  font-style: italic; font-weight: bold; /* Optional: Style the caption */
  padding-top: 10px;   /* Optional: Add some spacing above the caption */
  font-family: 'Arial', sans-serif;
  font-size:medium;
}

th, td {
  vertical-align:middle;
  border: 1px solid black; /* Add borders to cells */
  padding: 0;
  text-align: left; /* Or center, right, as needed */
  font-weight:unset;
}