/* Compact footer: shared alignment, comfortable targets, full-width legal copy. */
.footer_main_div.sy-footer{padding-top:24px!important;padding-bottom:18px!important}
.sy-footer .footer_parent_div{display:block}
.sy-footer .footer_main_row{display:grid!important;grid-template-columns:1.3fr 1fr 1fr 1fr;gap:20px 32px;margin:0!important;padding:0;text-align:left;align-items:start}
.sy-footer .footer_main_row>div{width:auto;min-width:0;padding:0;grid-column:auto}
.sy-footer .footer_main_row h2{font-size:calc(13px * var(--reading-scale))!important;line-height:1.4;margin:0 0 8px!important}
.sy-footer .footer_all_divs{display:flex;align-items:flex-start;gap:8px;margin:0!important;min-height:30px}
.sy-footer .footer_all_divs>span,.sy-footer .footer_all_divs>div:first-child{flex:0 0 16px;padding-top:6px}
.sy-footer .footer_all_divs svg{width:13px;height:14px;vertical-align:top}
.sy-footer .footer_all_divs a{display:block;padding-block:5px;overflow-wrap:anywhere}
.sy-footer .sy-footer-links{display:grid;gap:0 16px;align-items:start}
.sy-footer .footer_common_p{display:flex;align-items:center;min-height:30px;padding-block:5px;text-decoration:none}
.sy-footer .footer_common_p p{margin:0;line-height:1.5}
.sy-footer .main_footer_downloads>p{margin:0}
.sy-footer .main_footer_downloads>p>a{display:flex;align-items:center;min-height:30px;padding-block:5px}
.sy-footer .footer_social_icons{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:4px;margin-top:8px}
.sy-footer .footer_social_icons a{display:inline-flex;align-items:center;justify-content:center;width:32px;min-height:32px;border-radius:8px}
.sy-footer .footer_social_icons svg{width:15px;height:15px}
.sy-footer a:hover,.sy-footer a:focus-visible{color:var(--text)!important;text-decoration:underline;text-decoration-color:var(--accent);text-underline-offset:3px}
.sy-footer a:focus-visible{outline:2px solid var(--accent);outline-offset:3px;border-radius:4px}
.sy-footer .footer_hr{height:1px!important;margin:16px 0 10px!important;border:0;border-top:1px solid var(--line)!important}
.sy-footer .sy-footer-legal{width:100%;max-width:none;margin:0;padding:0!important}
.sy-footer .copyright_text{text-align:left;line-height:1.5;margin:0 0 8px}
.sy-footer .copyright_text p{margin:0!important}
.sy-footer .sy-disclaimer{padding:0!important;text-align:left}
.sy-footer .sy-disclaimer h2{margin:0 0 4px!important}
.sy-footer .sy-disclaimer p{margin:0 0 4px;line-height:1.5}
.sy-footer .sy-disclaimer p:last-child{margin-bottom:0}
@media(min-width:1440px){
 .sy-footer .footer_main_row{grid-template-columns:1.2fr 1.1fr 1.1fr .9fr;column-gap:40px}
 .sy-footer .sy-footer-links{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:999px){
 .sy-footer .footer_main_row{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 24px}
 .sy-footer .footer_main_row>div{grid-column:auto}
 .sy-footer .footer_main_row>div:first-child,.sy-footer .footer_main_row>div:last-child{grid-column:1/-1}
 .sy-footer .main_footer_downloads{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:16px}
 .sy-footer .main_footer_downloads>h2,.sy-footer .footer_social_icons{grid-column:1/-1}
 .sy-footer .footer_all_divs a,.sy-footer .footer_common_p,.sy-footer .main_footer_downloads>p>a{min-height:40px;align-content:center}
 .sy-footer .footer_all_divs>span,.sy-footer .footer_all_divs>div:first-child{padding-top:12px}
 .sy-footer .footer_social_icons a{width:40px;min-height:40px}
}
@media(max-width:599px){
 .footer_main_div.sy-footer{padding-top:20px!important;padding-bottom:16px!important}
 .sy-footer .footer_main_row{gap:18px 20px}
 .sy-footer .footer_common_p,.sy-footer .footer_all_divs a,.sy-footer .main_footer_downloads>p>a{min-height:44px}
 .sy-footer .footer_social_icons a{width:44px;min-height:44px}
 .sy-footer .footer_all_divs>span,.sy-footer .footer_all_divs>div:first-child{padding-top:14px}
}
/* Reflow footer groups with the existing page-zoom accessibility setting. */
:root[data-zoom-layout=small] .sy-footer .footer_main_row{grid-template-columns:repeat(2,minmax(0,1fr))!important}
:root[data-zoom-layout=small] .sy-footer .footer_main_row>div:first-child,:root[data-zoom-layout=small] .sy-footer .footer_main_row>div:last-child{grid-column:1/-1}
:root[data-zoom-layout=small] .sy-footer .sy-footer-links{grid-template-columns:minmax(0,1fr)}
@media(prefers-contrast:more){.sy-footer a:focus-visible{outline-width:3px}}

/* Visible footer identity and a simple route back to the page content. */
.sy-footer-brandbar{display:flex;align-items:center;gap:16px;flex-wrap:wrap;padding-bottom:18px;margin-bottom:18px;border-bottom:1px solid var(--line)}
.sy-footer-brandbar>a:first-child{display:flex;align-items:center;min-height:44px}
.sy-footer-brandbar img{display:block;width:170px;height:34px;object-fit:cover;object-position:center}
.sy-footer-brandbar p{margin:0;color:var(--muted);font-size:13px}
.sy-footer-brandbar .sy-footer-top{display:inline-flex;align-items:center;min-height:44px;margin-left:auto;padding:8px 12px;background:var(--surface);color:var(--text);border:1px solid var(--line);border-radius:8px;text-decoration:none;font-size:13px}
@media(max-width:599px){.sy-footer-brandbar{gap:8px 12px}.sy-footer-brandbar p{order:3;flex-basis:100%}.sy-footer-brandbar img{width:145px;height:29px}}

/* Fixed, compact bottom bar; the detailed footer stays in the document. */
:root{--fixed-footer-height:56px}
body{padding-bottom:calc(var(--fixed-footer-height) + env(safe-area-inset-bottom))!important}
html{scroll-padding-bottom:calc(var(--fixed-footer-height) + 16px)}
.sy-fixed-footer{position:fixed;inset:auto 0 0;z-index:1000;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:5px 24px calc(5px + env(safe-area-inset-bottom));background:var(--surface);color:var(--text);border-top:1px solid var(--line);font-size:12px;box-sizing:border-box}
.sy-fixed-footer>div{display:flex;gap:6px;align-items:center}
.sy-fixed-footer a{display:flex;align-items:center;justify-content:center;min-height:44px;padding:6px 10px;color:var(--text);background:var(--surface);border-radius:8px;box-shadow:inset 0 0 0 1px var(--line);text-decoration:none}
.sy-fixed-footer a:hover,.sy-fixed-footer a:focus-visible{background:var(--selected);color:var(--accent-text);outline:2px solid var(--accent-text);outline-offset:-2px}
@media(max-width:599px){.sy-fixed-footer{padding-inline:8px;font-size:10px}.sy-fixed-footer a{padding-inline:6px}.sy-fixed-footer>div{gap:4px}}

/* Hide the selected supplementary brand row. */
.sy-footer .sy-footer-brandbar{display:none}

/* Clear footer groups with comfortable, consistently aligned links. */
:root body .sy-footer .footer_main_row{gap:24px 32px;align-items:start}
:root body .sy-footer .footer_main_row h2{color:var(--text);font-weight:700;margin-bottom:12px!important}
:root body .sy-footer .footer_common_p,
:root body .sy-footer .footer_all_divs a,
:root body .sy-footer .main_footer_downloads>p>a{min-height:44px;font-size:calc(13px * var(--reading-scale));line-height:1.5}
:root body .sy-footer .footer_all_divs{align-items:center;min-height:44px}
:root body .sy-footer .footer_all_divs>span,:root body .sy-footer .footer_all_divs>div:first-child{padding-top:0}
:root body .sy-footer .sy-footer-links{grid-template-columns:1fr;gap:6px}
:root body .sy-footer .footer_social_icons{gap:8px}
:root body .sy-footer .footer_social_icons a{width:44px;min-height:44px;background:var(--surface);box-shadow:inset 0 0 0 1px var(--line)}
@media(min-width:1400px){:root body .sy-footer .sy-footer-links{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:599px){:root body .sy-footer .footer_main_row{grid-template-columns:1fr!important;gap:24px}:root body .sy-footer .sy-footer-links{grid-template-columns:repeat(2,minmax(0,1fr))}}
