/* Shared homepage footer; isolated from theme and shortcode styles. */
body:is(.mpds-home,.mpds-site) .mpds-shared-footer{box-sizing:border-box;width:100%;max-width:1440px;margin:0 auto;background:#0b1e32;color:#fff;padding:23px 28px;display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr) minmax(0,1fr);gap:24px;border:0;border-top:2px solid #e4bb54;font:400 11px/1.45 Arial,Helvetica,sans-serif;text-align:left;clear:both}
body:is(.mpds-home,.mpds-site) .mpds-shared-footer *{box-sizing:border-box;min-width:0}
body:is(.mpds-home,.mpds-site) .mpds-shared-footer .mpds-footer-logo{display:block;line-height:0;margin:0;max-width:100%}
body:is(.mpds-home,.mpds-site) .mpds-shared-footer .mpds-footer-logo img{display:block;width:270px;max-width:100%;height:auto;object-fit:contain;margin:0;border:0;box-shadow:none;background:transparent}
body:is(.mpds-home,.mpds-site) .mpds-shared-footer h3{font:700 11px/1.3 Georgia,'Times New Roman',serif!important;text-transform:uppercase;color:#f7d77e;letter-spacing:.05em;margin:0 0 7px;padding:0}
body:is(.mpds-home,.mpds-site) .mpds-shared-footer p,body:is(.mpds-home,.mpds-site) .mpds-shared-footer a:not(.mpds-footer-logo){font:400 11px/1.45 Arial,Helvetica,sans-serif;color:#d8e2ed;display:block;margin:5px 0 0;text-decoration:none;overflow-wrap:anywhere}
body:is(.mpds-home,.mpds-site) .mpds-shared-footer a:hover{color:#f7d77e;text-decoration:underline}
body:is(.mpds-home,.mpds-site) .mpds-shared-footer a:focus-visible{outline:2px solid #f7d77e;outline-offset:3px}
body:is(.mpds-home,.mpds-site) .mpds-shared-footer .mpds-footer-fine{grid-column:1/-1;border-top:1px solid #ffffff26;padding-top:10px;color:#c9d4df;display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 16px;justify-content:space-between}
body:is(.mpds-home,.mpds-site) .mpds-shared-footer .mpds-footer-fine>a{margin:0}
body:is(.mpds-home,.mpds-site) .mpds-shared-footer .mpds-footer-legal{flex-basis:100%;display:flex;flex-wrap:wrap;gap:5px 16px}
body:is(.mpds-home,.mpds-site) .mpds-shared-footer .mpds-footer-legal a{margin:0;text-decoration:underline;text-underline-offset:2px}
/* Applied only by the footer script after a visible replacement is present. */
body.mpds-site .mpds-replaced-footer{display:none!important}
@media(max-width:700px){body:is(.mpds-home,.mpds-site) .mpds-shared-footer{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:15px;padding:18px 14px}body:is(.mpds-home,.mpds-site) .mpds-shared-footer .mpds-footer-brand{grid-column:1/-1}body:is(.mpds-home,.mpds-site) .mpds-shared-footer .mpds-footer-fine{flex-direction:column;align-items:flex-start;gap:5px}body:is(.mpds-home,.mpds-site) .mpds-shared-footer nav>a{padding:4px 0}}
@media(max-width:700px){body:is(.mpds-home,.mpds-site) .mpds-shared-footer .mpds-footer-fine{flex-wrap:nowrap}body:is(.mpds-home,.mpds-site) .mpds-shared-footer .mpds-footer-fine>*{max-width:100%}body:is(.mpds-home,.mpds-site) .mpds-shared-footer .mpds-footer-legal{flex-basis:auto;width:100%}}
