/* ============================================================
   WordPress base resets — loaded BEFORE site.css.
   Neutralises core block CSS so the ported source rules (which load
   after this file) decide everything, exactly as they did on the
   static site. Equal specificity + later load = source wins.
   ============================================================ */

/* core/button links: core sizes them to their wrapper (width/height 100%). */
.wp-block-buttons .wp-block-button__link {
    width: auto; height: auto; align-content: normal;
    word-break: normal; line-height: inherit; box-shadow: none;
}

/* Paragraphs that were <div>/<span> in the source carry .mr-d: no UA margin. */
:where(p.mr-d) { margin: 0; }  /* zero specificity: beats the UA margin, loses to every class rule */

/* core/image: the source used bare <img>/<figure>. */
.wp-block-image { margin: 0; }
.wp-block-image img { vertical-align: baseline; height: auto; max-width: 100%; }
figure.wp-block-image { margin: 1em 40px; }  /* the source never reset <figure>'s UA margin */
figure.wp-block-image.partner-logo,
figure.wp-block-image.partner-card-logo { margin: 0; }

/* core/quote */
.wp-block-quote { margin: 0 0 22px; overflow-wrap: normal; box-sizing: content-box; }

/* core/image caption: core adds caption margins; the source's was absolutely positioned. */
.wp-block-image figcaption.wp-element-caption { margin: 0; }
