/* Scoped footer styles: do not modify header, sidebar or article layout. */
.footer:has(#bz-footer-navigation) {background:#2e3240;color:#e3e5ec;}
.footer .footer__wrap:has(#bz-footer-navigation) {display:block;}
.footer #bz-footer-navigation {box-sizing:border-box;width:100%;padding:36px 0 20px;flex:1 1 100%;color:#e3e5ec;font:inherit;}
#bz-footer-navigation .bz-footer__grid {display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) minmax(0,1fr);gap:32px;}
#bz-footer-navigation .bz-footer__brand p {max-width:36ch;margin:12px 0 0;line-height:1.6;color:#cbd0dc;}
#bz-footer-navigation .bz-footer__logo {margin-bottom:12px;}
#bz-footer-navigation .bz-footer__logo img {max-width:72px;height:auto;}
#bz-footer-navigation .bz-footer__name,#bz-footer-navigation .bz-footer__heading {font-weight:600;font-size:1.1em;color:#fff;margin:0 0 12px;line-height:1.4;}
#bz-footer-navigation .bz-footer__nav ul {list-style:none;padding:0;margin:0;}
#bz-footer-navigation .bz-footer__nav li {margin:0 0 7px;padding:0;}
#bz-footer-navigation a {display:inline-block;color:#e3e5ec;text-decoration:none;line-height:1.5;transition:color .18s ease,transform .18s ease;overflow-wrap:anywhere;}
#bz-footer-navigation .bz-footer__name {color:#fff;}
#bz-footer-navigation a:hover,#bz-footer-navigation a:focus-visible {color:#ffb489;text-decoration:underline;text-underline-offset:3px;}
#bz-footer-navigation a:focus-visible {outline:2px solid #ffb489;outline-offset:3px;}
#bz-footer-navigation a:active {transform:translateY(1px);}
#bz-footer-navigation .bz-footer__notice {border-top:1px solid #575d6b;margin:26px 0 0;padding:16px 0 0;color:#cbd0dc;font-size:.88em;line-height:1.5;}
.footer:has(#bz-footer-navigation) .footer__credits {background:#242733;color:#e3e5ec;}
.footer:has(#bz-footer-navigation) .footer__credits .credits__text,.footer:has(#bz-footer-navigation) .footer__credits a {color:#e3e5ec;}
@media (max-width:850px) {#bz-footer-navigation .bz-footer__grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;}#bz-footer-navigation .bz-footer__brand {grid-column:1/-1;}}
@media (max-width:520px) { .footer #bz-footer-navigation {padding:24px 0 14px;}#bz-footer-navigation .bz-footer__grid {grid-template-columns:minmax(0,1fr);gap:20px;}#bz-footer-navigation .bz-footer__brand {grid-column:auto;}#bz-footer-navigation .bz-footer__nav a {padding:5px 0;} }
@media (prefers-reduced-motion:reduce) {#bz-footer-navigation a {transition:none;transform:none!important;}}

/* BZ_DOTTED_LINKS_V1: textual links throughout the site. */
body a[href]:not(:where(
    .button, .btn, [role="button"], .wp-block-button__link,
    .wp-element-button, .page-numbers, .custom-logo-link,
    [class*="back-to-top"], [class*="scroll-top"], [class*="scroll-up"],
    [class*="to-top"], [class*="totop"], [class*="to_top"],
    [class*="__up"], .up, .up-btn,
    [class*="social-icon"], [class*="social__"],
    a:has(> img:only-child), a:has(> picture:only-child)
)) {
    text-decoration-line: underline !important;
    text-decoration-style: dotted !important;
    text-decoration-color: currentColor !important;
    text-decoration-thickness: 1px !important;
    text-underline-offset: 3px !important;
}

/* BZ_LINK_ACCESSIBILITY_V2 */
body a[href]:not(:where(
    .button, .btn, [role="button"], .wp-block-button__link,
    .wp-element-button, .page-numbers, .custom-logo-link,
    [class*="back-to-top"], [class*="scroll-top"], [class*="scroll-up"],
    [class*="to-top"], [class*="totop"], [class*="to_top"],
    [class*="__up"], .up, .up-btn,
    [class*="social-icon"], [class*="social__"],
    a:has(> img:only-child), a:has(> picture:only-child)
)):hover,
body a[href]:not(:where(
    .button, .btn, [role="button"], .wp-block-button__link,
    .wp-element-button, .page-numbers, .custom-logo-link,
    [class*="back-to-top"], [class*="scroll-top"], [class*="scroll-up"],
    [class*="to-top"], [class*="totop"], [class*="to_top"],
    [class*="__up"], .up, .up-btn,
    [class*="social-icon"], [class*="social__"],
    a:has(> img:only-child), a:has(> picture:only-child)
)):focus-visible {
    text-decoration-style: solid !important;
}
body a[href]:not(:where(
    .button, .btn, [role="button"], .wp-block-button__link,
    .wp-element-button, .page-numbers, .custom-logo-link,
    [class*="back-to-top"], [class*="scroll-top"], [class*="scroll-up"],
    [class*="to-top"], [class*="totop"], [class*="to_top"],
    [class*="__up"], .up, .up-btn,
    [class*="social-icon"], [class*="social__"],
    a:has(> img:only-child), a:has(> picture:only-child)
)):focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}
/* Improve contrast of existing credits without changing their text. */
.footer:has(#bz-footer-navigation) .footer__credits,
.footer:has(#bz-footer-navigation) .footer__credits :where(p, small, .credits__text, .credits__copyright, .credits__copy, .credits__info) {
    color: #e3e5ec !important;
}
