.block-about {
	--cwp-image: 344px;
	min-height: var(--cwp-image);
	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;
	max-width: 960px;
	margin-inline: auto;
}

.block-about__content {
	flex-basis: 0;
	flex-grow: 1;
	padding: var(--wp--custom--layout--block-gap);
}

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

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

	.block-about .block-about__content {
		text-align: center;
	}

	.block-about__content .wp-block-buttons,
	.block-about__content .social-links {
		justify-content: center;
	}

}

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

	.block-about__image {
		align-self: stretch;
		width: var(--cwp-image);
		height: auto;
	}

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

	.block-about__image > figure:not(.is-selected) > .components-resizable-box__container {
		height: 100% !important;
	}

	.block-area-sidebar .block-about__image figure {
		height: auto;
	}

	.block-area-sidebar .block-about__image > figure:not(.is-selected) > .components-resizable-box__container {
		height: auto !important;
	}

	.block-about__content {
		padding: var(--wp--custom--layout--block-gap-large);
	}

}

@media only screen and (min-width: 960px) {
	.full-width-content .block-about {
		--cwp-image: 440px;
	}	

	.full-width-content .block-about .block-about__content {
		padding: 80px 0 80px 80px;
	}
}

.block-area-sidebar .block-about .block-about__inner {
	display: block;
}

.block-area-sidebar .block-about.has-background,
.block-area-sidebar .editor-styles-wrapper .has-background[data-type="cwp/about"] {
	padding: 0;
}

.block-area-sidebar .block-about .block-about__content {
	padding: 16px;
	text-align: center;
}

.block-area-sidebar .block-about__image {
	position: relative;
	width: 100%;
}

.block-area-sidebar .block-about__content .wp-block-buttons,
.block-area-sidebar .block-about__content .social-links {
	justify-content: center;
}
