/* === WHITE TABLE BORDER OVERRIDES === */

/* Force justification */
p,
.content p {
  text-align: justify !important;
  text-justify: inter-word !important;
  hyphens: auto;
}

/* Center images */
img,
.content img,
figure img {
  display: block !important;
  float: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-top: 1.25rem !important;
  margin-bottom: 1.25rem !important;
  max-width: 100% !important;
  height: auto !important;
}

/* WHITE borders for tables, headers, and cells */
table,
.content table {
  border-collapse: collapse !important;
  border: 2px solid #ffffff !important;
  width: 100% !important;
}

table th,
table td,
th,
td {
  border: 2px solid #ffffff !important;
  padding: 8px 10px !important;
}

/* Ensure background contrast works if dark mode enabled */
th, td {
  background-clip: padding-box !important;
}
