.btp-author-box,
.btp-author-box *,
.btp-author-box *::before,
.btp-author-box *::after {
	box-sizing: border-box;
}

.btp-author-box {
	--btp-author-rose: var(--btp-accent, #d85070);
	--btp-author-rose-dark: var(--btp-accent-dark, #973c57);
	--btp-author-rose-soft: var(--btp-accent-soft, #fff2f5);
	--btp-author-green: #4f745f;
	--btp-author-green-dark: #315442;
	--btp-author-text: #3f3537;
	--btp-author-muted: #74666a;

	position: relative;
	width: 100%;
	max-width: 100%;
	margin: 38px 0 30px;
	padding: 0;
	font-family: inherit;
	color: var(--btp-author-text);
	isolation: isolate;
}

.btp-author-box__card {
	position: relative;
	overflow: hidden;
	display: grid;
	grid-template-columns: 112px minmax(0, 1fr);
	gap: 24px;
	width: 100%;
	margin: 0;
	padding: 28px 30px;
	border: 1px solid color-mix(in srgb, var(--btp-author-rose) 22%, transparent);
	border-radius: 22px;
	background:
		radial-gradient(circle at 3% 15%, color-mix(in srgb, var(--btp-author-rose) 11%, transparent) 0, transparent 30%),
		radial-gradient(circle at 95% 92%, rgba(79, 116, 95, 0.11) 0, rgba(79, 116, 95, 0) 31%),
		linear-gradient(135deg, #fffdfb 0%, var(--btp-author-rose-soft) 53%, #f5faf6 100%);
	box-shadow:
		0 13px 32px rgba(84, 55, 64, 0.07),
		0 2px 6px rgba(84, 55, 64, 0.04);
	transition:
		transform 350ms ease,
		box-shadow 350ms ease;
}

.btp-author-box__card::before {
	content: "";
	position: absolute;
	z-index: 2;
	top: 18px;
	bottom: 18px;
	left: 0;
	width: 4px;
	border-radius: 0 4px 4px 0;
	background: linear-gradient(
		to bottom,
		var(--btp-author-rose),
		color-mix(in srgb, var(--btp-author-rose) 62%, #ffffff) 52%,
		var(--btp-author-green)
	);
}

.btp-author-box__card::after {
	content: "";
	position: absolute;
	z-index: -1;
	width: 170px;
	height: 170px;
	right: -82px;
	top: -90px;
	border: 1px solid color-mix(in srgb, var(--btp-author-rose) 14%, transparent);
	border-radius: 50%;
}

.btp-author-box__portrait-wrap {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: flex-start;
	padding-top: 4px;
}

.btp-author-box__portrait {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 94px;
	height: 94px;
	margin: 0;
	border: 5px solid rgba(255, 255, 255, 0.82);
	border-radius: 50%;
	background:
		radial-gradient(circle at 35% 30%, #fff9fa 0, var(--btp-author-rose-soft) 38%, #e7eee7 100%);
	box-shadow:
		0 7px 20px rgba(112, 60, 74, 0.12),
		0 0 0 1px color-mix(in srgb, var(--btp-author-rose) 16%, transparent);
	color: var(--btp-author-rose-dark);
}

.btp-author-box__initial {
	position: relative;
	z-index: 3;
	margin: 0;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 39px;
	font-weight: 400;
	line-height: 1;
	color: var(--btp-author-rose-dark);
}

.btp-author-box__leaf {
	position: absolute;
	z-index: 2;
	width: 15px;
	height: 9px;
	border-radius: 100% 0 100% 0;
	background: var(--btp-author-green);
	opacity: 0.78;
	transform-origin: 50% 50%;
}

.btp-author-box__leaf--1 {
	top: 3px;
	right: 8px;
	transform: rotate(23deg);
}

.btp-author-box__leaf--2 {
	bottom: 11px;
	left: 3px;
	transform: rotate(-34deg);
}

.btp-author-box__leaf--3 {
	right: -1px;
	bottom: 23px;
	width: 11px;
	height: 7px;
	background: #7c9a86;
	transform: rotate(58deg);
}

.btp-author-box__content {
	position: relative;
	z-index: 3;
	min-width: 0;
	margin: 0;
	padding: 0;
}

.btp-author-box__eyebrow {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 4px !important;
	padding: 0 !important;
	font-size: 11px !important;
	font-weight: 700 !important;
	line-height: 1.4 !important;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--btp-author-green-dark) !important;
}

.btp-author-box__eyebrow::before {
	content: "";
	display: block;
	width: 17px;
	height: 1px;
	background: var(--btp-author-rose);
}

.btp-author-box__name {
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	font-family: Georgia, "Times New Roman", serif !important;
	font-size: clamp(27px, 4vw, 34px) !important;
	font-weight: 400 !important;
	line-height: 1.1 !important;
	color: var(--btp-author-rose-dark) !important;
}

.btp-author-box__name::after {
	content: none !important;
	display: none !important;
}

.btp-author-box__role {
	margin: 5px 0 15px !important;
	padding: 0 !important;
	font-size: 13px !important;
	font-weight: 600 !important;
	line-height: 1.5 !important;
	letter-spacing: 0.015em;
	color: var(--btp-author-rose-dark) !important;
}

.btp-author-box__bio {
	margin: 0 !important;
	padding: 0 !important;
	font-size: 15px !important;
	font-weight: 400 !important;
	line-height: 1.72 !important;
	color: var(--btp-author-text) !important;
}

.btp-author-box__bio + .btp-author-box__bio {
	margin-top: 11px !important;
}

.btp-author-box__profile {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	list-style: none !important;
	margin: 18px 0 0 !important;
	padding: 0 !important;
}

.btp-author-box__profile li {
	list-style: none !important;
	margin: 0 !important;
	padding: 6px 10px !important;
	border: 1px solid rgba(79, 116, 95, 0.18);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.64);
	font-size: 11px !important;
	font-weight: 650 !important;
	line-height: 1.25 !important;
	color: var(--btp-author-green-dark) !important;
	box-shadow: none !important;
}

.btp-author-box__profile li:nth-child(2n) {
	border-color: color-mix(in srgb, var(--btp-author-rose) 18%, transparent);
	color: var(--btp-author-rose-dark) !important;
}

.btp-author-box__signature {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin-top: 17px;
	padding-top: 13px;
	border-top: 1px solid rgba(112, 85, 91, 0.11);
	font-size: 11px;
	font-weight: 600;
	line-height: 1.45;
	color: var(--btp-author-muted);
}

.btp-author-box__signature-flower {
	color: var(--btp-author-rose);
	font-size: 14px;
	line-height: 1;
}

.btp-author-box__card.btp-author-box--ready {
	opacity: 0;
	transform: translateY(8px);
}

.btp-author-box__card.btp-author-box--visible {
	opacity: 1;
	transform: translateY(0);
	transition:
		opacity 650ms ease,
		transform 650ms cubic-bezier(.22, .8, .3, 1),
		box-shadow 350ms ease;
}

.btp-author-box--visible .btp-author-box__leaf--1 {
	animation: btpAuthorLeafOne 3s ease-in-out infinite;
}

.btp-author-box--visible .btp-author-box__leaf--2 {
	animation: btpAuthorLeafTwo 3s ease-in-out infinite;
}

.btp-author-box--visible .btp-author-box__leaf--3 {
	animation: btpAuthorLeafThree 3s ease-in-out infinite;
}

@keyframes btpAuthorLeafOne {
	0%,
	100% {
		transform: rotate(23deg);
	}

	50% {
		transform: rotate(29deg);
	}
}

@keyframes btpAuthorLeafTwo {
	0%,
	100% {
		transform: rotate(-34deg);
	}

	50% {
		transform: rotate(-28deg);
	}
}

@keyframes btpAuthorLeafThree {
	0%,
	100% {
		transform: rotate(58deg);
	}

	50% {
		transform: rotate(64deg);
	}
}

@media (hover: hover) and (pointer: fine) {
	.btp-author-box__card:hover {
		transform: translateY(-2px);
		box-shadow:
			0 16px 37px rgba(84, 55, 64, 0.09),
			0 2px 7px rgba(84, 55, 64, 0.05);
	}

	.btp-author-box__card.btp-author-box--visible:hover {
		transform: translateY(-2px);
	}
}

@media (max-width: 620px) {
	.btp-author-box {
		margin-top: 30px;
		margin-bottom: 26px;
	}

	.btp-author-box__card {
		grid-template-columns: 82px minmax(0, 1fr);
		gap: 17px;
		padding: 23px 20px 22px;
		border-radius: 19px;
	}

	.btp-author-box__portrait {
		width: 74px;
		height: 74px;
		border-width: 4px;
	}

	.btp-author-box__initial {
		font-size: 31px;
	}

	.btp-author-box__bio {
		font-size: 14px !important;
		line-height: 1.68 !important;
	}
}

@media (max-width: 440px) {
	.btp-author-box__card {
		display: block;
		padding: 24px 20px;
	}

	.btp-author-box__portrait-wrap {
		justify-content: flex-start;
		margin-bottom: 15px;
	}

	.btp-author-box__portrait {
		width: 70px;
		height: 70px;
	}

	.btp-author-box__name {
		font-size: 28px !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	.btp-author-box__card,
	.btp-author-box__leaf {
		animation: none !important;
		transition: none !important;
		transform: none !important;
	}

	.btp-author-box__card.btp-author-box--ready {
		opacity: 1;
	}
}
