/* =================================================================== BLOG PAGINATION section css =================================================================== */
/* Pager under the Insights grid (static build: blog.html + blog/page/<n>.html;
   WordPress: Insights and replay archives). Only prints once
   there is more than one page. Pill links reuse the button tokens. */
.blog-pagination {
    margin-top: var(--sp60);

    & .blog-pagination__list {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--sp10);
        list-style: none;
        margin: 0;
        padding: 0;
    }

    & .page-numbers {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 44px;
        min-height: 44px;
        padding-inline: var(--sp15);
        border: 1px solid var(--line);
        border-radius: var(--r-btn);
        background: var(--white);
        font-size: var(--f15);
        font-weight: 600;
        color: var(--ink);
        transition: border-color .2s, color .2s;

        &:hover, &:focus-visible { border-color: var(--primary); color: var(--primary); }
        &.current { border-color: var(--primary); background: var(--primary); color: var(--white); }
        &.dots { border-color: transparent; }
    }
}

/* =================================================================== RESPONSIVE =================================================================== */
@media (max-width: 575.98px) {
    .blog-pagination {
        margin-top: var(--sp40);
    }
}
