@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}

:root {
    /* default pink code color fails contrast */
    --code-color: #bb2068;
}

.nomarg-top {
    margin-top: 0;
}

.text-bigger {
    font-size: 1.1rem;
    line-height: 1.7;
}

/* external link icon, added by user.js */
.external-link-icon {
    display: inline-block;
    width: 0.7em;
    height: 0.7em;
    margin-left: 0.15em;
    vertical-align: super;
    line-height: 0;
}

.external-link-icon svg {
    display: block;
    width: 100%;
    height: 100%;
}

/* article body */
.com-content-article__body,
.item-content {
    font-size: 1.125rem;
    line-height: 1.4;
}

.com-content-article__body p,
.item-content p {
    margin-bottom: 1.15em;
}

/* cap line length, images/tables/accordions stay full width */
.com-content-article__body > p,
.com-content-article__body > ul,
.com-content-article__body > ol,
.com-content-article__body > h2,
.com-content-article__body > h3,
.item-content > p,
.item-content > ul,
.item-content > ol {
    max-width: 42rem;
}

.com-content-article__body h2,
.item-content h2 {
    margin-top: 2.2em;
    margin-bottom: 0.6em;
    line-height: 1.3;
    color: var(--cassiopeia-color-primary, #112855);
}

.com-content-article__body h2:first-child,
.item-content h2:first-child {
    margin-top: 0;
}

.com-content-article__body h3:not(.accordion-header),
.item-content h3:not(.accordion-header) {
    margin-top: 2em;
    margin-bottom: 0.6em;
    font-size: 1.3rem;
    line-height: 1.35;
    color: var(--cassiopeia-color-primary, #112855);
}

.com-content-article__body h4,
.item-content h4 {
    margin-top: 1.6em;
    margin-bottom: 0.5em;
    font-size: 1.1rem;
    line-height: 1.4;
    color: var(--cassiopeia-color-primary, #112855);
}

.page-header h1 {
    margin-bottom: 0.75em;
    line-height: 1.25;
}

/* homepage only - real class is literally "item-pagehome", not a typo */
.item-pagehome > .page-header h1 {
    text-align: center;
}

.page-header h2 {
    line-height: 1.3;
    margin-bottom: 0.5em;
}

/* bulleted/numbered lists - real ::marker, not faked content */
.com-content-article__body ul:not(.list-checkmarked):not(:has(> li > a.wf_file)),
.com-content-article__body ol,
.item-content ul:not(.list-checkmarked):not(:has(> li > a.wf_file)),
.item-content ol {
    margin: 0 0 1.15em;
    padding-left: 1.3em;
}

.com-content-article__body ul:not(.list-checkmarked):not(:has(> li > a.wf_file)) > li,
.com-content-article__body ol > li,
.item-content ul:not(.list-checkmarked):not(:has(> li > a.wf_file)) > li,
.item-content ol > li {
    margin-bottom: 0.5em;
    padding-left: 0.25em;
}

/* bulleted lists only - soft card bg + blue arrow marker */
.com-content-article__body ul:not(.list-checkmarked):not(:has(> li > a.wf_file)),
.item-content ul:not(.list-checkmarked):not(:has(> li > a.wf_file)) {
    background-color: var(--template-bg-light, #f0f4fb);
    border-radius: 0.6rem;
    list-style-type: "\2192\00a0\00a0";
    padding: 1rem 1.5rem 1rem 2.25rem;
}

.com-content-article__body ul:not(.list-checkmarked):not(:has(> li > a.wf_file)) > li::marker,
.item-content ul:not(.list-checkmarked):not(:has(> li > a.wf_file)) > li::marker {
    color: var(--link-color, #006da4);
}

.com-content-article__body ol > li::marker,
.item-content ol > li::marker {
    color: var(--cassiopeia-color-primary, #112855);
    font-weight: 700;
}

.list-checkmarked {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.list-checkmarked > li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 1rem;
}

.list-checkmarked > li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.35em;
    width: 1.1rem;
    height: 1.1rem;
    background-color: var(--btnbg, #0a4ead);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* file download list (Finances, By-laws, Members Meetings, ...) */
ul:has(> li > a.wf_file) {
    list-style: none;
    margin: 0.5em 0 1.5em;
    padding: 0;
}

li:has(> a.wf_file) {
    border-bottom: 1px solid var(--border-color, #e3e3e3);
}

li:has(> a.wf_file):last-child {
    border-bottom: none;
}

li:has(> .footnote) {
    list-style: none;
    padding-left: 0;
    margin-left: 0;
}

.footnote {
    margin-left: 0;
}

.footnote-title {
    margin-bottom: 0.3rem;
    font-weight: 700;
}

a.wf_file {
    display: flex;
    align-items: center;
    gap: 0.65em;
    padding: 0.65em 0.5em;
    border-radius: 0.35rem;
    line-height: 1.5;
    transition: background-color 0.15s ease-in-out;
}

a.wf_file:hover,
a.wf_file:focus-visible {
    background-color: var(--template-bg-light, #f0f4fb);
}

.wf_file_icon {
    flex-shrink: 0;
    width: 1.35em !important;
    height: 1.35em !important;
}

.wf_file_text {
    font-size: 1rem;
}

/* category/blog listing */

/* .blog-items is a css grid - margin-top on top of its own gap
   was double-spacing things, so the gap itself is set here */
.blog-items {
    gap: 2rem;
}

.com-content-category-blog__items + .com-content-category-blog__items {
    margin-top: 2rem;
}

/* bordered card look, core's own version needs a layout option we don't use */
.blog-item {
    background-color: var(--body-bg, #fff);
    border: 1px solid var(--border-color, #d7dbe0);
    border-radius: 0.6rem;
    overflow: hidden;
}

/* padding lives here, core zeroes .blog-item's own padding */
.blog-item .item-content {
    padding: 2rem 2.25rem;
}

.blog-item > :first-child {
    margin-top: 0;
}

.com-content-category-blog__counter {
    color: var(--body-color, #171717);
    font-size: 1.125rem;
}

/* plain unpadded links, were under the 24px target size */
.com-content-blog__link a {
    display: inline-block;
    min-height: 24px;
    padding: 0.4rem 0;
}

/* accordion */
.accordion {
    margin: 1em 0 1.75em;
}

.accordion-item,
.accordion-item:first-of-type,
.accordion-item:last-of-type,
.accordion-item:first-child,
.accordion-item:last-child,
.accordion-item:not(:first-of-type) {
    margin-bottom: 1rem;
    border: 1px solid var(--border-color, #d7dbe0);
    border-radius: 0.5rem;
    overflow: hidden;
}

.accordion-item:last-child {
    margin-bottom: 0;
}

.accordion-button {
    font-size: 1.05rem;
    padding: 1rem 1.25rem;
}

.accordion-button:hover {
    background-color: var(--template-bg-light, #f0f4fb);
}

.accordion-body {
    padding: 1.25rem 1.25rem 1.5rem;
    line-height: 1.7;
}

.accordion-body p {
    margin-bottom: 0.9em;
}

.accordion-body p:last-child {
    margin-bottom: 0;
}

/* buttons */

/* solid fill reads stronger than an outline on this light page */
.btn-secondary {
    --btn-color: #fff;
    --btn-bg: var(--cassiopeia-color-primary, #112855);
    --btn-border-color: var(--cassiopeia-color-primary, #112855);
    --btn-hover-color: #fff;
    --btn-hover-bg: var(--cassiopeia-color-hover, #424077);
    --btn-hover-border-color: var(--cassiopeia-color-hover, #424077);
    --btn-active-color: #fff;
    --btn-active-bg: var(--cassiopeia-color-hover, #424077);
    --btn-active-border-color: var(--cassiopeia-color-hover, #424077);
    font-weight: 600;
}

/* homepage - leftover markup from a previous template, no matching
   core CSS for any of these classes */
.iconed-features {
    margin: 2rem 0 3rem;
}

.iconed-features .row {
    row-gap: 2rem;
}

.iconed-feature {
    background-color: var(--template-bg-light, #f0f4fb);
    border-radius: 0.75rem;
    padding: 1.75rem 1.25rem;
    text-align: center;
}

.com-content-article__body .iconed-feature h3 {
    margin-top: 0.25rem;
    margin-bottom: 0.5rem;
}

.feature-icon-w {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.25rem;
    height: 3.25rem;
    margin-bottom: 0.75rem;
    border-radius: 50%;
    background-color: var(--template-bg-light, #f0f4fb);
}

.feature-icon-w > * {
    display: block;
    width: 1.5rem;
    height: 1.5rem;
    overflow: hidden;
    text-indent: -999px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.feature-icon-w > *::before {
    content: none;
}

.icon-info-sign {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a4ead' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cline x1='12' y1='11' x2='12' y2='16'/%3E%3Ccircle cx='12' cy='7.5' r='0.9' fill='%230a4ead' stroke='none'/%3E%3C/svg%3E");
}

.icon-heart-empty {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a4ead' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7.5-4.8-10-9.3C.6 8.6 2 5 5.4 4.3 7.7 3.8 10 5 12 7.5 14 5 16.3 3.8 18.6 4.3 22 5 23.4 8.6 22 11.7 19.5 16.2 12 21 12 21z'/%3E%3C/svg%3E");
}

.icon-user {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a4ead' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c0-4.4 3.6-7 8-7s8 2.6 8 7'/%3E%3C/svg%3E");
}

.read-more-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4em;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: var(--btnbg, #0a4ead);
    text-decoration: none;
}

.read-more-link::after {
    content: "\2192";
    transition: transform 0.15s ease-in-out;
}

.iconed-feature:hover .read-more-link::after,
.iconed-feature:focus-within .read-more-link::after {
    transform: translateX(0.25em);
}

.read-more-link:focus-visible {
    outline-offset: 3px;
}

.header-lined {
    position: relative;
    padding-bottom: 0.6rem;
    margin-bottom: 1.25rem;
}

.header-lined::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 3rem;
    height: 3px;
    border-radius: 2px;
    background-color: var(--btnbg, #0a4ead);
}

/* header / main nav */
.header.container-header {
    border-bottom: 1px solid var(--border-color, #e3e3e3);
}

.metismenu.mod-menu .metismenu-item {
    border-radius: 0.4rem;
    transition: background-color 0.15s ease-in-out;
}

.metismenu.mod-menu > .metismenu-item {
    margin-inline: 0.15rem;
}

.metismenu.mod-menu .metismenu-item:hover,
.metismenu.mod-menu .metismenu-item:has(> a:focus-visible),
.metismenu.mod-menu .metismenu-item:has(> button:focus-visible) {
    background-color: var(--template-bg-light, #f0f4fb);
}

/* nav links only sized to their text, well under the 24px target */
.metismenu.mod-menu > .metismenu-item > a,
.mm-collapse .metismenu-item > a {
    align-items: center;
    display: inline-flex;
    min-height: 24px;
    padding-block: 0.4rem;
}

/* drop the underline decoration, pill background + bold active state
   below already show current/hover state */
.metismenu > li > a:after,
.metismenu > li > button:before,
.container-header .metismenu > li > button:before {
    content: none;
}

.metismenu.mod-menu > .metismenu-item.active {
    background-color: var(--template-bg-light, #f0f4fb);
}

.metismenu.mod-menu > .metismenu-item.active > a {
    color: var(--cassiopeia-color-primary, #112855);
    font-weight: 700;
}

.metismenu.mod-menu .mm-collapse {
    padding: 0.4rem;
    margin-top: 0.35rem;
    border-radius: 0.6rem;
    box-shadow: 0 12px 28px rgba(17, 40, 85, 0.16);
}

.metismenu.mod-menu .mm-collapse .metismenu-item {
    margin-inline: 0;
}

/* chevron toggle buttons were 16x6px, under the 24px min target */
.mm-toggler-link,
.metismenu.mod-menu .mm-toggler {
    min-width: 24px;
    min-height: 24px;
    justify-content: center;
}

.navbar-toggler,
.container-header .navbar-toggler {
    min-width: 2.75rem;
    min-height: 2.75rem;
    /* was white-on-white, invisible on this light header */
    color: var(--headercolor, #171717);
    border-color: var(--headercolor, #171717);
    border-radius: 0.4rem;
}

.navbar-toggler .icon-menu {
    font-size: 1.3rem;
}

/* logo pulled out of flow into its own centered band; nav/brand
   rows below are untouched (an earlier display:grid attempt on
   header.header squeezed the nav row narrower than the page) */
header.header {
    position: relative;
}

.header > .grid-child.container-below-top {
    display: flex;
    justify-content: flex-end;
    left: 50%;
    margin: 0;
    max-width: 1320px;
    padding: 0.5em;
    pointer-events: none;
    position: absolute;
    top: 0;
    transform: translateX(-50%);
    width: 100%;
}

.header > .grid-child.container-below-top #mod-custom110 {
    pointer-events: auto;
}

/* search */
.mod-finder .js-finder-search-query {
    border-radius: 999px;
    padding-inline-start: 1.1rem;
    /* bootstrap default only gave ~1.5:1 contrast, needs 3:1 */
    border-color: #868e96;
}

/* visually-hidden label, was white-on-white text before */
.mod-finder label.finder {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* footer */
.footer .grid-child {
    padding-inline: clamp(1rem, 4vw, 3rem);
    gap: 2.5rem;
}

.footer .mod-custom h3 {
    margin: 0 0 0.6rem;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.footer .mod-custom h3 a {
    text-decoration: none;
}

.footer .mod-custom h3 a:hover,
.footer .mod-custom h3 a:focus-visible {
    text-decoration: underline;
}

.footer .mod-custom p {
    margin: 0;
    max-width: 38rem;
    font-size: 0.925rem;
    line-height: 1.6;
}

.footer .footer-social {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
    margin: 0.25rem 0 0;
}

.footer-social a {
    display: inline-block;
    min-height: 24px;
    padding: 0.4rem 0;
}

/* accessibility project category table */

/* spaced-out cards instead of a dense admin-style grid, keeps
   real table/row/cell markup for screen readers */
.com-content-category__table {
    --table-striped-bg: transparent;
    --table-border-color: transparent;
    /* border-collapse:collapse (bootstrap default) makes
       border-spacing a no-op */
    border-collapse: separate;
    border-spacing: 0 0.6rem;
}

.com-content-category__table .list-title {
    padding: 0;
    border: 1px solid var(--border-color, #d7dbe0);
    border-radius: 0.5rem;
    transition: border-color 0.15s ease-in-out, background-color 0.15s ease-in-out;
}

.com-content-category__table tr:hover .list-title,
.com-content-category__table .list-title:has(a:focus-visible) {
    background-color: var(--template-bg-light, #f0f4fb);
    border-color: var(--cassiopeia-color-primary, #112855);
}

.com-content-category__table .list-title a {
    display: block;
    padding: 0.9rem 1.2rem;
    color: var(--body-color, #171717);
    text-decoration: none;
}

.com-content-category__table .list-title a:hover,
.com-content-category__table .list-title a:focus-visible {
    color: var(--cassiopeia-color-primary, #112855);
    text-decoration: underline;
}

/* sidebar menu card */
.sidebar-left.card {
    border: none;
    border-radius: 0.6rem;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(17, 40, 85, 0.1);
}

.sidebar-left .card-header {
    background-color: var(--template-bg-light, #f0f4fb);
    color: var(--cassiopeia-color-primary, #112855);
    border-bottom: 2px solid var(--cassiopeia-color-primary, #112855);
    font-size: 1.05rem;
}

.sidebar-left .card-body {
    padding: 0.6rem;
}

/* toggle button was dropping onto its own line under the link */
.sidebar-left .nav-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    text-align: left;
}

.sidebar-left .nav-item > a {
    display: flex;
    align-items: baseline;
    flex: 1 1 auto;
    flex-wrap: nowrap;
    min-width: 0;
    gap: 0.35em;
    padding: 0.55rem 0.75rem;
    border-radius: 0.4rem;
    color: var(--body-color, #171717);
    text-decoration: none;
    transition: background-color 0.15s ease-in-out;
}

.sidebar-left .nav-item > a .external-link-icon {
    flex-shrink: 0;
    margin-left: 0;
}

.sidebar-left .nav-item > .mod-menu__toggle-sub {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    padding: 0;
    margin-inline-end: 0.25rem;
    border: none;
    background: transparent;
    color: var(--body-color, #171717);
    border-radius: 0.4rem;
    cursor: pointer;
    transition: background-color 0.15s ease-in-out;
}

.sidebar-left .nav-item > .mod-menu__toggle-sub:hover,
.sidebar-left .nav-item > .mod-menu__toggle-sub:focus-visible {
    background-color: var(--template-bg-light, #f0f4fb);
}

.sidebar-left .nav-item > .mod-menu__toggle-sub .icon-chevron-down {
    transition: transform 0.15s ease-in-out;
}

.sidebar-left .nav-item > .mod-menu__toggle-sub[aria-expanded="true"] .icon-chevron-down {
    transform: rotate(180deg);
}

.sidebar-left .nav-item > ul.mod-menu__sub {
    flex: 1 0 100%;
}

.sidebar-left .nav-item > a:hover,
.sidebar-left .nav-item > a:focus-visible {
    background-color: var(--template-bg-light, #f0f4fb);
}

.sidebar-left .nav-item.active > a,
.sidebar-left .nav-item.current > a {
    background-color: var(--template-bg-light, #f0f4fb);
    color: var(--cassiopeia-color-primary, #112855);
    font-weight: 700;
}

/* nested sub-items, were unpadded links under the 24px target */
.mod-menu__sub a {
    display: inline-block;
    min-height: 24px;
    padding: 0.4rem 0;
}

/* breadcrumbs */
.mod-breadcrumbs__wrapper .breadcrumb {
    align-items: center;
    padding: 0.6rem 1rem;
    border-radius: 0.5rem;
    background-color: var(--template-bg-light, #f0f4fb);
}

.mod-breadcrumbs__wrapper .breadcrumb-item.active {
    color: var(--cassiopeia-color-primary, #112855);
    font-weight: 600;
}

/* links were 20px tall with tight gaps, under the 24px target;
   default blue only hit 5.11:1 here, needed 7:1 */
.mod-breadcrumbs a.pathway {
    color: #00547f;
    padding-block: 0.35rem;
}

.mod-breadcrumbs .breadcrumb-item + .breadcrumb-item::before {
    float: none;
    font-weight: 400;
}

/* wider gutter between sidebar and content */
.container-sidebar-left {
    margin-inline-end: 0.75rem;
}

.container-component {
    margin-inline-start: 0.75rem;
}

/* contact page */
.com-contact.contact-modern > h1,
.com-contact.contact-modern > .page-header h1 {
    color: var(--cassiopeia-color-primary, #112855);
}

.com-contact.contact-modern h2,
.com-contact.contact-modern h3 {
    color: var(--cassiopeia-color-primary, #112855);
}

.contact-modern__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
    align-items: start;
    gap: 1.5rem;
    margin: 1.5rem 0 2rem;
}

@media (max-width: 768px) {
    .contact-modern__grid {
        grid-template-columns: 1fr;
    }
}

/* core's 4-column grid squeezes the text in this narrower card */
.contact-modern__panel--info.com-contact__container {
    display: block;
}

.contact-modern__panel {
    background-color: var(--body-bg, #fff);
    border: 1px solid var(--border-color, #d7dbe0);
    border-radius: 0.6rem;
    padding: 1.5rem;
}

.contact-modern__panel > :first-child {
    margin-top: 0;
}

.contact-modern__vcard {
    margin-top: 1rem;
    font-size: 0.9rem;
}

/* icon badge + stacked lines instead of a flat two-column dl */
.com-contact__address,
.com-contact__miscinfo dl {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.com-contact__address dt,
.com-contact__miscinfo dt {
    align-items: center;
    color: var(--body-color, #171717);
    display: flex;
    font-weight: 700;
    gap: 0.6rem;
    margin-bottom: 0.35rem;
}

.com-contact__address dt [class^="icon-"],
.com-contact__miscinfo dt [class^="icon-"] {
    align-items: center;
    background-color: var(--template-bg-light, #f0f4fb);
    border-radius: 50%;
    color: var(--cassiopeia-color-primary, #112855);
    display: inline-flex;
    flex-shrink: 0;
    font-size: 0.95rem;
    height: 2rem;
    justify-content: center;
    width: 2rem;
}

.com-contact__address dd,
.com-contact__miscinfo dd {
    color: var(--body-color, #171717);
    margin: 0 0 0.15rem 2.6rem;
}

.com-contact__miscinfo dd p {
    margin: 0 0 0.75em;
}

.com-contact__miscinfo dd p:last-child {
    margin-bottom: 0;
}

/* divider replaces the heading that used to mark where this ends */
.com-contact__miscinfo {
    border-bottom: 1px solid var(--border-color, #d7dbe0);
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
}

/* drop the old .well box styling, the panel card already wraps it */
.contact-modern__panel--form form {
    background: none;
    border: none;
    padding: 0;
}

.contact-modern__panel--form .control-group {
    margin-bottom: 1.1rem;
}

.contact-modern__panel--form .control-label label {
    display: inline-block;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.contact-modern__panel--form .field-spacer .control-label {
    font-size: 0.85rem;
    font-weight: 400;
}

.contact-modern__panel--form textarea.form-control {
    min-height: 8rem;
}

/* pagination */
.pagination {
    gap: 0.35rem;
}

.page-item:not(:first-child) .page-link {
    margin-left: 0;
}

.page-link,
.page-item:first-child .page-link,
.page-item:last-child .page-link {
    border-radius: 0.4rem;
}

.page-link {
    border-color: var(--border-color, #d7dbe0);
}

.page-link:hover {
    background-color: var(--template-bg-light, #f0f4fb);
    border-color: var(--cassiopeia-color-primary, #112855);
    color: var(--cassiopeia-color-primary, #112855);
}

.page-item.active .page-link {
    background-color: var(--cassiopeia-color-primary, #112855);
    border-color: var(--cassiopeia-color-primary, #112855);
}
