/* Shared footer refreshed after retiring the social gallery and unused social links. */
@media screen{
 body>footer.scp-footer{padding:22px 0 16px;background:linear-gradient(115deg,#081f40,#143657);color:#d4dfed}
 body>footer.scp-footer .footer-brand-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:26px;align-items:center;padding-bottom:16px;margin-bottom:18px;border-bottom:1px solid #ffffff29}
 body>footer.scp-footer .footer-brand{display:block;margin:0;padding:7px 9px;background:#fff;border-radius:5px;justify-self:start;box-shadow:none}
 body>footer.scp-footer .footer-brand img{display:block;width:200px;max-width:100%;height:auto}
 body>footer.scp-footer .footer-brand-message{margin:0;max-width:none;font:600 14px/1.5 Arial,sans-serif;color:white}
 body>footer.scp-footer .footer-brand-message span{font-size:12px;font-weight:400;color:#cbd9e9}
 body>footer.scp-footer .footer-linkedin{display:inline-flex;align-items:center;justify-content:center;gap:10px;margin:0;padding:9px 13px;border:1px solid #90a9c3;border-radius:6px;color:white;text-decoration:none;font:600 13px/1.5 Arial,sans-serif;white-space:nowrap;min-height:44px}
 body>footer.scp-footer .footer-linkedin:hover{background:#ffffff12;border-color:white}
 body>footer.scp-footer .footer-linkedin .social-icon{width:18px;height:18px;flex:0 0 18px;margin:0}
 body>footer.scp-footer .footer-navigation{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px;margin:0 0 16px;align-items:start}
 body>footer.scp-footer .footer-column{display:flex;flex-direction:column;min-width:0;background:transparent;padding:0;position:static;gap:2px;align-items:flex-start;justify-content:flex-start;text-align:left}
 body>footer.scp-footer .footer-column h3{margin:0 0 7px;font:700 10px/1.5 Arial,sans-serif;letter-spacing:1.3px;text-transform:uppercase;color:#fff}
 body>footer.scp-footer .footer-column a{display:block;margin:0;padding:3px 0;font:400 12px/1.45 Arial,sans-serif;line-height:1.45;white-space:normal;overflow-wrap:normal;color:#d4dfed;text-decoration:none;background:none;border:0;border-radius:0;box-shadow:none;min-height:0;text-align:left}
 body>footer.scp-footer .footer-column a:hover{color:white;text-decoration:underline;text-underline-offset:4px}
 body>footer.scp-footer .legal-links{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:5px 21px;border-top:1px solid #ffffff29;border-bottom:1px solid #ffffff29;padding:11px 0;margin:0;text-align:left}
 body>footer.scp-footer .legal-links a{font:400 11px/1.6 Arial,sans-serif;display:block;margin:0;padding:4px 0;color:#cfdaea}
 body>footer.scp-footer .copyright{padding:12px 0 0;margin:0;font:400 11px/1.7 Arial,sans-serif;text-align:left;color:#c1d0e2;max-width:calc(100% - 150px)}
 body .ask-launcher{bottom:calc(52px + env(safe-area-inset-bottom,0px))}
 body .ask-panel.ask-guide{bottom:calc(112px + env(safe-area-inset-bottom,0px));max-height:calc(100dvh - 140px - env(safe-area-inset-bottom,0px))}
 body>footer.scp-footer a:focus-visible{outline:2px solid #ff9c36;outline-offset:4px;border-radius:3px}
 @media(max-width:900px){
  body>footer.scp-footer .footer-brand-row{grid-template-columns:auto minmax(0,1fr);gap:22px 28px}
  body>footer.scp-footer .footer-brand-message{font-size:15px}
  body>footer.scp-footer .footer-linkedin{grid-column:2;justify-self:start}
  body>footer.scp-footer .footer-brand{grid-row:1/3;align-self:center}
 }
 @media(max-width:700px){
  body>footer.scp-footer{padding:22px 0 18px}
  body>footer.scp-footer .footer-brand-row{grid-template-columns:minmax(0,1fr) auto;gap:12px 16px;padding-bottom:16px;margin-bottom:18px}
  body>footer.scp-footer .footer-brand{grid-row:1;grid-column:1;max-width:100%}
  body>footer.scp-footer .footer-brand img{width:170px}
  body>footer.scp-footer .footer-linkedin{grid-column:2;grid-row:1;justify-self:end;padding:8px 10px;white-space:normal;max-width:124px;font-size:11px;gap:7px}body>footer.scp-footer .footer-brand-message{grid-column:1/-1;font-size:13px;line-height:1.5}body>footer.scp-footer .footer-brand-message span{font-size:12px}
  body>footer.scp-footer .footer-navigation{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 22px}
  body>footer.scp-footer .footer-column:last-child{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px 24px}body>footer.scp-footer .footer-column:last-child h3{grid-column:1/-1}
  body>footer.scp-footer .footer-column a{padding:4px 0;font-size:12px}
  body>footer.scp-footer .legal-links{gap:5px 18px}
  body>footer.scp-footer .copyright{max-width:calc(100% - 112px);padding-bottom:0;font-size:10px}
  body .ask-launcher{bottom:calc(34px + env(safe-area-inset-bottom,0px))}
  body .ask-panel.ask-guide{bottom:calc(94px + env(safe-area-inset-bottom,0px));max-height:calc(100dvh - 116px - env(safe-area-inset-bottom,0px))}
 }

}
@media print{.scp-footer .footer-brand-row,.scp-footer .footer-navigation{display:none!important}}

/* Centred footer alignment */
body>footer.scp-footer .footer-navigation{max-width:980px;margin:0 auto 22px;gap:32px}
body>footer.scp-footer .footer-column{align-items:center;text-align:center}
body>footer.scp-footer .footer-column a{text-align:center}
body>footer.scp-footer .legal-links{justify-content:center;text-align:center}
body>footer.scp-footer .copyright{text-align:center;max-width:none;width:100%;padding-bottom:18px}
@media screen and (max-width:600px){
 body>footer.scp-footer .footer-navigation{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 16px}
 body>footer.scp-footer .footer-column:last-child{display:flex;align-items:center;grid-column:1/-1;gap:2px}
 body>footer.scp-footer .copyright{max-width:none;padding-bottom:48px}
}
#home-insights .research-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
@media screen and (max-width:700px){#home-insights .research-grid{grid-template-columns:1fr}}

/* Compact sunset footer */
@media screen{
 body>footer.scp-footer{padding:16px 0 12px;background:#0b254b;position:relative;isolation:isolate;overflow:hidden}
 body>footer.scp-footer .footer-brand-row{padding-bottom:10px;margin-bottom:12px;gap:20px}
 body>footer.scp-footer .footer-brand{padding:5px 7px}
 body>footer.scp-footer .footer-brand img{width:170px}
 body>footer.scp-footer .footer-navigation{margin-bottom:12px;gap:24px}
 body>footer.scp-footer .footer-column{gap:0}
 body>footer.scp-footer .footer-column h3{margin-bottom:4px}
 body>footer.scp-footer .footer-column a{padding:2px 0}
 body>footer.scp-footer .legal-links{padding:6px 0;gap:3px 20px}
 body>footer.scp-footer .legal-links a{padding:3px 0}
 body>footer.scp-footer .copyright{padding:8px 0 0;line-height:1.6;color:#d4dfed}
}
@media screen and (max-width:700px){
 body>footer.scp-footer .footer-brand-row{gap:9px 14px}
 body>footer.scp-footer .footer-brand img{width:150px}
 body>footer.scp-footer .footer-navigation{gap:16px}
 body>footer.scp-footer .footer-column a{padding:4px 0}
 body>footer.scp-footer .footer-column:last-child{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px;grid-column:1/-1;align-items:start}
 body>footer.scp-footer .footer-column:last-child h3{grid-column:1/-1}
 body>footer.scp-footer .copyright{padding-bottom:76px}
}

/* Echo the page-header world network artwork without changing footer height. */
@media screen{
 body>footer.scp-footer:before{content:"";display:block;position:absolute;inset:0;z-index:-1;pointer-events:none;background-image:linear-gradient(90deg,#0b254b 0%,#0b254be6 36%,#0b254b70 75%,#0b254b33 100%),url("banner-network.svg");background-size:cover,auto 135%;background-position:center,right center;background-repeat:no-repeat;opacity:.85}
 body>footer.scp-footer:after{display:none}
}
@media screen and (max-width:700px){body>footer.scp-footer:before{background-size:cover,auto 85%;background-position:center,65% center;opacity:.55}}

/* Keep Ask SCP attached to the viewport rather than the centred page canvas. */
@media screen{
 body>.ask-launcher{position:fixed;right:calc(clamp(16px,2vw,24px) + env(safe-area-inset-right,0px));bottom:calc(clamp(16px,2vw,24px) + env(safe-area-inset-bottom,0px));left:auto;top:auto;margin:0;z-index:50;min-height:44px}
 body>.ask-panel.ask-guide{position:fixed;right:calc(clamp(16px,2vw,24px) + env(safe-area-inset-right,0px));bottom:calc(clamp(16px,2vw,24px) + 64px + env(safe-area-inset-bottom,0px));left:auto;top:auto;width:470px;max-width:calc(100vw - 48px - env(safe-area-inset-right,0px));max-height:calc(100dvh - 112px - env(safe-area-inset-bottom,0px));z-index:51}
}

/* On wide screens keep the floating guide inside the centred site canvas. */
@media screen and (min-width:1100px){
 body>.ask-launcher,body>.ask-panel.ask-guide{right:calc((100vw - min(1280px,94vw))/2 + 24px + env(safe-area-inset-right,0px))}
}

/* High-contrast LinkedIn action against the navy footer. */
@media screen{
 body>footer.scp-footer .footer-linkedin{background:#fff;color:#0f2d5b;border-color:#fff;box-shadow:0 2px 7px #061c3520}
 body>footer.scp-footer .footer-linkedin:hover{background:#edf3f9;color:#0f2d5b;border-color:#c6d5e4}
 body>footer.scp-footer .footer-linkedin:focus-visible{outline:3px solid #ff9c36;outline-offset:4px}
}
