/* All page templates share a viewport-height mobile drawer. */
body a[href^="mailto:" i]::after {
 display: none !important;
 animation: none !important;
 transition: none !important;
}
@media (prefers-reduced-motion:reduce) {
 body .v82-mobile-panel { transition: none !important; }
}
@media (max-width:700px) {
 body.v862-menu-open { overflow: hidden !important; }
 body .v82-mobile-panel {
  display: flex !important;
  flex-direction: column;
  position: fixed;
  top: var(--sl884-menu-top, 0px) !important;
  bottom: auto !important;
  height: var(--sl884-menu-height, 100vh) !important;
  height: var(--sl884-menu-height, 100dvh) !important;
  min-height: 0 !important;
  max-height: none !important;
  box-sizing: border-box;
  padding-bottom: max(16px, env(safe-area-inset-bottom));
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  visibility: hidden;
  pointer-events: none;
 }
 body .v82-mobile-panel.is-open { visibility: visible; pointer-events: auto; }
 body .v82-mobile-panel > * { flex-shrink: 0; }
 body .v82-mobile-panel nav { margin-bottom: 24px; }
 body .v82-mobile-panel .v82-mobile-bottom {
  position: static;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-top: auto;
 }
 body .v862-menu-backdrop {
  position: fixed;
  left: 0;
  right: 0;
  top: var(--sl884-menu-top, 0px);
  bottom: auto;
  height: var(--sl884-menu-height, 100vh);
  height: var(--sl884-menu-height, 100dvh);
  z-index: 30999;
  background: rgba(0,0,0,.08);
 }
 body .v862-menu-backdrop[hidden] { display: none; }
}

/* Visible language choices between the logo and format button on phones. */
@media (max-width:700px) {
 body .v82-header-inner { width:min(100%,420px); box-sizing:border-box; padding:0 12px; display:flex; gap:8px; }
 body .v82-header .v82-logo { flex:0 0 34px; width:34px; height:34px; }
 body .v82-header-right { flex:1; min-width:0; gap:8px; }
 body .v82-header-right > .v82-lang { display:flex!important; align-items:center; justify-content:center; gap:3px; margin-right:auto; order:-1; font-size:11px; line-height:1; }
 body .v82-header-right > .v82-lang a { display:flex; align-items:center; min-height:36px; color:#4d0e12; text-decoration:none; }
 body .v82-header-right > .v82-lang a[aria-current] { font-weight:700; text-decoration:underline; text-underline-offset:4px; }
 body .v82-header-right > .v82-format-btn { box-sizing:border-box; flex:0 0 108px; width:108px; min-width:108px; padding:0 4px; font-size:10px; }
 body .v82-header-right > .v82-burger { flex:0 0 33px; }
}
