/* Bi'Tişört v6.11.92 — Shared header mega-menu anchor
   Rehberler + Kurumsal now position against the common .hybrid-nav shell,
   not their individual <details> triggers. This keeps both dropdowns on the
   same x/y axis while preserving their existing trigger and mobile behavior. */

@media (min-width:821px){
  /* Establish one containing block for both desktop mega menus. */
  .hybrid-site-header .hybrid-nav{
    position:relative!important;
  }

  /* Remove the old per-trigger positioning contexts that caused the panels
     to slide left/right depending on which <details> element was opened. */
  .hybrid-site-header .hybrid-nav-links{
    position:static!important;
  }
  .hybrid-site-header .hybrid-nav-links .bt-header-group-v61187{
    position:static!important;
  }

  /* Shared Figma shell: identical left edge, top gap, width and height. */
  .hybrid-site-header .hybrid-nav-links .bt-header-guides-panel-v61174,
  .hybrid-site-header .hybrid-nav-links .bt-header-corporate-panel-v61166{
    top:calc(100% + 10px)!important;
    left:50%!important;
    transform:translateX(-50%)!important;
    width:min(960px,calc(100vw - 40px))!important;
    height:326px!important;
    min-height:326px!important;
    max-height:326px!important;
    box-sizing:border-box!important;
    margin:0!important;
    overflow:visible!important;
  }

  .hybrid-site-header .hybrid-nav-links .bt-mega-surface-v61188{
    width:100%!important;
    height:100%!important;
    box-sizing:border-box!important;
    overflow:hidden!important;
  }

  .hybrid-site-header .hybrid-nav-links .bt-mega-grid-v61188{
    width:100%!important;
    height:100%!important;
    min-height:0!important;
    box-sizing:border-box!important;
  }

  /* Once the panel is shared, each pointer is placed under its own trigger. */
  .hybrid-site-header .hybrid-nav-links .bt-header-guides-panel-v61174::before{
    left:40%!important;
    transform:translateX(-50%) rotate(45deg)!important;
  }
  .hybrid-site-header .hybrid-nav-links .bt-header-corporate-panel-v61166::before{
    left:52%!important;
    transform:translateX(-50%) rotate(45deg)!important;
  }

  /* Keep the Figma 270px content/visual rhythm without allowing the
     Yardım Merkezi row to increase the overall Rehberler shell height. */
  .hybrid-site-header .hybrid-nav-links .bt-mega-reference-feature-v61189{
    height:100%!important;
    min-height:0!important;
    box-sizing:border-box!important;
    padding-top:27px!important;
    padding-bottom:27px!important;
  }

  .hybrid-site-header .hybrid-nav-links .bt-mega-feature-copy-v61189{
    height:270px!important;
    min-height:270px!important;
    max-height:270px!important;
    box-sizing:border-box!important;
  }

  .hybrid-site-header .hybrid-nav-links .bt-mega-help-link-v61189{
    display:inline-flex!important;
    align-items:center!important;
    margin-top:auto!important;
  }
}

/* Notebook: keep the same common anchor, only shrink the shell width. */
@media (min-width:821px) and (max-width:1180px){
  .hybrid-site-header .hybrid-nav-links .bt-header-guides-panel-v61174,
  .hybrid-site-header .hybrid-nav-links .bt-header-corporate-panel-v61166{
    width:min(820px,calc(100vw - 28px))!important;
  }

  .hybrid-site-header .hybrid-nav-links .bt-header-guides-panel-v61174::before{
    left:43%!important;
  }
  .hybrid-site-header .hybrid-nav-links .bt-header-corporate-panel-v61166::before{
    left:57%!important;
  }
}
