/* === Figure Captions === */

figure {
  background-color: #f9fafc;
  border: 2px solid var(--navy);
  border-radius: 10px;
  padding: 1rem;
  margin: 2rem auto;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
  text-align: center;
  max-width: 90%;
}

figure img {
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  margin-bottom: 0.8rem;
}

figcaption {
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
  color: var(--navy);
  border-top: 2px solid var(--navy);
  border-radius: 0 0 8px 8px;
  padding: 0.6rem 0.9rem;
  line-height: 1.5;
  font-style: italic;
  text-align: left;
}

/* Optional: smaller captions within callouts or dense sections */
.callout figcaption {
  font-size: 0.9rem;
  background-color: #fdfdfd;
  border-color: var(--accent);
  color: #333;
}
