/* Let the existing two-column roundup layout span Gutenberg's editing wrappers. */
.editor-styles-wrapper .bcn-format--roundup .bcn-format-auction > .block-editor-inner-blocks,
.editor-styles-wrapper .bcn-format--roundup .bcn-format-auction > .block-editor-inner-blocks > .block-editor-block-list__layout,
.editor-styles-wrapper .bcn-format--roundup .bcn-format-auction > .block-editor-block-list__layout {
    display: contents;
}
.editor-styles-wrapper .bcn-format--roundup .bcn-format-auction-image,
.editor-styles-wrapper .bcn-format--roundup .bcn-format-auction-notes {
    min-width: 0;
    max-width: none;
    width: auto;
    margin-left: 0;
    margin-right: 0;
}
.editor-styles-wrapper .bcn-format--roundup .bcn-format-auction > .block-list-appender {
    grid-column: 1 / -1;
}
/* Public card badges also use native paragraph/group blocks in the editor. */
.bcn-format--roundup .bcn-auction-win-banner{grid-column:1 / -1;background:#efc64e;color:#193742;font:700 15px/1.4 system-ui,sans-serif;padding:12px 18px;margin:0!important}
.bcn-format--roundup .bcn-auction-labels{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 12px}
.bcn-format--roundup .bcn-auction-label{background:#e9eef0;color:#28424b;border-radius:16px;padding:3px 10px;font:600 12px/1.6 system-ui,sans-serif;margin:0!important}
.editor-styles-wrapper .bcn-auction-labels > .block-editor-inner-blocks,
.editor-styles-wrapper .bcn-auction-labels > .block-editor-inner-blocks > .block-editor-block-list__layout,
.editor-styles-wrapper .bcn-auction-labels > .block-editor-block-list__layout{display:contents}

/* Native Group blocks may save an extra inner container after editing. Flatten
   only the card's structural wrapper, so its artwork and notes stay grid peers. */
.bcn-format--roundup .bcn-format-auction > div:not(.bcn-format-auction-image):not(.bcn-format-auction-notes):not(.bcn-auction-labels){display:contents}
.bcn-format--roundup .bcn-format-auction-image,
.bcn-format--roundup .bcn-format-auction-notes{min-width:0;max-width:none;width:auto;margin-left:0;margin-right:0}
@media(min-width:601px){
 .bcn-format--roundup .bcn-format-auction-image{grid-column:1;grid-row:auto}
 .bcn-format--roundup .bcn-format-auction-notes{grid-column:2;grid-row:auto}
}
@media(max-width:600px){
 .bcn-format--roundup .bcn-format-auction-image,
 .bcn-format--roundup .bcn-format-auction-notes{grid-column:1}
}
.bcn-format--roundup .bcn-auction-labels > .wp-block-group__inner-container{display:contents}

/* Historical spreadsheet entries need no empty artwork column. */
.bcn-format--roundup .bcn-auction-text-only{grid-template-columns:minmax(0,1fr)}
.bcn-format--roundup .bcn-auction-text-only .bcn-format-auction-notes{grid-column:1 / -1}
