/*
  This combination should override any default Quarto
  or theme styles that are keeping captions left-aligned.
*/

/* This targets the container <figcaption> element */
figcaption {
  text-align: center;
  font-size: 110%;
}

/* This targets the <p> tag with the caption class.
  The !important flag gives it top priority.
*/
.figure-caption {
  text-align: center !important;
}