/* Editor-content polish for client-added blocks (galleries, images, captions)
   inside .prose. Core wp-block-library handles base block layout; this only
   aligns it with the signed-off design tokens (8px card radius, mono slate
   captions, sensible vertical rhythm). Scoped to .prose so it never touches
   the hand-built designed pages (they contain no blocks anyway). */

.prose figure { margin: 1.6em 0; }

/* Gallery — keep the core grid, match the design's rounded-card look. */
.prose .wp-block-gallery { margin: 1.8em 0; }
.prose .wp-block-gallery img,
.prose .wp-block-image img,
.prose img { border-radius: 8px; }

.prose .wp-block-gallery figure { margin: 0; }

/* Captions — mirror the figcaption style used across the design. */
.prose figcaption,
.prose .wp-block-image figcaption,
.prose .wp-block-gallery figcaption {
  margin-top: 10px;
  font: 500 12px/1.4 var(--font-mono);
  letter-spacing: .04em;
  color: var(--slate);
  text-align: left;
}

/* Single images sit full content width, like the project hero. */
.prose .wp-block-image { margin: 1.6em 0; }
.prose .wp-block-image img { width: 100%; height: auto; display: block; }

/* Lists/quotes already styled by .prose in _shared.css; just ensure block
   wrappers don't double the margins. */
.prose .wp-block-list { margin: 0 0 1.1em; }
.prose .wp-block-quote { margin: 1.6em 0; }
