/* Keep legal footer links in their own in-flow row on every viewport. */
body:not(.has-owner-sidebar)>footer{height:auto!important;min-height:0!important;overflow:visible!important}
body:not(.has-owner-sidebar)>footer .footer-legal{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));align-items:start;gap:12px 18px;width:100%;box-sizing:border-box;margin:4px 0 0;padding:20px 0 2px;border-top:1px solid rgba(220,240,255,.18)}
body:not(.has-owner-sidebar)>footer .footer-legal-title{grid-column:1/-1;margin:0 0 1px;color:#a9d8ff!important;font-size:12px;font-weight:900;letter-spacing:.1em;text-transform:uppercase}
body:not(.has-owner-sidebar)>footer .footer-legal>a{display:flex;align-items:flex-start;gap:9px;min-width:0;color:#c4d8d3!important;font-size:13px;font-weight:600;line-height:1.5;text-decoration:none}
body:not(.has-owner-sidebar)>footer .footer-legal>a:hover{color:#fff!important;text-decoration:underline;text-underline-offset:3px}
@media(min-width:561px) and (max-width:900px){body:not(.has-owner-sidebar)>footer .footer-legal{grid-template-columns:repeat(3,minmax(0,1fr));gap:11px 16px}}
@media(max-width:560px){body:not(.has-owner-sidebar)>footer .footer-legal{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 12px;padding-top:17px}body:not(.has-owner-sidebar)>footer .footer-legal>a{font-size:12px}}

/* Use a single separator above the legal links; copyright remains visually attached. */
body:not(.has-owner-sidebar)>footer .fbot{border-top:0!important;margin-top:14px!important;padding-top:0!important}
@media(max-width:560px){body:not(.has-owner-sidebar)>footer .fbot{margin-top:12px!important;padding-top:0!important}}

/* Final footer flow: brand and navigation, legal links, then copyright. */
body:not(.has-owner-sidebar)>footer .wrap.footer-layout{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:0!important;height:auto!important;min-height:0!important;overflow:visible!important}
body:not(.has-owner-sidebar)>footer .footer-main{position:static!important;display:grid!important;float:none!important;grid-template-columns:minmax(260px,.8fr) minmax(0,1.2fr)!important;align-items:start!important;gap:34px 54px!important;width:100%!important;height:auto!important;min-height:0!important;overflow:visible!important}
body:not(.has-owner-sidebar)>footer .footer-navigation{position:static!important;display:grid!important;float:none!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;align-items:start!important;gap:24px!important;width:100%!important;height:auto!important;min-height:0!important;overflow:visible!important}
body:not(.has-owner-sidebar)>footer .footer-navigation .fcol{position:static!important;display:flex!important;float:none!important;flex-direction:column!important;align-items:flex-start!important;gap:12px!important;min-width:0!important;height:auto!important;overflow:visible!important}
body:not(.has-owner-sidebar)>footer .footer-legal{position:static!important;display:grid!important;float:none!important;clear:both!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;align-items:start!important;gap:12px 18px!important;width:100%!important;height:auto!important;min-height:0!important;overflow:visible!important;margin:34px 0 0!important;padding:22px 0 0!important;border-top:1px solid rgba(220,240,255,.2)!important}
body:not(.has-owner-sidebar)>footer .footer-legal-title{position:static!important;display:block!important;float:none!important;grid-column:1/-1!important;margin:0 0 3px!important}
body:not(.has-owner-sidebar)>footer .footer-legal>a{position:static!important;display:flex!important;float:none!important;min-width:0!important}
body:not(.has-owner-sidebar)>footer .fbot{position:static!important;display:block!important;float:none!important;clear:both!important;width:100%!important;height:auto!important;margin:20px 0 0!important;padding:14px 0 0!important;border:0!important;border-top:0!important;transform:none!important}
@media(min-width:561px) and (max-width:900px){body:not(.has-owner-sidebar)>footer .footer-main{grid-template-columns:minmax(190px,.8fr) minmax(0,1.2fr)!important;gap:26px!important}body:not(.has-owner-sidebar)>footer .footer-legal{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:760px){body:not(.has-owner-sidebar)>footer .footer-main{grid-template-columns:minmax(0,1fr)!important;gap:28px!important}body:not(.has-owner-sidebar)>footer .footer-navigation{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:20px 16px!important}body:not(.has-owner-sidebar)>footer .footer-legal{margin-top:28px!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}body:not(.has-owner-sidebar)>footer .fbot{margin-top:16px!important}}
