/* A plain photo with a caption and a credit line, for Chronicle articles
   that use one or two credited photos (Wikimedia Commons and the like).
   Every selector is prefixed with .chronicle-content so the article's own
   p/img rules do not reach into the figure. Load it with
   articleCss: /assets/css/chronicle-photo.css */

.chronicle-content .ccc-photo {
  margin: 2rem 0 1.75rem;
  padding: 0;
}

.chronicle-content .ccc-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  margin: 0;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}

.chronicle-content .ccc-photo figcaption {
  margin-top: 0.6rem;
  font-family: var(--font-display);
  font-size: 0.9rem;
  line-height: 1.45;
  color: #52514e;
}

.chronicle-content .ccc-photo__credit {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.76rem;
  color: #898781;
}

.chronicle-content .ccc-photo__credit a {
  color: inherit;
}
