/* Blog Card Grid Styles */

.blog-card-grid {
	margin-top: 2rem;
	margin-bottom: 2rem;
}

.blog-card .card {
	border: none;
	border-radius: 8px;
	overflow: hidden;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card .card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

.blog-card .card-img-wrapper {
	overflow: hidden;
	position: relative;
	padding-top: 60%;
	background: #f8f9fa;
}

.blog-card .card-img-wrapper a {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.blog-card .card-img-top {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.blog-card .card:hover .card-img-top {
	transform: scale(1.05);
}

.blog-card .card-body {
	padding: 2rem;
}

.blog-card .card-title {
	font-size: 1.5rem;
	font-weight: 700;
	margin-bottom: 1rem;
	line-height: 1.3;
}

.blog-card .card-title a {
	color: #212529;
	text-decoration: none;
	transition: color 0.2s ease;
}

.blog-card .card-title a:hover {
	color: #007bff;
}

.blog-card .card-text {
	color: #6c757d;
	font-size: 1rem;
	line-height: 1.6;
	margin-bottom: 1rem;
}

.blog-card .entry-footer {
	border-top: none;
}

.blog-card .read-more-link {
	color: #212529;
	font-weight: 600;
	text-decoration: none;
	font-size: 0.95rem;
	display: inline-block;
	transition: color 0.2s ease;
}

.blog-card .read-more-link:hover {
	color: #007bff;
	text-decoration: none;
}

/* Responsive adjustments */
@media (max-width: 767px) {
	.blog-card-grid > .col-md-6 {
		margin-bottom: 2rem;
	}
	
	.blog-card .card-body {
		padding: 1.5rem;
	}
	
	.blog-card .card-title {
		font-size: 1.25rem;
	}
}

/* Pagination styling */
.pagination {
	margin-top: 3rem;
	justify-content: center;
}

.pagination .page-link {
	color: #212529;
	border: 1px solid #dee2e6;
	padding: 0.5rem 1rem;
	margin: 0 0.25rem;
	border-radius: 4px;
}

.pagination .page-link:hover {
	background-color: #007bff;
	color: #fff;
	border-color: #007bff;
}

.pagination .page-item.active .page-link {
	background-color: #007bff;
	border-color: #007bff;
}
