.footer > p {
  font-size: 15px;
}

/* Increase font size for code blocks inside callouts */
.reveal .slides section div.callout pre.sourceCode {
  font-size: 0.75em !important;
}

/* Styling for tables with code blocks */
.smaller table {
  font-size: 0.6em;
}

.smaller table code {
  font-size: 0.9em;
  line-height: 1.4;
  display: block;
  white-space: pre-wrap;
  word-break: break-word;
}

.smaller table pre {
  margin: 0;
  padding: 6px;
  background-color: transparent;
}

.smaller td {
  vertical-align: top;
  padding: 10px 8px;
}

/* Improve code block rendering in tables */
.smaller table .sourceCode {
  background-color: #f8f9fa;
  border-radius: 4px;
  padding: 4px 6px;
}

/* Increase font size for code in callout blocks */
.callout pre code {
  font-size: 0.85em !important;
  line-height: 1.4;
}

.callout .sourceCode {
  font-size: 0.85em !important;
}

/* Override smaller font size for callout blocks in .smaller slides */
.smaller .callout pre code {
  font-size: 0.9em !important;
  line-height: 1.5;
}

.smaller .callout .sourceCode {
  font-size: 0.9em !important;
}

/* Increase font size for tables in callout blocks */
.callout table {
  font-size: 1.05em !important;
}

.smaller .callout table {
  font-size: 1em !important;
}

/* Colorblind-friendly callout colors */
.callout-tip {
  border-left-color: #7570b3ff !important; /* Purple (good/correct) */
  background-color: rgba(
    117,
    112,
    179,
    0.15
  ) !important; /* Light purple background */
}

.callout-tip .callout-header,
.callout-tip .callout-title,
.callout-tip .callout-body {
  background-color: rgba(117, 112, 179, 0.15) !important;
}

.callout-tip .callout-icon {
  color: #7570b3ff !important;
}

.callout-caution {
  border-left-color: #e6ab02ff !important; /* Gold/Yellow (warning/caution) */
  background-color: rgba(
    230,
    171,
    2,
    0.15
  ) !important; /* Light gold background */
}

.callout-caution .callout-header,
.callout-caution .callout-title,
.callout-caution .callout-body {
  background-color: rgba(230, 171, 2, 0.15) !important;
}

.callout-caution .callout-icon {
  color: #e6ab02ff !important;
}
