/* ==========================================================
   Shared: social icon row
   ========================================================== */

.aeh-social-icons {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 14px 0;
}

.aeh-social-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	text-decoration: none;
	transition: transform 0.15s ease, opacity 0.15s ease;
}

.aeh-social-icon:hover {
	transform: translateY(-2px);
	opacity: 0.85;
}

.aeh-social-icon i {
	font-size: 16px;
}

/* ==========================================================
   Author Box (in-post, after content, before related posts)
   Dark navy, matching the site's existing feature-card style.
   ========================================================== */

.aeh-author-box {
	background: #1a2332;
	color: #ffffff;
	border-radius: 8px;
	padding: 28px 30px;
	margin: 36px 0;
}

.aeh-author-box-header {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 14px;
}

.aeh-author-box-avatar {
	border-radius: 50%;
	width: 64px;
	height: 64px;
}

.aeh-author-box-name {
	font-size: 2.0rem;
	font-weight: 700;
	color: #ffffff;
}

.aeh-author-box-blurb {
	font-size: 1rem;
	line-height: 1.6;
	color: #e3e6eb;
	margin: 0 0 6px 0;
}

.aeh-author-box .aeh-social-icon {
	background: rgba(255, 255, 255, 0.12);
	color: #ffffff;
}

.aeh-author-box .aeh-social-icon:hover {
	background: #ff6b35;
}

.aeh-author-box-button {
	display: inline-block;
	margin-top: 8px;
	padding: 12px 22px;
	background: #ffffff;
	color: #1a2332;
	font-weight: 700;
	border-radius: 4px;
	text-decoration: none;
}

.aeh-author-box-button:hover {
	background: #ff6b35;
	color: #ffffff;
}

/* ==========================================================
   Author Profile page header (above the post archive)
   Light neutral card, per the provided mockup.
   ========================================================== */

.aeh-author-profile-header {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	/* Force full-row width regardless of whether the parent archive
	   container is CSS Grid or Flexbox, so this stands on its own
	   row instead of being sized like a post card. */
	grid-column: 1 / -1 !important;
	flex: 0 0 100% !important;
	background: #f5f5f5;
	border-radius: 8px;
	padding: 32px 34px;
	margin: 0 0 32px 0;
	box-sizing: border-box;
}

.aeh-author-profile-top {
	display: flex;
	align-items: center;
	gap: 20px;
	margin-bottom: 18px;
}

.aeh-profile-avatar {
	border-radius: 50%;
	width: 50px;
	height: 50px;
	flex-shrink: 0;
}

.aeh-author-profile-name {
	margin: 0;
	font-size: 2rem;
	font-weight: 700;
	color: #1a2332;
}

.aeh-author-profile-bio {
	font-family: "Open Sans", sans-serif;
	font-size: 16px;
	line-height: 1.7;
	color: #333333;
	max-width: 70ch;
}

.aeh-author-profile-bio p {
	margin: 0 0 1em 0;
}

.aeh-author-profile-bio p:last-child {
	margin-bottom: 0;
}

.aeh-author-profile-bio a {
	color: #1a2332;
	text-decoration: underline;
}

.aeh-profile-social-icons .aeh-social-icon {
	background: #1a2332;
	color: #ffffff;
}

.aeh-profile-social-icons .aeh-social-icon:hover {
	background: #ff6b35;
}

.aeh-author-profile-latest-heading {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	grid-column: 1 / -1 !important;
	flex: 0 0 100% !important;
	font-size: 2.6rem;
	font-weight: 700;
	color: #1a2332;
	margin: 0 0 24px 0;
}
