/**
 * Author Box Styles
 * 
 * @package Blog Content
 */

/* ========================================
   Author Widget for Sidebar
   ======================================== */

.author-box-widget {
	background: #fff;
	border-radius: 8px;
	padding: 0;
	margin-bottom: 30px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.author-box-widget .widget-title {
	margin: 0;
	padding: 20px;
	font-size: 1.25rem;
	font-weight: 700;
	border-bottom: 2px solid #f0f0f0;
}

.author-widget-content {
	padding: 25px 20px;
	text-align: center;
}

.author-widget-photo {
	margin-bottom: 20px;
}

.author-widget-photo img {
	width: 120px !important;
	height: 120px !important;
	border-radius: 50% !important;
	object-fit: cover !important;
	border: 4px solid #f0f0f0 !important;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
	margin: 0 auto !important;
	margin-left: auto !important;
	margin-right: auto !important;
	display: block !important;
	max-width: 120px !important;
	padding: 0 !important;
}

.author-widget-info {
	text-align: center;
}

.author-widget-name {
	margin: 0 0 8px 0;
	font-size: 1.35rem;
	font-weight: 700;
	color: #222;
}

.author-widget-role {
	margin: 0 0 15px 0;
	font-size: 0.9rem;
	color: #666;
	font-style: italic;
}

.author-widget-bio {
	margin: 15px 0;
	line-height: 1.6;
	color: #555;
	font-size: 0.95rem;
}

.author-widget-bio p {
	margin: 0;
}

.author-widget-social {
	display: flex;
	gap: 10px;
	justify-content: center;
	margin: 20px 0;
	flex-wrap: wrap;
}

.author-social-link-widget {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: #f0f0f0;
	color: #555 !important;
	transition: all 0.3s ease;
	text-decoration: none !important;
}

.author-social-link-widget:hover {
	background: #007bff;
	color: #fff !important;
	transform: translateY(-2px);
	box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
	text-decoration: none !important;
}

.author-social-link-widget svg,
.author-social-link-widget i {
	color: #555 !important;
	transition: all 0.3s ease;
}

.author-social-link-widget:hover svg,
.author-social-link-widget:hover i {
	color: #fff !important;
}

.author-widget-more {
	margin-top: 20px;
}

.author-widget-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 20px;
	background: #007bff !important;
	color: #fff !important;
	border-radius: 5px;
	text-decoration: none !important;
	font-weight: 600;
	font-size: 0.9rem;
	transition: all 0.3s ease;
}

.author-widget-link:hover {
	background: #3395ff !important;
	gap: 12px;
	color: #fff !important;
}

.author-widget-link i,
.author-widget-link svg {
	font-size: 0.85rem;
	color: #fff !important;
}

.author-widget-link:hover i,
.author-widget-link:hover svg {
	color: #fff !important;
}

/* ========================================
   Author Box Component
   ======================================== */

.author-box {
	background: #f9f9f9;
	border-radius: 8px;
	padding: 30px;
	margin: 40px 0;
	border-left: 4px solid #007bff;
}

.author-box-inner {
	display: flex;
	gap: 30px;
	align-items: flex-start;
}

.author-box-photo {
	flex-shrink: 0;
}

.author-box-photo img {
	width: 120px;
	height: 120px;
	border-radius: 50%;
	object-fit: cover;
	border: 3px solid #fff;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.author-box-content {
	flex: 1;
}

.author-box-header {
	margin-bottom: 15px;
}

.author-box-name {
	margin: 0 0 5px 0;
	font-size: 1.5rem;
	font-weight: 700;
	color: #333;
}

.author-box-role {
	margin: 0;
	font-size: 0.95rem;
	color: #666;
	font-style: italic;
}

.author-box-bio {
	margin: 15px 0;
	line-height: 1.7;
	color: #555;
}

.author-box-bio p {
	margin: 0;
}

.author-box-social {
	display: flex;
	gap: 12px;
	margin: 20px 0;
}

.author-social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: #fff;
	color: #555 !important;
	transition: all 0.3s ease;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	text-decoration: none !important;
}

.author-social-link:hover {
	background: #007bff;
	color: #fff !important;
	transform: translateY(-2px);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
	text-decoration: none !important;
}

.author-social-link svg,
.author-social-link i {
	color: #555 !important;
	transition: all 0.3s ease;
}

.author-social-link:hover svg,
.author-social-link:hover i {
	color: #fff !important;
}

.author-box-more {
	margin-top: 20px;
}

.author-more-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 20px;
	background: #007bff !important;
	color: #fff !important;
	border-radius: 5px;
	font-weight: 600;
	text-decoration: none !important;
	transition: all 0.3s ease;
}

.author-more-link:hover {
	background: #3395ff !important;
	gap: 12px;
	color: #fff !important;
}

.author-more-link i,
.author-more-link svg {
	color: #fff !important;
}

.author-more-link:hover i,
.author-more-link:hover svg {
	color: #fff !important;
}

/* Compact Version */
.author-box-compact .author-box-inner {
	gap: 20px;
	align-items: center;
}

.author-box-compact .author-box-photo img {
	width: 80px;
	height: 80px;
}

.author-box-compact .author-box-name {
	font-size: 1.25rem;
}

/* ========================================
   Author Page Styles
   ======================================== */

.author-page-main {
	margin-bottom: 40px;
	max-width: 100%;
}

/* Full width layout for author page (no sidebar) */
body.single-bc_author #primary {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

body.single-bc_author .site-main {
	width: 100%;
}

.author-page-header {
	display: flex;
	flex-direction: column;
	gap: 30px;
	align-items: center;
	padding: 50px 0;
	border-bottom: 2px solid #f0f0f0;
	margin-bottom: 40px;
	text-align: center;
}

.author-page-photo img {
	width: 200px;
	height: 200px;
	border-radius: 50%;
	object-fit: cover;
	border: 5px solid #fff;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.author-page-info {
	flex: 1;
}

.author-page-title {
	margin: 0 0 10px 0;
	font-size: 2.5rem;
	font-weight: 700;
	color: #222;
}

.author-page-role {
	margin: 0 0 20px 0;
	font-size: 1.25rem;
	color: #666;
	font-style: italic;
}

.author-page-social {
	display: flex;
	gap: 15px;
	margin-top: 25px;
}

.author-social-link-large {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: #007bff;
	color: #fff !important;
	font-size: 1.25rem;
	transition: all 0.3s ease;
	text-decoration: none !important;
}

.author-social-link-large:hover {
	background: #0056b3;
	color: #fff !important;
	transform: translateY(-3px);
	box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
	text-decoration: none !important;
}

.author-social-link-large svg,
.author-social-link-large i {
	color: #fff !important;
	transition: all 0.3s ease;
}

.author-social-link-large:hover svg,
.author-social-link-large:hover i {
	color: #fff !important;
}

.author-page-content {
	max-width: 800px;
	margin: 0 auto;
	text-align: center;
}

.author-page-bio,
.author-page-description {
	margin-bottom: 40px;
	text-align: left;
}

.author-page-contact {
	margin-bottom: 40px;
	text-align: center;
}

.author-page-content h2 {
	margin-bottom: 20px;
	font-size: 1.75rem;
	color: #333;
	border-bottom: 2px solid #007bff;
	padding-bottom: 10px;
	text-align: center;
}

.author-page-contact ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: inline-block;
	text-align: left;
}

.author-page-contact li {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 12px;
	font-size: 1.1rem;
}

.author-page-contact i {
	color: #007bff;
	width: 24px;
	text-align: center;
}

.author-page-contact a {
	color: #555;
	text-decoration: none;
	transition: color 0.3s ease;
}

.author-page-contact a:hover {
	color: #007bff;
}

.author-page-posts {
	margin-top: 60px;
	padding-top: 40px;
	border-top: 2px solid #f0f0f0;
	text-align: center;
}

.author-page-posts h2 {
	text-align: center;
}

.author-page-posts h2 {
	margin-bottom: 30px;
	font-size: 1.75rem;
	color: #333;
	border-bottom: 2px solid #007bff;
	padding-bottom: 10px;
}

.author-posts-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 30px;
	margin-top: 30px;
}

.author-post-item {
	background: #fff;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.author-post-item:hover {
	transform: translateY(-4px);
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.author-post-thumbnail img {
	width: 100%;
	height: 200px;
	object-fit: cover;
	display: block;
}

.author-post-content {
	padding: 20px;
}

.author-post-title {
	margin: 10px 0;
	font-size: 1.1rem;
	line-height: 1.4;
}

.author-post-title a {
	color: #333;
	text-decoration: none;
	transition: color 0.3s ease;
}

.author-post-title a:hover {
	color: #007bff;
}

.author-post-meta {
	font-size: 0.9rem;
	color: #999;
}

/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 768px) {
	.author-box-inner {
		flex-direction: column;
		gap: 20px;
	}

	.author-box-photo {
		width: 100%;
		text-align: center;
	}

	.author-page-photo img {
		width: 150px;
		height: 150px;
	}

	.author-page-title {
		font-size: 2rem;
	}

	.author-page-social {
		justify-content: center;
	}

	.author-posts-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 480px) {
	.author-box {
		padding: 20px;
	}

	.author-box-photo img {
		width: 100px;
		height: 100px;
	}

	.author-box-name {
		font-size: 1.25rem;
	}

	.author-page-title {
		font-size: 1.75rem;
	}

	.author-page-role {
		font-size: 1rem;
	}

	.author-social-link-large {
		width: 40px;
		height: 40px;
		font-size: 1rem;
	}
}

