.block-tools {
	--cwp-image: 160px;
}

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

.block-tools__image .wp-block-image {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.block-tools__content {
	flex-grow: 1;
	flex-basis: 0;
}

.block-tools__content a {
	text-decoration: none;
}

.block-tools .block-tools__inner {
	column-gap: 32px;
	row-gap: 16px;
	padding: var(--wp--custom--layout--block-gap);
	border: 2px solid var(--wp--preset--color--background);
}

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

@media only screen and (max-width: 760px) {
	.block-tools__inner {
		flex-direction: column;
	}

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

	.block-tools .block-tools__image {
		width: 100%;
	}

	.block-tools .block-tools__image img,
	.editor-styles-wrapper .block-tools .block-tools__image img {
		margin: 0 auto;
		width: var(--cwp-image);
	}
}

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

.block-area-sidebar .block-tools__inner > * {
	align-self: stretch;
}
