.blog-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 2rem;
}

.blog-item {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 16px;
    background: #fff;
    transition: box-shadow 0.3s ease;
}

.blog-item:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.blog-thumb img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    margin-bottom: 12px;
    object-fit: cover;
}

.blog-item h2 {
    font-size: 1.25rem;
    margin: 0 0 0.5rem 0;
    color: #222;
}

.blog-item p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.4;
}

/* Pagination tyylit */

.page-numbers {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 0;
    margin: 2rem 0;
}

.page-numbers li {
    border: 1px solid #ccc;
    border-radius: 4px;
}

.page-numbers li a,
.page-numbers li span {
    display: block;
    padding: 8px 12px;
    color: #0073aa;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.page-numbers li a:hover {
    background-color: #0073aa;
    color: white;
}

.page-numbers .current {
    background-color: #0073aa;
    color: white;
    pointer-events: none;
}

.blog-item {
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    transition: box-shadow 0.3s ease;
    overflow: hidden;
}

.blog-link {
    display: block;
    padding: 16px;
    color: inherit;
    text-decoration: none;
    height: 100%;
}

.blog-link:hover {
    background-color: #f9f9f9;
}

.blog-link h2 {
    font-size: 1.25rem;
    margin: 0 0 0.5rem 0;
    color: #222;
}

.blog-link p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.4;
    margin-bottom: 0.75rem;
}

.read-more {
    font-weight: 600;
    color: #0073aa;
    display: inline-block;
}

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