/* Shared by list, gallery, exhibition and member boards. */
html body nav.pg_wrap.cb-pagination {
    box-sizing:border-box;display:block;float:none;clear:both;width:100%;max-width:100%;
    margin:32px auto 12px;padding:0;text-align:center;line-height:1;
}
html body nav.cb-pagination::after {display:none;}
html body nav.cb-pagination>.pg {display:flex;flex-direction:column;align-items:center;gap:12px;width:100%;margin:0;padding:0;}
html body nav.cb-pagination .cb-pagination-track {display:flex;flex-wrap:nowrap;align-items:center;justify-content:center;gap:6px;width:max-content;max-width:100%;margin:0;padding:0;}
html body nav.cb-pagination .cb-page {
    box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;flex:0 0 42px;
    width:42px;min-width:0;height:44px;margin:0;padding:0;border:1px solid #dfe5dc;border-radius:6px;
    background:#fff;color:#596454;font-family:inherit;font-size:15px;font-weight:500;line-height:1;
    text-align:center;text-decoration:none;white-space:nowrap;vertical-align:middle;box-shadow:none;
    transition:background-color .15s,color .15s,border-color .15s;
}
html body nav.cb-pagination a.cb-page:hover {background:#f0f4ed;border-color:#a8b99d;color:#304a3a;}
html body nav.cb-pagination .cb-page.is-current {background:#304a3a;border-color:#304a3a;color:#fff;font-weight:650;}
html body nav.cb-pagination .cb-page.is-disabled {color:#bdc6b7;background:#f8faf6;border-color:#edf0e8;}
html body nav.cb-pagination a:focus-visible {outline:2px solid #466650;outline-offset:3px;}
html body nav.cb-pagination .cb-page-arrow {position:relative;display:block;width:16px;height:16px;}
html body nav.cb-pagination .cb-page-arrow::after {content:"";position:absolute;left:5px;top:4px;width:7px;height:7px;border-top:1.5px solid currentColor;border-right:1.5px solid currentColor;transform:rotate(45deg);}
html body nav.cb-pagination .cb-page-first .cb-page-arrow,
html body nav.cb-pagination .cb-page-previous .cb-page-arrow {transform:rotate(180deg);}
html body nav.cb-pagination .cb-page-first .cb-page-arrow::before,
html body nav.cb-pagination .cb-page-last .cb-page-arrow::before {content:"";position:absolute;top:3px;right:0;width:1.5px;height:10px;background:currentColor;}
/* Search-range navigation stays separate from the unbroken number row. */
html body nav.cb-pagination .pg_search {float:none;display:inline-flex;align-items:center;justify-content:center;width:auto;min-width:100px;height:40px;margin:0;padding:0 14px;background:#f3f6ef;border:1px solid #dfe5dc;border-radius:6px;color:#466650;font-size:13px;text-indent:0;text-decoration:none;}
/* Gallery admin buttons occupy their own row instead of pushing the pager. */
html body .pageing_div {display:flow-root;clear:both;width:100%;height:auto;min-height:0;}
html body .pageing_div .list_btns {position:static;float:none;display:flex;justify-content:flex-end;gap:8px;width:auto;margin:0;}
@media(max-width:740px) {
    html body nav.pg_wrap.cb-pagination {margin:24px auto 8px;}
    html body nav.cb-pagination .cb-pagination-track {gap:6px;}
    html body nav.cb-pagination .cb-page {flex-basis:44px;width:44px;height:44px;font-size:14px;}
    html body nav.cb-pagination .cb-page-desktop-only,
    html body nav.cb-pagination .cb-page-first,
    html body nav.cb-pagination .cb-page-last {display:none;}
}
@media(prefers-reduced-motion:reduce) {
    html body nav.cb-pagination .cb-page {transition:none;}
}
