.block-about {
	--cwp-image: 475px;
	position: relative;
	align-items: center;
}

.block-about.cwp-large,
.block-about.cwp-large.has-background,
.editor-styles-wrapper .wp-block-cwp-about.has-background {
	padding: 0;
}

.block-about .block-about__inner,
.editor-styles-wrapper .block-about .block-about__inner {
	gap: 0;
}

.block-about .block-about__inner > * {
	align-self: stretch;
}

.block-about__content {
	flex-basis: 0;
	flex-grow: 1;
	padding: var(--wp--custom--layout--block-gap);
	border: 2px solid var(--wp--preset--color--background);
}

.block-about .block-about__content,
.editor-styles-wrapper .block-about .block-about__content {
	margin: 30px;
}

.block-about__image .wp-block-image {
	display: flex;
	flex-direction: column;
	position: relative;
	height: 100%;
}

.block-about__image .wp-block-image > * {
	flex-grow: 1;
}

.block-about__image .wp-block-image .wp-element-caption {
	flex-grow: 0;
}

.block-about__image .wp-block-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

@media only screen and (max-width: 839px) {

	.block-about__inner {
		flex-direction: column;
	}

	.block-about .block-about__content {
		margin: var(--wp--custom--layout--block-gap);
	}

}

@media only screen and (min-width: 840px) {

	.block-about__image {
		max-width: var(--cwp-image);
		width: 100%;
		height: auto;
	}

	.block-about__image .wp-block-image img {
		position: absolute;
	}

	.block-about__content {
		padding: 30px;
	}

}

.block-area-sidebar .block-about__inner {
	flex-direction: column;
}

.block-area-sidebar .block-about .block-about__content {
	padding: 16px;
	margin: 16px;
}

.block-area-sidebar .block-about__image .wp-block-image img {
	position: relative;
}
