/**
 * Author box + author page.
 *
 * Self-contained: single posts render with Kadence's own layout and never load
 * the theme design system, so nothing here may depend on its custom properties.
 */

.eva-box {
	display: grid;
	grid-template-columns: 88px 1fr;
	gap: 20px;
	align-items: start;
	margin: 40px 0 8px;
	padding: 22px 24px;
	background: #f7f9fc;
	border: 1px solid #e5eaf1;
	border-radius: 16px;
}

.eva-box__photo {
	display: block;
	width: 88px;
	height: 88px;
	overflow: hidden;
	border-radius: 50%;
	background: #e9eef5;
}
.eva-box__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.eva-box__body { min-width: 0; }

.eva-box__eyebrow {
	margin: 0 0 4px;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #6b7a8c;
}

.eva-box__name {
	margin: 0 0 2px;
	font-size: 1.18rem;
	line-height: 1.3;
	font-weight: 700;
}
.eva-box__name a {
	color: #0b1b2b;
	text-decoration: none;
}
.eva-box__name a:hover { color: #1f6feb; }

.eva-box__title {
	margin: 0 0 10px;
	font-size: 0.9rem;
	font-weight: 600;
	color: #1f6feb;
}

.eva-box__bio {
	margin: 0 0 12px;
	font-size: 0.95rem;
	line-height: 1.6;
	color: #3a4a5c;
}

.eva-box__stats {
	margin: 0 0 10px;
	font-size: 0.88rem;
	color: #6b7a8c;
}
.eva-box__stats strong { color: #0b1b2b; }
.eva-box__dot { margin: 0 8px; }

.eva-box__more {
	font-size: 0.9rem;
	font-weight: 600;
	color: #1f6feb;
	text-decoration: none;
}
.eva-box__more:hover { text-decoration: underline; }

@media (max-width: 560px) {
	.eva-box {
		grid-template-columns: 64px 1fr;
		gap: 14px;
		padding: 18px;
	}
	.eva-box__photo { width: 64px; height: 64px; }
}

/* ============ Author page header ============ */

.eva-hero {
	display: grid;
	grid-template-columns: 132px 1fr;
	gap: 26px;
	align-items: center;
}
.eva-hero__photo {
	width: 132px;
	height: 132px;
	overflow: hidden;
	border-radius: 50%;
	background: #e9eef5;
	box-shadow: 0 10px 30px rgba(11, 27, 43, 0.10);
}
.eva-hero__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.eva-hero__title {
	margin: 6px 0 6px;
	font-size: clamp(1.6rem, 3vw, 2.3rem);
	line-height: 1.15;
	letter-spacing: -0.02em;
	color: #0b1b2b;
}
.eva-hero__role {
	margin: 0 0 12px;
	font-size: 1rem;
	font-weight: 600;
	color: #1f6feb;
}
.eva-hero__bio {
	margin: 0 0 16px;
	max-width: 620px;
	font-size: 1rem;
	line-height: 1.65;
	color: #3a4a5c;
}
.eva-hero__stats {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}
.eva-stat {
	display: inline-flex;
	align-items: baseline;
	gap: 6px;
	padding: 7px 14px;
	background: #ffffff;
	border: 1px solid #e5eaf1;
	border-radius: 100px;
	font-size: 0.88rem;
	color: #6b7a8c;
}
.eva-stat strong {
	font-size: 1rem;
	color: #0b1b2b;
}
.eva-hero__link {
	display: inline-block;
	margin-top: 12px;
	font-size: 0.9rem;
	font-weight: 600;
	color: #1f6feb;
	text-decoration: none;
}
.eva-hero__link:hover { text-decoration: underline; }

@media (max-width: 640px) {
	.eva-hero {
		grid-template-columns: 1fr;
		gap: 16px;
		text-align: left;
	}
	.eva-hero__photo { width: 96px; height: 96px; }
}
