/* Shared public header: the homepage dimensions are the source of truth. */
:root{--mm-logo-width:308px;--mm-logo-height:62px}
:root header a:is(.brand,.europe-brand,.mm-brand),:root header.topbar>a:has(>img){
 display:flex!important;align-items:center!important;justify-content:center!important;
 width:var(--mm-logo-width)!important;min-width:var(--mm-logo-width)!important;max-width:none!important;
 height:var(--mm-logo-height)!important;min-height:var(--mm-logo-height)!important;
 flex:0 0 var(--mm-logo-width)!important;overflow:hidden!important;padding:0!important;
}
:root header a:is(.brand,.europe-brand,.mm-brand)>img,:root header.topbar>a>img{
 position:static!important;left:auto!important;top:auto!important;display:block!important;width:100%!important;min-width:100%!important;max-width:none!important;
 height:auto!important;min-height:0!important;max-height:none!important;object-fit:contain!important;
 flex:0 0 100%!important;margin:0!important;transform:none!important;
}
.mm-legal-header{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
:root header .agency-logo,:root header .agency-logo>span{
 display:flex!important;align-items:center!important;justify-content:center!important;
 width:var(--mm-logo-width)!important;min-width:var(--mm-logo-width)!important;max-width:none!important;
 height:var(--mm-logo-height)!important;flex:0 0 var(--mm-logo-width)!important;
 overflow:hidden!important;aspect-ratio:auto!important;padding:0!important;border:0!important;box-shadow:none!important;
}
:root header .agency-logo img{
 position:static!important;display:block!important;width:100%!important;max-width:none!important;
 height:auto!important;max-height:none!important;object-fit:contain!important;flex:0 0 100%!important;
 margin:0!important;transform:none!important;left:auto!important;top:auto!important;
}
@media(max-width:1000px){:root{--mm-logo-width:265px;--mm-logo-height:55px}}
@media(min-width:701px) and (max-width:1100px){
 header .header-inner:has(>.desktop-nav){flex-wrap:wrap;height:auto;min-height:90px;padding:12px 0;gap:12px}
 header .header-inner>.desktop-nav{order:3;width:100%;justify-content:center;flex-wrap:wrap}
 header .header-inner>.header-help{margin-left:auto}
}
@media(max-width:700px){
 :root{--mm-logo-width:min(270px,calc(100vw - 88px));--mm-logo-height:58px}
 header.topbar,header.europe-header>div{flex-wrap:wrap;gap:8px!important}
 header.topbar{padding-top:8px!important;padding-bottom:8px!important}
 header.topbar>nav{margin-left:auto}
 header .travel-brand{flex-wrap:wrap;max-width:100%;gap:6px}
 header .header-inner:has(>.back-link){flex-wrap:wrap;width:calc(100% - 32px);margin:0 auto;height:auto;min-height:73px;padding:8px 0;gap:0 12px}
 header .header-inner>.back-link{margin-left:auto;min-height:40px}
 header.travel-header{flex-wrap:wrap;height:auto;gap:8px}
 header.travel-header>.menu-toggle{margin-left:auto}
}
