/* Shared footer and official-account page, aligned with the current blue visual system. */
body.image-header-page .site-footer{background:#0a1e3b;color:#e0e8f4;padding-top:48px}
body.image-header-page .footer-main{grid-template-columns:1.65fr 1fr 1fr 1fr;gap:38px;padding-bottom:38px;align-items:start}
body.image-header-page .footer-brand{display:inline-flex;position:relative;max-width:100%;padding:0;background:transparent;border:0;box-shadow:none}
body.image-header-page .site-footer .brand-logo{display:block;width:260px;max-width:100%;height:auto;background:transparent;border:0;border-radius:0;padding:0;filter:none}
body.image-header-page .site-footer .brand-logo:not(.brand-logo--custom){filter:brightness(0) invert(1)}
body.image-header-page .footer-brand:has(.brand-logo[src$="imsc-logo.png"]):after{content:"";position:absolute;inset:0;background:url("assets/imsc-logo.png") left center/100% auto no-repeat;clip-path:inset(0 80% 0 0);pointer-events:none}
body.image-header-page .footer-tagline{font-size:14px;line-height:1.9;margin:20px 0 0;max-width:300px;color:#b4c3d8}
body.image-header-page .footer-links{display:flex;flex-direction:column;gap:9px;font-size:14px}
body.image-header-page .footer-links h3{font-size:16px;font-weight:600;line-height:1.6;color:#fff;margin:0 0 9px}
body.image-header-page .footer-links a{font-size:14px;line-height:1.9;color:#b4c3d8;min-height:30px;width:fit-content}
body.image-header-page .footer-links a:hover,body.image-header-page .footer-bottom a:hover{color:#fff}
body.image-header-page .footer-bottom{border-color:#ffffff26;color:#b4c3d8;font-size:12px;line-height:1.8;padding-block:20px;gap:12px 24px}
body.image-header-page .site-footer a:focus-visible{outline:2px solid #8dceff;outline-offset:5px}
.fi-page{padding:48px 0 44px;color:#183a57;background:#fff}
.fi-page :is(h2,h3,p){margin:0;font-family:inherit}
.fi-page h2{font-size:32px;line-height:1.55;font-weight:600}
.fi-page h3{font-size:19px;line-height:1.6;font-weight:600}
.fi-page a:focus-visible{outline:2px solid #0957c3;outline-offset:5px}
.fi-eyebrow{display:block;font-size:12px;line-height:1.7;font-weight:500;letter-spacing:1.5px;color:#0957c3;margin-bottom:12px}
.fi-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:80px;align-items:start}
.fi-lead{font-size:16px;line-height:1.9;color:#63768b;max-width:600px;margin-top:16px!important}
.fi-topics{margin-top:28px;border-top:1px solid #dfe7ef}
.fi-topics>a{display:grid;grid-template-columns:36px minmax(0,1fr) auto;align-items:center;gap:16px;padding:21px 0;border-bottom:1px solid #dfe7ef}
.fi-topic-icon{color:#0957c3;display:flex;align-self:start;padding-top:4px}.fi-topic-icon svg{width:27px;height:27px}
.fi-topics p{font-size:14px;line-height:1.8;color:#63768b;margin-top:5px}
.fi-topic-action{display:flex;align-items:center;gap:10px;font-size:13px;color:#0957c3;white-space:nowrap}
.fi-topic-action svg,.fi-account-more svg,.fi-reading-head>a svg,.fi-contact svg{width:17px;height:17px;flex:none}
.fi-topics>a:hover h3,.fi-reading-list>a:hover h3{color:#0957c3}
.fi-account{background:#f1f6fc;border-top:3px solid #0957c3;padding:28px 28px 24px;text-align:center}
.fi-account-label{display:block;font-size:13px;letter-spacing:2px;color:#52677e;margin-bottom:23px}
.fi-qr-link{display:block;width:208px;max-width:100%;padding:24px;background:#fff;margin:0 auto 20px;line-height:0}
.fi-qr-link img{display:block;width:160px;max-width:100%;height:auto}
.fi-account h3{font-size:20px}.fi-account p{font-size:14px;line-height:1.8;color:#52677e;margin-top:8px}
.fi-account small{display:block;font-size:12px;line-height:1.8;color:#63768b;margin-top:5px}
.fi-account-more{display:flex;align-items:center;justify-content:center;gap:16px;padding-top:20px;margin-top:24px;border-top:1px solid #d6e3f0;font-size:14px;color:#0957c3}
.fi-custom-account{overflow-wrap:anywhere;text-align:left}.fi-custom-account img{max-width:100%;height:auto}
.fi-reading{margin-top:46px;padding-top:32px;border-top:1px solid #dfe7ef}
.fi-reading-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:22px}.fi-reading-head h2{font-size:26px}.fi-reading-head .fi-eyebrow{margin-bottom:7px}
.fi-reading-head>a,.fi-contact a{display:flex;align-items:center;gap:14px;font-size:14px;color:#0957c3;flex-shrink:0}
.fi-reading-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}
.fi-reading-list>a{display:grid;grid-template-columns:30px minmax(0,1fr) 18px;gap:12px;align-items:start;padding:20px 0;border-top:2px solid #dfe7ef}
.fi-reading-index{font-size:14px;line-height:1.8;color:#7d94af}.fi-reading-list h3{font-size:17px;line-height:1.8}.fi-reading-list svg{width:17px;height:17px;color:#0957c3;margin-top:7px}
.fi-contact{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-top:22px;background:#f3f7fc;padding:20px 24px}.fi-contact p{font-size:16px;line-height:1.8}
@media(max-width:1000px){body.image-header-page .footer-main{grid-template-columns:1.4fr 1fr 1fr;gap:28px}body.image-header-page .footer-main>.footer-links:last-child{grid-column:1/-1;flex-direction:row;flex-wrap:wrap;align-items:center;border-top:1px solid #ffffff26;padding-top:22px;gap:16px 30px}body.image-header-page .footer-links:last-child h3{margin:0}.fi-layout{gap:36px;grid-template-columns:minmax(0,1fr) 280px}.fi-account{padding-inline:20px}.fi-topic-action{grid-column:2;justify-self:start}.fi-topics>a{gap:6px 12px}.fi-reading-list{gap:20px}}
@media(max-width:700px){body.image-header-page .site-footer{padding-top:32px}body.image-header-page .footer-main{grid-template-columns:1fr 1fr;gap:28px 20px;padding-bottom:26px}body.image-header-page .footer-main>div:first-child{grid-column:1/-1}body.image-header-page .site-footer .brand-logo{width:240px}body.image-header-page .footer-tagline{margin-top:14px}body.image-header-page .footer-links{gap:5px}body.image-header-page .footer-links a{min-height:36px}body.image-header-page .footer-main>.footer-links:last-child{display:grid;grid-template-columns:1fr 1fr;gap:6px 20px}body.image-header-page .footer-links:last-child h3{grid-column:1/-1;margin-bottom:8px}body.image-header-page .footer-bottom{font-size:12px;gap:8px 18px;padding-right:46px;padding-bottom:28px}.fi-page{padding:30px 0}.fi-layout{grid-template-columns:1fr;gap:28px}.fi-page h2{font-size:27px}.fi-lead{font-size:15px}.fi-topics{margin-top:23px}.fi-topics>a{grid-template-columns:30px minmax(0,1fr);padding:18px 0}.fi-topic-icon svg{width:24px;height:24px}.fi-topics h3{font-size:18px}.fi-topic-action{margin-top:5px}.fi-account{grid-row:1;width:100%;padding:24px}.fi-account-label{margin-bottom:18px}.fi-reading{margin-top:30px;padding-top:26px}.fi-reading-head{align-items:start;flex-direction:column;gap:12px}.fi-reading-head h2{font-size:24px}.fi-reading-list{grid-template-columns:1fr;gap:0}.fi-reading-list>a{padding:18px 0;border-top-width:1px}.fi-contact{align-items:start;flex-direction:column;gap:10px;margin-top:12px;padding:20px}.fi-contact p{font-size:15px}}
