/* Existing theme navigation, opt-in only. No cloned menus or additional fonts. */
html:has(body.qmnh-navigation) { scroll-padding-top:calc(var(--qmnh-navigation-bottom, 100px) + 16px); }
body.qmnh-navigation { --qmnh-nav-green:#75b843; --qmnh-nav-petrol:#13282b; }
body.qmnh-navigation header.front-header[data-qmnh-navigation="ready"] .qmnh-submenu-toggle { display:none; }
body.qmnh-navigation header.front-header[data-qmnh-navigation="ready"] a:focus-visible,
body.qmnh-navigation header.front-header[data-qmnh-navigation="ready"] button:focus-visible {
    outline:3px solid currentColor; outline-offset:3px; border-radius:2px;
}
body.qmnh-navigation header.front-header[data-qmnh-navigation="ready"] .sub-menu[inert] { visibility:hidden!important; pointer-events:none!important; }
body.qmnh-navigation header.front-header[data-qmnh-navigation="ready"] .menu-item.active > .sub-menu {
    visibility:visible; opacity:1; pointer-events:auto; transform:none;
}
body.qmnh-navigation header.front-header[data-qmnh-navigation="ready"] .language-switcher ul[inert] { visibility:hidden!important; }
body.qmnh-navigation header.front-header[data-qmnh-navigation="ready"] .language-switcher.active ul { visibility:visible; opacity:1; }
body.qmnh-navigation header.front-header[data-qmnh-navigation="ready"] .language-switcher button { min-width:44px; min-height:44px; }
body.qmnh-navigation header.front-header[data-qmnh-navigation="ready"] .language-switcher img { width:26px; height:20px; object-fit:contain; }
body.qmnh-navigation header.front-header[data-qmnh-navigation="ready"] .language-switcher ul a { display:flex; align-items:center; min-height:44px; min-width:44px; }
body.qmnh-navigation.qmnh-nav-compact header.front-header[data-qmnh-navigation="ready"] {
    position:fixed!important; top:var(--qmnh-admin-offset,0px)!important; inset-inline:0;
    width:100%; margin:0; padding:0; background:#13282b;
    color:white; border-bottom:2px solid #75b843; box-shadow:0 3px 12px #0002; z-index:1000;
}
body.qmnh-navigation.qmnh-nav-compact header.front-header[data-qmnh-navigation="ready"] > .container {
    width:100%; max-width:1680px; padding:0 24px;
}
body.qmnh-navigation.qmnh-nav-compact header.front-header[data-qmnh-navigation="ready"] .content {
    display:flex; align-items:center; gap:24px; padding:0; min-height:80px;
}
body.qmnh-navigation.qmnh-nav-compact header.front-header[data-qmnh-navigation="ready"] .logo { width:64px; max-width:64px; margin:0; }
body.qmnh-navigation.qmnh-nav-compact header.front-header[data-qmnh-navigation="ready"] .logo a { display:flex; min-height:44px; align-items:center; }
body.qmnh-navigation.qmnh-nav-compact header.front-header[data-qmnh-navigation="ready"] .logo img { width:auto; max-width:64px; height:auto; max-height:42px; }
body.qmnh-navigation.qmnh-nav-compact:not(.qmnh-nav-drawer):not(.qmnh-nav-tablet) header.front-header[data-qmnh-navigation="ready"] .front-header-nav {
    position:static; display:flex; flex:1; min-width:0; flex-direction:column; gap:0;
    height:auto; max-width:none; width:auto; overflow:visible; transform:none; background:transparent; padding:0;
}
body.qmnh-navigation.qmnh-nav-compact:not(.qmnh-nav-drawer):not(.qmnh-nav-tablet) header.front-header[data-qmnh-navigation="ready"] .front-header-top {
    position:static; transform:none; height:auto; min-height:44px; padding:0 64px 0 0;
    background:transparent; color:white; width:100%;
}
body.qmnh-navigation.qmnh-nav-compact:not(.qmnh-nav-drawer):not(.qmnh-nav-tablet) header.front-header[data-qmnh-navigation="ready"] .front-header-top .container {
    padding:0; width:100%; max-width:none; height:auto;
}
body.qmnh-navigation.qmnh-nav-compact:not(.qmnh-nav-drawer):not(.qmnh-nav-tablet) header.front-header[data-qmnh-navigation="ready"] .front-header-top nav { padding:0; }
body.qmnh-navigation.qmnh-nav-compact:not(.qmnh-nav-drawer):not(.qmnh-nav-tablet) header.front-header[data-qmnh-navigation="ready"] .front-header-top nav ul { column-gap:24px; row-gap:0; }
body.qmnh-navigation.qmnh-nav-compact:not(.qmnh-nav-drawer):not(.qmnh-nav-tablet) header.front-header[data-qmnh-navigation="ready"] .front-header-top nav a {
    color:white; font-size:max(.875rem,14px); font-weight:600; letter-spacing:.015em; min-height:44px; display:flex; align-items:center;
}
body.qmnh-navigation.qmnh-nav-compact:not(.qmnh-nav-drawer):not(.qmnh-nav-tablet) header.front-header[data-qmnh-navigation="ready"] .front-header-bottom { width:100%; }
body.qmnh-navigation.qmnh-nav-compact:not(.qmnh-nav-drawer):not(.qmnh-nav-tablet) header.front-header[data-qmnh-navigation="ready"] .front-header-bottom nav {
    justify-content:flex-end; gap:16px; min-height:36px;
}
body.qmnh-navigation.qmnh-nav-compact:not(.qmnh-nav-drawer):not(.qmnh-nav-tablet) header.front-header[data-qmnh-navigation="ready"] .front-header-bottom nav > ul { gap:18px; flex-wrap:nowrap; }
body.qmnh-navigation.qmnh-nav-compact:not(.qmnh-nav-drawer):not(.qmnh-nav-tablet) header.front-header[data-qmnh-navigation="ready"] .front-header-bottom nav > ul > li > a {
    min-height:36px; font-size:max(.875rem,14px); letter-spacing:0; white-space:nowrap;
}
body.qmnh-navigation.qmnh-nav-compact:not(.qmnh-nav-drawer):not(.qmnh-nav-tablet) header.front-header[data-qmnh-navigation="ready"] .front-header-bottom .btns { gap:10px; }
body.qmnh-navigation.qmnh-nav-compact header.front-header[data-qmnh-navigation="ready"] .btns > a {
    display:flex; justify-content:center; align-items:center; min-height:44px; height:auto;
    font-size:max(1rem,16px); letter-spacing:.03em; padding:8px 20px; width:auto; min-width:112px;
}
body.qmnh-navigation.qmnh-nav-compact header.front-header[data-qmnh-navigation="ready"] .btns > .brand-btn-primary { background:#75b843; color:#13282b; }
body.qmnh-navigation.qmnh-nav-compact header.front-header[data-qmnh-navigation="ready"] .btns > .brand-btn-with-icon,
body.qmnh-navigation.qmnh-nav-drawer header.front-header[data-qmnh-navigation="ready"] .btns > .brand-btn-with-icon {
    position:relative; padding-right:52px; min-width:152px;
}
body.qmnh-navigation.qmnh-nav-compact header.front-header[data-qmnh-navigation="ready"] .brand-btn-with-icon:before,
body.qmnh-navigation.qmnh-nav-drawer header.front-header[data-qmnh-navigation="ready"] .brand-btn-with-icon:before {
    width:24px; height:24px; right:16px; left:auto; top:50%; transform:translateY(-50%);
}
body.qmnh-navigation.qmnh-nav-compact header.front-header[data-qmnh-navigation="ready"] .brand-btn-with-icon:after,
body.qmnh-navigation.qmnh-nav-drawer header.front-header[data-qmnh-navigation="ready"] .brand-btn-with-icon:after { width:100%; }
body.qmnh-navigation.qmnh-nav-compact:not(.qmnh-nav-drawer):not(.qmnh-nav-tablet) header.front-header[data-qmnh-navigation="ready"] .language-element {
    position:absolute; right:24px; top:4px; transform:none; height:44px;
}
body.qmnh-navigation.qmnh-nav-compact header.front-header[data-qmnh-navigation="ready"] .language-switcher ul { top:100%; right:0; left:auto; transform:none; }
body.qmnh-navigation.qmnh-nav-compact header.front-header[data-qmnh-navigation="ready"] .language-switcher ul:before { background:#13282b; border:1px solid #75b843; }
body.qmnh-navigation.qmnh-nav-compact header.front-header[data-qmnh-navigation="ready"] .language-switcher ul li { padding:0 10px; }
body.qmnh-navigation.qmnh-nav-compact header.front-header[data-qmnh-navigation="ready"] .front-header-top nav a:hover,
body.qmnh-navigation.qmnh-nav-compact header.front-header[data-qmnh-navigation="ready"] .front-header-top .current-menu-item > a,
body.qmnh-navigation.qmnh-nav-compact header.front-header[data-qmnh-navigation="ready"] .front-header-bottom nav > ul > li > a:hover,
body.qmnh-navigation.qmnh-nav-compact header.front-header[data-qmnh-navigation="ready"] .front-header-bottom .current-menu-item > a { color:#75b843; }
body.qmnh-navigation header.front-header[data-qmnh-navigation="ready"] .front-header-bottom nav > ul > li > .sub-menu {
    background:#75b843; color:#13282b; padding:12px 20px; border-radius:0;
    width:320px; max-width:calc(100vw - 32px); max-height:var(--qmnh-menu-height,65vh); overflow-y:auto;
}
body.qmnh-navigation header.front-header[data-qmnh-navigation="ready"] .front-header-bottom .sub-menu:before { display:none; }
body.qmnh-navigation header.front-header[data-qmnh-navigation="ready"] .front-header-bottom .sub-menu li { padding:0; margin:0; border-color:#13282b55; }
body.qmnh-navigation header.front-header[data-qmnh-navigation="ready"] .front-header-bottom .sub-menu li a {
    color:#13282b; display:flex; align-items:center; min-height:44px; padding:8px 0;
    font-size:max(1rem,16px); line-height:1.4; text-transform:none; letter-spacing:0;
}
body.qmnh-navigation header.front-header[data-qmnh-navigation="ready"] .front-header-bottom .sub-menu li a:hover { color:#13282b; text-decoration:underline; }
body.qmnh-navigation header.front-header[data-qmnh-navigation="ready"] .front-header-bottom .sub-menu li a:focus-visible { outline-color:#13282b; outline-offset:0; }
body.qmnh-navigation.qmnh-nav-drawer header.front-header[data-qmnh-navigation="ready"] {
    position:fixed!important; top:var(--qmnh-admin-offset,0px)!important;
    padding:10px 0; background:#13282b; color:white; z-index:1000;
}
body.qmnh-navigation.qmnh-nav-drawer header.front-header[data-qmnh-navigation="ready"] > .container { max-width:1680px; width:100%; padding:0 20px; }
body.qmnh-navigation.qmnh-nav-drawer header.front-header[data-qmnh-navigation="ready"] .content { min-height:60px; padding:0; align-items:center; gap:16px; }
body.qmnh-navigation.qmnh-nav-drawer header.front-header[data-qmnh-navigation="ready"] .logo { width:82px; max-width:82px; margin:0; }
body.qmnh-navigation.qmnh-nav-drawer header.front-header[data-qmnh-navigation="ready"] .logo img { max-width:82px; max-height:54px; width:auto; height:auto; }
body.qmnh-navigation.qmnh-nav-drawer header.front-header[data-qmnh-navigation="ready"] .language-element {
    position:static; transform:none; margin:0 0 0 auto; height:44px; z-index:2;
}
body.qmnh-navigation.qmnh-nav-drawer header.front-header[data-qmnh-navigation="ready"] .language-switcher ul { top:100%; right:0; left:auto; transform:none; }
body.qmnh-navigation.qmnh-nav-drawer header.front-header[data-qmnh-navigation="ready"] .burger {
    display:block!important; visibility:visible!important; opacity:1!important;
    position:relative; z-index:3; width:44px; height:44px; min-width:44px; padding:0; transform:none!important; flex-shrink:0; transition:none;
}
body.qmnh-navigation.qmnh-nav-drawer header.front-header[data-qmnh-navigation="ready"] .burger span {
    display:block; position:absolute; height:3px; width:28px; left:8px;
    background:#75b843; opacity:1; transform:none; transition:none;
}
body.qmnh-navigation.qmnh-nav-drawer header.front-header[data-qmnh-navigation="ready"] .burger span:nth-child(1) { top:12px; transform-origin:center; }
body.qmnh-navigation.qmnh-nav-drawer header.front-header[data-qmnh-navigation="ready"] .burger span:nth-child(2) { top:21px; }
body.qmnh-navigation.qmnh-nav-drawer header.front-header[data-qmnh-navigation="ready"] .burger span:nth-child(3) { top:30px; transform-origin:center; }
body.qmnh-navigation.qmnh-nav-drawer header.front-header[data-qmnh-navigation="ready"] .burger.open span:nth-child(1) { top:21px; transform:rotate(45deg); }
body.qmnh-navigation.qmnh-nav-drawer header.front-header[data-qmnh-navigation="ready"] .burger.open span:nth-child(2) { opacity:0; }
body.qmnh-navigation.qmnh-nav-drawer header.front-header[data-qmnh-navigation="ready"] .burger.open span:nth-child(3) { top:21px; transform:rotate(-45deg); }
body.qmnh-navigation.qmnh-nav-drawer header.front-header[data-qmnh-navigation="ready"] .front-header-nav {
    position:fixed; inset:auto 0 0 auto; top:var(--qmnh-navigation-bottom,80px);
    display:flex; flex-direction:column; align-items:stretch; gap:12px;
    width:min(460px,100%); max-width:100%; height:auto; max-height:none;
    background:#13282b; color:white; padding:12px 24px 32px; overflow-y:auto; overscroll-behavior:contain;
    transform:none; transition:none; visibility:hidden; box-shadow:-5px 6px 16px #0003;
}
body.qmnh-navigation.qmnh-nav-drawer header.front-header[data-qmnh-navigation="ready"] .front-header-nav.show { visibility:visible; }
body.qmnh-navigation.qmnh-nav-drawer header.front-header[data-qmnh-navigation="ready"] .front-header-top {
    position:static; transform:none; height:auto; padding:0; background:transparent; color:white;
}
body.qmnh-navigation.qmnh-nav-drawer header.front-header[data-qmnh-navigation="ready"] .front-header-top .container { padding:0; width:100%; }
body.qmnh-navigation.qmnh-nav-drawer header.front-header[data-qmnh-navigation="ready"] .front-header-top nav { padding:0; width:100%; }
body.qmnh-navigation.qmnh-nav-drawer header.front-header[data-qmnh-navigation="ready"] .front-header-top nav ul,
body.qmnh-navigation.qmnh-nav-drawer header.front-header[data-qmnh-navigation="ready"] .front-header-bottom nav > ul {
    display:flex; flex-direction:column; align-items:stretch; justify-content:flex-start; gap:0; width:100%;
}
body.qmnh-navigation.qmnh-nav-drawer header.front-header[data-qmnh-navigation="ready"] .front-header-top nav a,
body.qmnh-navigation.qmnh-nav-drawer header.front-header[data-qmnh-navigation="ready"] .front-header-bottom nav > ul > li > a {
    display:flex; justify-content:space-between; align-items:center; width:100%; min-height:48px;
    font-size:max(1rem,16px); line-height:1.4; letter-spacing:.02em; padding:8px 0; color:white;
}
body.qmnh-navigation.qmnh-nav-drawer header.front-header[data-qmnh-navigation="ready"] .front-header-top nav .current-menu-item > a { color:#75b843; }
body.qmnh-navigation.qmnh-nav-drawer header.front-header[data-qmnh-navigation="ready"] .front-header-bottom { border-top:1px solid #ffffff55; padding-top:8px; }
body.qmnh-navigation.qmnh-nav-drawer header.front-header[data-qmnh-navigation="ready"] .front-header-bottom nav { display:flex; flex-direction:column; align-items:stretch; gap:16px; }
body.qmnh-navigation.qmnh-nav-drawer header.front-header[data-qmnh-navigation="ready"] .front-header-bottom .btns { display:flex; flex-wrap:wrap; flex-direction:row; gap:12px; }
body.qmnh-navigation.qmnh-nav-drawer header.front-header[data-qmnh-navigation="ready"] .btns > a {
    display:flex; align-items:center; justify-content:center; min-height:44px; min-width:112px;
    padding:8px 16px; font-size:max(1rem,16px); letter-spacing:.02em;
}
body.qmnh-navigation.qmnh-nav-drawer header.front-header[data-qmnh-navigation="ready"] .front-header-bottom nav > ul > li > .sub-menu {
    position:static; display:none; margin:0 0 8px; width:100%; max-height:none; overflow:visible;
    transform:none; opacity:1; padding:4px 16px;
}
body.qmnh-navigation.qmnh-nav-drawer header.front-header[data-qmnh-navigation="ready"] .front-header-bottom nav > ul > li.active > .sub-menu { display:block; }
body.qmnh-navigation.qmnh-nav-drawer.qmnh-nav-compact header.front-header[data-qmnh-navigation="ready"] { padding:4px 0; }
body.qmnh-navigation.qmnh-nav-drawer.qmnh-nav-compact header.front-header[data-qmnh-navigation="ready"] .content { min-height:52px; }
body.qmnh-navigation.qmnh-nav-drawer.qmnh-nav-compact header.front-header[data-qmnh-navigation="ready"] .logo img { max-width:66px; max-height:44px; }
@media(prefers-reduced-motion:reduce) {
    body.qmnh-navigation header.front-header[data-qmnh-navigation="ready"] *, body.qmnh-navigation header.front-header[data-qmnh-navigation="ready"] *:before,
    body.qmnh-navigation header.front-header[data-qmnh-navigation="ready"] *:after { transition:none!important; animation:none!important; }
}
@media print {
    body.qmnh-navigation header.front-header[data-qmnh-navigation="ready"] { display:none!important; }
}

/* Same CSS breakpoint as matchMedia: no interval with both controls hidden. */
@media (max-width:1023.98px) {
    body.qmnh-navigation header.front-header[data-qmnh-navigation="ready"] .burger {
        display:block!important; visibility:visible!important; opacity:1!important;
    }
}

/* Landscape tablet: keep both levels visible, with separate touch controls. */
body.qmnh-navigation.qmnh-nav-tablet header.front-header[data-qmnh-navigation="ready"] {
    position:fixed!important; top:var(--qmnh-admin-offset,0px)!important; left:0; width:100%;
    margin:0; padding:12px 0; background:#13282b; color:white; border-bottom:2px solid #75b843; z-index:1000;
}
body.qmnh-navigation.qmnh-nav-tablet header.front-header[data-qmnh-navigation="ready"] > .container {
    width:100%; max-width:1680px; padding:0 16px;
}
body.qmnh-navigation.qmnh-nav-tablet header.front-header[data-qmnh-navigation="ready"] .content {
    position:relative; display:flex; align-items:center; gap:clamp(36px,calc(24vw - 210px),120px); min-height:104px; padding:0;
}
body.qmnh-navigation.qmnh-nav-tablet header.front-header[data-qmnh-navigation="ready"] .logo {
    flex:0 0 72px; width:72px; max-width:72px; margin:0;
}
body.qmnh-navigation.qmnh-nav-tablet header.front-header[data-qmnh-navigation="ready"] .logo img {
    width:auto; max-width:72px; height:auto; max-height:52px;
}
body.qmnh-navigation.qmnh-nav-tablet header.front-header[data-qmnh-navigation="ready"] .front-header-nav {
    position:static; display:flex; flex:1; flex-direction:column; align-items:stretch; gap:0;
    min-width:0; width:auto; height:auto; max-width:none; padding:0; transform:none;
    overflow:visible; visibility:visible; background:transparent;
}
body.qmnh-navigation.qmnh-nav-tablet header.front-header[data-qmnh-navigation="ready"] .front-header-top {
    position:static; width:100%; height:44px; min-height:44px; padding:0 350px 0 0;
    transform:none; background:transparent; color:white;
}
body.qmnh-navigation.qmnh-nav-tablet header.front-header[data-qmnh-navigation="ready"] .front-header-top .container {
    width:100%; max-width:none; padding:0; display:block;
}
body.qmnh-navigation.qmnh-nav-tablet header.front-header[data-qmnh-navigation="ready"] .front-header-top nav { padding:0; width:100%; }
body.qmnh-navigation.qmnh-nav-tablet header.front-header[data-qmnh-navigation="ready"] .front-header-top nav > ul {
    display:flex; flex-direction:row; justify-content:flex-end; align-items:center; flex-wrap:nowrap;
    width:100%; gap:12px; margin:0; padding:0;
}
body.qmnh-navigation.qmnh-nav-tablet header.front-header[data-qmnh-navigation="ready"] .front-header-top nav a {
    display:flex; align-items:center; min-height:44px; font-size:max(.875rem,14px); line-height:1.4;
    letter-spacing:0; color:white; white-space:nowrap;
}
body.qmnh-navigation.qmnh-nav-tablet header.front-header[data-qmnh-navigation="ready"] .front-header-bottom { width:100%; }
body.qmnh-navigation.qmnh-nav-tablet header.front-header[data-qmnh-navigation="ready"] .front-header-bottom nav { display:block; }
body.qmnh-navigation.qmnh-nav-tablet header.front-header[data-qmnh-navigation="ready"] .front-header-bottom nav > ul {
    display:flex; flex-direction:row; justify-content:flex-start; align-items:center; flex-wrap:nowrap;
    width:100%; gap:8px; margin:0; padding:0;
}
body.qmnh-navigation.qmnh-nav-tablet header.front-header[data-qmnh-navigation="ready"] .front-header-bottom nav > ul > li { flex:0 0 auto; position:relative; }
body.qmnh-navigation.qmnh-nav-tablet header.front-header[data-qmnh-navigation="ready"] .front-header-bottom nav > ul > li > a {
    display:flex; align-items:center; min-height:44px; padding:0 44px 0 0; white-space:nowrap;
    font-size:max(.875rem,14px); line-height:1.4; font-weight:400; letter-spacing:0; color:white;
}
body.qmnh-navigation.qmnh-nav-tablet header.front-header[data-qmnh-navigation="ready"] .front-header-bottom nav > ul > li > a:after { display:none; }
body.qmnh-navigation.qmnh-nav-tablet header.front-header[data-qmnh-navigation="ready"] .front-header-top nav a:hover,
body.qmnh-navigation.qmnh-nav-tablet header.front-header[data-qmnh-navigation="ready"] .front-header-top .current-menu-item > a,
body.qmnh-navigation.qmnh-nav-tablet header.front-header[data-qmnh-navigation="ready"] .front-header-bottom nav > ul > li > a:hover,
body.qmnh-navigation.qmnh-nav-tablet header.front-header[data-qmnh-navigation="ready"] .front-header-bottom .current-menu-item > a { color:#75b843; }
body.qmnh-navigation.qmnh-nav-tablet header.front-header[data-qmnh-navigation="ready"] .qmnh-submenu-toggle {
    display:block; position:absolute; top:0; right:0; width:44px; height:44px;
    padding:0; margin:0; border:0; border-radius:0; box-shadow:none; background:transparent; color:#75b843;
}
body.qmnh-navigation.qmnh-nav-tablet header.front-header[data-qmnh-navigation="ready"] .qmnh-submenu-toggle:before {
    content:""; position:absolute; width:8px; height:8px; top:16px; left:17px;
    border:solid #75b843; border-width:0 2px 2px 0; transform:rotate(45deg);
}
body.qmnh-navigation.qmnh-nav-tablet header.front-header[data-qmnh-navigation="ready"] .qmnh-submenu-toggle[aria-expanded="true"]:before { top:20px; transform:rotate(225deg); }
body.qmnh-navigation.qmnh-nav-tablet header.front-header[data-qmnh-navigation="ready"] .front-header-bottom .btns {
    position:absolute; top:8px; right:76px; display:flex; flex-direction:row; flex-wrap:nowrap; gap:10px;
}
body.qmnh-navigation.qmnh-nav-tablet header.front-header[data-qmnh-navigation="ready"] .btns > a {
    display:flex; align-items:center; justify-content:center; width:auto; min-width:100px; min-height:44px;
    padding:8px 14px; font-size:max(.875rem,14px); line-height:1.3; letter-spacing:0; white-space:nowrap;
}
body.qmnh-navigation.qmnh-nav-tablet header.front-header[data-qmnh-navigation="ready"] .btns > .brand-btn-with-icon { position:relative; min-width:142px; padding-right:44px; }
body.qmnh-navigation.qmnh-nav-tablet header.front-header[data-qmnh-navigation="ready"] .brand-btn-with-icon:before { width:22px; height:22px; top:50%; right:12px; left:auto; transform:translateY(-50%); }
body.qmnh-navigation.qmnh-nav-tablet header.front-header[data-qmnh-navigation="ready"] .brand-btn-with-icon:after { width:100%; }
body.qmnh-navigation.qmnh-nav-tablet header.front-header[data-qmnh-navigation="ready"] .btns > .brand-btn-primary { background:#75b843; color:#13282b; }
body.qmnh-navigation.qmnh-nav-tablet header.front-header[data-qmnh-navigation="ready"] .language-element { position:absolute; top:8px; right:16px; height:44px; transform:none; margin:0; }
body.qmnh-navigation.qmnh-nav-tablet header.front-header[data-qmnh-navigation="ready"] .language-switcher ul { top:100%; right:0; left:auto; transform:none; }
body.qmnh-navigation.qmnh-nav-tablet header.front-header[data-qmnh-navigation="ready"] .language-switcher ul:before { background:#13282b; border:1px solid #75b843; }
body.qmnh-navigation.qmnh-nav-tablet header.front-header[data-qmnh-navigation="ready"] .burger { display:none!important; }
body.qmnh-navigation.qmnh-nav-tablet header.front-header[data-qmnh-navigation="ready"] .front-header-bottom nav > ul > li > .sub-menu {
    display:block; position:absolute; left:0; top:100%; margin:0; text-align:left; transform:none;
}
body.qmnh-navigation.qmnh-nav-tablet header.front-header[data-qmnh-navigation="ready"] .front-header-bottom nav > ul > li:last-child > .sub-menu { left:auto; right:0; }
body.qmnh-navigation.qmnh-nav-tablet.qmnh-nav-compact header.front-header[data-qmnh-navigation="ready"] { padding:0; }
body.qmnh-navigation.qmnh-nav-tablet.qmnh-nav-compact header.front-header[data-qmnh-navigation="ready"] .content { min-height:88px; }
body.qmnh-navigation.qmnh-nav-tablet.qmnh-nav-compact header.front-header[data-qmnh-navigation="ready"] .logo { flex-basis:72px; max-width:72px; }
body.qmnh-navigation.qmnh-nav-tablet.qmnh-nav-compact header.front-header[data-qmnh-navigation="ready"] .logo img { max-width:56px; max-height:40px; }
body.qmnh-navigation.qmnh-nav-tablet.qmnh-nav-compact header.front-header[data-qmnh-navigation="ready"] .language-element,
body.qmnh-navigation.qmnh-nav-tablet.qmnh-nav-compact header.front-header[data-qmnh-navigation="ready"] .front-header-bottom .btns { top:0; }
body.qmnh-navigation.qmnh-nav-tablet main#main-content { padding-top:calc(130px + var(--qmnh-admin-extra,0px)); }
body.qmnh-navigation.qmnh-nav-tablet.qmnh-hub-page .qmnh-hero { --qmnh-header-reserve:0px; }
body.qmnh-navigation.qmnh-nav-tablet.qmnh-article-page main .hero-section.qmnh-article-compact { --qmnh-article-header-reserve:0px; }

/* De-emphasise the scrolled header; keep the initial header and drawer readable. */
body.qmnh-navigation.qmnh-nav-compact:not(.qmnh-nav-drawer) header.front-header[data-qmnh-navigation="ready"] .front-header-top nav a,
body.qmnh-navigation.qmnh-nav-compact:not(.qmnh-nav-drawer) header.front-header[data-qmnh-navigation="ready"] .front-header-bottom nav > ul > li > a,
body.qmnh-navigation.qmnh-nav-compact:not(.qmnh-nav-drawer) header.front-header[data-qmnh-navigation="ready"] .btns > a { transition:color .12s,background-color .12s; }
body.qmnh-navigation.qmnh-nav-compact:not(.qmnh-nav-drawer):not(.qmnh-nav-tablet) header.front-header[data-qmnh-navigation="ready"] .btns > a {
    min-height:36px; min-width:94px; padding:6px 14px;
    font-size:max(.8125rem,13px); font-weight:600; line-height:1.3; letter-spacing:.015em;
}
body.qmnh-navigation.qmnh-nav-compact:not(.qmnh-nav-drawer):not(.qmnh-nav-tablet) header.front-header[data-qmnh-navigation="ready"] .btns > .brand-btn-with-icon {
    min-width:124px; padding-left:12px; padding-right:40px;
}
body.qmnh-navigation.qmnh-nav-compact:not(.qmnh-nav-drawer):not(.qmnh-nav-tablet) header.front-header[data-qmnh-navigation="ready"] .brand-btn-with-icon:before {
    width:20px; height:20px; right:12px;
}
body.qmnh-navigation.qmnh-nav-compact:not(.qmnh-nav-drawer):not(.qmnh-nav-tablet) header.front-header[data-qmnh-navigation="ready"] .language-element { top:0; }
body.qmnh-navigation.qmnh-nav-tablet.qmnh-nav-compact header.front-header[data-qmnh-navigation="ready"] .front-header-top nav a,
body.qmnh-navigation.qmnh-nav-tablet.qmnh-nav-compact header.front-header[data-qmnh-navigation="ready"] .front-header-bottom nav > ul > li > a {
    font-size:max(.8125rem,13px);
}
body.qmnh-navigation.qmnh-nav-tablet.qmnh-nav-compact header.front-header[data-qmnh-navigation="ready"] .front-header-top nav a { font-weight:600; }
body.qmnh-navigation.qmnh-nav-tablet.qmnh-nav-compact header.front-header[data-qmnh-navigation="ready"] .btns > a {
    min-width:90px; padding:8px 12px; font-size:max(.8125rem,13px); font-weight:600; letter-spacing:0;
}
body.qmnh-navigation.qmnh-nav-tablet.qmnh-nav-compact header.front-header[data-qmnh-navigation="ready"] .btns > .brand-btn-with-icon {
    min-width:124px; padding-right:40px;
}
body.qmnh-navigation.qmnh-nav-tablet.qmnh-nav-compact header.front-header[data-qmnh-navigation="ready"] .brand-btn-with-icon:before { width:20px; height:20px; }
@media (any-pointer:coarse) {
    body.qmnh-navigation.qmnh-nav-compact:not(.qmnh-nav-drawer):not(.qmnh-nav-tablet) header.front-header[data-qmnh-navigation="ready"] .content { min-height:88px; }
    body.qmnh-navigation.qmnh-nav-compact:not(.qmnh-nav-drawer):not(.qmnh-nav-tablet) header.front-header[data-qmnh-navigation="ready"] .front-header-bottom nav,
    body.qmnh-navigation.qmnh-nav-compact:not(.qmnh-nav-drawer):not(.qmnh-nav-tablet) header.front-header[data-qmnh-navigation="ready"] .front-header-bottom nav > ul > li > a,
    body.qmnh-navigation.qmnh-nav-compact:not(.qmnh-nav-drawer):not(.qmnh-nav-tablet) header.front-header[data-qmnh-navigation="ready"] .btns > a { min-height:44px; }
}
