/* Sidebar Bio block
   Arched square photo on the linen (a true semicircle: the radius is half the width), the name tag
   on the photo (bottom left, brass edge), then a dark panel with two lines of mist text and a brass
   button. A 1px brass line runs 7px outside the whole shape: around the arch and the panel.
--------------------------------------------- */

.block-sidebar-bio {
	padding: 7px; /* room for the brass line outside the shape */
	font-family: var(--wp--preset--font-family--secondary);
	color: var(--wp--custom--color--mist);
}
.block-sidebar-bio__image {
	position: relative;
	line-height: 0;
}
/* The brass line: an arch piece on the photo and a box piece on the panel, meeting at the seam */
.block-sidebar-bio__image::before,
.block-sidebar-bio__content::before {
	content: "";
	position: absolute;
	inset: -7px;
	border: 1px solid var(--wp--preset--color--quaternary);
	pointer-events: none;
}
.block-sidebar-bio__image::before {
	border-bottom: 0;
	border-radius: 50% 50% 0 0 / 50% 50% 0 0;
}
.block-sidebar-bio__content::before {
	top: 0;
	border-top: 0;
	border-radius: 0 0 var(--wp--custom--border-radius--small) var(--wp--custom--border-radius--small);
}
.block-sidebar-bio__image img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	object-position: 50% 20%;
	margin: 0;
	border: 0;
	border-radius: 50% 50% 0 0 / 50% 50% 0 0;
}
/* Name tag: the opt-in photo tag's shape, a size up */
.block-sidebar-bio__tag {
	position: absolute;
	left: 0;
	bottom: 18px;
	padding: 9px 14px;
	border-left: 3px solid var(--wp--preset--color--quaternary);
	border-radius: 0 var(--wp--custom--border-radius--small) var(--wp--custom--border-radius--small) 0;
	background: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--background);
	font-family: var(--wp--preset--font-family--heading);
	font-variation-settings: "SOFT" 100, "WONK" 1;
	font-optical-sizing: auto;
	font-size: 1.125rem;
	font-weight: 700;
	letter-spacing: 0;
	line-height: 1;
	white-space: nowrap;
}
.block-sidebar-bio__tag--text {
	position: static;
	display: inline-block;
	margin: 20px 0 0 20px;
}
.block-sidebar-bio__content {
	position: relative;
	padding: 18px 22px 22px;
	background: var(--wp--preset--color--primary);
	border-radius: 0 0 var(--wp--custom--border-radius--small) var(--wp--custom--border-radius--small);
}
.block-sidebar-bio .block-sidebar-bio__text {
	margin: 0;
	font-size: 0.9375rem;
	line-height: 1.35;
	color: var(--wp--custom--color--mist);
}
.block-sidebar-bio .block-sidebar-bio__button {
	display: inline-block;
	margin-top: 16px;
	--wp--custom--color--button-bg: var(--wp--preset--color--quaternary);
	--wp--custom--color--button-bg-state: var(--wp--preset--color--secondary);
	--wp--custom--color--button-text: var(--wp--preset--color--primary);
	--wp--custom--color--button-text-state: var(--wp--preset--color--primary);
	--wp--custom--color--button-border: transparent;
	--wp--custom--color--button-border-state: transparent;
}
