/* ============================================================
   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:  --wwa-* from assets/css/site.css :root. Ported from
            the CCC base 2026-10-04 (originally columbusroofcost.com) with
            roof's token names re-mapped to this site's:
              --teal       -> --wwa-accent
              --border     -> --wwa-border
              --text-dark  -> --wwa-ink
              --text-light -> --wwa-muted
            Matches the .blog-card / .tag-pill look in blog.css: white
            pills, --wwa-border by default, brand accent fill on hover and
            for the current page.
   Author:  Juhriah Web Solutions
   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(--wwa-border);
}

.blog-pager-arrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    padding: 0 16px;
    border: 1px solid var(--wwa-border);
    border-radius: 8px;
    background: var(--wwa-card);
    color: var(--wwa-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(--wwa-accent);
    background: var(--wwa-accent);
    color: #ffffff;
}

.blog-pager-arrow[data-state="disabled"] {
    color: var(--wwa-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(--wwa-border);
    border-radius: 8px;
    background: var(--wwa-card);
    color: var(--wwa-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(--wwa-accent);
    background: var(--wwa-accent);
    color: #ffffff;
}

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

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

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

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

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