.block-author-box {
	--cwp-image: 244px;
	min-height: var(--cwp-image);
	position: relative;
	align-items: center;
}

.block-author-box,
.block-author-box.has-background,
.editor-styles-wrapper .block-author-box.has-background {
	padding: 40px;
}

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

.block-author-box .block-author-box__image {
	position: relative;
	padding-left: 23px;
}

.block-author-box .block-author-box__image svg {
	position: absolute;
	border-radius: 50%;
	background-color: var(--wp--preset--color--background);
	fill: var(--wp--custom--color--secondary-alt);
	box-shadow: inset 0 0 0 1px var(--wp--custom--color--secondary-alt);
	bottom: -30px;
	left: 0;
}

.block-author-box .block-author-box__inner,
.editor-styles-wrapper .block-author-box .block-author-box__inner {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: space-between;
	gap: 0;
}

.block-author-box__image img {
	width: 100%;
	border-radius: 50%;
}

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

.block-author-box .block-author-box__content > * {
	margin-top: 0;
	margin-bottom: 0;
}

.block-author-box .block-author-box__content > * + * {
	margin-top: 24px;
}

.block-author-box__title {
	font-family: var(--wp--custom--typography--heading--font-family);
	letter-spacing: var(--wp--custom--letter-spacing--looser);
	text-transform: var(--wp--custom--typography--heading--text-transform);
	font-weight: 500;
	line-height: var(--wp--custom--line-height--small);
	font-size: var(--wp--preset--font-size--huge);
	color: var(--cwp-color, var(--wp--preset--color--foreground));
	margin-top: 1rem;
	margin-bottom: 1rem;
}

.block-author-box .block-author-box__title + * {
	margin-top: 12px;
}

.block-author-box .block-author-box__link {
	text-transform: capitalize;
	display: inline-block;
}

.editor-styles-wrapper .block-author-box a {
	pointer-events: none;
}

.block-author-box .social-links {
	flex-wrap: wrap;
}

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

	.block-author-box .block-author-box__inner,
	.editor-styles-wrapper .block-author-box .block-author-box__inner {
		display: block;
	}

	.block-author-box .block-author-box__image {
		padding-left: 44px;
		max-width: fit-content;
		margin: 0 auto;
	}

	.block-author-box .block-author-box__image svg {
		bottom: auto;
		top: 14px;
	}

	.block-author-box__content {
		text-align: center;
		padding-top: 32px;
	}

	.block-author-box .social-links {
		justify-content: center;
	}

}

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

	.block-author-box__image {
		align-self: flex-start;
		width: var(--cwp-image);
		height: auto;
	}

	.block-author-box,
	.block-author-box.has-background,
	.editor-styles-wrapper .block-author-box.has-background {
		/*padding-left: 56px;*/
		/*padding: var(--wp--custom--layout--block-gap-large);*/
	}

	.block-author-box .block-author-box__inner,
	.editor-styles-wrapper .block-author-box .block-author-box__inner {
		/*gap: var(--wp--custom--layout--block-gap-large);*/
		gap: 30px;
	}

	.block-author-box__image figure,
	.block-author-box__image img,
	.editor-styles-wrapper .block-author-box__image img {
		width: 100%;
		height: 100%;
		object-fit: cover;
	}

	.block-author-box__content {
		padding: 0;
	}


}

.block-area-sidebar .block-author-box .block-author-box__inner {
	display: block;
}

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

.block-area-sidebar .block-author-box .block-author-box__content {
	padding: 16px;
}

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

@media only screen and (max-width: 767px) {
	.block-author-box {
		display: none;
	}
}