/* Make figcaption use the CSS variable if set */
.wp-block-image figcaption strong {
  color: var(--wp--style--caption-color, inherit);
  --fill: var(--wp--style--caption-color, inherit);
}

/* (Optional) ensure good contrast if theme duotone/overlay is used */
/* .wp-block-image figcaption a {
  color: currentColor;
  text-decoration: underline;
} */