.msh-hf,.msh-hf *{box-sizing:border-box}
.msh-hf{font-family:"Trebuchet MS",Arial,sans-serif;font-size:16px;line-height:1.5;text-align:start;letter-spacing:normal}
.msh-hf a{color:inherit;text-decoration:none}
.msh-hf a:hover{text-decoration:underline;text-underline-offset:4px}
.msh-hf a:focus-visible,.msh-hf button:focus-visible{outline:3px solid var(--msh-hf-accent);outline-offset:3px}
.msh-hf img{max-width:100%;height:auto}
.msh-hf-inner{width:100%;min-width:0;max-width:var(--msh-hf-width,1200px);margin-inline:auto;padding-inline:clamp(12px,2.2vw,20px)}
#msh-hf-header{display:block;width:100%!important;min-width:0!important;max-width:100%!important;margin:0;padding:0;background:var(--msh-hf-header-bg,#fff);color:var(--msh-hf-header-text,#111);border:0!important;outline:0;box-shadow:none!important;isolation:isolate;z-index:99990}
#msh-hf-header.msh-hf-sticky{position:sticky;top:var(--msh-hf-extra-offset,0px)}
#msh-hf-header.msh-hf-sticky.msh-hf-enhanced{position:fixed;inset-inline:0;top:calc(var(--msh-hf-admin-offset,0px) + var(--msh-hf-extra-offset,0px));max-height:calc(100vh - var(--msh-hf-admin-offset,0px) - var(--msh-hf-extra-offset,0px));max-height:calc(100dvh - var(--msh-hf-admin-offset,0px) - var(--msh-hf-extra-offset,0px));overflow-y:auto;overscroll-behavior:contain}
#msh-hf-header>.msh-hf-header-row{display:grid!important;grid-template-areas:"brand nav actions";grid-template-columns:minmax(0,auto) minmax(0,1fr) max-content;align-items:center;gap:clamp(8px,1.5vw,20px);width:100%!important;min-width:0!important;padding-block:var(--msh-hf-padding,12px)}
.msh-hf-brand{grid-area:brand;display:flex!important;align-items:center;gap:clamp(6px,1vw,12px);min-width:0;max-width:min(42vw,420px);flex:0 1 auto}
.msh-hf-brand:hover{text-decoration:none!important}
#msh-hf-header .msh-hf-logo-box{display:flex;align-items:center;flex:0 1 auto;min-width:0;max-width:220px;margin:0;padding:0}
#msh-hf-header .msh-hf-logo{display:block!important;width:auto!important;height:auto!important;min-width:0!important;max-width:100%!important;max-height:var(--msh-hf-logo,64px)!important;object-fit:contain;object-position:left center;margin:0!important;padding:0!important;border:0!important}
#msh-hf-header .msh-hf-brand-text{flex:1 1 auto;white-space:normal}
#msh-hf-header .msh-hf-header-actions{grid-area:actions;display:flex!important;align-items:center;justify-content:flex-end;flex-wrap:nowrap!important;gap:4px;min-width:0;max-width:92px;margin:0;padding:0;justify-self:end}
.msh-hf-sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip-path:inset(50%);white-space:nowrap!important;border:0!important}
.msh-hf-brand-text{display:flex;flex-direction:column;min-width:0;overflow-wrap:anywhere}
.msh-hf-title{font-size:clamp(16px,2vw,23px);font-weight:700;line-height:1.2;overflow-wrap:anywhere}
.msh-hf-subtitle{font-size:clamp(11px,1.2vw,13px);line-height:1.35;margin-top:4px;overflow-wrap:anywhere}
.msh-hf-menu,.msh-hf-menu ul{padding:0;margin:0;list-style:none}
.msh-hf-menu{display:flex;align-items:center;flex-wrap:wrap;gap:4px 12px}
.msh-hf-menu li{margin:0;padding:0;position:relative;list-style:none}
.msh-hf-menu a{display:inline-block;padding:9px 4px;font-weight:600}
.msh-hf-menu .current-menu-item>a,.msh-hf-menu .current-menu-ancestor>a{text-decoration:underline;text-underline-offset:5px}
#msh-hf-header-nav{grid-area:nav;display:block;min-width:0!important;width:100%;max-width:100%!important;margin:0;padding:0}
#msh-hf-header.msh-hf-menu-horizontal #msh-hf-header-nav>.msh-hf-menu{width:max-content;flex-wrap:nowrap}
#msh-hf-header.msh-hf-align-left #msh-hf-header-nav>.msh-hf-menu{margin-inline:0 auto}
#msh-hf-header.msh-hf-align-center #msh-hf-header-nav>.msh-hf-menu{margin-inline:auto}
#msh-hf-header.msh-hf-align-right #msh-hf-header-nav>.msh-hf-menu{margin-inline:auto 0}
#msh-hf-header.msh-hf-menu-vertical #msh-hf-header-nav>.msh-hf-menu{flex-direction:column;align-items:flex-start}
#msh-hf-header.msh-hf-align-left #msh-hf-header-nav>.msh-hf-menu{justify-content:flex-start}
#msh-hf-header.msh-hf-align-center #msh-hf-header-nav>.msh-hf-menu{justify-content:center}
#msh-hf-header.msh-hf-align-right #msh-hf-header-nav>.msh-hf-menu{justify-content:flex-end}
#msh-hf-header-nav .msh-hf-menu ul{margin-inline-start:14px;border-inline-start:2px solid var(--msh-hf-accent);padding-inline-start:12px}
#msh-hf-header.msh-hf-enhanced #msh-hf-header-nav .msh-hf-menu ul{display:none}
#msh-hf-header.msh-hf-enhanced #msh-hf-header-nav .msh-hf-submenu-open>ul{display:block}
/* In-flow submenus stay inside the scrollable sticky header, without clipping. */
.msh-hf button{font:inherit;letter-spacing:normal;text-transform:none;cursor:pointer;border-radius:5px;box-shadow:none;margin:0}
.msh-hf-toggle{display:none;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:8px 4px;background:transparent;color:inherit;border:0}
.msh-hf-submenu-toggle{min-width:44px;min-height:44px;padding:6px;background:transparent;color:inherit;border:0}
.msh-hf-extra{padding-block:0 10px;overflow-wrap:anywhere;overflow-x:auto}
.msh-hf-extra img,.msh-hf-extra iframe,.msh-hf-extra video{max-width:100%}
.msh-hf-extra>:first-child{margin-top:0}.msh-hf-extra>:last-child{margin-bottom:0}
#msh-hf-spacer{display:block;height:0;margin:0;padding:0;border:0;flex-shrink:0}
#msh-hf-footer{display:block;width:100%;margin:0;padding:32px 0 18px;background:var(--msh-hf-footer-bg,#102a43);color:var(--msh-hf-footer-text,#fff);clear:both}
.msh-hf-footer-content{overflow-wrap:anywhere;margin-bottom:20px}
.msh-hf-footer-content>:first-child{margin-top:0}
#msh-hf-footer .msh-hf-menu{gap:4px 24px}
#msh-hf-footer .msh-hf-menu ul{padding-inline-start:14px}
.msh-hf-copyright{margin:20px 0 0;padding-top:16px;border:0;font-size:13px}
.msh-hf-replaced{display:none!important}
#msh-hf-header .msh-hf-account{display:block;position:relative;flex:0 0 44px!important;width:44px!important;min-width:44px!important;max-width:44px!important;min-height:44px;margin:0!important;padding:0!important;border:0;background:transparent;color:inherit}
#msh-hf-header .msh-hf-account-toggle{display:flex!important;justify-content:center;align-items:center;width:44px!important;min-width:44px!important;max-width:44px!important;height:44px!important;min-height:44px;list-style:none;cursor:pointer;padding:0!important;margin:0!important;border:0;background:transparent;color:inherit}
.msh-hf-account-toggle::-webkit-details-marker{display:none}
.msh-hf-account-toggle::marker{content:""}
.msh-hf-account-toggle::after{content:none!important}
.msh-hf-account-toggle:focus-visible{outline:3px solid var(--msh-hf-accent);outline-offset:2px}
#msh-hf-header .msh-hf-account-emoji{display:block;width:36px;max-width:36px;overflow:hidden;font-family:"Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif;font-size:28px;line-height:1.3;text-align:center;white-space:nowrap}
.msh-hf-account-panel{position:absolute;top:100%;right:0;width:min(280px,calc(100vw - 24px));padding:12px;background:var(--msh-hf-header-bg,#fff);color:var(--msh-hf-header-text,#111);border:0;border-radius:8px;box-shadow:0 8px 28px #0003;overflow-y:auto;overscroll-behavior:contain;text-align:start}
.msh-hf-account:not([open])>.msh-hf-account-panel{display:none}
#msh-hf-header.msh-hf-enhanced .msh-hf-account-panel{position:fixed;right:auto;left:var(--msh-hf-account-x,12px);top:var(--msh-hf-account-y,60px);max-height:var(--msh-hf-account-height,70vh);z-index:2}
.msh-hf-account-name{font-weight:700;overflow-wrap:anywhere;margin:0 0 8px;padding:4px 8px}
.msh-hf-account-links,.msh-hf-account-links ul{display:block;list-style:none;padding:0;margin:0}
.msh-hf-account-links ul{padding-inline-start:14px}
.msh-hf-account-links li{display:block;list-style:none;margin:0;padding:0}
.msh-hf-account-links a,.msh-hf-account-action{display:block;padding:10px 8px;min-height:44px;overflow-wrap:anywhere;color:inherit;font-size:15px;line-height:1.5}
.msh-hf-account-links a:hover{background:#8882;border-radius:4px}
.msh-hf-account-action{font-weight:700}
.msh-hf-login-button{background:var(--msh-hf-accent,#087fbd);color:#fff!important;border-radius:5px;text-align:center}
/* Controls occupy a separate area so branding cannot move them offscreen. */
#msh-hf-header .msh-hf-toggle{flex:0 0 44px!important;width:44px!important;min-width:44px!important;max-width:44px!important;height:44px!important;min-height:44px!important;padding:0!important;font-size:25px;line-height:1}
#msh-hf-header.msh-hf-compact>.msh-hf-header-row{grid-template-areas:"brand actions" "nav nav"!important;grid-template-columns:minmax(0,1fr) max-content!important;column-gap:8px;row-gap:0;padding-block:min(var(--msh-hf-padding,12px),12px)}
#msh-hf-header.msh-hf-compact .msh-hf-brand{width:100%;max-width:100%!important}
#msh-hf-header.msh-hf-compact .msh-hf-logo-box{flex:0 1 72px;max-width:72px}
#msh-hf-header.msh-hf-compact .msh-hf-logo{max-height:48px!important}
#msh-hf-header.msh-hf-compact .msh-hf-brand-logo-only .msh-hf-logo-box{flex:0 1 auto;max-width:100%}
#msh-hf-header.msh-hf-compact .msh-hf-toggle{display:inline-flex!important}
#msh-hf-header.msh-hf-compact #msh-hf-header-nav{display:none!important;padding-top:0}
#msh-hf-header.msh-hf-compact.msh-hf-menu-open #msh-hf-header-nav{display:block!important;padding-top:10px}
#msh-hf-header.msh-hf-compact #msh-hf-header-nav>.msh-hf-menu{display:block!important;width:100%!important;max-width:100%;margin:0!important}
#msh-hf-header.msh-hf-compact #msh-hf-header-nav .msh-hf-menu a{padding:12px 4px;max-width:calc(100% - 48px);white-space:normal;overflow-wrap:anywhere}
@media(max-width:1024px){
 #msh-hf-header>.msh-hf-header-row{grid-template-areas:"brand actions" "nav nav"!important;grid-template-columns:minmax(0,1fr) max-content!important;column-gap:8px;row-gap:0;padding-block:min(var(--msh-hf-padding,12px),12px)}
 #msh-hf-header .msh-hf-brand{width:100%;max-width:100%!important}
 #msh-hf-header .msh-hf-logo-box{flex:0 1 72px;max-width:72px}
 #msh-hf-header .msh-hf-logo{max-height:48px!important}
 #msh-hf-header .msh-hf-brand-logo-only .msh-hf-logo-box{flex:0 1 auto;max-width:100%}
 #msh-hf-header.msh-hf-enhanced .msh-hf-toggle{display:inline-flex!important}
 #msh-hf-header.msh-hf-enhanced #msh-hf-header-nav{display:none!important}
 #msh-hf-header.msh-hf-enhanced.msh-hf-menu-open #msh-hf-header-nav{display:block!important;padding-top:10px}
 #msh-hf-header #msh-hf-header-nav>.msh-hf-menu{display:block!important;width:100%!important;max-width:100%;margin:0!important}
 #msh-hf-header-nav .msh-hf-menu a{padding:12px 4px;max-width:calc(100% - 48px);white-space:normal;overflow-wrap:anywhere}
}
@media(max-width:480px){
 #msh-hf-header>.msh-hf-header-row{padding-inline:12px!important;column-gap:6px}
 #msh-hf-header .msh-hf-brand{gap:6px}
 #msh-hf-header .msh-hf-logo-box{flex-basis:60px;max-width:60px}
 #msh-hf-header .msh-hf-title{font-size:16px}
 #msh-hf-header .msh-hf-subtitle{font-size:11px}
}
@media(prefers-reduced-motion:reduce){.msh-hf *{scroll-behavior:auto!important}}
/* Mobile uses its own three equal-alignment slots and a single menu trigger. */
#msh-hf-header>.msh-hf-mobile-row{display:none!important}
@media(max-width:1024px){
 #msh-hf-header.msh-hf-mobile-sticky{position:fixed!important;inset-inline-start:0!important;inset-inline-end:auto!important;top:calc(var(--msh-hf-admin-offset,0px) + var(--msh-hf-extra-offset,0px))!important;width:var(--msh-hf-mobile-width,100vw)!important;min-width:0!important;max-width:100vw!important;max-height:none!important;overflow:visible!important;transform:none!important}
 #msh-hf-header>.msh-hf-header-row,#msh-hf-header>.msh-hf-extra{display:none!important}
 #msh-hf-header>.msh-hf-mobile-row{display:grid!important;grid-template-columns:minmax(0,1fr) 44px minmax(0,1fr)!important;grid-template-areas:"logo emoji points";align-items:center;gap:6px;min-height:64px;width:100%!important;max-width:100%!important;min-width:0!important;padding:8px 12px!important;margin:0;box-sizing:border-box!important}
 #msh-hf-header .msh-hf-mobile-brand{grid-area:logo;display:flex;align-items:center;justify-content:flex-start;justify-self:start;min-width:0;width:100%;max-width:100%;padding:0;margin:0;overflow:hidden;text-decoration:none;line-height:1.2;font-size:14px;font-weight:700;overflow-wrap:anywhere}
 #msh-hf-header .msh-hf-mobile-brand>span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;max-width:100%}
 #msh-hf-header .msh-hf-mobile-logo{display:block!important;width:auto!important;height:auto!important;min-width:0!important;max-width:100%!important;max-height:44px!important;object-fit:contain;object-position:left center;margin:0!important;padding:0!important;border:0!important}
 #msh-hf-header .msh-hf-mobile-menu{grid-area:emoji;justify-self:center;display:block!important;position:static!important;width:44px!important;min-width:44px!important;max-width:44px!important;margin:0!important;padding:0!important;border:0!important;background:transparent;color:inherit}
 #msh-hf-header .msh-hf-mobile-emoji-toggle{display:flex!important;align-items:center;justify-content:center;list-style:none;cursor:pointer;width:44px!important;min-width:44px!important;max-width:44px!important;height:44px!important;margin:0!important;padding:0!important;border:0!important;background:transparent;color:inherit}
 #msh-hf-header .msh-hf-mobile-emoji-toggle::marker{content:""}
 #msh-hf-header .msh-hf-mobile-emoji-toggle::-webkit-details-marker{display:none}
 #msh-hf-header .msh-hf-mobile-emoji-toggle::after{content:none!important}
 #msh-hf-header .msh-hf-mobile-emoji-toggle>span{display:block;width:36px;max-width:36px;overflow:hidden;white-space:nowrap;text-align:center;font:28px/1.3 "Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif}
 #msh-hf-header .msh-hf-mobile-emoji-toggle:focus-visible,#msh-hf-header .msh-hf-mobile-dashboard>summary:focus-visible{outline:3px solid var(--msh-hf-accent);outline-offset:2px}
 #msh-hf-header .msh-hf-mobile-points{grid-area:points;justify-self:end;display:flex;align-items:center;justify-content:center;width:auto;max-width:100%;min-width:0;min-height:44px;padding:8px 6px;border:0;border-radius:5px;background:var(--msh-hf-accent,#087fbd);color:#fff!important;font-size:12px;font-weight:700;line-height:1.2;text-align:center;overflow-wrap:anywhere;text-decoration:none}
 #msh-hf-header .msh-hf-mobile-points-placeholder{grid-area:points;min-width:0}
 #msh-hf-mobile-panel{position:fixed!important;top:var(--msh-hf-mobile-panel-y,calc(64px + var(--msh-hf-admin-offset,0px) + var(--msh-hf-extra-offset,0px)));left:var(--msh-hf-mobile-panel-x,12px);right:auto;width:var(--msh-hf-mobile-panel-width,calc(100vw - 24px));min-width:0;max-width:calc(100vw - 24px);max-height:var(--msh-hf-mobile-panel-height,65vh);padding:12px;background:var(--msh-hf-header-bg,#fff);color:var(--msh-hf-header-text,#111);box-shadow:0 8px 28px #0003;border:0;border-radius:8px;overflow-y:auto;overscroll-behavior:contain;z-index:5;text-align:start}
 #msh-hf-mobile-menu:not([open])>#msh-hf-mobile-panel{display:none!important}
 #msh-hf-mobile-panel .msh-hf-mobile-links,#msh-hf-mobile-panel .msh-hf-mobile-links ul{display:block;list-style:none;min-width:0;max-width:100%;margin:0;padding:0}
 #msh-hf-mobile-panel .msh-hf-mobile-links ul{padding-inline-start:12px}
 #msh-hf-mobile-panel .msh-hf-mobile-links li{display:block;list-style:none;min-width:0;max-width:100%;margin:0;padding:0}
 #msh-hf-mobile-panel .msh-hf-mobile-links a{display:block;min-width:0;max-width:100%;min-height:44px;padding:10px 8px;font-size:15px;font-weight:600;white-space:normal;overflow-wrap:anywhere;color:inherit}
 #msh-hf-mobile-panel .msh-hf-mobile-dashboard{position:static;width:100%;max-width:100%;padding:0;margin:6px 0;border:0;background:transparent;color:inherit}
 #msh-hf-mobile-panel .msh-hf-mobile-dashboard>summary{display:block;cursor:pointer;list-style:none;min-height:44px;padding:10px 8px;font-size:15px;font-weight:700;background:transparent;color:inherit}
 #msh-hf-mobile-panel .msh-hf-mobile-dashboard>summary::after{content:"▾";float:right}
 #msh-hf-mobile-panel .msh-hf-mobile-dashboard:not([open])>nav{display:none}
 #msh-hf-mobile-panel .msh-hf-mobile-dashboard>nav{padding-inline-start:12px}
 #msh-hf-spacer{height:64px}
}
/* A compact footer with optional links and a private learner-progress card. */
#msh-hf-footer{padding:28px 0 16px;border:0!important;box-shadow:none!important}
#msh-hf-footer .msh-hf-footer-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));align-items:start;gap:24px 32px;min-width:0}
#msh-hf-footer .msh-hf-footer-grid>*{min-width:0;max-width:100%}
#msh-hf-footer .msh-hf-footer-brand{display:inline-flex;align-items:center;max-width:100%;margin:0 0 10px;padding:0;text-decoration:none;font-size:20px;font-weight:700;line-height:1.2;overflow-wrap:anywhere}
#msh-hf-footer .msh-hf-footer-logo{display:block;width:auto!important;height:auto!important;max-width:min(180px,100%)!important;max-height:48px!important;object-fit:contain;margin:0!important}
#msh-hf-footer .msh-hf-footer-content{font-size:14px;line-height:1.65;margin:0;max-width:38ch}
#msh-hf-footer .msh-hf-footer-content p{margin:0 0 8px}
#msh-hf-footer .msh-hf-footer-grid h2{font-family:inherit;font-size:14px;font-weight:700;line-height:1.4;letter-spacing:.02em;margin:0 0 10px;padding:0;color:inherit}
#msh-hf-footer .msh-hf-footer-links .msh-hf-menu{display:block;margin:0;padding:0;list-style:none}
#msh-hf-footer .msh-hf-footer-links .msh-hf-menu ul{margin:0;padding-inline-start:12px}
#msh-hf-footer .msh-hf-footer-links .msh-hf-menu a{display:block;font-size:14px;font-weight:400;line-height:1.4;padding:7px 0;overflow-wrap:anywhere}
#msh-hf-footer .msh-hf-footer-progress{background:rgba(255,255,255,.98);color:#102a43;padding:16px;border:0;border-radius:12px;box-shadow:0 3px 14px rgba(0,0,0,.035)}
#msh-hf-footer .msh-hf-footer-progress-content{min-width:0;max-width:100%;overflow-x:auto;font-size:14px;line-height:1.5}
#msh-hf-footer .msh-hf-footer-progress-content>:first-child{margin-top:0}
#msh-hf-footer .msh-hf-footer-progress-content>:last-child{margin-bottom:0}
#msh-hf-footer .msh-hf-footer-progress-content :is(h1,h2,h3){font-family:inherit;font-size:15px;line-height:1.4;margin:8px 0}
#msh-hf-footer .msh-hf-footer-progress-content :is(table,progress){max-width:100%}
#msh-hf-footer .msh-hf-copyright{margin-top:20px;padding-top:12px;border:0!important;font-size:12px;line-height:1.5;opacity:.8}
@media(max-width:640px){#msh-hf-footer{padding-top:22px}#msh-hf-footer .msh-hf-footer-grid{grid-template-columns:minmax(0,1fr);gap:20px}#msh-hf-footer .msh-hf-footer-content{max-width:none}#msh-hf-footer .msh-hf-footer-links .msh-hf-menu{display:flex;flex-wrap:wrap;gap:0 20px}#msh-hf-footer .msh-hf-footer-links .msh-hf-menu a{min-height:40px;display:flex;align-items:center}}
@media(max-width:1024px){#msh-hf-header.msh-hf-mobile-sticky{display:block!important;visibility:visible!important;opacity:1!important;translate:none!important;animation:none!important;transition:none!important;will-change:auto!important}}

/* Footer controls: section order is rendered in the saved reading order. */
#msh-hf-footer{padding:0}
#msh-hf-footer .msh-hf-footer-main{padding-block:28px 20px}
#msh-hf-footer.msh-hf-footer-layout-columns .msh-hf-footer-grid{grid-template-columns:repeat(auto-fit,minmax(0,1fr))}
#msh-hf-footer.msh-hf-footer-layout-stacked .msh-hf-footer-grid{grid-template-columns:minmax(0,1fr)}
#msh-hf-footer.msh-hf-footer-align-left .msh-hf-footer-grid{text-align:left}
#msh-hf-footer.msh-hf-footer-align-center .msh-hf-footer-grid{text-align:center}
#msh-hf-footer.msh-hf-footer-align-right .msh-hf-footer-grid{text-align:right}
#msh-hf-footer .msh-hf-footer-brand{font-size:var(--msh-hf-footer-brand-size,20px)!important}
#msh-hf-footer .msh-hf-footer-brand span{font-size:inherit!important}
#msh-hf-footer .msh-hf-footer-content{font-size:var(--msh-hf-footer-content-size,14px)!important}
#msh-hf-footer .msh-hf-footer-content :where(p,div,span,strong,em,small,li,a,h1,h2,h3,h4,h5,h6){font-size:inherit!important}
#msh-hf-footer .msh-hf-footer-links>h2{font-size:var(--msh-hf-footer-links-heading-size,14px)!important}
#msh-hf-footer .msh-hf-footer-links .msh-hf-menu a{font-size:var(--msh-hf-footer-links-size,14px)!important}
#msh-hf-footer .msh-hf-footer-progress>h2{font-size:var(--msh-hf-footer-progress-heading-size,14px)!important}
#msh-hf-footer .msh-hf-footer-progress-content{font-size:var(--msh-hf-footer-progress-size,14px)!important}
#msh-hf-footer .msh-hf-footer-progress-content :where(p,div,span,strong,em,small,td,th,label,a,h1,h2,h3,h4,h5,h6){font-size:inherit!important}
#msh-hf-footer .msh-hf-copyright-area{background:var(--msh-hf-copyright-bg,var(--msh-hf-footer-bg));color:var(--msh-hf-copyright-text,var(--msh-hf-footer-text));padding-block:12px 16px;border:0!important}
#msh-hf-footer .msh-hf-copyright-area.msh-hf-copyright-bottom.msh-hf-copyright-divider{border-top:var(--msh-hf-copyright-divider-width,1px) solid var(--msh-hf-copyright-divider-color,#627d98)!important}
#msh-hf-footer .msh-hf-copyright-area.msh-hf-copyright-top.msh-hf-copyright-divider{border-bottom:var(--msh-hf-copyright-divider-width,1px) solid var(--msh-hf-copyright-divider-color,#627d98)!important}
#msh-hf-footer .msh-hf-copyright-align-left{text-align:left}
#msh-hf-footer .msh-hf-copyright-align-center{text-align:center}
#msh-hf-footer .msh-hf-copyright-align-right{text-align:right}
#msh-hf-footer .msh-hf-copyright{margin:0;padding:0;border:0!important;font-size:var(--msh-hf-copyright-size,12px)!important;color:inherit;opacity:1;overflow-wrap:anywhere}
@media(max-width:640px){
    #msh-hf-footer .msh-hf-footer-main{padding-top:22px}
    #msh-hf-footer.msh-hf-footer-layout-columns .msh-hf-footer-grid{grid-template-columns:minmax(0,1fr)}
}

/* Each segment can override the general footer alignment independently. */
#msh-hf-footer .msh-hf-footer-brand-column{text-align:var(--msh-hf-footer-brand-alignment,left)}
#msh-hf-footer .msh-hf-footer-content{text-align:var(--msh-hf-footer-content-alignment,left)!important;margin-inline-start:var(--msh-hf-footer-content-margin-start,0);margin-inline-end:var(--msh-hf-footer-content-margin-end,auto)}
#msh-hf-footer .msh-hf-footer-content :where(p,div,span,li,a,h1,h2,h3,h4,h5,h6){text-align:inherit!important}
#msh-hf-footer .msh-hf-footer-links>h2{text-align:var(--msh-hf-footer-links-heading-alignment,left)!important}
#msh-hf-footer .msh-hf-footer-links .msh-hf-menu{text-align:var(--msh-hf-footer-links-alignment,left)}
#msh-hf-footer .msh-hf-footer-links .msh-hf-menu a{text-align:var(--msh-hf-footer-links-alignment,left)!important}
#msh-hf-footer .msh-hf-footer-progress>h2{text-align:var(--msh-hf-footer-progress-heading-alignment,left)!important}
#msh-hf-footer .msh-hf-footer-progress-content{text-align:var(--msh-hf-footer-progress-alignment,left)!important}
#msh-hf-footer .msh-hf-footer-progress-content :where(p,div,span,td,th,label,h1,h2,h3,h4,h5,h6){text-align:inherit!important}
@media(max-width:640px){
    #msh-hf-footer .msh-hf-footer-links .msh-hf-menu{justify-content:var(--msh-hf-footer-links-justify,flex-start)}
    #msh-hf-footer .msh-hf-footer-links .msh-hf-menu a{justify-content:var(--msh-hf-footer-links-justify,flex-start)}
}

/* Match the mobile header breakpoint; desktop keeps the saved segment alignments. */
@media(max-width:1024px){
    #msh-hf-footer .msh-hf-footer-grid{
        --msh-hf-footer-brand-alignment:center;
        --msh-hf-footer-content-alignment:center;
        --msh-hf-footer-links-heading-alignment:center;
        --msh-hf-footer-links-alignment:center;
        --msh-hf-footer-progress-heading-alignment:center;
        --msh-hf-footer-progress-alignment:center;
        --msh-hf-footer-content-margin-start:auto;
        --msh-hf-footer-content-margin-end:auto;
        --msh-hf-footer-links-justify:center;
        text-align:center!important;
    }
    #msh-hf-footer .msh-hf-copyright-area,
    #msh-hf-footer .msh-hf-copyright{text-align:center!important}
}

/* Subscription link follows its own desktop controls and centres on mobile. */
#msh-hf-footer .msh-hf-footer-membership{min-width:0;text-align:var(--msh-hf-footer-membership-alignment,left);font-size:var(--msh-hf-footer-membership-size,14px);line-height:1.5;overflow-wrap:anywhere}
#msh-hf-footer .msh-hf-footer-membership a{color:inherit;font:inherit;text-decoration:underline;text-underline-offset:3px;display:inline-block;padding-block:8px;max-width:100%}
@media(max-width:1024px){#msh-hf-footer .msh-hf-footer-membership{text-align:center!important}}
