/* Shared public header/footer. Keep interior content and administration styling intact. */
.mam-layout{--ink:#12202e;--shade:#edf1f4;--rule:#cfd9e0;--body:#333;--head:#136;--muted:#526577;--snow:#fff;--gate-blue:#1b5fa8;--gate-red:#c6303a;--measure:64ch}
body:not(.path-frontpage) .layout-container.mam-layout{margin-top:0}
.mam-layout .wrap{width:100%;max-width:1120px;margin:0 auto;padding:0 24px}
.mam-layout a:focus-visible,.mam-layout button:focus-visible,.mam-layout summary:focus-visible{outline:3px solid #1b5fa8;outline-offset:4px}
.mam-layout .mam-header{position:sticky;top:0;left:auto;z-index:500;width:100%;background:#fff;box-shadow:0 3px 4px #0002}
body.toolbar-horizontal .mam-layout .mam-header{top:39px}
body.toolbar-tray-open.toolbar-horizontal .mam-layout .mam-header{top:79px}
.mam-header-inner{display:flex;align-items:center;flex-wrap:wrap;gap:0;max-width:1600px;margin:auto}
.mam-brand{display:block;flex-shrink:0;text-decoration:none}
.mam-brand img{display:block;height:100px;width:auto;max-width:100%;object-fit:contain}
.mam-sanction{display:block;width:58px;height:85px;object-fit:contain;margin:0 11px;flex-shrink:0}
.mam-navigation{margin-left:auto}
.mam-navigation .menu{display:flex;align-items:center;flex-wrap:wrap;list-style:none;margin:0;padding:0}
.mam-navigation .menu-item{padding:0}
.mam-navigation .menu a{display:block;padding:2em .8em;color:#333;font-size:18px;font-weight:400;line-height:1;text-decoration:none;transition:background .3s}
.mam-navigation .menu a:hover{background:#77889966}
.mam-navigation .menu a[href$="/getting-started"]{background:#c6303a;color:white;padding:.85em 1.4em;margin:0 1em}
.mam-navigation .menu a[href$="/getting-started"]:hover{background:#a8232c}
.mam-menu-button{display:none;border-radius:0;font:inherit;cursor:pointer}
.mam-layout .mam-footer{background:#12202e;color:#c6d3dc;padding:56px 0 32px;text-align:left;font-size:16px;line-height:1.5}
.mam-footer-columns{display:grid;grid-template-columns:1.25fr repeat(3,1fr);gap:36px}
.mam-footer h2{font-size:18px;font-weight:900;letter-spacing:-.03em;color:#fff;margin:0 0 10px;padding:0}
.mam-footer p{margin:0;padding:0;max-width:64ch}
.mam-footer a{color:#c6d3dc;text-decoration:none}
.mam-footer a:hover{color:#fff;text-decoration:underline}
.mam-footer .menu{list-style:none;margin:0;padding:0}
.mam-footer .menu-item{padding:0;margin:0 0 7px;display:block}
.mam-legal{border-top:1px solid #2c4152;margin-top:40px;padding-top:20px;display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;font-size:14px;color:#a5b5c2}
.mam-legal a{color:inherit}
/* Avoid empty regions adding space between the homepage and shared footer. */
.mam-home>.region-content{max-width:1120px;margin:auto}
.mam-home>.region-content:empty{display:none}
@media(max-width:1100px) and (min-width:1000px){.mam-brand img{height:85px}.mam-sanction{width:48px;height:75px;margin:0 6px}.mam-navigation .menu a{padding-left:.65em;padding-right:.65em;font-size:16px}}
@media(max-width:999px){
 .mam-layout .mam-header,body.toolbar-horizontal .mam-layout .mam-header,body.toolbar-tray-open.toolbar-horizontal .mam-layout .mam-header{position:relative;top:0;box-shadow:none}
 .mam-header-inner{justify-content:center}
 .mam-brand img{height:94px;max-width:calc(100vw - 100px)}
 .mam-menu-button:not([hidden]){display:block;width:100%;margin-top:6px}
 .mam-navigation{width:100%;margin:0}
 .mam-navigation .menu{display:block}
 .mam-navigation .menu a{padding:1em;text-align:center}
 .mam-navigation .menu a[href$="/getting-started"]{margin:.6em 1em 1em}
 .mam-navigation-ready .mam-navigation{display:none}
 .mam-navigation-ready .mam-navigation.is-open{display:block}
 .mam-footer-columns{grid-template-columns:repeat(2,minmax(0,1fr));gap:32px}
}
@media(max-width:520px){.mam-footer-columns{grid-template-columns:1fr}.mam-footer{padding-top:40px}.mam-legal{gap:10px}}
@media(prefers-reduced-motion:reduce){.mam-layout *{transition:none!important;animation:none!important}}
