* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    line-height: 1.6;
    background-color: #eff4ff;
    color: #101828;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* Blog header */
header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 1rem;
}

h1 {
    font-size: 2.5rem;
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    color: #101828;
    margin-bottom: 0.5rem;
}

.subtitle {
    color: #475467;
    font-size: 1.1rem;
}

/* Blog grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.blog-card {
    background: #ffffff;
    border: 2px solid #155dee;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(16, 24, 40, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-content {
    padding: 1.5rem;
}

.blog-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #101828;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #667085;
}

.blog-date {
    background: #155dee;
    color: #ffffff;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
}

.blog-category {
    background: #ecebeb;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    color: #344054;
    font-weight: 500;
}

.blog-excerpt {
    color: #475467;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.read-more {
    display: inline-block;
    background: #eff4ff;
    color: #155dee;
    padding: 0.6rem 1.25rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
    border: 2px dashed #155dee;
}

.read-more:hover {
    transform: translateY(-2px);
    cursor: pointer;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.pagination button {
    padding: 0.6rem 1.2rem;
    border: 1px solid #e4e7ec;
    background: #fff;
    color: #344054;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease;
}

.pagination button:hover:not(:disabled) {
    background: #f9fafb;
    color: #155dee;
    border-color: #155dee;
}

.pagination button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination .active {
    background: #155dee;
    border-color: #155dee;
    color: #fff;
}

.pagination .page-info {
    background: #f9fafb;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    font-weight: 500;
    color: #344054;
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .blog-title {
        font-size: 1.1rem;
    }
}