.container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 5%;
    margin-bottom: 5%;
}
.card {
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: calc(33.33% - 20px); /* Three items per row on larger screens */
    display: flex;
    flex-direction: column;
}

.card img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.description {
    padding: 15px;
    font-size: 16px;
    line-height: 1.6;
}

.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background-color: #f4f4f4;
    font-size: 14px;
    border-top: 1px solid #ddd;
}
.footer .date {
    color: #777;
}

.footer .read-more {
    color: #007bff;
    text-decoration: none;
}
.footer .read-more-cat {
    color: #007bff;
    text-decoration: none;
    margin-right: 80%;
    font-size: 15px;
}

.footer .read-more:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .card {
        width: calc(50% - 20px); /* Two items per row on tablets */
    }
}

@media (max-width: 768px) {
    .card {
        width: 100%; /* One item per row on smaller devices */
    }
}
