/* Shared CareLit-style footer. It never covers learning content. */
body.login-page,body.standalone-page{display:flex;flex-direction:column;min-height:100dvh}
.login-page>.ff-site-footer,.standalone-page>.ff-site-footer{margin-top:auto}
.ff-site-footer{background:#eaf2f7;color:#29465a;border-top:1px solid #cbdde8;padding:44px max(24px,calc((100vw - 1400px)/2)) 0;font-family:system-ui,-apple-system,sans-serif;line-height:1.7}
.ff-footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1.15fr 1fr;gap:32px}
.ff-footer-grid>*{min-width:0}
.ff-site-footer h2{font-size:1rem;letter-spacing:0;margin:0 0 15px;color:#174c70;font-weight:750}
.ff-site-footer p,.ff-site-footer address,.ff-site-footer a{font-size:.86rem;overflow-wrap:anywhere}
.ff-site-footer p{margin:0 0 12px;max-width:420px}
.ff-site-footer nav a,.ff-site-footer section>a:not(.ff-footer-brand){display:block;color:#365b74;text-decoration:none;padding:7px 0;line-height:1.6;min-height:36px}
.ff-site-footer a:hover{text-decoration:underline;color:#174c70}
.ff-site-footer a:focus-visible{outline:2px solid #17668b;outline-offset:3px;border-radius:2px}
.ff-site-footer address{font-style:normal;margin-bottom:12px}
.ff-footer-brand{display:flex;align-items:center;gap:10px;color:#173e51;margin-bottom:20px;text-decoration:none!important}
.ff-footer-brand strong{font-size:1.35rem;letter-spacing:-.035em;line-height:1.2}
.ff-footer-brand img{object-fit:contain;flex-shrink:0}
.ff-footer-bottom{display:flex;justify-content:space-between;gap:15px;padding:18px 0;margin-top:30px;border-top:1px solid #cbdde8;font-size:.78rem;color:#506c7e}
.application>.ff-site-footer{margin-left:280px;padding-inline:40px}
.standalone-page>.auth-error{width:min(100%,760px);padding:35px 24px;margin:7vh auto}
.standalone-page>.print-page{width:min(100%,850px)}
@media(max-width:1400px){.application .ff-footer-grid{grid-template-columns:1fr 1fr}}
@media(max-width:1200px){.application>.ff-site-footer{margin-left:245px}.ff-footer-grid{grid-template-columns:1fr 1fr}}
@media(max-width:800px){.application>.ff-site-footer{margin-left:0;padding-inline:24px}.ff-footer-grid{gap:28px}.ff-footer-bottom{flex-direction:column;gap:5px}}
@media(max-width:540px){.ff-footer-grid,.application .ff-footer-grid{grid-template-columns:1fr}.ff-site-footer{padding-top:32px}.ff-site-footer nav a,.ff-site-footer section>a:not(.ff-footer-brand){min-height:40px;padding:9px 0}}
@media print{.ff-site-footer{display:none!important}body.standalone-page{display:block;min-height:0}}

/* Publisher, literature library and education network on every shared footer. */
.ff-site-footer .ff-footer-partners{display:flex;align-items:stretch;justify-content:space-around;gap:24px;padding:4px 0 32px;margin-bottom:32px;border-bottom:1px solid #cbdde8}
.ff-site-footer .ff-footer-partners a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:12px 18px;color:#365b74;min-width:0}
.ff-footer-partners span{font-size:11px;letter-spacing:.08em;text-transform:uppercase}
.ff-footer-partners img{display:block;object-fit:contain;max-width:100%;height:54px;width:180px}
@media(max-width:540px){.ff-site-footer .ff-footer-partners{flex-wrap:wrap;gap:16px}.ff-site-footer .ff-footer-partners a{flex:1 1 125px;padding:8px}.ff-footer-partners img{height:44px;width:145px}}
