/* WordPress platform fixes. The prototype's CSS (tokens, site, pages) is copied unedited; this file only
   brings WordPress's own wrappers back to the prototype's layout. Keep it small: if a rule here grows into
   design, it belongs in the design language first. */

/* Template wrappers carry no spacing of their own. */
.wp-site-blocks, .wp-block-post-content:not(.reading) { margin: 0; padding: 0; }
/* On blog posts the post content IS the prototype's .reading column: core's flow-root would stop margin collapsing. */
.wp-block-post-content.reading { display: block; }

/* Core block library defaults that the prototype's elements never had. */
figure.wp-block-image { margin: 0; }
.wp-block-image img { vertical-align: baseline; }
.wp-block-quote { margin: 0; }

/* pages.css lets the footer rise over the last band; in WordPress the page's sections sit inside the
   post-content wrapper, one level deeper than in the prototype. */
main:has(> .wp-block-post-content > .close:last-child) + .footer { border-radius: 0; margin-top: 0; }

/* Blog post template: the reading band starts flush under the post hero (the prototype's inline style). */
.pt-0 { padding-top: 0; }

/* The fixed pill header clears the admin bar when signed in. */
.admin-bar .site-header { top: calc(32px + var(--s-3)); }
@media (max-width: 782px) { .admin-bar .site-header { top: calc(46px + var(--s-3)); } }

/* Block editor only (the class exists only there): reveal-on-scroll effects never run in the editor, so show their
   contents, and give an empty screenshot slot room to click (founders, 25 Nov 2026: new projects from the pattern). */
.block-editor-block-list__layout .reveal-circle{clip-path:none!important}
.block-editor-block-list__layout .shot__frame .components-placeholder,.block-editor-block-list__layout .ba__frame .components-placeholder{min-height:320px}
