@charset "utf-8";

.acf-image-uploader .image-wrap img {
	max-width: 100% !important;
}

.editor-styles-wrapper {
	padding: 0 !important;
}

.edit-post-visual-editor__post-title-wrapper {
	font-family: sans-serif !important;
	padding: 30px 15px;
	text-align: center;
}

.edit-post-visual-editor__post-title-wrapper .editor-post-title {
	margin: 0 !important;
	padding: 0 !important;
}

.editor-post-title .editor-post-title__input {
	border-bottom: 1px solid #eee !important;
	font-size: 30px !important;
	height: auto !important;
	padding: 15px !important;
	text-align: center !important;
}

.block-editor-block-list__layout {
	padding-left: 0;
	padding-right: 0;
}

.block-editor-block-list__block:not(.rich-text),
.block-editor-default-block-appender textarea.block-editor-default-block-appender__content {
	margin-bottom: 0 !important;
	margin-top: 0 !important;
}

.wp-block {
	font-family: sans-serif !important;
	/*max-width: 100% !important;*/
	margin-left: auto !important;
	margin-right: auto !important;
	max-width: 1110px !important;
}

.wp-block[data-type="acf/row"],
.wp-block[data-type="acf/slider"],
.wp-block[data-type="acf/slide"],
.wp-block.editor-post-title {
	margin-left: 0 !important;
	margin-right: 0 !important;
	max-width: 100% !important;
}

/* The iframed canvas (WP 7) has no .block-editor-writing-flow element, so style.css's
   editor clip rule for it is dead there — re-apply it at the canvas root, or "peek"
   carousels (.rpd-posts.slider keeps its slick-list overflow:visible by design) give
   the whole canvas a horizontal scrollbar. `clip` because body overflow-x:hidden
   would propagate to the iframe viewport. */
.editor-styles-wrapper {
	overflow-x: clip;
}

/* The two rules above are dead in the iframed canvas: style.css (loaded after this
   file) sets `.wp-block { max-width: 100% !important; margin: 0 !important }`, winning
   the !important tie. Restate both at higher specificity so blocks get side margin —
   without it, decorations that hang outside a block's box (tabs "arrows-outside")
   poke past the iframe edge and give the whole canvas a horizontal scrollbar. */
.editor-styles-wrapper .wp-block {
	margin-left: auto !important;
	margin-right: auto !important;
	max-width: min(1110px, 90%) !important;
}

.editor-styles-wrapper .wp-block[data-type="acf/row"],
.editor-styles-wrapper .wp-block[data-type="acf/slider"],
.editor-styles-wrapper .wp-block[data-type="acf/slide"],
.editor-styles-wrapper .wp-block.editor-post-title {
	margin-left: 0 !important;
	margin-right: 0 !important;
	max-width: 100% !important;
}

/* ACF preview loading state (WP core Placeholder + Spinner, shown while the block's
   AJAX preview is in flight): drop the box chrome, keep the spinner, and hold a stable
   height so the arriving preview doesn't jump the page. */
.acf-block-component .components-placeholder {
	align-items: center !important;
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
	justify-content: center !important;
	min-height: 90px;
	outline: none !important;
	text-align: center;
}

.acf-block-component .components-placeholder .components-spinner {
	margin: 0;
}

.acf-block-component .components-placeholder__label,
.acf-block-component .components-placeholder__instructions {
	color: #757575;
	justify-content: center;
}

/*.is-root-container textarea:not(.acf-table-cell-editor-textarea) {
	display: none !important;
}*/

.block-editor-block-list__empty-block-inserter,
.block-editor-default-block-appender .block-editor-inserter {
	position: inherit !important;
	right: 0 !important;
}

.block-editor-block-list__empty-block-inserter button,
.block-editor-default-block-appender .block-editor-inserter button {
	margin: 15px auto !important;
	padding: 0 !important;
}

/* Scoped to the appender/inserter: WP 7 renders the block toolbar inside
   .edit-post-visual-editor, so the old bare `.components-button` catch-all
   squashed the toolbar buttons (margin 15px / no padding). */
.edit-post-visual-editor .block-list-appender .components-button,
.edit-post-visual-editor .block-editor-inserter .components-button {
	margin: 15px auto !important;
	padding: 0 !important;
}

.wp-block-columns {
	margin-bottom: 0 !important;
}

body.post-type-rpd-sidebar .is-root-container {
	/*background-color: #f5f5f5 !important;*/
	min-height: 90vh !important;
	padding: 15px 0 0 !important;
}

body.post-type-rpd-sidebar .is-root-container > .wp-block {
	background: #fff !important;
	margin: 0 auto !important;
	padding: 0 10px;
	max-width: 320px !important;
}