/* v2.97 — historical section-reference research pagination. Scoped to the existing reader. */
.bgs-root .bgs-fathers297-pages{display:flex;flex-wrap:wrap;gap:.55rem;align-items:center;justify-content:center;margin:1rem 0 .25rem}
.bgs-root .bgs-fathers297-pages .bgs-btn{min-height:40px;background:#eef4ff;color:#234f91;border:1px solid #c7d8ef;box-shadow:none}
.bgs-root .bgs-fathers297-pages .bgs-btn:hover:not(:disabled){background:#dfeaff;color:#173e78}
.bgs-root .bgs-fathers297-pages .bgs-btn:focus-visible{outline:3px solid #4778d7;outline-offset:2px}
.bgs-root .bgs-fathers297-pages .bgs-btn:disabled{opacity:.55;cursor:default}
.bgs-root .bgs-fathers297-pages span{color:#334965;white-space:nowrap}
@media(max-width:412px){.bgs-root .bgs-fathers297-pages{gap:.4rem}.bgs-root .bgs-fathers297-pages .bgs-btn{flex:1 1 100px;max-width:145px;padding:.5rem .65rem}.bgs-root .bgs-fathers297-pages span{order:-1;flex-basis:100%;text-align:center}}
