.news-section,
.news-section *{
	box-sizing:border-box;
}

.news-section{
	padding:60px 0 0 0;
}

.news-section__container{
	max-width:1320px;
	margin:0 auto;
}

.news-section__head{
	display:flex;
	align-items:center;
	justify-content:space-between;
	gap:24px;
	margin-bottom:44px;
}

.news-section__title{
	margin:0;
}

.news-section__cta{
	flex-shrink:0;
}

@media (max-width:767px){
	.news-section{
		padding:40px 0;
	}

	.news-section__head{
		gap:16px;
	}
	section.news-section .news-section__head{
		gap:20px;
	}
	section.news-section .news-card {
		padding: 20px;
	}
	.news-section__head {
		margin-bottom: 24px;
	}
	.news-section__title {
		font-size: 36px;
	}
	section.news-section .news-card__title {
		font-size: 20px;
	}
	section.news-section  .news-card__excerpt {
		font-size: 16px;
	}
}

.news-list,
.news-list *,
.news-pagination,
.news-pagination *{
	box-sizing:border-box;
}

.news-list{
	display:grid;
	grid-template-columns:1fr 1fr;
	gap:28px;
	margin:24px 0;
}

.news-list__empty{
	padding:32px;
	background:#fff;
	border-radius:16px;
	color:#7A7A7A;
	font-size:16px;
}

.news-card{
	display:flex;
	flex-direction:column;
	padding:20px;
	background:#fff;
	border:none !important;
	border-radius:16px;
	outline:none;
	text-decoration:none;
	transition:box-shadow .2s ease;
}

.news-card:hover{
	border:none !important;
	box-shadow:0 8px 24px rgba(20,20,40,.08);
}

.news-card:focus-visible{
	outline:2px solid #2F6FE4;
	outline-offset:2px;
}

.news-card:hover .news-card__title{
	color:#8B5CF6;
}

.news-card__title{
	margin:0 0 12px;
	font-size:20px;
	font-weight:500;
	line-height:1.3;
	color:#2F6FE4;
	display:-webkit-box;
	-webkit-line-clamp:2;
	-webkit-box-orient:vertical;
	overflow:hidden;
	transition:color .2s ease;
}

.news-card__excerpt{
	margin:0 0 12px;
	font-size:16px;
	line-height:1.6;
	color:#2B2B2B;
	display:-webkit-box;
	-webkit-line-clamp:3;
	-webkit-box-orient:vertical;
	overflow:hidden;
}

.news-card__date{
	margin-top:auto;
	font-size:14px;
	color:#7A7A7A;
}

.news-pagination{
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 20px;
	margin-top: 44px;
}

.news-pagination .page-numbers{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	font-weight: 400;
	line-height: 1;
	color: #7A7A7A;
	text-decoration: none !important;
	border: none !important;
	padding: 5px;
	min-width: 24px;
	min-height: 24px;
}

.news-pagination a.page-numbers:hover{
	color:#2F6FE4;
}

.news-pagination .current{
	color:#2F6FE4;
}

.news-pagination .dots{
	color:#7A7A7A;
	cursor:default;
}

.news-pagination .prev,
.news-pagination .next{
	color:#2F6FE4;
}

.news-pagination .prev:hover,
.news-pagination .next:hover{
	color:#174E9C;
}

.news-pagination__chevron{
	display:block;
}

.news-pagination .prev .news-pagination__chevron{
	transform:scaleX(-1);
}
.post-published{
	margin-top:24px;
	padding-top:16px;
	border-top:1px solid #E5E5E5;
	font-size:14px;
	color:#7A7A7A;
}
@media (max-width:991px){
	.news-list{
		grid-template-columns:1fr 1fr;
		gap:20px;
	}
	.news-pagination {
		padding: 8px;
		margin-top: 32px;
	}
	.news-card{
		padding: 16px 12px;
	}
	.news-list{
		grid-template-columns:1fr;
		gap:16px;
		margin:16px 0;
	}

	.news-card__title{
		margin-bottom:12px;
		font-size:16px;
	}

	.news-card__excerpt{
		margin-bottom:12px;
		font-size:14px;
	}
}


@media (min-width:504px){

	.post.type-post.category-news p:has(img){
		display:flex;
		flex-wrap:wrap;
	}

	.post.type-post.category-news p img:nth-child(odd){
		margin-right:25px;
	}

	.post.type-post.category-news p img:nth-child(n+3){
		margin-top:25px;
	}

	.post.type-post.category-news p img{
		width:calc(47%);
	}
}

@media (max-width:504px){

	.post.type-post.category-news p img:nth-child(n+1){
		margin-bottom:25px;
	}
}
