.block-about {
	--cwp-image: 300px;
	position: relative;
	align-items: center;
	border-top: var(--wp--custom--border-width--small) solid var(--wp--preset--color--foreground);
	border-bottom: var(--wp--custom--border-width--small) solid var(--wp--preset--color--foreground);
	padding-block-start: 20px;
	padding-block-end: 20px;
}

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

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

.block-about__title,
.block-about__subtitle {
	font-weight: 900;
	line-height: var(--wp--custom--line-height--small);
}

.block-about .block-about__subtitle,
.editor-styles-wrapper .block-about .block-about__subtitle {
	text-transform: var(--wp--custom--typography--interface--text-transform);
	letter-spacing: var(--wp--custom--typography--interface--letter-spacing);
}

.block-about .block-about__subtitle + .block-about__title,
.editor-styles-wrapper .block-about .block-about__subtitle + .block-about__title {
	margin-block-start: 0;
}

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

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

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

}

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

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

	.full-width-content .block-about {
		--cwp-image: 500px;
	}

	.block-about .block-about__inner,
	.editor-styles-wrapper .block-about .block-about__inner {
		gap: var(--wp--custom--layout--block-gap-large);
	}

	.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-about__content {
		padding: var(--wp--custom--layout--block-gap-large) 0;
	}


}

.block-area-sidebar .block-about:first-child {
	border-top: 0;
	padding-top: 0;
}

.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: 24px 0;
}

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