@charset "utf-8";
/* CSS Document */

.related-section {
	padding: 70px 0;
	background: white;
}

.related-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 25px;
	margin-top: 30px;
}

.related-card {
	background: white;
	border-radius: 28px;
	overflow: hidden;
	border: 1px solid #EAF0F6;
	transition: 0.25s;
}

.related-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 20px 30px rgba(0, 0, 0, 0.05);
}

.related-content {
	padding: 28px 14px;
}

.related-title {
	font-size: 18px;
	font-weight: 500;
	margin-bottom: 10px;
	color: #333;
}

.related-excerpt {
	color: #4A5B6E;
	font-size: 15px;
	margin-bottom: 10px;
}

.related-link {
	text-decoration: none;
	color: #1363DF;
}

.pagination {
	display: flex;
	justify-content: center;
	gap: 15px;
	margin-top: 50px;
	flex-wrap: wrap;
}

.page-btn {
	background: #F1F6FD;
	border: none;
	padding: 10px 18px;
	border-radius: 40px;
	font-weight: 600;
	cursor: pointer;
	font-family: inherit;
	transition: 0.2s;
}

.page-btn.active {
	background: #1363DF;
	color: white;
}

.page-btn:hover:not(.active) {
	background: #E0E9F5;
}

@media (max-width: 768px) {
	.related-grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.related-content {
		padding: 20px 14px;
	}
}