/**
 * Author Pages Styles for Author Box & E-E-A-T Optimization
 */

/* Author Page Container */
.eeat-author-page-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 40px 20px;
}

/* Author Header Section */
.eeat-author-page-header {
	background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
	border-radius: 12px;
	padding: 40px;
	margin-bottom: 40px;
	box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.eeat-author-hero {
	display: flex;
	align-items: center;
	gap: 30px;
	margin-bottom: 30px;
}

.eeat-author-avatar-large img {
	width: 150px;
	height: 150px;
	border-radius: 50%;
	object-fit: cover;
	border: 4px solid #fff;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.eeat-author-intro {
	flex: 1;
}

.eeat-author-name {
	margin: 0 0 10px 0;
	font-size: 36px;
	font-weight: 700;
	color: #212529;
	line-height: 1.2;
}

.eeat-author-credentials {
	display: flex;
	gap: 15px;
	align-items: center;
	margin-bottom: 15px;
}

.eeat-job-title {
	font-size: 18px;
	font-weight: 600;
	color: #6c757d;
}

.eeat-credentials {
	padding: 4px 12px;
	background: #f15b27;
	color: #fff;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.eeat-author-stats {
	display: flex;
	gap: 20px;
}

.eeat-posts-count {
	padding: 8px 16px;
	background: rgba(241, 91, 39, 0.1);
	border-radius: 6px;
	font-size: 14px;
	color: #f15b27;
}

.eeat-posts-count strong {
	font-size: 18px;
	font-weight: 700;
}

/* Social Links Header */
.eeat-author-social-header {
	display: flex;
	gap: 15px;
	justify-content: start;
	flex-wrap: wrap;
}

.eeat-author-social-header .eeat-social-link {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 10px 10px;
	background: #fff;
	border-radius: 35px;
	color: #495057;
	text-decoration: none;
	font-size: 14px;
	font-weight: 500;
	transition: all 0.3s ease;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
	width: 10.4%;
}

.eeat-author-social-header .eeat-social-link:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.eeat-author-social-header .eeat-social-link .dashicons,
.eeat-author-social-header .eeat-social-link svg {
	font-size: 25px;
	width: 25px;
	height: 25px;
}

.eeat-social-link:hover {
	background: #f15b27;
	color: #fff;
	transform: translateY(-2px);
}

/* Social Network Specific Colors */
.eeat-social-facebook:hover {
	background: #1877f2;
	color: #fff;
}

.eeat-social-twitter:hover {
	background: #1da1f2;
	color: #fff;
}

.eeat-social-linkedin:hover {
	background: #0077b5;
	color: #fff;
}

.eeat-social-instagram:hover {
	background: #e4405f;
	color: #fff;
}

.eeat-social-youtube:hover {
	background: #ff0000;
	color: #fff;
}

.eeat-social-whatsapp:hover {
	background: #25d366;
	/* WhatsApp Green */
	color: #fff;
}

.eeat-social-reddit:hover {
	background: #ff4500;
	/* Reddit Orange */
	color: #fff;
}

.eeat-social-pinterest:hover {
	background: #bd081c;
	/* Pinterest Red */
	color: #fff;
}

.eeat-social-github:hover {
	background: #333;
	/* GitHub Dark */
	color: #fff;
}

.eeat-social-discord:hover {
	background: #5865f2;
	/* Discord Blurple */
	color: #fff;
}

.eeat-social-tiktok:hover {
	background: #010101;
	/* TikTok Black */
	color: #fff;
	color: #fff;
}

.eeat-social-telegram:hover {
	background: #0088cc;
	/* Telegram Blue */
	color: #fff;
}

.eeat-social-skype:hover {
	background: #00aff0;
	/* Skype Blue */
	color: #fff;
}

.eeat-social-snapchat:hover {
	background: #fffc00;
	/* Snapchat Yellow */
	color: #fff;
	color: #000;
}

.eeat-social-medium:hover {
	background: #00ab6c;
	/* Medium Green */
	color: #fff;
}

.eeat-social-vimeo:hover {
	background: #1ab7ea;
	/* Vimeo Blue */
	color: #fff;
}

.eeat-social-quora:hover {
	background: #b92b27;
	/* Quora Red */
	color: #fff;
}

.eeat-social-tumblr:hover {
	background: #35465c;
	/* Tumblr Blue */
	color: #fff;
}

.eeat-social-stackoverflow:hover {
	background: #f48024;
	/* Stack Overflow Orange */
	color: #fff;
}

.eeat-social-twitch:hover {
	background: #9146ff;
	/* Twitch Purple */
	color: #fff;
}

.eeat-social-patreon:hover {
	background: #ff424d;
	/* Patreon Coral */
	color: #fff;
}

.eeat-social-bluesky:hover {
	background: #118bee;
	/* BlueSky Blue */
	color: #fff;
}

.eeat-social-wordpress:hover {
	background: #21759b;
	/* WordPress Blue */
	color: #fff;
}

.eeat-social-rss:hover {
	background: #f26522;
	/* RSS Orange */
	color: #fff;
}

.eeat-social-email:hover,
.eeat-social-user_email:hover {
	background: #7f7f7f;
	/* Generic Gray */
	color: #fff;
}

.eeat-social-phone:hover {
	background: #0a8754;
	/* Phone Green */
	color: #fff;
}


/* Author Page Content */
.eeat-author-page-content {
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 40px;
}

.eeat-author-main {
	background: #fff;
	border-radius: 12px;
	padding: 40px;
	box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.eeat-author-sidebar {
	display: flex;
	flex-direction: column;
	gap: 30px;
}

/* Bio Section */
.eeat-author-bio-section {
	margin-bottom: 40px;
}

.eeat-author-bio-section h2 {
	margin: 0 0 20px 0;
	font-size: 28px;
	font-weight: 700;
	color: #212529;
	border-bottom: 3px solid #f15b27;
	padding-bottom: 10px;
}

.eeat-author-bio-content {
	font-size: 16px;
	line-height: 1.7;
	color: #495057;
	margin-bottom: 30px;
}

.eeat-author-bio-content p {
	margin-bottom: 16px;
}

/* Expertise Section */
.eeat-author-expertise {
	margin-bottom: 15px;
	padding: 15px;
	background: #fff;
	border-radius: 6px;
	font-size: 14px;
}

.eeat-author-expertise strong {
	display: inline-block;
	margin-bottom: 5px;
	color: #212529;
	font-weight: 600;
}

.eeat-author-expertise h3 {
	margin: 0 0 15px 0;
	font-size: 20px;
	font-weight: 600;
	color: #212529;
}

.eeat-expertise-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.eeat-expertise-tag {
	padding: 6px 12px;
	background: #e9ecef;
	border-radius: 20px;
	font-size: 13px;
	font-weight: 500;
	color: #495057;
}

/* Posts Section */
.eeat-author-posts-section h2 {
	margin: 0 0 30px 0;
	font-size: 28px;
	font-weight: 700;
	color: #212529;
	border-bottom: 3px solid #f15b27;
	padding-bottom: 10px;
}

.eeat-author-posts-grid {
	display: grid;
	gap: 30px;
	margin-bottom: 30px;
}

.eeat-post-card {
	display: flex;
	gap: 20px;
	padding: 20px;
	background: #f8f9fa;
	border-radius: 8px;
	transition: all 0.3s ease;
}

.eeat-post-card:hover {
	background: #fff;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
	transform: translateY(-2px);
}

.eeat-post-thumbnail {
	flex-shrink: 0;
	width: 120px;
	height: 80px;
	border-radius: 6px;
	overflow: hidden;
}

.eeat-post-thumbnail img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.eeat-post-content {
	flex: 1;
}

.eeat-post-title {
	margin: 0 0 8px 0;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.3;
}

.eeat-post-title a {
	color: #212529;
	text-decoration: none;
	transition: color 0.3s ease;
}

.eeat-post-title a:hover {
	color: #f15b27;
}

.eeat-post-meta {
	display: flex;
	gap: 15px;
	margin-bottom: 10px;
	font-size: 13px;
	color: #6c757d;
}

.eeat-post-category {
	padding: 2px 8px;
	background: #e9ecef;
	border-radius: 4px;
	font-weight: 500;
}

.eeat-post-excerpt {
	color: #495057;
	font-size: 14px;
	line-height: 1.5;
}

/* View All Posts Button */
.eeat-view-all-posts {
	text-align: center;
}

.eeat-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 24px;
	border: none;
	border-radius: 6px;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
	transition: all 0.3s ease;
}

.eeat-btn-primary {
	background: #f15b27;
	color: #fff;
}

.eeat-btn-primary:hover {
	background: #d94f1e;
	transform: translateY(-2px);
	box-shadow: 0 4px 15px rgba(241, 91, 39, 0.3);
}

.eeat-btn .dashicons {
	font-size: 16px;
	width: 16px;
	height: 16px;
}

/* Sidebar Widgets */
.eeat-author-website,
.eeat-author-contact,
.eeat-author-social {
	background: #fff;
	border-radius: 12px;
	padding: 25px;
	box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.eeat-author-website h2,
.eeat-author-contact h3,
.eeat-author-social h2 {
	margin: 0 0 15px 0;
	font-size: 18px;
	font-weight: 600;
	color: #212529;
}

.eeat-website-link {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 15px;
	background: #f8f9fa;
	border-radius: 6px;
	color: #495057;
	text-decoration: none;
	transition: all 0.3s ease;
}

.eeat-website-link:hover {
	background: #f15b27;
	color: #fff;
}

.eeat-website-link .dashicons {
	font-size: 18px;
	width: 18px;
	height: 18px;
}

/* Contact Form */
.eeat-contact-form {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.eeat-form-group {
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.eeat-form-group label {
	font-size: 14px;
	font-weight: 500;
	color: #495057;
}

.eeat-form-group input,
.eeat-form-group textarea {
	padding: 10px 12px;
	border: 1px solid #ced4da;
	border-radius: 4px;
	font-size: 14px;
	transition: border-color 0.3s ease;
}

.eeat-form-group input:focus,
.eeat-form-group textarea:focus {
	outline: none;
	border-color: #f15b27;
	box-shadow: 0 0 0 2px rgba(241, 91, 39, 0.1);
}

/* Author Not Found */
.eeat-author-not-found {
	text-align: center;
	padding: 60px 20px;
}

.eeat-author-not-found h1 {
	font-size: 36px;
	margin-bottom: 15px;
	color: #212529;
}

.eeat-author-not-found p {
	font-size: 18px;
	color: #6c757d;
}

/* Author Page Article/Post Pagination */
.pagination {
	display: flex;
	justify-content: center;
}

.pagination ul {
	display: flex;
	justify-content: center;
	margin-top: 20px;
	list-style: none;
}

.pagination li {
	margin: 0 5px;
}

.pagination li a,
.pagination li span {
	padding: 8px 12px;
	background: #f0f0f0;
	border-radius: 4px;
	text-decoration: none;
	font-size: 16px
}

.pagination li span.current {
	background: #0073aa;
	color: white;
}

/* contact form style */
.eeat-contact-notice {
	padding: 12px 15px;
	margin-bottom: 20px;
	border-radius: 6px;
	border-left: 4px solid;
}
.eeat-contact-success {
	background-color: #d4edda;
	border-color: #28a745;
	color: #155724;
}
.eeat-contact-error {
	background-color: #f8d7da;
	border-color: #dc3545;
	color: #721c24;
}
.eeat-contact-notice p {
	margin: 0;
	font-weight: 500;
}
.eeat-contact-notice ul {
	margin: 0;
	padding-left: 20px;
}

/* Responsive Design */
@media screen and (max-width: 992px) {
	.eeat-author-page-content {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	.eeat-author-sidebar {
		order: -1;
	}
}

@media screen and (max-width: 768px) {
	.eeat-author-page-container {
		padding: 20px 15px;
	}

	.eeat-author-page-header {
		padding: 30px 20px;
	}

	.eeat-author-hero {
		flex-direction: column;
		text-align: center;
		gap: 20px;
	}

	.eeat-author-avatar-large img {
		width: 120px;
		height: 120px;
	}

	.eeat-author-name {
		font-size: 28px;
	}

	.eeat-author-credentials {
		justify-content: center;
		flex-wrap: wrap;
	}

	.eeat-author-social-header {
		flex-wrap: wrap;
		gap: 10px;
	}

	.eeat-author-social-header .eeat-social-link {
		padding: 8px 12px;
		font-size: 13px;
	}

	.eeat-social-label {
		display: none;
	}

	.eeat-author-main {
		padding: 25px 20px;
	}

	.eeat-post-card {
		flex-direction: column;
		gap: 15px;
	}

	.eeat-post-thumbnail {
		width: 100%;
		height: 150px;
	}
}

@media screen and (max-width: 480px) {
	.eeat-author-page-header {
		padding: 20px 15px;
	}

	.eeat-author-main {
		padding: 20px 15px;
	}

	.eeat-author-website,
	.eeat-author-contact {
		padding: 20px 15px;
	}
}