/* ==========================================================
   MAKEAPACK V24 — DESKTOP HEADER FINAL ALIGNMENT
   Scope: desktop >= 1024px only. Mobile/tablet untouched.
   Requested: no desktop hamburger, logo left, nav truly centered,
   no yellow Kontakt strip, balanced search/language controls right.
   ========================================================== */
@media (min-width:1024px){
  html body{
    --mp-desktop-header-h:82px;
    padding-top:var(--mp-desktop-header-h)!important;
  }

  html body header.site-header{
    height:var(--mp-desktop-header-h)!important;
    min-height:var(--mp-desktop-header-h)!important;
    background:#050505!important;
    border-bottom:1px solid rgba(255,255,255,.09)!important;
    box-shadow:none!important;
    backdrop-filter:none!important;
    -webkit-backdrop-filter:none!important;
  }

  /* Equal left/right lanes keep the navigation on the true viewport center. */
  html body header.site-header > .container.nav,
  html body header.site-header .container.nav{
    position:relative!important;
    width:min(calc(100% - 64px),1560px)!important;
    max-width:none!important;
    height:var(--mp-desktop-header-h)!important;
    min-height:var(--mp-desktop-header-h)!important;
    margin:0 auto!important;
    padding:0!important;
    display:grid!important;
    grid-template-columns:240px minmax(0,1fr) 240px!important;
    grid-template-rows:1fr!important;
    align-items:center!important;
    gap:0!important;
  }

  html body header.site-header .container.nav > .brand{
    position:static!important;
    grid-column:1!important;
    grid-row:1!important;
    justify-self:start!important;
    align-self:center!important;
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    width:218px!important;
    min-width:218px!important;
    max-width:218px!important;
    height:auto!important;
    margin:0!important;
    padding:0!important;
    transform:none!important;
    order:initial!important;
  }

  html body header.site-header .container.nav > .brand > img{
    display:block!important;
    width:218px!important;
    min-width:218px!important;
    max-width:218px!important;
    height:auto!important;
    max-height:58px!important;
    margin:0!important;
    padding:0!important;
    object-fit:contain!important;
    object-position:left center!important;
    background:transparent!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
    transform:none!important;
  }

  html body header.site-header #mainNav.nav-links,
  html body.home-film-mode header.site-header #mainNav.nav-links,
  html body.home-film-mode header.site-header #mainNav.nav-links:not(.open),
  html body.home-film-mode header.site-header #mainNav.nav-links.open{
    position:static!important;
    inset:auto!important;
    grid-column:2!important;
    grid-row:1!important;
    justify-self:center!important;
    align-self:center!important;
    display:flex!important;
    flex-direction:row!important;
    align-items:center!important;
    justify-content:center!important;
    width:max-content!important;
    max-width:100%!important;
    height:var(--mp-desktop-header-h)!important;
    min-height:0!important;
    margin:0!important;
    padding:0!important;
    gap:24px!important;
    background:transparent!important;
    border:0!important;
    box-shadow:none!important;
    overflow:visible!important;
    opacity:1!important;
    visibility:visible!important;
    pointer-events:auto!important;
    transform:none!important;
  }

  html body header.site-header #mainNav > .mkp-desktop-nav-link{
    position:relative!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:auto!important;
    min-width:0!important;
    height:var(--mp-desktop-header-h)!important;
    min-height:var(--mp-desktop-header-h)!important;
    margin:0!important;
    padding:2px 0 0!important;
    color:#f2f0eb!important;
    background:transparent!important;
    border:0!important;
    border-radius:0!important;
    text-decoration:none!important;
    white-space:nowrap!important;
    font-size:12px!important;
    line-height:1!important;
    font-weight:700!important;
    letter-spacing:.005em!important;
  }

  html body header.site-header #mainNav > .mkp-desktop-nav-link::after{
    content:""!important;
    position:absolute!important;
    left:0!important;
    right:0!important;
    bottom:18px!important;
    height:1px!important;
    background:#c8872b!important;
    transform:scaleX(0)!important;
    transform-origin:center!important;
    transition:transform .18s ease!important;
  }
  html body header.site-header #mainNav > .mkp-desktop-nav-link:hover::after,
  html body header.site-header #mainNav > .mkp-desktop-nav-link:focus-visible::after{
    transform:scaleX(1)!important;
  }

  /* Mobile navigation markup stays in DOM for mobile, but never participates on PC. */
  html body header.site-header #mainNav .mp-mobile-menu{
    display:none!important;
  }

  /* Requested removal: no desktop hamburger, no leftover yellow contact strip. */
  html body header.site-header .container.nav > .menu-btn,
  html body.home-film-mode header.site-header .container.nav > .menu-btn{
    display:none!important;
    visibility:hidden!important;
    opacity:0!important;
    pointer-events:none!important;
  }
  html body header.site-header .container.nav > .mkp-desktop-contact{
    display:none!important;
    visibility:hidden!important;
    width:0!important;
    height:0!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    overflow:hidden!important;
    pointer-events:none!important;
  }

  /* Right-side utility lane. Search remains the approved gold line icon. */
  html body header.site-header .container.nav > .smart-search-trigger,
  html body.home-film-mode header.site-header .container.nav > .smart-search-trigger{
    position:absolute!important;
    grid-column:auto!important;
    grid-row:auto!important;
    right:0!important;
    top:50%!important;
    transform:translateY(-50%)!important;
    display:grid!important;
    place-items:center!important;
    width:38px!important;
    min-width:38px!important;
    height:38px!important;
    min-height:38px!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
    color:#c8872b!important;
    order:initial!important;
  }
  html body header.site-header .container.nav > .smart-search-trigger svg{
    width:23px!important;
    height:23px!important;
    fill:none!important;
    stroke:#c8872b!important;
    stroke-width:1.8!important;
  }

  /* If the approved header language flag exists, reserve a precise right-hand slot for it. */
  html body header.site-header .container.nav > .lang-switch.lang-dropdown,
  html body.home-film-mode header.site-header .container.nav > .lang-switch.lang-dropdown{
    position:absolute!important;
    right:0!important;
    top:50%!important;
    transform:translateY(-50%)!important;
    width:30px!important;
    min-width:30px!important;
    height:30px!important;
    min-height:30px!important;
    margin:0!important;
    padding:0!important;
    background:transparent!important;
    border:0!important;
    box-shadow:none!important;
  }
  html body header.site-header .container.nav:has(> .lang-switch.lang-dropdown) > .smart-search-trigger{
    right:50px!important;
  }

  html body.nav-open{overflow:auto!important;touch-action:auto!important}
}

/* Slightly tighter large-laptop rhythm while retaining true-center symmetry. */
@media (min-width:1024px) and (max-width:1280px){
  html body header.site-header > .container.nav,
  html body header.site-header .container.nav{
    width:calc(100% - 40px)!important;
    grid-template-columns:185px minmax(0,1fr) 185px!important;
  }
  html body header.site-header .container.nav > .brand,
  html body header.site-header .container.nav > .brand > img{
    width:176px!important;
    min-width:176px!important;
    max-width:176px!important;
  }
  html body header.site-header #mainNav.nav-links,
  html body.home-film-mode header.site-header #mainNav.nav-links,
  html body.home-film-mode header.site-header #mainNav.nav-links:not(.open),
  html body.home-film-mode header.site-header #mainNav.nav-links.open{
    gap:15px!important;
  }
  html body header.site-header #mainNav > .mkp-desktop-nav-link{
    font-size:10.5px!important;
  }
}
