/* Elementor Blog Categories Widget — Frontend Styles */

.ebc-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.ebc-item {
	display: block;
	background-color: #f5f5f5;
	border-radius: 8px;
	padding: 12px 16px;
	transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.ebc-item:hover {
	background-color: #e0e0e0;
}

.ebc-item-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	text-decoration: none;
	color: inherit;
	width: 100%;
}

/* Remove default anchor underline */
.ebc-item a.ebc-item-inner,
.ebc-item a.ebc-item-inner:visited,
.ebc-item a.ebc-item-inner:hover {
	text-decoration: none;
}

.ebc-category-name {
	flex: 1;
	font-weight: 500;
	line-height: 1.4;
}

.ebc-count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 28px;
	background-color: #6c757d;
	color: #ffffff;
	font-size: 0.78em;
	font-weight: 600;
	line-height: 1;
	padding: 2px 8px;
	border-radius: 20px;
	white-space: nowrap;
	flex-shrink: 0;
	transition: background-color 0.2s ease;
}
