/* Author Page Styles */
.author-page { margin: 0 0 40px; }
.author-page .container { position: relative; }
.author-cover { width: 100%; height: 220px; background-size: cover; background-position: center; border-radius: 12px; margin: 15px 0 25px; }
.author-header { display: flex; gap: 20px; align-items: flex-start; background: #fff; border: 1px solid #eee; border-radius: 12px; padding: 20px; }
.author-avatar img { border-radius: 50%; box-shadow: 0 4px 14px rgba(0,0,0,0.08); }
.author-info { flex: 1; }
.author-name { margin: 0 0 6px; font-size: 26px; }
.author-job { color: #666; font-size: 14px; margin-bottom: 4px; }
.author-tagline { color: #888; font-size: 13px; margin-bottom: 10px; }
.author-bio { color: #444; line-height: 1.9; margin-top: 10px; }
.author-stats { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 12px; }
.author-stats .stat-item { background: #f7f9f9; border: 1px solid #eef2f2; padding: 10px 14px; border-radius: 10px; font-size: 13px; display: flex; align-items: center; gap: 8px; }
.author-stats .stat-number { font-weight: 700; color: var(--primary, #00A859); }
.follow-btn { display: inline-block; background: var(--primary, #00A859); color: #fff; padding: 8px 12px; border-radius: 8px; font-size: 13px; text-decoration: none; }
.author-social { display: flex; gap: 10px; margin-top: 12px; }
.author-social .social-link { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: #f1f3f4; color: #333; text-decoration: none; transition: transform .15s ease; }
.author-social .social-link:hover { transform: translateY(-2px); }

.author-filters { display: flex; gap: 10px; align-items: center; margin: 20px 0 10px; }
.author-filters .filter-link { padding: 8px 12px; border-radius: 8px; border: 1px solid #e6e9ec; text-decoration: none; color: #333; font-size: 14px; }
.author-filters .filter-link.active { background: var(--primary, #00A859); color: #fff; border-color: var(--primary, #00A859); }

.author-posts-section { margin-top: 20px; }
.section-heading { font-size: 20px; margin: 0 0 16px; }
.author-posts { display: grid; gap: 16px; }
.author-posts.posts-row-2 { grid-template-columns: repeat(2, 1fr); }
.author-posts.posts-row-3 { grid-template-columns: repeat(3, 1fr); }
.author-posts.posts-row-4 { grid-template-columns: repeat(4, 1fr); }

.author-post-item { background: #fff; border: 1px solid #eee; border-radius: 12px; overflow: hidden; transition: box-shadow .15s ease, transform .15s ease; }
.author-post-item:hover { box-shadow: 0 10px 24px rgba(0,0,0,.06); transform: translateY(-2px); }
.post-thumb { position: relative; overflow: hidden; }
.post-thumb img { width: 100%; display: block; aspect-ratio: 16/9; object-fit: cover; }
.post-cat { position: absolute; top: 10px; right: 10px; background: rgba(0,0,0,.65); color: #fff; padding: 5px 10px; border-radius: 999px; font-size: 12px; }
.post-date-badge { position: absolute; bottom: 10px; left: 10px; background: #fff; color: #222; padding: 5px 10px; border-radius: 999px; font-size: 12px; box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.post-content-wrap { padding: 14px; }
.post-title { font-size: 16px; line-height: 1.5; margin: 0; }
.post-excerpt { color: #666; font-size: 13px; margin-top: 6px; }

.pagination-wrapper { margin-top: 16px; }

@media (max-width: 1024px) {
	.author-posts.posts-row-4 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
	.author-header { flex-direction: column; align-items: center; text-align: center; }
	.author-posts.posts-row-3, .author-posts.posts-row-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
	.author-posts.posts-row-2, .author-posts.posts-row-3, .author-posts.posts-row-4 { grid-template-columns: 1fr; }
}

