/* TigerEdge V6.1 — restore the permanent Weltrade/Deriv desktop side rails.
   Keep the V6 compact single header and NO top advertisement. */
/* Most 125%-zoom desktop viewports fall below the previous 1450px/650px
   breakpoints. Side rails should depend on usable width, not window height. */
@media (min-width:1200px){
  .te-ad-wings{display:block!important;pointer-events:none!important}
  .te-wing{display:block!important;pointer-events:auto!important;
    position:fixed!important;top:106px!important;bottom:auto!important;
    width:154px!important;max-height:calc(100dvh - 118px)!important;
    overflow-y:auto!important;overflow-x:hidden!important;
    overscroll-behavior:contain!important;
    scrollbar-width:none!important;
    border-radius:16px!important;z-index:210!important}
  .te-wing::-webkit-scrollbar{width:0!important;display:none!important}
  .te-wing-left{left:14px!important}
  .te-wing-right{right:14px!important}
  /* Guarantee article content clears both rails. */
  main .container{width:calc(100% - 376px)!important;
    max-width:1220px!important;margin-inline:auto!important}
  .te-mobile-ad-pair{display:none!important}
  body.te-footer-visible .te-wing{opacity:0!important;visibility:hidden!important;pointer-events:none!important}
}
@media (max-width:1199px){
  .te-ad-wings,.te-wing{display:none!important}
  .te-mobile-ad-pair{display:grid!important}
  main .container{width:min(1220px,calc(100% - 40px))!important}
}
/* At desktop widths that previously triggered an unnecessary hamburger,
   restore the full horizontal menu as space safely allows. */
@media (min-width:1200px) and (max-width:1330px){
  :root{--te-header-height:90px}
  html{scroll-padding-top:110px!important}
  .te-unified-header{grid-template-columns:minmax(280px,335px) minmax(0,1fr)!important;
    grid-template-rows:90px!important;min-height:90px!important}
  .te-unified-brand{grid-column:1!important;grid-row:1!important;gap:12px!important;
    padding:9px 8px 9px clamp(14px,2vw,32px)!important}
  .te-unified-logo{width:68px!important;height:68px!important}
  .te-unified-brand strong{font-size:clamp(1.25rem,1.6vw,1.72rem)!important}
  .te-unified-toggle{display:none!important}
  .te-unified-nav,.te-unified-nav.open{display:flex!important;
    grid-column:2!important;grid-row:1!important;
    position:static!important;top:auto!important;left:auto!important;right:auto!important;
    z-index:auto!important;flex-direction:row!important;
    gap:clamp(5px,.5vw,9px)!important;
    align-items:center!important;justify-content:flex-end!important;
    padding:8px 13px 8px 5px!important;max-height:none!important;overflow:visible!important;
    box-shadow:none!important;border:0!important}
  .te-unified-nav>a,.te-unified-nav a{display:inline-flex!important;width:auto!important;
    font-size:clamp(.66rem,.75vw,.8rem)!important;padding:5px 0!important;
    border:0!important;text-align:center!important;white-space:nowrap!important}
  .te-unified-nav>.btn{margin:0!important;display:inline-flex!important;
    width:auto!important;padding:8px 10px!important;min-height:38px!important;
    font-size:.70rem!important;white-space:nowrap!important}
}
/* Make the fixed side cards fit more content in short desktop windows.
   Buttons remain reachable by scrolling inside a card if needed. */
@media (min-width:1200px) and (max-height:700px){
  .te-wing-inner{padding:8px!important;gap:6px!important}
  .te-wing-image-link{min-height:0!important}
  .te-wing .te-wing-copy p{font-size:.70rem!important}
  .te-deriv-art{min-height:145px!important}
  .te-deriv-chart{max-height:62px!important}
}
