/* ============================================================
   File: assets/css/blog-pager.css
   Purpose: Styles the numbered pager on the blog index/category/tag/
            search list pages — Newer/Older arrows, page-number pills,
            the current-page marker (data-state="current"), the ellipsis,
            and the "Page N of M" status line. Loaded from blog.php's
            styles section; kept out of blog.css so the pager is one
            file with one job.
   Tokens:  --ccc-* from assets/css/site.css :root. Ported from
            columbusroofcost.com 2026-09-26 (per PORT.md, Group A) with
            roof's token names re-mapped to this site's:
              --teal       -> --ccc-teal
              --border     -> --ccc-border
              --text-dark  -> --ccc-ink
              --text-light -> --ccc-muted
            Matches the .blog-card / .tag-pill look in blog.css: white
            pills, --ccc-border by default, brand teal fill on hover and
            for the current page.
   Author:  iSpec LLC
   Created: 2026-09-26
   Last Modified: 2026-09-26 — created (blog pager port)
   ============================================================ */

.blog-pager {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px 8px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--ccc-border);
}

.blog-pager-arrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    padding: 0 16px;
    border: 1px solid var(--ccc-border);
    border-radius: 8px;
    background: #ffffff;
    color: var(--ccc-ink);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: border-color 0.15s, background 0.15s, color 0.15s;
}

a.blog-pager-arrow:hover {
    border-color: var(--ccc-teal);
    background: var(--ccc-teal);
    color: #ffffff;
}

.blog-pager-arrow[data-state="disabled"] {
    color: var(--ccc-muted);
    opacity: 0.55;
}

.blog-pager-pages {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.blog-pager-page {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding: 0 6px;
    border: 1px solid var(--ccc-border);
    border-radius: 8px;
    background: #ffffff;
    color: var(--ccc-ink);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: border-color 0.15s, background 0.15s, color 0.15s;
}

a.blog-pager-page:hover {
    border-color: var(--ccc-teal);
    background: var(--ccc-teal);
    color: #ffffff;
}

.blog-pager-page[data-state="current"] {
    border-color: var(--ccc-teal);
    background: var(--ccc-teal);
    color: #ffffff;
}

.blog-pager-ellipsis {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    min-height: 44px;
    color: var(--ccc-muted);
    font-size: 14px;
}

.blog-pager-status {
    flex-basis: 100%;
    margin: 2px 0 0;
    text-align: center;
    font-size: 12px;
    color: var(--ccc-muted);
}

@media (max-width: 480px) {
    .blog-pager {
        gap: 8px 6px;
    }

    .blog-pager-arrow {
        padding: 0 12px;
        font-size: 13px;
    }
}
