/* 09 October: one persistent, equal-height banner on every MODERA screen.
   Loaded after all legacy styles, including member and public navigation. */
/* Ahşap referans: sticky (fixed + sahte padding üst boşluk yapıyordu) */
#mainApp > header.top {position:sticky!important;top:0!important;z-index:300!important;overflow:visible!important;margin:0!important;}
#mainApp #moderaGlobalAdHost {display:block!important;position:relative!important;width:100%!important;min-width:0!important;flex-shrink:0!important;padding:5px 0 0!important;}
#mainApp #moderaGlobalAdHost > #adSlider:not([hidden]) {
  display:block!important;visibility:visible!important;box-sizing:border-box!important;
  width:100%!important;height:110px!important;min-height:110px!important;
  max-height:110px!important;flex:0 0 110px!important;
  margin:0!important;padding:0!important;border-radius:12px!important;
  overflow:hidden!important;background:#fff!important;
}
#moderaGlobalAdHost .adSliderViewport,
#moderaGlobalAdHost .adSliderTrack,
#moderaGlobalAdHost .adSlide,
#moderaGlobalAdHost .adSlideLink {width:100%!important;height:100%!important;min-height:0!important;}
#moderaGlobalAdHost .adSlideLink {display:flex!important;align-items:center!important;justify-content:center!important;}
#moderaGlobalAdHost .adSlide img,
#moderaGlobalAdHost .adSlideLink img {
  width:100%!important;height:100%!important;max-height:100%!important;
  object-fit:contain!important;object-position:center center!important;
}
/* Only the single sticky header displays the ads, even on the market page. */
#communityAds,#marketAds {display:none!important;height:0!important;margin:0!important;padding:0!important;}
@media(max-width:699px){
  #mainApp #moderaGlobalAdHost > #adSlider:not([hidden]) {
    height:62px!important;min-height:62px!important;max-height:62px!important;flex:0 0 62px!important;
  }
}

/* Hidden means no second box, regardless of legacy banner sizing. */
html body #mainApp > header.top #moderaGlobalAdHost > #adSlider[hidden]{display:none!important;visibility:hidden!important;height:0!important;min-height:0!important;max-height:0!important;flex:0 0 0!important;border:0!important;padding:0!important;margin:0!important}


html body #mainApp>header.top #moderaGlobalAdHost{aspect-ratio:928/298!important;overflow:hidden!important}
html body #mainApp>header.top #moderaGlobalAdHost>#adSlider{aspect-ratio:928/298!important}
