/* v16.1.1196.3.776 — correção definitiva do banner topo.
   Desktop permanece no padrão 1170x250.
   Tablet e mobile usam a proporção 1170x500, sem alterar o desktop. */

/* Desktop: respeita integralmente o formato original 1170x250. */
@media(min-width:1025px){
  html body.pc .adbox.ad-1170x250{
    width:1170px!important;
    max-width:100%!important;
    aspect-ratio:1170/250!important;
    height:auto!important;
    min-height:0!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }
  html body.pc .spb-directory-top-ad,
  html body.pc .spb-jobs-top-ad,
  html body.pc .spb-blog-top-ad,
  html body.pc .spb-home-block-ad,
  html body.pc .spb-home-events-banner,
  html body.pc .spb-agenda-selfservice-ad{
    max-width:1170px!important;
    margin-left:auto!important;
    margin-right:auto!important;
    padding-left:0!important;
    padding-right:0!important;
  }
}

/* Tablet e mobile: mantém o mesmo slot 1170x250, mas exibe a arte mobile alta 1170x500. */
@media(max-width:1024px){
  html body.pc .adbox.ad-1170x250{
    width:calc(100vw - 30px)!important;
    max-width:calc(100vw - 30px)!important;
    aspect-ratio:1170/500!important;
    height:auto!important;
    min-height:0!important;
    margin-left:auto!important;
    margin-right:auto!important;
    overflow:hidden!important;
  }
  html body.pc .adbox.ad-1170x250 .ad-rotator-slide,
  html body.pc .adbox.ad-1170x250 .ad-rotator-slide.active,
  html body.pc .adbox.ad-1170x250 picture,
  html body.pc .adbox.ad-1170x250 a,
  html body.pc .adbox.ad-1170x250 div.spb-ad-no-link{
    width:100%!important;
    height:100%!important;
    min-height:100%!important;
  }
  html body.pc .adbox.ad-1170x250 img{
    width:100%!important;
    height:100%!important;
    max-width:none!important;
    object-fit:cover!important;
    object-position:center center!important;
    display:block!important;
  }
}
