/* Job categories & subcategories */

.categories-list {
	.category-title {
		font-size: 16px;
		font-weight: 700;
		color: $secondaryColor;
		display: flex;
		justify-content: space-between;
		padding: 10px 0;
		border-bottom: 1px solid $borderColor;
	}

	.category-count {
		@include round(9px);

		padding : 0 7px;
		height: 17px;
		display: inline-flex;
		align-items: center;
		font-size: 12px;
		font-weight: 600;
		color: $mainTextColor;
		background: $grayBackground4;
	}

	.item:first-child {
		border-top: none;
	}

	.item {
		.subcategory-list {
			padding-top: 10px;
		}
	}

	.subcategory-list {
		.item {
			padding: 10px 0;
			color: $headlinesColor;
			font-size: 14px;
			font-weight: 400;
			border-top: 1px solid $borderColor;

			&:has(.subcategory-list) {
			 	padding-bottom: 0;
			 }

			> a {
				display: flex;
				justify-content: space-between;
			}
		}
	}
}