/* KD Author Box — palette and type taken from the site Elementor kit (post-5.css). */

.kd-authorbox {
	--kd-ab-accent: #010ED0;
	--kd-ab-ink: #0A0D31;
	--kd-ab-muted: #5F6567;
	--kd-ab-tint: #DEE0FF;
	--kd-ab-surface: #F7F8FC;

	display: flex;
	gap: 26px;
	align-items: flex-start;
	clear: both;
	box-sizing: border-box;
	margin: 48px 0 8px;
	padding: 28px 30px;
	background: var(--kd-ab-surface);
	border: 1px solid var(--kd-ab-tint);
	border-radius: 14px;
	font-family: "Inter Tight", "Inter", Helvetica, Arial, sans-serif;
}

.kd-authorbox *,
.kd-authorbox *::before,
.kd-authorbox *::after {
	box-sizing: border-box;
}

.kd-authorbox__media {
	flex: none;
	line-height: 0;
}

.kd-authorbox__img,
.kd-authorbox .kd-authorbox__img {
	width: 88px;
	height: 88px;
	max-width: 88px;
	border-radius: 50%;
	background: #FFFFFF;
	border: 1px solid var(--kd-ab-tint);
	padding: 9px;
	object-fit: contain;
	display: block;
	margin: 0;
}

.kd-authorbox__body {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.kd-authorbox p {
	margin: 0;
}

.kd-authorbox__eyebrow {
	font-size: 11px;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--kd-ab-accent);
}

.kd-authorbox__name {
	font-size: 21px;
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: -0.01em;
	color: var(--kd-ab-ink);
}

.kd-authorbox__role {
	font-size: 13.5px;
	font-weight: 500;
	line-height: 1.45;
	color: var(--kd-ab-muted);
}

.kd-authorbox__bio {
	margin-top: 8px;
	font-size: 15px;
	line-height: 1.65;
	color: var(--kd-ab-muted);
	max-width: 68ch;
}

.kd-authorbox__bio p {
	margin: 0 0 11px;
}

.kd-authorbox__bio p:last-child {
	margin-bottom: 0;
}

.kd-authorbox__bio a {
	color: var(--kd-ab-accent);
	text-decoration: underline;
	text-underline-offset: 2px;
}

@media (max-width: 640px) {
	.kd-authorbox {
		flex-direction: column;
		gap: 18px;
		padding: 24px 22px;
		margin-top: 36px;
	}

	.kd-authorbox__img,
	.kd-authorbox .kd-authorbox__img {
		width: 72px;
		height: 72px;
		max-width: 72px;
		padding: 7px;
	}

	.kd-authorbox__name {
		font-size: 19px;
	}
}
