/* ==============================================================================
   Editorial Figures & Illustrations (Cameo Floats & Centered Diagrams)
   ============================================================================== */

/* Compact Portrait Floats (Cameo Style) */
figure.portrait {
  max-width: 15rem;
  margin-top: 0.3em;
  margin-bottom: 0.8em;
}

figure.portrait.left {
  float: left;
  margin-right: 1.5em;
}

figure.portrait.right {
  float: right;
  margin-left: 1.5em;
}

figure.portrait img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  display: block;
}

/* Full-length Centered Diagrams */
figure.diagram,
figure.center {
  display: block;
  clear: both;
  margin: 2.2em auto;
  text-align: center;
  max-width: 100%;
}

figure.diagram img,
figure.center img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}

figcaption {
  font-size: 1rem;
  opacity: 0.85;
  text-align: center;
  margin-top: 0.5em;
  line-height: 1.35;
  color: var(--text-muted);
}
