/* =================================================================
   Maison Noir — Blog Page Template Styles
   ================================================================ */

.page-header {
        margin-bottom: 3rem;
}

.page-title {
        font-family: 'Cormorant Garamond', serif;
        font-size: 2.8rem;
        font-weight: 400;
        color: var(--dark, #1a1816);
        margin-bottom: 0.75rem;
}

.page-subtitle {
        max-width: 600px;
        color: var(--muted, #7c756c);
        font-size: 0.95rem;
        line-height: 1.7;
        margin-top: 0.5rem;
}

.post-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 2rem;
}


.pagination ul {
        list-style: none;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 0.5rem;
        padding: 0;
        margin: 0;
}

.pagination li {
        background: var(--ivory, #fff);
        border: 1px solid var(--line, #e6e2db);
        border-radius: 50%;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
}

.pagination li:hover,
.pagination li span.current {
        background: var(--gold, #d4af37);
        color: var(--ivory, #fff);
        border-color: var(--gold, #d4af37);
}

.pagination a {
        color: var(--dark, #1a1816);
        text-decoration: none;
        font-size: 0.8rem;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
        border-radius: 50%;
}

.pagination li:hover a {
        color: var(--ivory, #fff);
}

.pagination .dots {
        border: none;
        background: transparent;
        color: var(--muted, #7c756c);
}

@media (max-width: 768px) {
        .page-title {
                font-size: 2.2rem;
        }
        
        .post-grid {
                grid-template-columns: 1fr;
        }
}

/* Add breathing room above the footer */
.site-main.blog-page-main {
        padding-bottom: 6rem;
}

.pagination {
        margin-top: 4rem;
        margin-bottom: 2rem;
}
