/*
 * Cleanfast Pro — shared Gutenberg block presentation.
 * These rules are loaded in both the front end and the block editor so that
 * common block spacing and sizing remain consistent between the two views.
 */
.entry-content,
.editor-styles-wrapper {
	--cleanfast-block-gap: 1.5rem;
}

.entry-content .wp-block-group,
.editor-styles-wrapper .wp-block-group {
	box-sizing: border-box;
}

.entry-content .wp-block-columns,
.editor-styles-wrapper .wp-block-columns {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: var(--wp--style--block-gap, var(--cleanfast-block-gap));
	margin-top: 0;
	margin-bottom: 1.75rem;
}

.entry-content .wp-block-columns > .wp-block-column,
.editor-styles-wrapper .wp-block-columns > .wp-block-column {
	box-sizing: border-box;
	min-width: 0;
	flex: 1 1 0;
	margin: 0;
}

.entry-content .wp-block-image,
.editor-styles-wrapper .wp-block-image {
	margin: 0 0 1rem;
	max-width: 100%;
}

.entry-content .wp-block-image img,
.editor-styles-wrapper .wp-block-image img {
	display: inline-block;
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}

.entry-content .wp-block-image figure,
.editor-styles-wrapper .wp-block-image figure {
	margin: 0;
}

.entry-content .wp-block-image figcaption,
.editor-styles-wrapper .wp-block-image figcaption {
	margin-top: .5rem;
	color: #666;
	font-size: .85em;
	text-align: center;
}

.entry-content .wp-block-heading,
.editor-styles-wrapper .wp-block-heading {
	margin-top: 0;
	margin-bottom: .65em;
	line-height: 1.2;
	font-weight: 600;
	color: #172D50;
}

.entry-content p,
.editor-styles-wrapper p {
	margin-top: 0;
	margin-bottom: 1.25em;
	line-height: 1.42857143;
}

.entry-content .wp-block-buttons,
.editor-styles-wrapper .wp-block-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: .75rem;
	margin-top: 0;
	margin-bottom: 1.25em;
}

.entry-content .wp-block-button,
.editor-styles-wrapper .wp-block-button {
	margin: 0;
}

.entry-content .wp-block-button__link,
.editor-styles-wrapper .wp-block-button__link {
	display: inline-block;
	box-sizing: border-box;
	border-radius: 2px;
	padding: 8px 14px;
	background: #30363b;
	color: #fff;
	text-decoration: none;
	line-height: 1.4;
}

.entry-content .wp-block-button__link:hover,
.entry-content .wp-block-button__link:focus,
.editor-styles-wrapper .wp-block-button__link:hover,
.editor-styles-wrapper .wp-block-button__link:focus {
	background: #454d54;
	color: #fff;
}

.entry-content .wp-block-separator,
.editor-styles-wrapper .wp-block-separator {
	border: 0;
	border-top: 1px solid #ddd;
	margin: 1.5em auto;
}

.entry-content .wp-block-quote,
.editor-styles-wrapper .wp-block-quote {
	margin: 1.5em 0;
	padding: .75em 1em;
	border-left: 3px solid #2457A6;
	background: #f8f8f8;
}

@media (max-width: 767px) {
	.entry-content .wp-block-columns,
	.editor-styles-wrapper .wp-block-columns {
		flex-wrap: wrap;
	}
	.entry-content .wp-block-columns > .wp-block-column,
	.editor-styles-wrapper .wp-block-columns > .wp-block-column {
		flex-basis: 100% !important;
	}
}
