 /* Basic Reset */
 * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #f4f4f9;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 900px;
    margin: 50px auto;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

h1 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2rem;
    color: #444;
}

.blog-list {
    list-style: none;
}

.blog-item {
    margin-bottom: 20px;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 5px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.blog-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.blog-item h2 {
    font-size: 1.3rem;
    color: #007bff;
    margin-bottom: 10px;
}

.blog-item a {
    text-decoration: none;
    color: inherit;
}

.blog-item a:hover {
    text-decoration: underline;
}

.no-blogs {
    text-align: center;
    color: #888;
    font-style: italic;
}
/* Pagination Styles */

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 5px; /* Space between buttons */
    flex-wrap: wrap; /* Allow buttons to wrap on small screens */
}

.pagination-link {
    padding: 8px 12px;
    text-decoration: none;
    color: #007bff;
    border: 1px solid #007bff;
    border-radius: 4px;
    transition: background-color 0.3s, color 0.3s;
    margin: 2px; /* Add margin for small screens */
}

.pagination-link:hover {
    background-color: #007bff;
    color: #fff;
}

.pagination-link.active {
    background-color: #007bff;
    color: #fff;
    cursor: default;
}

.pagination-ellipsis {
    padding: 8px 12px;
    color: #007bff;
}

/* Responsive Design for Small Devices */
@media (max-width: 600px) {
    .pagination-link {
        padding: 6px 10px; /* Smaller padding for small screens */
        font-size: 14px; /* Smaller font size for small screens */
    }

    .pagination-ellipsis {
        padding: 6px 10px;
        font-size: 14px;
    }
}