/*
  Centre images and their captions in page content.
  Added because the Image component ignores inline style attributes on the live site.
  Header and sidebar images are not inside main or article, so they are not affected.
*/
main img,
article img {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

main figure,
article figure {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

main figcaption,
article figcaption {
  text-align: center;
}
