.blog-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.blog-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.1) !important;
}

.blog-image-container {
    overflow: hidden;
    max-height: 180px;
}

.blog-image {
    object-fit: cover;
    transition: transform 0.5s ease;
    max-height: 180px;
}

.blog-card:hover .blog-image {
    transform: scale(1.05);
}

.blog-title {
    font-weight: 600;
    line-height: 1.3;
}

.blog-excerpt {
    line-height: 1.5;
    font-size: 0.95rem;
}

.card-footer {
    margin-top: auto;
}

.pagination {
    margin-bottom: 0;
}

.pagination .page-item.active .page-link {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
}

.pagination .page-link {
    color: var(--bs-primary);
}

@media (max-width: 767px) {
    .blog-image-container {
        max-height: 150px;
    }
    
    .blog-image {
        height: 150px !important;
    }
}