/* Featured Authors Widget — v4.0.0
   Tema override edebilmek için !important kullanılmamıştır.
   Tüm değerlerin başına .widget.featured-authors ekleyin. */

.featured-authors .cd-fa-list {
	margin: 0;
	padding: 0;
}

.featured-authors .cd-fa-author {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	padding: 12px 0;
}

.featured-authors .cd-fa-avatar {
	flex-shrink: 0;
}

.featured-authors .cd-fa-avatar img {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	object-fit: cover;
	display: block;
}

.featured-authors .cd-fa-body {
	flex: 1;
	min-width: 0;
}

.featured-authors .cd-fa-name-row {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-bottom: 4px;
}

.featured-authors .cd-fa-name {
	font-weight: 600;
	font-size: 0.9em;
	text-decoration: none;
	color: inherit;
}

.featured-authors .cd-fa-name:hover {
	text-decoration: underline;
}

.featured-authors .cd-fa-count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #e8f0fe;
	color: #1a56db;
	font-size: 10px;
	font-weight: 700;
	min-width: 20px;
	height: 18px;
	padding: 0 5px;
	border-radius: 9px;
	line-height: 1;
}

.featured-authors .cd-fa-bio {
	font-size: 0.8em;
	color: #555;
	margin: 4px 0 6px;
	line-height: 1.5;
}

.featured-authors .cd-fa-social {
	display: flex;
	gap: 6px;
	margin: 5px 0;
}

.featured-authors .cd-fa-social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: #f0f0f0;
	color: #444;
	font-size: 14px;
	text-decoration: none;
	transition: background 0.15s, color 0.15s;
}

.featured-authors .cd-fa-social-link:hover {
	background: #1a56db;
	color: #fff;
}

.featured-authors .cd-fa-posts {
	list-style: none;
	margin: 6px 0 0;
	padding: 0;
}

.featured-authors .cd-fa-post-item {
	display: flex;
	align-items: center;
	gap: 7px;
	margin-bottom: 5px;
	font-size: 0.82em;
}

.featured-authors .cd-fa-thumb {
	width: 40px;
	height: 40px;
	object-fit: cover;
	border-radius: 3px;
	flex-shrink: 0;
}

.featured-authors .cd-fa-post-link {
	color: inherit;
	text-decoration: none;
	line-height: 1.4;
}

.featured-authors .cd-fa-post-link:hover {
	text-decoration: underline;
}

.featured-authors .cd-fa-divider {
	width: 100%;
	height: 1px;
	background: currentColor;
	opacity: 0.1;
	margin-top: 4px;
}

.featured-authors .cd-fa-author:last-child .cd-fa-divider {
	display: none;
}

/* Karanlık tema desteği */
@media (prefers-color-scheme: dark) {
	.featured-authors .cd-fa-count {
		background: #1e3a8a;
		color: #93c5fd;
	}
	.featured-authors .cd-fa-social-link {
		background: #2a2a2a;
		color: #ccc;
	}
	.featured-authors .cd-fa-bio {
		color: #aaa;
	}
}

/* v7 additions */
.featured-authors .cd-fa-list {
	--cd-fa-gap: 16px;
}
.featured-authors .cd-fa-author {
	margin-bottom: var(--cd-fa-gap, 16px);
}
.featured-authors .cd-fa-author:last-child {
	margin-bottom: 0;
}
/* Avatar square shape */
.featured-authors .cd-fa-avatar-square img {
	border-radius: 4px !important;
}
