/* ═══════════════════════════════════════════════════════════════
   blog-pager.css — Blog list pager (Views/Pagers/blog_pager.php)

   PATH: public/css/blog-pager.css
   ROLE: 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. Kept out of public.css (WP-B owns
         that file this round); loaded from blog.php's styles section.
         Matches the .blog-card / .tag-pill look already in public.css:
         white pills, var(--border) default, brand teal fill on hover
         and for the current page.
   Author: WP-P (SEO round 2026-09-21) — ported from /var/www/roof;
         bath's public.css defines --teal/--accent/--border/--text-dark/
         --text-light with the same names, so this file is unchanged.
   Created: 2026-09-21
   ═══════════════════════════════════════════════════════════════ */

.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(--border);
}

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

.blog-pager-arrow[data-state="disabled"] {
    color: var(--text-light);
    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(--border);
    border-radius: 8px;
    background: #fff;
    color: var(--text-dark);
    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(--teal);
    background: var(--teal);
    color: #fff;
}

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

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

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

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

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