.custom-news-page {
	background: var(--light-color);
	display: grid;
	grid-template-columns: 100%;
	gap: 10px;
	grid-template-rows: auto;
	border-top: 1px solid var(--tertiary-color);
}

.custom-page-header {
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 12vw 20px 6.5vw 20px;
	transition: all 0.2s ease-in-out;
}

.custom-page-header .custom-page-header-content {
	max-width: 800px;
}

.custom-page-header h1,
.custom-page-header h2 {
	text-align: center;
	color: var(--light-color);
}

.custom-page-header h1 {
	font-size: 3rem;
	font-weight: 1000;
}

.custom-page-header h2 {
	font-size: 2rem;
	font-weight: 600;
}

.custom-news-page .custom-news-page-content-wrapper {
	padding: 10px 25px;
}

.custom-news-page .news-entry-title {
	color: var(--dark-color);
	text-align: left;
}

.custom-entry-wrapper h2 {
	color: var(--dark-color);
	font-weight: bolder !important;
	text-align: left;
	font-size: 5rem;
	margin: 0;
	padding: 0;
}

.custom-news-page .custom-news-page-content-wrapper .custom-post-block {
	display: grid;
	grid-template-columns: 33% 33% 33%;
	grid-template-rows: auto;
	justify-content: space-between;
	gap: 10px;
	margin: 15px auto;
}

.post-page-sidebar .et_pb_widget.widget_block {
	margin-bottom: 35px !important;
}

.custom-news-page .custom-news-page-content-wrapper .custom-post-block .post-card {
	display: flex;
	flex-direction: column;
	background: var(--tertiary-color);
	padding: 15px;
	border-radius: 15px;
}

.custom-news-page .custom-news-page-content-wrapper .custom-post-block .post-card a {
	color: inherit;
}

.custom-news-page .custom-news-page-content-wrapper .custom-post-block .post-card a:hover {
	text-decoration: underline solid var(--dark-color);
}

.custom-news-page .custom-news-page-content-wrapper .custom-post-block .post-card .post-title {
	color: var(--dark-color);
	font-size: 1.5rem;
	font-weight: 1000;
	margin-top: 15px;
}

.custom-news-page .custom-news-page-content-wrapper .custom-post-block .post-card .post-body {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.custom-news-page .custom-news-page-content-wrapper .custom-post-block .post-card .post-body .post-excerpt {
	color: var(--dark-color) !important;
	font-size: 1rem;
}

.custom-news-page .custom-news-page-content-wrapper .custom-post-block .post-card .post-body .post-link {
	color: var(--dark-color);
	font-weight: bolder;
	cursor: pointer;
	margin-top: 15px;
	font-size: 1.5rem !important;
}

.custom-news-page .custom-current-page {
	color: var(--dark-color);
	padding: 20px;
	text-align: right;
}

.custom-news-page .no-results {
	padding: 15px 20px;
}

.custom-news-page .navigation.pagination {
	padding: 0 20px;
}

.custom-news-page .navigation.pagination .page-numbers {
	color: var(--dark-color);
	font-weight: bolder;
	cursor: pointer;
	margin: auto 10px;
}

.custom-news-page .navigation.pagination .page-numbers:hover {
	text-decoration: underline;
}

.custom-news-page #news-sidebar {
	background: var(--primary-color);
	padding: 35px 20px;
	float: none;
	width: auto;
}

.custom-news-page #news-sidebar .et_pb_widget {
	float: none;
	margin-bottom: 35px;
}

.custom-news-page #news-sidebar h2,
.custom-news-page #news-sidebar h3,
.custom-news-page #news-sidebar h4,
.custom-news-page #news-sidebar h5, 
.custom-news-page #news-sidebar h6,
.custom-news-page #news-sidebar p,
.custom-news-page #news-sidebar a,
.custom-news-page #news-sidebar li,
.custom-news-page #news-sidebar ul,
.custom-news-page #news-sidebar ol,
.custom-news-page #news-sidebar span,
.custom-news-page #news-sidebar div,
.custom-news-page #news-sidebar legend {
	color: var(--dark-color);
}

.custom-news-page #news-sidebar a:hover {
	text-decoration: underline;
}

.custom-news-page #news-sidebar input {
	width: 100%;
}

.custom-news-page #news-sidebar button {
	background: var(--light-color);
	color: var(--dark-color);
	cursor: pointer;
	transition: 0.2s ease-in-out;
}

.custom-news-page #news-sidebar button:hover {
	background: var(--dark-color);
	color: var(--light-color);
}

.nav-links {
	display: flex;
	gap: 5px;
}

@media (max-width: 1400px) {
	.custom-news-page .custom-news-page-content-wrapper .custom-post-block {
		display: grid;
		grid-template-columns: 50% 50%;
		grid-template-rows: auto;
	}

	.custom-entry-wrapper h2 {
		font-size: 4rem;
	}
}

@media (max-width: 980px) {
	.custom-news-page {
		display: block;
	}

	.custom-news-page .custom-current-page {
		text-align: center;
	}

	.custom-news-page #news-sidebar {
		border-left: none;
	}
	
	.custom-news-page .custom-news-page-content-wrapper {
		width: 100%;
	}

	.custom-entry-wrapper h2 {
		font-size: 3rem;
	}

	.custom-page-header {
		padding: 30vw 20px 20vw 20px;
	}

	.custom-news-page .custom-news-page-featured-posts .custom-post-block {
		flex-direction: column;
	}
}

@media (max-width: 767px) {
	.custom-entry-wrapper h2 {
		font-size: 2rem;
	}

	.custom-page-header {
		padding: 40vw 20px 16vw 20px;
	}

	.custom-page-header h1 {
		font-size: 2rem;
	}
	
	.custom-page-header h2 {
		font-size: 1.5rem;
	}
}

@media (max-width: 576px) {
	.custom-entry-wrapper h2 {
		font-size: 1.5rem;
	}

	.custom-news-page .custom-news-page-content-wrapper .custom-post-block {
		display: block;
	}
}