.blog-list-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1.5rem;
    gap: 4rem;
    margin-top: 4rem;
    margin-bottom: 6rem;
}

.blog-spacer { 
    height: 7rem; 
}

.blog-hero {
    padding: 2rem 0;
    max-width: 800px;
    margin: 2rem auto 1rem;
    text-align: center;
}

.blog-hero h1 {
    font-family: 'Inter', sans-serif;
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: var(--emerald-1000);
    font-weight: 700;
}

.blog-hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    font-style: italic;
}

.blog-hero a {
    text-decoration: none;
    color: var(--emerald-700);
}

.blog-hero a:hover {
    text-decoration: underline;
    color: var(--emerald-1000);
}

.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: none;
    border: 2px solid var(--card-border);
    color: var(--text-muted);
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.9rem;
}

.filter-btn:hover {
    border-color: var(--emerald-700);
    color: var(--emerald-700);
}

.filter-btn.active {
    background-color: var(--emerald-700);
    border-color: var(--emerald-700);
    color: white;
}

.post-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 4rem;
    /* Hide middle page numbers on mobile */
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.post-list .card {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 0; 
}

.post-list .card:hover {
    box-shadow: 0 8px 24px var(--shadow-color);
    transform: translateY(-4px);
}

.card h3 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--emerald-1000);
    font-weight: 700;
    line-height: 1.3;
}

.card p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}


.post-list .card-meta {
    border-bottom: 1px solid var(--card-border);
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 0.75rem;
    border: 1px solid var(--card-border);
    border-radius: 6px;
    color: var(--text-muted);
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    background: var(--card-bg);
}

.page-link:hover {
    border-color: var(--emerald-700);
    color: var(--emerald-700);
    background: var(--emerald-600);
}

.page-link.active {
    background-color: var(--emerald-700);
    border-color: var(--emerald-700);
    color: white;
}

.blog-note {
    margin: 1em 0 3em 0;
}

@media (max-width: 768px) {
    .blog-hero h1 { font-size: 2.5rem; }
    
    .post-list .card {
        padding: 1.5rem;
    }
    
    .post-list .card h3 {
        font-size: 1.5rem;
    }

    .page-link:not(.prev):not(.next):not(.active) {
        display: none;
    }

    .post-wrapper, .blog-list-wrapper {
        padding: 0;
    }
}