img {
  box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.15);
  border-radius: 0.3em;
  max-width: 100%;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

figure {
  margin: 1.5em 0;
  text-align: center;
}

figure a {
  display: inline-block;
  cursor: pointer;
  border: none;
}

figure a:hover img {
  opacity: 0.85;
}

figure img {
  margin-top: 0;
  transition: opacity 0.2s ease;
}

figcaption {
  margin-top: 0.5em;
  font-style: italic;
  color: var(--muted-color);
  font-size: 0.9em;
  line-height: 1.3em;
}
