/* Shared layout for block documents (public pages, operator preview, block editor).
   Keep layout rules here so the editor and the published page cannot drift apart.
   Editor-only chrome (selection, toolbars, insert buttons) stays in editor/block_editor.css. */
.admin-cards{display:grid;grid-template-columns:1fr;gap:14px}
.admin-cards.two{grid-template-columns:repeat(2,minmax(0,1fr))}
.admin-cards .card{margin:0;min-width:0;overflow-wrap:anywhere}
.admin-cards .wide{grid-column:1/-1}
.admin-cards img{width:100%;height:auto}
.admin-cards figure{margin:12px 0}
.admin-cards figcaption{font-size:12px;color:var(--muted)}
/* Card copy also appears inside news articles, which set white-space on their paragraphs. */
.admin-prewrap,
.admin-cards .admin-prewrap{white-space:pre-wrap}
.admin-image-inline{max-width:100%;height:auto}
/* The editable canvas spaces its blocks with editor-specific wrappers. */
.page-blocks > :not(:first-child){margin-block-start:14px}

.admin-preview.mobile .admin-cards.two,
.be-canvas[data-preview-mode="mobile"] .admin-cards.two{grid-template-columns:1fr}
@media(max-width:700px){.admin-cards.two{grid-template-columns:1fr}}
