figure {
  display: block;
  margin: auto;
  padding: 1rem;
}

figure img {
  display: block;
  margin: auto;
}

figure h1, figure h2, figure h3, figure h4, figure h5, figure h6 {
  text-align: center;
  margin-bottom: 0;
}

figure figcaption p {
  font-style: italic;
  text-align: center;
  margin-top: 1rem;
  margin-bottom: 0;
}

figure figcaption {
  margin-bottom: 1em;
}
