/* Shared header, menu button and small-screen rules for every page. */
body{overflow-wrap:anywhere}
img{height:auto}
.site-bar{max-width:1240px;margin:0 auto;padding:14px 32px;display:flex;align-items:center;gap:24px}
.site-bar > a:first-child{min-height:44px}
.site-menu{display:flex;align-items:center;gap:24px;margin-left:auto}
.site-nav{display:flex;gap:2px}
.site-tools{display:flex;align-items:center;gap:12px}
.menu-btn{display:none;align-items:center;justify-content:center;width:44px;height:44px;margin-left:auto;border:1px solid var(--border);border-radius:0.75rem;background:transparent;color:var(--fg);cursor:pointer}
@media (max-width:1199px){
.site-bar{flex-wrap:wrap;row-gap:0;padding:12px 20px}
.menu-btn{display:inline-flex}
.site-menu{display:none;flex-basis:100%;flex-direction:column;align-items:stretch;gap:16px;margin:0;padding:12px 0 8px;max-height:calc(100dvh - 70px);overflow-y:auto}
.site-head.open .site-menu{display:flex}
.site-nav{flex-direction:column}
.site-nav a{display:flex;align-items:center;min-height:48px}
.site-tools{flex-wrap:wrap;padding:0 14px 8px}
.site-tools a{display:inline-flex;align-items:center;min-height:44px}
.site-tools button{width:44px !important;height:44px !important}
}
@media (max-width:1023px){
footer a,.tap{display:inline-flex;align-items:center;min-height:44px;min-width:44px}
}
@media (max-height:500px){
.site-bar{padding-top:6px;padding-bottom:6px}
.site-menu{max-height:calc(100dvh - 58px)}
}
