/* ==========================================================================
   SSM Pharmacy — neutralise WordPress's own block defaults.

   Loaded AFTER wp-block-library and BEFORE site.css (the approved v5 build),
   so these beat core at equal specificity and every v5 rule still beats them.
   ========================================================================== */

/* v5 wrote plain <figure>s and relied on the browser default margin (1em 40px).
   Core replaces that with 0 0 1em; put the default back. A video's figure is
   display:contents, so its margin never applies. */
.wp-block-image, .wp-block-embed { margin: 1em 40px; }
.wp-block-video { margin: 0; }
.wp-block-image figcaption, .wp-block-embed figcaption { margin: 0; }

/* v5 styled its video captions as .video-cap; an embed's caption has core's
   own class, so it gets the same treatment here. */
.wp-block-embed figcaption { margin-top: .7rem; font-size: .875rem; color: var(--ink-70); text-align: left; }
.wp-block-embed__wrapper { border-radius: 12px; overflow: hidden; background: var(--navy); }
.sect--blue .wp-block-embed figcaption, .sect--navy .wp-block-embed figcaption { color: rgba(255,255,255,.72); }
