/************************************************************************************

    ██████╗  █████╗  ██████╗ ██╗███╗   ██╗ █████╗ ████████╗██╗ ██████╗ ███╗   ██╗
    ██╔══██╗██╔══██╗██╔════╝ ██║████╗  ██║██╔══██╗╚══██╔══╝██║██╔═══██╗████╗  ██║
    ██████╔╝███████║██║  ███╗██║██╔██╗ ██║███████║   ██║   ██║██║   ██║██╔██╗ ██║
    ██╔═══╝ ██╔══██║██║   ██║██║██║╚██╗██║██╔══██║   ██║   ██║██║   ██║██║╚██╗██║
    ██║     ██║  ██║╚██████╔╝██║██║ ╚████║██║  ██║   ██║   ██║╚██████╔╝██║ ╚████║
    ╚═╝     ╚═╝  ╚═╝ ╚═════╝ ╚═╝╚═╝  ╚═══╝╚═╝  ╚═╝   ╚═╝   ╚═╝ ╚═════╝ ╚═╝  ╚═══╝

 ************************************************************************************/



    /*
        Figma reference — "Frame 117" on the Blog Archive artboard, and the
        same band at the foot of Category.

            band     1440 x 57, #E5E3DE, 4 of corner radius
            numbers  14px bold, #7F7F7F, centred, 70 apart
            arrows   a chevron either side of the run

        One band for the whole site. Two markups reach it: paginate_links()
        prints bare anchors inside <nav class="pages">, which the blog
        archive and the portfolio use, while WooCommerce wraps the same
        anchors in a <ul> inside .woocommerce-pagination. Both carry the class
        `page-numbers` on every link, which is what makes one set of rules
        enough — the only thing that differs is which element the row of
        links lives on.
    */

    .responsiville .pages,
    .responsiville .woocommerce-pagination {
        width: auto;
        padding: 12px 15px;
        border-radius: 4px;
        background: var(--nvm-color-sand-dark);
        text-align: center;
    }

        /* The row itself: the nav on one side, WooCommerce's list on the
           other. 30 of box and 40 of gutter is the drawn 70 between one
           number and the next. */

        .responsiville .pages,
        .responsiville .woocommerce-pagination ul.page-numbers {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: center;
            gap: 10px;
            margin: 0;
            padding: 0;
            border: none;
            list-style: none;
        }

            .responsiville .woocommerce-pagination li {
                margin: 0;
                padding: 0;
                border: none;
                list-style: none;
            }

            /* responsiville.moressette.css draws a marker before every list
               item; inside a band of page numbers it reads as a bullet
               between the figures. */

            .responsiville .woocommerce-pagination li::before {
                display: none;
            }

        /*
            Every link and every number, from either markup.

            min-width rather than width: a figure of three digits should
            widen its box rather than spill out of it, which is what happens
            once an archive runs past page 99.
        */

        .responsiville .pages .page-numbers,
        .responsiville .woocommerce-pagination .page-numbers {
            display: flex;
            align-items: center;
            justify-content: center;
            min-width: 32px;
            height: 30px;
            margin: 0;
            padding: 0 6px;
            border: none;
            border-radius: 4px;
            background: none;
            color: var(--nvm-color-stone);
            font-family: var(--nvm-font-sans-serif);
            font-size: 14px;
            font-weight: 700;
            line-height: 1.1;
            text-decoration: none;
            transition: color 0.2s ease-in-out;
        }

        .responsiville .pages a.page-numbers:hover,
        .responsiville .woocommerce-pagination a.page-numbers:hover {
            background: none;
            color: var(--nvm-color-ink);
        }

        /*
            The page you are on.

            The artboard draws all six numbers in the same grey, which cannot
            be right — nothing would say where you are. It is marked in ink
            instead, and only in ink: the band is already a box, and a second
            box inside it reads as a button to press rather than a place you
            have arrived at.
        */

        .responsiville .pages .page-numbers.current,
        .responsiville .woocommerce-pagination .page-numbers.current {
            background: none;
            color: var(--nvm-color-ink);
        }

        /* The chevrons either side. They are set a little larger because a
           chevron at 14px next to a figure at 14px looks smaller than it is. */

        .responsiville .pages .page-numbers.prev,
        .responsiville .pages .page-numbers.next,
        .responsiville .woocommerce-pagination .page-numbers.prev,
        .responsiville .woocommerce-pagination .page-numbers.next {
            font-size: 20px;
            line-height: 1;
        }

        /* The gap WordPress prints where pages are skipped. It is not a link
           and should not answer the cursor like one. */

        .responsiville .pages .page-numbers.dots,
        .responsiville .woocommerce-pagination .page-numbers.dots {
            min-width: 0;
            color: var(--nvm-color-stone);
        }
