/* ---------- СТРАНИЦА НОВОСТИ ---------- */
.page-title {
	background: linear-gradient(135deg, #f0f5fa 0%, #e9f0f5 100%);
	padding: 50px 0 40px;
	text-align: center;
}

.page-title h1 {
	font-size: 38px;
	font-weight: 800;
	color: #12222d;
	margin-bottom: 12px;
}

.page-title p {
	font-size: 16px;
	color: #4a6272;
	max-width: 700px;
	margin: 0 auto;
}

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

.news-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
}

.news-card {
	background: #ffffff;
	border-radius: 20px;
	overflow: hidden;
	border: 1px solid #eef2f8;
	transition: all 0.3s ease;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.news-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
	border-color: #e2e8f0;
}

.news-image-link {
	display: block;
	width: 100%;
	aspect-ratio: 3 / 2;
	overflow: hidden;
	background-color: #f0f5fa;
}

.news-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.news-card:hover .news-image {
	transform: scale(1.05);
}

.news-content {
	padding: 24px;
}

.news-date {
	font-size: 13px;
	color: #2c7be5;
	font-weight: 500;
	margin-bottom: 12px;
	display: flex;
	align-items: center;
	gap: 6px;
}

.news-date i {
	font-size: 12px;
}

.news-title {
	font-size: 20px;
	font-weight: 700;
	color: #12222d;
	margin-bottom: 12px;
	line-height: 1.4;
}

.news-title a {
	color: #12222d;
	transition: color 0.2s;
}

.news-title a:hover {
	color: #2c7be5;
}

.news-excerpt {
	font-size: 14px;
	color: #5a6e7c;
	line-height: 1.5;
	margin-bottom: 20px;
}

.news-link {
	font-weight: 600;
	font-size: 14px;
	color: #2c7be5;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	transition: gap 0.2s;
}

.news-link:hover {
	gap: 12px;
	color: #1a66c9;
}

.pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 8px;
	margin-top: 50px;
	flex-wrap: wrap;
}

.pagination a,
.pagination .current-page {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border-radius: 12px;
	font-size: 14px;
	font-weight: 500;
	transition: all 0.2s;
}

.pagination a {
	color: #5a6e7c;
	background: #f9fafc;
	border: 1px solid #eef2f8;
}

.pagination a:hover {
	background: #2c7be5;
	color: white;
	border-color: #2c7be5;
}

.pagination .current-page {
	background: #2c7be5;
	color: white;
	border: 1px solid #2c7be5;
	cursor: default;
}

.pagination .prev-next {
	font-weight: 600;
}

.pagination .disabled {
	opacity: 0.5;
	cursor: not-allowed;
	pointer-events: none;
}

@media (max-width: 900px) {
	.news-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 25px;
	}
	.page-title h1 {
		font-size: 30px;
	}
}

@media (max-width: 580px) {
	.news-grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}
	.news-content {
		padding: 20px;
	}
	.news-title {
		font-size: 18px;
	}
	.pagination {
		gap: 6px;
	}
	.pagination a,
	.pagination .current-page {
		min-width: 36px;
		height: 36px;
		font-size: 13px;
	}
}
