.mtn-footer-layout { background:var(--mtn-footer-green,#164a40); color:var(--mtn-champagne,#f7efd9); font-family:inherit; font-size:1rem; line-height:1.6; text-align:start; }
.mtn-footer-layout,.mtn-footer-layout * { box-sizing:border-box; }
.mtn-footer-layout [hidden] { display:none!important; }
.mtf-inner { max-width:1180px; margin-inline:auto; padding:2.5rem 1rem 1.25rem; }
.mtf-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,14rem),1fr)); gap:2rem; }
.mtf-brand,.mtf-column,.mtf-module,.mtf-body { min-width:0; overflow-wrap:anywhere; }
.mtf-module + .mtf-module { margin-block-start:1.5rem; }
.mtf-brand-link { display:inline-flex; align-items:center; min-height:44px; }
.mtf-brand img { display:block; width:min(100%,220px); height:auto; }
.mtf-title { margin:0 0 .6rem; color:inherit; font-size:1.05rem; font-weight:700; line-height:1.5; }
.mtn-footer-layout p { margin:0 0 .75rem; }
.mtn-footer-layout ul { padding:0; margin:0; list-style:none; }
.mtn-footer-layout li { margin:0; padding:0; }
.mtn-footer-layout a { color:inherit; text-decoration:underline; text-underline-offset:.2em; }
.mtn-footer-layout .mod-menu a,.mtn-footer-layout .mtf-brand-link { text-decoration:none; }
.mtn-footer-layout .mod-menu a { display:inline-flex; align-items:center; min-height:44px; max-width:100%; padding-block:.35rem; }
.mtn-footer-layout a:hover { text-decoration:underline; text-underline-offset:.2em; }
.mtn-footer-layout :focus-visible { outline:3px solid #f7efd9; outline-offset:3px; }
.mtf-title button { display:flex; align-items:center; gap:.6rem; min-height:44px; max-width:100%; padding:0; border:0; border-radius:4px; background:transparent; color:inherit; font:inherit; text-align:start; cursor:pointer; }
.mtf-arrow { display:block; flex:none; width:9px; height:9px; border-right:1.8px solid currentColor; border-bottom:1.8px solid currentColor; transform:translateY(-2px) rotate(45deg); transition:transform .24s ease; }
.mtf-title button[aria-expanded=true] .mtf-arrow { transform:translateY(2px) rotate(225deg); }
.mtf-legacy { margin-block-start:2rem; }
.mtf-bottom { display:flex; flex-wrap:wrap; align-items:start; justify-content:space-between; gap:1rem 2rem; margin-block-start:2rem; padding-block-start:1.25rem; border-block-start:1px solid #ffffff40; }
.mtf-legal { min-width:0; }
.mtf-legal .mod-menu { display:flex; flex-wrap:wrap; gap:.25rem 1.25rem; }
.mtf-consent button { font:inherit; }
.mtf-consent [data-mt-consent-settings] { display:inline-flex; align-items:center; min-height:44px; padding:.5rem .85rem; border:1px solid #f7efd966; border-radius:8px; background:#ffffff08; color:inherit; text-decoration:none; cursor:pointer; transition:background .2s ease,border-color .2s ease; }
.mtf-consent [data-mt-consent-settings]:hover { color:#164a40; background:#f7efd9; }
@media (min-width:48rem) and (max-width:63.99rem) { .mtf-brand { grid-column:1/-1; } }
@media (max-width:47.99rem) {
  .mtf-grid { grid-template-columns:minmax(0,1fr); gap:1rem; }
  .mtf-inner { padding-block-start:1.75rem; }
  .mtf-bottom { display:block; }
  .mtf-consent { margin-block-start:1rem; }
  .mtf-legal .mod-menu { display:block; }
}

/* Keep template-wide heading colours and the dark footer out of the consent dialog. */
.mtn-site .mtn-footer-layout .mtf-title { color:inherit; margin:0 0 .6rem; font-size:1.05rem; line-height:1.5; }
.mtn-footer-layout .mtn-consent__dialog { color:var(--mtn-text); }
.mtf-consent .mtn-consent__settings { text-decoration:none; }
@media (prefers-reduced-motion:reduce) { .mtf-arrow { transition:none; } .mtf-consent [data-mt-consent-settings] { transition:none; } }
