/* WordPress 5.4 -> 7.1 update (2026-11-17): buttons saved by the 5.4 editor keep the layout they had.
   WordPress 7 prints these old "Buttons" blocks as a flex row with no margins, so the centred
   "Back to Materia Medica List" button and the remedy buttons moved to the left and lost their spacing.
   These rules match only the new markup (is-layout-flex) on blocks that carry no new-style
   justification class, i.e. blocks saved by the old editor, and give back WordPress 5.4's layout:
   inline buttons, 3rem above each (the theme's), 8px beside and below, centred when the block is. */
.wp-block-buttons.is-layout-flex:not([class*="is-content-justification-"]) {
	display: block;
}
.wp-block-buttons.is-layout-flex.aligncenter:not([class*="is-content-justification-"]) {
	text-align: center;
}
.wp-block-buttons.is-layout-flex.alignright:not([class*="is-content-justification-"]) {
	text-align: right;
}
.wp-block-buttons.is-layout-flex:not([class*="is-content-justification-"]) > .wp-block-button {
	display: inline-block;
	margin: 3rem 8px 8px 0;
}
.wp-block-buttons.is-layout-flex.alignright:not([class*="is-content-justification-"]) > .wp-block-button {
	margin-right: 0;
	margin-left: 8px;
}
