/* WordPress markup adjustments (hand-written; tools/wp/build-theme.py leaves
   this file alone). Blocks wrap some elements the static site wrote bare:
   images in <figure>, buttons in <div>s, links in <p>. These rules keep the
   wrappers out of the layout, so the site CSS sees the same structure. */

/* An image block's <figure> is only a wrapper, except an article figure. */
.wp-block-image:not(.article-body__figure) { display: contents; }
.wp-block-image { margin: 0; }

/* Buttons: the wrapper divs take no space of their own. */
:where(.wp-block-buttons) { display: flex; flex-wrap: wrap; gap: var(--space-3); }
:where(.wp-block-button) { display: contents; }
.wp-block-button__link { text-decoration: none; }
