/* Mobile menu, design approved by Pavel Hrdlička on 20 November 2026 (Návrh A).
   Loaded after www/assets/css/main.css. Applies only below 1200 px (xlarge-up is the desktop menu).
   --fx-msg-height is the rendered height of .header-msg in px (0 when there is no bar or it was
   closed); Header.js keeps it on <html>, see design/components/MobileMenu/README.md. */
@media screen and (max-width: 1199px) {
  /* X1: the bar's close button looks exactly like the menu X (Hamburger.is-active):
     two white 2px lines, 70% of 30px, crossed at 45 degrees, no hover circle,
     centred on the same vertical line as the menu X (35.5px from the right edge) */
  .header-msg__close{position:relative;width:44px;height:44px;padding:0;border-radius:0;background:none;color:#fff}
  .header-msg__close:hover{background:none}
  .header-msg__close .Icon{display:none}
  .header-msg__close::before,.header-msg__close::after{content:"";position:absolute;left:calc(50% - 6px);top:50%;width:21px;height:2px;background:#fff}
  .header-msg__close::before{transform:translate(-50%,-50%) rotate(45deg)}
  .header-msg__close::after{transform:translate(-50%,-50%) rotate(-45deg)}
  /* A2: items start right under the header row, not vertically centred */
  .Header.is-menu-open .Nav-list{justify-content:flex-start;padding-top:calc(var(--fx-msg-height, 0px) + 60px + 20px)}
  .Header.is-menu-open .Nav-buttons{margin-top:40px}
  /* A3: the sub menu starts BELOW the bar, so the bar stays visible and the
     title row (back arrow, name) is the same row as the hamburger X */
  .Header.is-menu-open .NavLayer{top:var(--fx-msg-height, 0px)}
  .Header.is-menu-open .subNav-title{margin-bottom:20px;padding:0 70px}
  /* A4: no language switcher in a sub menu (the back arrow is there) */
  .Header.is-sub-open .Header-language{display:none}
}
