/**handles:news**/
.featured-post-section-img {
	width: 70%;
}

.featured-post-content-section {
	width: 30%;
}

.custom-featured-image-title {
	font-size: 4rem !important;
}

#sub-categories {
	display: flex;
	flex-direction: row;
}

#sub-categories li {
	list-style: none;
	margin-right: 15px;
	width: 15%;
}

#sub-categories li a {
	cursor: pointer;
	transition: 0.2s ease-in-out;
}

#sub-categories.sidebar-categories li {
	width: 100%;
	margin-right: 0;
}

#sub-categories li a:hover {
	opacity: .6;
}

.custom-post-wrapper {
	width: 25%;
	border-radius: 15px;
	overflow: hidden;
}

.custom-post-content {
	border: none !important;
	border-bottom-left-radius: 15px;
	border-bottom-right-radius: 15px;
}

.custom-post-content h2 {
	font-weight: 1000 !important;
	font-size: 1rem !important;
}

.custom-post-content .custom-link:hover h2 {
	text-decoration: underline 2px solid #ed1c24;
}

.custom-post-img {
	height: 300px;
	max-width: 100%;
	display: block;
	margin: auto;
	object-fit: cover;
	object-position: center center;
}

.custom-post-excerpt {
	max-height: 300px;
	overflow: hidden;
}

.page-numbers {
	margin: 0 5px;
}

@media (max-width: 998px) {
	#sub-categories li {
		width: 33.33%;
	}
	.custom-post-wrapper {
		width: 100%;
		margin: auto;
		margin-bottom: 20px;
	}
	.widgettitle {
		text-align: center !important;
	}

	.custom-featured-image-title {
		font-size: 3rem !important;
	}
	.featured-post-section-img, .featured-post-content-section {
		width: 100% !important;
		max-width: 100% !important;
	}
	.page-numbers {
		margin-bottom: 15px;
	}
}

@media (max-width: 767px) {
	#sub-categories li {
		width: 44%;
	}
	.custom-featured-image-title {
		font-size: 2rem !important;
	}
}