/* BankMovie v151 — one desktop header geometry for every public page.
   Loaded from the shared header after legacy/page-specific header styles.
   Mobile stays under the existing v148 surgical rules. */
@media (min-width:992px){
  html body #siteHeader.bm-public-header-v148[data-bm-page],
  html body #siteHeader.bm-public-header-v148[data-bm-page].header,
  html body #siteHeader.bm-public-header-v148[data-bm-page].header-admin,
  html body #siteHeader.bm-public-header-v148[data-bm-page].header-solid,
  html body #siteHeader.bm-public-header-v148[data-bm-page].header-glass{
    position:absolute!important;
    inset:0 0 auto 0!important;
    top:0!important;
    right:0!important;
    left:0!important;
    width:100%!important;
    max-width:100vw!important;
    height:88px!important;
    min-height:88px!important;
    margin:0!important;
    padding:10px 0 0!important;
    overflow:visible!important;
    opacity:1!important;
    visibility:visible!important;
    transform:none!important;
    translate:none!important;
    animation:none!important;
    z-index:2600!important;
    background:transparent!important;
    background-image:none!important;
    border:0!important;
    box-shadow:none!important;
    backdrop-filter:none!important;
    -webkit-backdrop-filter:none!important;
  }

  html body #siteHeader.bm-public-header-v148[data-bm-page]::before,
  html body #siteHeader.bm-public-header-v148[data-bm-page]::after{
    content:none!important;
    display:none!important;
  }

  html body #siteHeader.bm-public-header-v148[data-bm-page] .header-inner,
  html body #siteHeader.bm-public-header-v148[data-bm-page].header-admin .header-inner{
    position:relative!important;
    inset:auto!important;
    width:min(1440px,calc(100% - 32px))!important;
    max-width:1440px!important;
    height:78px!important;
    min-height:78px!important;
    margin:0 auto!important;
    padding:0 6px!important;
    display:grid!important;
    grid-template-columns:minmax(420px,510px) minmax(0,1fr) 180px!important;
    grid-template-areas:"actions nav logo"!important;
    align-items:center!important;
    column-gap:clamp(18px,2vw,34px)!important;
    overflow:visible!important;
    direction:ltr!important;
    background:transparent!important;
    background-image:none!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
    backdrop-filter:none!important;
    -webkit-backdrop-filter:none!important;
    transform:none!important;
    translate:none!important;
  }

  html body #siteHeader.bm-public-header-v148[data-bm-page] .logo{
    grid-area:logo!important;
    position:static!important;
    inset:auto!important;
    transform:none!important;
    justify-self:end!important;
    align-self:center!important;
    width:auto!important;
    max-width:180px!important;
    height:54px!important;
    margin:0!important;
    padding:0!important;
    display:flex!important;
    align-items:center!important;
    justify-content:flex-end!important;
    background:transparent!important;
    border:0!important;
    box-shadow:none!important;
  }
  html body #siteHeader.bm-public-header-v148[data-bm-page] .bm-header-logo-img{
    display:block!important;
    width:auto!important;
    max-width:158px!important;
    height:46px!important;
    max-height:46px!important;
    object-fit:contain!important;
    opacity:1!important;
    visibility:visible!important;
    filter:drop-shadow(0 8px 22px rgba(0,0,0,.42))!important;
  }

  html body #siteHeader.bm-public-header-v148[data-bm-page] .desktop-nav{
    grid-area:nav!important;
    position:static!important;
    justify-self:center!important;
    align-self:center!important;
    width:100%!important;
    min-width:0!important;
    max-width:760px!important;
    margin:0!important;
    padding:0!important;
    display:flex!important;
    flex-flow:row-reverse nowrap!important;
    align-items:center!important;
    justify-content:center!important;
    gap:clamp(12px,1.5vw,26px)!important;
    overflow:visible!important;
    direction:rtl!important;
    background:transparent!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
    backdrop-filter:none!important;
    -webkit-backdrop-filter:none!important;
  }
  html body #siteHeader.bm-public-header-v148[data-bm-page] .desktop-nav-item{
    flex:0 0 auto!important;
    min-width:0!important;
    min-height:38px!important;
    height:38px!important;
    margin:0!important;
    padding:0 10px!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:7px!important;
    border-radius:12px!important;
    color:rgba(255,255,255,.88)!important;
    background:transparent!important;
    border:0!important;
    box-shadow:none!important;
    text-decoration:none!important;
    font-size:14px!important;
    line-height:1.2!important;
    font-weight:900!important;
    white-space:nowrap!important;
    text-shadow:0 2px 10px rgba(0,0,0,.5)!important;
  }
  html body #siteHeader.bm-public-header-v148[data-bm-page] .desktop-nav-item:hover,
  html body #siteHeader.bm-public-header-v148[data-bm-page] .desktop-nav-item.active{
    color:#fff!important;
    background:rgba(47,124,255,.13)!important;
    border:0!important;
    box-shadow:inset 0 0 0 1px rgba(95,160,255,.12)!important;
    transform:none!important;
  }
  html body #siteHeader.bm-public-header-v148[data-bm-page] .bm-category-nav svg{
    width:15px!important;
    height:15px!important;
  }

  html body #siteHeader.bm-public-header-v148[data-bm-page] .header-actions{
    grid-area:actions!important;
    position:relative!important;
    inset:auto!important;
    justify-self:start!important;
    align-self:center!important;
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    height:44px!important;
    min-height:44px!important;
    margin:0!important;
    padding:0!important;
    display:flex!important;
    flex-flow:row nowrap!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:9px!important;
    overflow:visible!important;
    direction:ltr!important;
    background:transparent!important;
    border:0!important;
    box-shadow:none!important;
  }

  html body #siteHeader.bm-public-header-v148[data-bm-page] .bm-header-search,
  html body #siteHeader.bm-public-header-v148[data-bm-page] .bm-header-search-trigger{
    order:1!important;
    position:relative!important;
    inset:auto!important;
    flex:0 0 clamp(205px,15vw,250px)!important;
    width:clamp(205px,15vw,250px)!important;
    min-width:205px!important;
    max-width:250px!important;
    height:42px!important;
    min-height:42px!important;
    margin:0!important;
    padding:0!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    border-radius:13px!important;
    overflow:hidden!important;
    text-decoration:none!important;
    color:#fff!important;
    background:rgba(7,11,18,.74)!important;
    border:1px solid rgba(88,145,255,.55)!important;
    box-shadow:0 10px 28px rgba(0,0,0,.22),inset 0 1px 0 rgba(255,255,255,.05)!important;
    backdrop-filter:blur(12px)!important;
    -webkit-backdrop-filter:blur(12px)!important;
  }
  html body #siteHeader.bm-public-header-v148[data-bm-page] .bm-header-search-glow,
  html body #siteHeader.bm-public-header-v148[data-bm-page] .bm-header-search-white,
  html body #siteHeader.bm-public-header-v148[data-bm-page] .bm-header-search-border,
  html body #siteHeader.bm-public-header-v148[data-bm-page] .bm-header-search-dark{
    display:none!important;
  }
  html body #siteHeader.bm-public-header-v148[data-bm-page] .bm-header-search-content{
    position:static!important;
    inset:auto!important;
    width:100%!important;
    height:100%!important;
    padding:0 14px!important;
    display:flex!important;
    flex-flow:row nowrap!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:9px!important;
    direction:rtl!important;
    background:transparent!important;
  }
  html body #siteHeader.bm-public-header-v148[data-bm-page] .bm-header-search-label{
    display:block!important;
    min-width:0!important;
    overflow:hidden!important;
    white-space:nowrap!important;
    text-overflow:ellipsis!important;
    color:rgba(255,255,255,.88)!important;
    font-size:12px!important;
    line-height:1!important;
    font-weight:900!important;
  }
  html body #siteHeader.bm-public-header-v148[data-bm-page] .bm-header-search-content svg{
    flex:0 0 19px!important;
    width:19px!important;
    height:19px!important;
  }

  html body #siteHeader.bm-public-header-v148[data-bm-page] .notif-bell{
    order:2!important;
    flex:0 0 42px!important;
    width:42px!important;
    min-width:42px!important;
    height:42px!important;
    min-height:42px!important;
    margin:0!important;
    padding:0!important;
    border-radius:13px!important;
  }
  html body #siteHeader.bm-public-header-v148[data-bm-page] .admin-panel-trigger{
    order:3!important;
    min-width:112px!important;
    max-width:138px!important;
    height:42px!important;
    min-height:42px!important;
    margin:0!important;
    padding:0 13px!important;
    border-radius:13px!important;
    font-size:12.5px!important;
  }
  html body #siteHeader.bm-public-header-v148[data-bm-page] .auth-dropdown{
    order:4!important;
    height:42px!important;
    margin:0!important;
  }
  html body #siteHeader.bm-public-header-v148[data-bm-page] .user-trigger,
  html body #siteHeader.bm-public-header-v148[data-bm-page] .auth-trigger{
    height:42px!important;
    min-height:42px!important;
    border-radius:13px!important;
    padding:0 13px!important;
    font-size:12.5px!important;
  }

  /* Keep special pages fixed if they already rely on a fixed desktop header. */
  html body #siteHeader.bm-public-header-v148[data-bm-page="categories.php"],
  html body #siteHeader.bm-public-header-v148[data-bm-page="boxoffice.php"]{
    position:fixed!important;
  }
}

@media (min-width:1200px) and (max-width:1439px){
  html body #siteHeader.bm-public-header-v148[data-bm-page] .header-inner{
    width:calc(100% - 24px)!important;
    grid-template-columns:minmax(430px,470px) minmax(0,1fr) 160px!important;
    column-gap:15px!important;
  }
  html body #siteHeader.bm-public-header-v148[data-bm-page] .desktop-nav{gap:12px!important}
  html body #siteHeader.bm-public-header-v148[data-bm-page] .desktop-nav-item{font-size:13.5px!important;padding-inline:8px!important}
  html body #siteHeader.bm-public-header-v148[data-bm-page] .bm-header-search,
  html body #siteHeader.bm-public-header-v148[data-bm-page] .bm-header-search-trigger{
    flex-basis:205px!important;width:205px!important;min-width:205px!important
  }
}

@media (min-width:992px) and (max-width:1199px){
  html body #siteHeader.bm-public-header-v148[data-bm-page] .header-inner{
    width:calc(100% - 20px)!important;
    grid-template-columns:minmax(285px,330px) minmax(0,1fr) 128px!important;
    column-gap:10px!important;
  }
  html body #siteHeader.bm-public-header-v148[data-bm-page] .desktop-nav{gap:6px!important}
  html body #siteHeader.bm-public-header-v148[data-bm-page] .desktop-nav-item{font-size:12px!important;padding-inline:6px!important}
  html body #siteHeader.bm-public-header-v148[data-bm-page] .bm-header-logo-img{max-width:126px!important;height:40px!important;max-height:40px!important}
  html body #siteHeader.bm-public-header-v148[data-bm-page] .admin-panel-trigger{display:none!important}
  html body #siteHeader.bm-public-header-v148[data-bm-page] .bm-header-search,
  html body #siteHeader.bm-public-header-v148[data-bm-page] .bm-header-search-trigger{
    flex:0 0 150px!important;width:150px!important;min-width:150px!important;max-width:150px!important
  }
  html body #siteHeader.bm-public-header-v148[data-bm-page] .bm-header-search-label{font-size:11px!important}
}
