/* Blog Archive Layout */
.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #333;
}

.archive-description {
    font-size: 1.1rem;
    color: #6c757d;
    margin-bottom: 2rem;
}

/* Blog Cards */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.125);
    margin-bottom: 1.5rem;
  
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.card-img-top {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.entry-title {
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.entry-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.entry-meta {
    color: #6c757d;
    margin-bottom: 1rem;
}

.entry-summary {
    color: #555;
    margin-bottom: 0rem;
    flex-grow: 1;
}

.entry-footer {
    margin-top: auto;
}

/* Pagination */
.pagination {
    margin-top: 2rem;
}

.page-link {
    color: #007bff;
    border: 1px solid #dee2e6;
    margin: 0 2px;
    padding: 0.5rem 0.75rem;
}

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

.page-link:hover {
    color: #0056b3;
    background-color: #e9ecef;
    border-color: #dee2e6;
}

/* Responsive Adjustments */
@media (max-width: 767.98px) {
    .card {
        margin-bottom: 1.5rem;
    }
    
    .card-img-top {
        height: 180px;
    }
}

/* Animation for cards on load */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

/* Add delay for each card */
.row-cols-1 > *:nth-child(1) .card { animation-delay: 0.1s; }
.row-cols-1 > *:nth-child(2) .card { animation-delay: 0.2s; }
.row-cols-1 > *:nth-child(3) .card { animation-delay: 0.3s; }
.row-cols-1 > *:nth-child(4) .card { animation-delay: 0.4s; }
.row-cols-1 > *:nth-child(5) .card { animation-delay: 0.5s; }
