/* Keep navigation reachable throughout long pages. */
:root{--kaevo-header-height:84px}
html{scroll-padding-top:calc(var(--kaevo-header-height) + 16px)}
.skip{z-index:60}
.site-header.site-header{position:sticky;top:0;z-index:40;background:#fff;min-height:84px;padding-block:12px;box-shadow:0 2px 12px #00000008}
.site-header .mobile-nav[open]>nav{top:100%;max-height:calc(100vh - var(--kaevo-header-height) - 12px);max-height:calc(100dvh - var(--kaevo-header-height) - 12px);overflow-y:auto;overscroll-behavior:contain}
.site-header :is(a,summary):focus-visible,.back-to-top:focus-visible{outline:3px solid #555;outline-offset:4px}
.back-to-top{position:fixed;right:20px;right:max(20px,env(safe-area-inset-right));bottom:20px;bottom:max(20px,env(safe-area-inset-bottom));z-index:35;display:grid;place-items:center;width:48px;height:48px;padding:0;border:1px solid #fff;border-radius:50%;background:#080808;color:#fff;box-shadow:0 3px 12px #0003;cursor:pointer}
.back-to-top[hidden]{display:none}
.back-to-top:hover{background:#333}
.back-to-top svg{width:22px;height:22px;pointer-events:none}
@media(max-width:1100px){
 :root{--kaevo-header-height:68px}
 .site-header.site-header{min-height:68px;padding:8px 22px;gap:14px}
 .site-header .brand{width:128px}
 .site-header .mobile-nav>summary{min-height:44px;display:flex;align-items:center;padding:10px 0}
 .site-header .language{min-width:44px;min-height:44px;display:flex;align-items:center;justify-content:center;padding:8px}
 .site-header .mobile-nav[open]>nav{padding:12px 22px}
}
@media(max-width:380px){.site-header.site-header{padding-inline:16px;gap:8px}.site-header .brand{width:116px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
@media print{.site-header.site-header{position:static;box-shadow:none}.back-to-top{display:none!important}}

/* Fit the extended primary menu before the mobile breakpoint. */
@media(min-width:1101px) and (max-width:1200px){.site-header.site-header{gap:16px}.site-header .brand{width:140px}.site-header .desktop-nav{gap:18px}}
