/* ============================================================
   Author Box Pro – Author Bio Page Styles
   ============================================================ */

/* ---------- Layout Wrapper ---------- */
.abp-bio-page-wrap {
	max-width: 860px;
	margin: 60px auto;
	padding: 0 24px 60px;
	font-family: inherit;
	color: inherit;
}

/* ---------- Hero ---------- */
.abp-bio-hero {
	display: flex;
	align-items: flex-start;
	gap: 32px;
	margin-bottom: 48px;
	padding: 36px 40px;
	background: #f9f9f9;
	border-radius: 12px;
	border: 1px solid #e8e8e8;
}

@media ( max-width: 600px ) {
	.abp-bio-hero {
		flex-direction: column;
		align-items: center;
		text-align: center;
		padding: 28px 20px;
	}
}

/* ---------- Avatar ---------- */
.abp-bio-avatar img {
	width: 120px;
	height: 120px;
	border-radius: 50%;
	object-fit: cover;
	flex-shrink: 0;
	border: 3px solid #e0e0e0;
	display: block;
}

/* ---------- Identity ---------- */
.abp-bio-identity {
	display: flex;
	flex-direction: column;
	gap: 6px;
	flex: 1;
}

.abp-bio-name {
	font-size: 2em;
	font-weight: 700;
	margin: 0 0 4px;
	line-height: 1.2;
}

.abp-bio-subtitle {
	font-size: 1.05em;
	color: #666;
	margin: 0;
	font-style: italic;
}

.abp-bio-org {
	margin: 4px 0 0;
	font-size: 0.95em;
}

.abp-bio-org a {
	font-weight: 600;
	text-decoration: none;
}

.abp-bio-org a:hover {
	text-decoration: underline;
}

/* ---------- Social Links ---------- */
.abp-bio-social {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 14px;
}

@media ( max-width: 600px ) {
	.abp-bio-social {
		justify-content: center;
	}
}

.abp-social-link {
	display: inline-flex;
	align-items: center;
	padding: 6px 14px;
	border-radius: 20px;
	font-size: 0.82em;
	font-weight: 600;
	text-decoration: none;
	border: 1px solid #ccc;
	color: #333;
	background: #fff;
	transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.abp-social-link:hover {
	background: #333;
	color: #fff;
	border-color: #333;
}

/* Platform-specific colours */
.abp-social-facebook { border-color: #1877f2; color: #1877f2; }
.abp-social-facebook:hover { background: #1877f2; color: #fff; }
.abp-social-twitter { border-color: #1da1f2; color: #1da1f2; }
.abp-social-twitter:hover { background: #1da1f2; color: #fff; }
.abp-social-linkedin { border-color: #0a66c2; color: #0a66c2; }
.abp-social-linkedin:hover { background: #0a66c2; color: #fff; }
.abp-social-googleplus { border-color: #ea4335; color: #ea4335; }
.abp-social-googleplus:hover { background: #ea4335; color: #fff; }
.abp-social-pinterest { border-color: #E60023; color: #E60023; }
.abp-social-pinterest:hover { background: #E60023; color: #fff; }
.abp-social-youtube { border-color: #FF0000; color: #FF0000; }
.abp-social-youtube:hover { background: #FF0000; color: #fff; }
.abp-social-reddit { border-color: #FF4500; color: #FF4500; }
.abp-social-reddit:hover { background: #FF4500; color: #fff; }

/* ---------- Bio / Intro ---------- */
.abp-bio-intro {
	font-size: 1em;
	line-height: 1.8;
	margin-bottom: 40px;
}

.abp-bio-intro p:first-child {
	margin-top: 0;
}

/* ---------- Section Headings ---------- */
.abp-bio-page-wrap h2 {
	font-size: 1.25em;
	font-weight: 700;
	margin: 0 0 16px;
	padding-bottom: 8px;
	border-bottom: 2px solid #ebebeb;
}

/* ---------- Expertise Tags ---------- */
.abp-bio-expertise {
	margin-bottom: 40px;
}

.abp-expertise-tags {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.abp-expertise-tags li {
	background: #f0f4ff;
	color: #2c4db5;
	border: 1px solid #c8d6fa;
	border-radius: 20px;
	padding: 5px 14px;
	font-size: 0.88em;
	font-weight: 600;
}

/* ---------- Timeline ---------- */
.abp-bio-timeline {
	margin-bottom: 40px;
}

.abp-timeline-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.abp-timeline-list li {
	display: flex;
	gap: 16px;
	align-items: baseline;
	padding: 14px 18px;
	background: #fafafa;
	border-left: 4px solid #2c4db5;
	border-radius: 0 8px 8px 0;
}

.abp-timeline-year {
	font-weight: 700;
	font-size: 0.95em;
	color: #2c4db5;
	white-space: nowrap;
	min-width: 50px;
}

.abp-timeline-desc {
	font-size: 0.95em;
	line-height: 1.5;
	color: #444;
}

/* ---------- Recent Posts ---------- */
.abp-bio-posts {
	margin-bottom: 40px;
}

.abp-post-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.abp-post-list li {
	padding: 10px 16px;
	background: #fafafa;
	border-radius: 8px;
	border: 1px solid #ebebeb;
	transition: background 0.15s;
}

.abp-post-list li:hover {
	background: #f0f4ff;
}

.abp-post-list a {
	font-size: 0.95em;
	font-weight: 500;
	text-decoration: none;
	color: inherit;
}

.abp-post-list a:hover {
	text-decoration: underline;
}

/* ---------- FAQ ---------- */
.abp-bio-faq {
	margin-bottom: 40px;
}

.abp-faq-item {
	margin-bottom: 20px;
	padding: 18px 22px;
	background: #f9f9f9;
	border: 1px solid #e8e8e8;
	border-radius: 10px;
}

.abp-faq-item h3 {
	font-size: 1em;
	font-weight: 700;
	margin: 0 0 10px;
}

.abp-faq-item p {
	font-size: 0.95em;
	line-height: 1.7;
	color: #555;
	margin: 0;
}

/* ---------- Works For ---------- */
.author-works-for {
	margin: 8px 0;
	font-size: 0.9em;
	color: #555;
}

/* ---------- Citations ---------- */
.abp-bio-citations {
	margin-bottom: 40px;
}

.abp-citations-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.abp-citations-list li {
	margin: 0;
}

.abp-citations-list a {
	display: block;
	padding: 12px 16px;
	background: #fafafa;
	border-radius: 8px;
	border: 1px solid #ebebeb;
	font-size: 0.95em;
	font-weight: 500;
	text-decoration: none;
	color: #2c4db5;
	transition: background 0.15s, border-color 0.15s;
}

.abp-citations-list a:hover {
	background: #f0f4ff;
	border-color: #c8d6fa;
}

