.nf5-ad-placeholder{display:block;width:100%;min-height:1px;text-align:center}.nf5-ad-wrap{display:block;margin:12px auto;text-align:center;line-height:0;clear:both}.nf5-ad-wrap a{display:inline-block;line-height:0}.nf5-ad-wrap img{display:block;margin:0 auto;border:0;max-width:100%;object-fit:contain}.nf5-ad-responsive img{max-width:100%!important;height:auto}.nf5-ad-code{display:flex;justify-content:center;align-items:center;width:100%;text-align:center;line-height:normal;overflow:hidden}.nf5-ad-code iframe,.nf5-ad-code ins{margin-left:auto!important;margin-right:auto!important}.nf5-ad-slider,.nf5-ad-rotator,.nf5-ad-grid-wrap{position:relative;width:100%;margin:12px auto;text-align:center}.nf5-ad-slider{overflow:hidden}.nf5-ad-slide,.nf5-ad-rotator-item{display:none;width:100%;text-align:center}.nf5-ad-slide.is-active,.nf5-ad-rotator-item.is-active{display:block}.nf5-ad-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px;align-items:center;justify-items:center;margin:12px auto}.nf5-ad-grid-item{width:100%;text-align:center}.nf5-ad-has-arrows{padding-left:38px;padding-right:38px}.nf5-ad-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:5;width:34px;height:44px;border:0;border-radius:6px;background:rgba(0,0,0,.55);color:#fff;font-size:34px;line-height:34px;cursor:pointer;display:flex;align-items:center;justify-content:center}.nf5-ad-arrow:hover,.nf5-ad-arrow:focus{background:rgba(0,0,0,.78);color:#fff;outline:0}.nf5-ad-arrow-prev{left:0}.nf5-ad-arrow-next{right:0}.nf5-ad-grid-wrap.nf5-ad-has-arrows .nf5-ad-grid{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none}.nf5-ad-grid-wrap.nf5-ad-has-arrows .nf5-ad-grid::-webkit-scrollbar{display:none}.nf5-ad-grid-wrap.nf5-ad-has-arrows .nf5-ad-grid-item{flex:0 0 min(100%,320px);scroll-snap-align:center}@media(max-width:768px){.nf5-ad-wrap{max-width:100%!important}.nf5-ad-code{overflow-x:auto}.nf5-ad-grid{grid-template-columns:1fr}.nf5-ad-has-arrows{padding-left:30px;padding-right:30px}.nf5-ad-arrow{width:28px;height:38px;font-size:28px}}

/* v1.3.0 - setas dentro do banner, sem fundo */
.nf5-ad-slider.nf5-ad-has-arrows,
.nf5-ad-rotator.nf5-ad-has-arrows{
  display:inline-block;
  width:auto;
  max-width:100%;
  padding-left:0!important;
  padding-right:0!important;
  overflow:hidden;
}
.nf5-ad-grid-wrap.nf5-ad-has-arrows{
  padding-left:0!important;
  padding-right:0!important;
}
.nf5-ad-slider.nf5-ad-has-arrows .nf5-ad-slide,
.nf5-ad-rotator.nf5-ad-has-arrows .nf5-ad-rotator-item{
  width:auto;
}
.nf5-ad-arrow,
.nf5-ad-arrow:hover,
.nf5-ad-arrow:focus{
  width:auto!important;
  height:auto!important;
  min-width:0!important;
  padding:0 6px!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:#fff!important;
  font-size:56px!important;
  line-height:1!important;
  font-weight:700!important;
  text-shadow:0 2px 7px rgba(0,0,0,.45);
  opacity:.95;
}
.nf5-ad-arrow:hover,
.nf5-ad-arrow:focus{opacity:1;outline:0!important;}
.nf5-ad-arrow-prev{left:6px!important;}
.nf5-ad-arrow-next{right:6px!important;}
@media(max-width:768px){
  .nf5-ad-arrow{font-size:42px!important;padding:0 4px!important;}
  .nf5-ad-arrow-prev{left:3px!important;}
  .nf5-ad-arrow-next{right:3px!important;}
}


/* NF5 v1.6.0: remove espaços padrão no mobile/desktop.
   A margem agora só aparece quando configurada no cadastro do anúncio. */
.nf5-ad-placeholder,
.nf5-ad-wrap,
.nf5-ad-wrap a,
.nf5-ad-wrap img{
    margin-top:0;
    margin-bottom:0;
}
.nf5-ad-placeholder{
    padding:0!important;
    min-height:0!important;
    line-height:0!important;
}
.nf5-ad-wrap{
    padding:0!important;
    line-height:0!important;
}
.nf5-ad-wrap a{
    display:block;
    line-height:0!important;
}
.nf5-ad-wrap img{
    display:block;
    vertical-align:top;
}
.nf5-ad-slider,
.nf5-ad-rotator,
.nf5-ad-grid-wrap,
.nf5-ad-slide,
.nf5-ad-rotator-item,
.nf5-ad-grid-item{
    padding-top:0!important;
    padding-bottom:0!important;
    margin-top:0;
    margin-bottom:0;
}
@media(max-width:782px){
    .nf5-ad-placeholder,
    .nf5-ad-wrap,
    .nf5-ad-wrap a,
    .nf5-ad-wrap img,
    .nf5-ad-slider,
    .nf5-ad-rotator,
    .nf5-ad-grid-wrap{
        padding-top:0!important;
        padding-bottom:0!important;
        line-height:0!important;
    }
}


/* NF5 v1.9.0: remove espaçamento vertical no mobile.
   O plugin não aplica respiro automático; só respeita a margem configurada no anúncio. */
.nf5-ad-wrap,
.nf5-ad-placeholder,
.nf5-script-render{
    font-size:0;
}

@media (max-width: 782px){
    .nf5-ad-placeholder,
    .nf5-script-render,
    .nf5-ad-wrap,
    .nf5-ad-wrap a,
    .nf5-ad-wrap picture,
    .nf5-ad-wrap img,
    .nf5-ad-code,
    .nf5-ad-slider,
    .nf5-ad-rotator,
    .nf5-ad-grid-wrap,
    .nf5-ad-slide,
    .nf5-ad-rotator-item,
    .nf5-ad-grid,
    .nf5-ad-grid-item,
    .nf5-iframe-root{
        padding-top:0!important;
        padding-bottom:0!important;
        border-top:0!important;
        border-bottom:0!important;
        line-height:0!important;
        min-height:0!important;
    }

    .nf5-ad-placeholder,
    .nf5-script-render,
    .nf5-ad-slider,
    .nf5-ad-rotator,
    .nf5-ad-grid-wrap,
    .nf5-ad-slide,
    .nf5-ad-rotator-item,
    .nf5-ad-grid,
    .nf5-ad-grid-item{
        margin-top:0!important;
        margin-bottom:0!important;
    }

    .nf5-ad-wrap{
        display:block!important;
        box-sizing:border-box!important;
        height:auto!important;
    }

    .nf5-ad-wrap a{
        display:block!important;
        height:auto!important;
    }

    .nf5-ad-wrap img{
        display:block!important;
        width:100%!important;
        max-width:100%!important;
        height:auto!important;
        vertical-align:top!important;
    }

    iframe[src*="nf5_publicidade_iframe"]{
        display:block!important;
        width:100%!important;
        border:0!important;
        margin-top:0!important;
        margin-bottom:0!important;
        padding-top:0!important;
        padding-bottom:0!important;
        overflow:hidden!important;
    }
}


/* NF5 v2.0.0: ajuste automático do banner sem espaço fantasma.
   O tamanho configurado vira limite máximo; a altura é sempre proporcional à arte real. */
.nf5-ad-placeholder,
.nf5-script-render{
    display:block!important;
    width:100%!important;
    margin:0!important;
    padding:0!important;
    min-height:0!important;
    line-height:0!important;
    font-size:0!important;
}

.nf5-ad-wrap{
    display:block!important;
    width:100%!important;
    max-width:100%;
    height:auto!important;
    padding:0!important;
    line-height:0!important;
    font-size:0!important;
    text-align:center!important;
    box-sizing:border-box!important;
    overflow:visible!important;
    clear:both;
}

.nf5-ad-wrap a{
    display:block!important;
    width:100%!important;
    height:auto!important;
    margin:0!important;
    padding:0!important;
    line-height:0!important;
    font-size:0!important;
}

.nf5-ad-wrap img{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    height:auto!important;
    max-height:none!important;
    margin:0 auto!important;
    padding:0!important;
    border:0!important;
    object-fit:contain!important;
    vertical-align:top!important;
}

.nf5-ad-code:empty,
.nf5-ad-wrap:empty{
    display:none!important;
    margin:0!important;
    padding:0!important;
    height:0!important;
    min-height:0!important;
}

.nf5-ad-slider,
.nf5-ad-rotator,
.nf5-ad-grid-wrap,
.nf5-ad-slide,
.nf5-ad-rotator-item,
.nf5-ad-grid,
.nf5-ad-grid-item{
    min-height:0!important;
    height:auto!important;
}

@media (max-width: 782px){
    .nf5-ad-wrap{
        max-width:100%!important;
        margin-left:auto!important;
        margin-right:auto!important;
    }

    .nf5-ad-wrap img{
        width:100%!important;
        height:auto!important;
    }

    .nf5-ad-code:empty,
    .nf5-ad-wrap:empty,
    .nf5-ad-placeholder:empty,
    .nf5-script-render:empty{
        display:none!important;
        height:0!important;
        min-height:0!important;
        margin:0!important;
        padding:0!important;
    }
}


/* NF5 v2.4.0: centralização permanente de banner, iframe, script e código HTML. */
.nf5-ad-placeholder,
.nf5-script-render{
    text-align:center!important;
}

.nf5-ad-wrap{
    margin-left:auto!important;
    margin-right:auto!important;
    text-align:center!important;
}

.nf5-ad-wrap a,
.nf5-ad-wrap img,
.nf5-ad-wrap iframe,
.nf5-ad-wrap ins,
.nf5-ad-wrap object,
.nf5-ad-wrap embed{
    margin-left:auto!important;
    margin-right:auto!important;
}

.nf5-ad-code{
    display:flex!important;
    justify-content:center!important;
    align-items:center!important;
    flex-wrap:wrap!important;
    width:100%!important;
    max-width:100%!important;
    margin-left:auto!important;
    margin-right:auto!important;
    text-align:center!important;
}

.nf5-ad-code > *{
    margin-left:auto!important;
    margin-right:auto!important;
}

.nf5-ad-slider,
.nf5-ad-rotator,
.nf5-ad-grid-wrap,
.nf5-ad-slide,
.nf5-ad-rotator-item,
.nf5-ad-grid,
.nf5-ad-grid-item{
    text-align:center!important;
    justify-content:center!important;
    justify-items:center!important;
}

iframe[src*="nf5_publicidade_iframe"]{
    margin-left:auto!important;
    margin-right:auto!important;
    display:block!important;
}

.nf5-iframe-root{
    text-align:center!important;
}

.nf5-iframe-root .nf5-ad-wrap,
.nf5-iframe-root .nf5-ad-code,
.nf5-iframe-root img,
.nf5-iframe-root iframe,
.nf5-iframe-root ins{
    margin-left:auto!important;
    margin-right:auto!important;
}


/* NF5 v2.6.0: anúncios de código/script não podem ser esticados pelo plugin.
   O tamanho final fica por conta do próprio script externo. */
.nf5-ad-wrap.nf5-ad-type-code{
    width:100%!important;
    max-width:100%!important;
    height:auto!important;
    min-height:0!important;
    text-align:center!important;
}

.nf5-ad-wrap.nf5-ad-type-code .nf5-ad-code{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    height:auto!important;
    min-height:0!important;
    overflow:visible!important;
    text-align:center!important;
}

.nf5-ad-wrap.nf5-ad-type-code .nf5-ad-code > *,
.nf5-ad-wrap.nf5-ad-type-code script + *,
.nf5-ad-wrap.nf5-ad-type-code iframe,
.nf5-ad-wrap.nf5-ad-type-code ins,
.nf5-ad-wrap.nf5-ad-type-code object,
.nf5-ad-wrap.nf5-ad-type-code embed{
    margin-left:auto!important;
    margin-right:auto!important;
}

.nf5-ad-wrap.nf5-ad-type-code img{
    width:auto!important;
    max-width:100%!important;
    height:auto!important;
    max-height:none!important;
    object-fit:contain!important;
}

/* Evita que regras responsivas de banner de imagem alterem criativos gerados por script. */
.nf5-ad-responsive.nf5-ad-type-code img{
    width:auto!important;
    max-width:100%!important;
    height:auto!important;
}


/* NF5 v2.9.0: suporte para URL do YouTube em anúncio do tipo Código / Script. */
.nf5-youtube-wrap{
    position:relative;
    width:100%;
    max-width:900px;
    aspect-ratio:16 / 9;
    margin-left:auto!important;
    margin-right:auto!important;
    background:#000;
    overflow:hidden;
    border-radius:6px;
}

.nf5-youtube-wrap iframe{
    position:absolute;
    inset:0;
    width:100%!important;
    height:100%!important;
    border:0!important;
    display:block!important;
}

.nf5-ad-video{
    width:100%!important;
    max-width:100%!important;
}


/* NF5 v3.3.0: anúncios de vídeo enviados direto no WordPress. */
.nf5-ad-video-local{
    width:100%!important;
    max-width:100%!important;
    text-align:center!important;
}

.nf5-ad-video-local video{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    height:auto!important;
    margin-left:auto!important;
    margin-right:auto!important;
    background:#000;
}


/* NF5 v3.3.2: vídeo local sem tamanho forçado quando campos ficam vazios. */
.nf5-ad-type-video{
    height:auto!important;
}

.nf5-ad-video-local video{
    height:auto!important;
}


/* NF5 v3.4.0: slider com deslizamento lateral em vez de troca seca. */
.nf5-ad-slider{
    display:flex!important;
    align-items:center;
    overflow:hidden!important;
    --nf5-index:0;
}

.nf5-ad-slider > .nf5-ad-slide{
    display:block!important;
    flex:0 0 100%!important;
    width:100%!important;
    min-width:100%!important;
    transform:translateX(calc(var(--nf5-index) * -100%));
    transition:transform .45s ease;
}

.nf5-ad-slider > .nf5-ad-slide.is-active{
    display:block!important;
}


/* NF5 v3.4.1: correção do slider lateral e setas fora do fluxo do flex. */
.nf5-ad-slider{
    position:relative!important;
}

.nf5-ad-slider > .nf5-ad-arrow{
    position:absolute!important;
    z-index:20!important;
    top:50%!important;
    transform:translateY(-50%)!important;
    flex:none!important;
}

.nf5-ad-slider > .nf5-ad-arrow-prev{
    left:8px!important;
}

.nf5-ad-slider > .nf5-ad-arrow-next{
    right:8px!important;
}


/* NF5 v3.4.2: slider real com trilho horizontal. */
.nf5-ad-slider{
    display:block!important;
    position:relative!important;
    width:100%!important;
    max-width:100%!important;
    overflow:hidden!important;
    text-align:center!important;
}

.nf5-ad-slider > .nf5-ad-slider-track{
    display:flex!important;
    align-items:center!important;
    width:100%!important;
    transform:translate3d(0,0,0);
    transition:transform .55s ease!important;
    will-change:transform;
}

.nf5-ad-slider > .nf5-ad-slider-track > .nf5-ad-slide{
    display:block!important;
    flex:0 0 100%!important;
    width:100%!important;
    min-width:100%!important;
    max-width:100%!important;
    transform:none!important;
    transition:none!important;
    text-align:center!important;
}

.nf5-ad-slider > .nf5-ad-slider-track > .nf5-ad-slide .nf5-ad-wrap{
    margin-left:auto!important;
    margin-right:auto!important;
}

/* setas dentro do slider, sem participar do trilho */
.nf5-ad-slider > .nf5-ad-arrow{
    position:absolute!important;
    z-index:20!important;
    top:50%!important;
    transform:translateY(-50%)!important;
    flex:none!important;
}

.nf5-ad-slider > .nf5-ad-arrow-prev{
    left:8px!important;
}

.nf5-ad-slider > .nf5-ad-arrow-next{
    right:8px!important;
}


/* NF5 v3.4.3: correção final do slider lateral sem ocultar banners. */
.nf5-ad-slider.nf5-ad-has-arrows{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
}

.nf5-ad-slider > .nf5-ad-slider-track{
    display:flex!important;
}

.nf5-ad-slider > .nf5-ad-slider-track > .nf5-ad-slide{
    display:block!important;
}


/* NF5 v3.4.4: loop infinito real no slider, sem retorno visual para o primeiro banner. */
.nf5-ad-slider > .nf5-ad-slider-track{
    transition:transform .55s ease!important;
}

.nf5-ad-slider > .nf5-ad-slider-track > .nf5-ad-slide.nf5-ad-clone{
    display:block!important;
}


/* NF5 v3.4.6: proteção anticorte de banners.
   Nenhum banner de imagem, vídeo ou script deve ser cortado pela área do plugin.
   O plugin limita pela largura disponível e a altura acompanha a proporção real. */
.nf5-ad-placeholder,
.nf5-script-render,
.nf5-ad-wrap,
.nf5-ad-image-inner,
.nf5-ad-wrap a,
.nf5-ad-code,
.nf5-ad-grid-wrap,
.nf5-ad-grid,
.nf5-ad-grid-item,
.nf5-ad-rotator,
.nf5-ad-rotator-item{
    height:auto!important;
    max-height:none!important;
    min-height:0!important;
    overflow:visible!important;
    clip:auto!important;
    clip-path:none!important;
}

.nf5-ad-wrap{
    display:block!important;
    width:100%!important;
    box-sizing:border-box!important;
}

.nf5-ad-image-inner{
    display:block!important;
    width:100%!important;
    text-align:center!important;
    line-height:0!important;
}

.nf5-ad-image-inner a{
    display:inline-block!important;
    width:auto!important;
    max-width:100%!important;
    height:auto!important;
    overflow:visible!important;
    line-height:0!important;
}

.nf5-ad-wrap img,
.nf5-ad-image-inner img,
.nf5-ad-code img,
.nf5-ad-grid-item img,
.nf5-ad-rotator-item img,
.nf5-ad-slide img{
    display:block!important;
    width:auto!important;
    max-width:100%!important;
    height:auto!important;
    max-height:none!important;
    object-fit:contain!important;
    object-position:center center!important;
    margin-left:auto!important;
    margin-right:auto!important;
    overflow:visible!important;
    vertical-align:top!important;
}

/* Quando for banner de imagem cadastrado no plugin, ele pode ocupar até a largura do layout,
   mas nunca força altura e nunca corta. */
.nf5-ad-type-image img{
    width:100%!important;
    max-width:100%!important;
    height:auto!important;
}

/* Scripts/AdSense/outros criativos: não forçar tamanho e não cortar o criativo gerado. */
.nf5-ad-type-code,
.nf5-ad-type-code .nf5-ad-code,
.nf5-ad-type-code .nf5-ad-code > *,
.nf5-ad-type-code iframe,
.nf5-ad-type-code ins,
.nf5-ad-type-code object,
.nf5-ad-type-code embed{
    max-height:none!important;
    overflow:visible!important;
    clip:auto!important;
    clip-path:none!important;
}

/* Slider precisa esconder apenas a largura do trilho para o movimento lateral.
   A altura continua livre para não cortar o banner verticalmente. */
.nf5-ad-slider{
    overflow-x:hidden!important;
    overflow-y:visible!important;
    height:auto!important;
    max-height:none!important;
}

.nf5-ad-slider > .nf5-ad-slider-track,
.nf5-ad-slider > .nf5-ad-slider-track > .nf5-ad-slide{
    height:auto!important;
    max-height:none!important;
    overflow:visible!important;
    align-items:center!important;
}

/* Evita que temas apliquem corte no conteúdo interno do anúncio. */
.nf5-ad-wrap *{
    max-height:none!important;
}


/* NF5 v3.5.0: correção de bordas/margens e proteção contra borda do tema.
   O plugin não aplica borda visual no banner, iframe ou wrappers. */
.nf5-ad-placeholder,
.nf5-script-render,
.nf5-ad-wrap,
.nf5-ad-image-inner,
.nf5-ad-wrap a,
.nf5-ad-wrap img,
.nf5-ad-code,
.nf5-ad-code > *,
.nf5-ad-slider,
.nf5-ad-slider-track,
.nf5-ad-slide,
.nf5-ad-rotator,
.nf5-ad-rotator-item,
.nf5-ad-grid-wrap,
.nf5-ad-grid,
.nf5-ad-grid-item,
.nf5-youtube-wrap,
.nf5-ad-video,
.nf5-ad-video-local,
.nf5-iframe-root{
    border:0!important;
    outline:0!important;
    box-shadow:none!important;
    background-clip:padding-box!important;
}

/* Remove bordas padrão de iframes usados nos campos HTML do tema. */
iframe[src*="nf5_publicidade_iframe"]{
    border:0!important;
    outline:0!important;
    box-shadow:none!important;
    background:transparent!important;
}

/* Quando a configuração de margem/borda externa for 0, o plugin não cria espaçamento lateral. */
.nf5-ad-wrap{
    border-style:none!important;
}


/* NF5 v3.5.2: espaçamento padrão entre banners quando o grupo exibe mais de 1 anúncio.
   Este espaçamento é adicional à margem individual configurada em cada banner. */
.nf5-ad-multi-list{
    display:flex!important;
    flex-direction:column!important;
    gap:10px!important;
    width:100%!important;
    max-width:100%!important;
    align-items:center!important;
    justify-content:center!important;
    overflow:visible!important;
}

.nf5-ad-multi-list > .nf5-ad-multi-item{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    text-align:center!important;
    overflow:visible!important;
}

.nf5-ad-grid{
    gap:10px!important;
}

.nf5-ad-grid-wrap.nf5-ad-has-arrows .nf5-ad-grid{
    gap:10px!important;
}

.nf5-ad-slider-track{
    gap:0!important;
}


/* NF5 v3.5.3: reserva de espaço antes do carregamento para evitar CLS/Core Web Vitals. */
.nf5-ad-placeholder.nf5-ad-reserved-space{
    display:block!important;
    width:100%!important;
    height:auto!important;
    box-sizing:border-box!important;
    background:transparent!important;
    overflow:visible!important;
    contain:layout paint;
}

.nf5-ad-placeholder.nf5-ad-reserved-space:empty::before{
    content:"";
    display:block;
    width:100%;
    height:100%;
    min-height:1px;
}

/* O conteúdo carregado ocupa o espaço já reservado, sem empurrar a página. */
.nf5-ad-placeholder.nf5-ad-reserved-space > .nf5-ad-wrap,
.nf5-ad-placeholder.nf5-ad-reserved-space > .nf5-ad-slider,
.nf5-ad-placeholder.nf5-ad-reserved-space > .nf5-ad-grid-wrap,
.nf5-ad-placeholder.nf5-ad-reserved-space > .nf5-ad-multi-list,
.nf5-ad-placeholder.nf5-ad-reserved-space > .nf5-ad-rotator{
    margin-top:0!important;
    margin-bottom:0!important;
}

/* Slider sempre para frente: o reset do clone é invisível e sem animação reversa. */
.nf5-ad-slider > .nf5-ad-slider-track{
    backface-visibility:hidden;
    transform-style:preserve-3d;
}


/* NF5 v3.5.5: anúncios automáticos dentro de matérias/posts individuais. */
.nf5-auto-position{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    clear:both!important;
    text-align:center!important;
    overflow:visible!important;
}

.nf5-auto-position-above{
    margin-bottom:16px!important;
}

.nf5-auto-position-middle{
    margin-top:16px!important;
    margin-bottom:16px!important;
}

.nf5-auto-position-below{
    margin-top:16px!important;
}


/* NF5 v3.5.6: centralização e responsividade permanente dos banners.
   Aplica também aos posicionamentos automáticos dentro das matérias. */
.nf5-force-center-responsive,
.nf5-auto-position,
.nf5-ad-placeholder,
.nf5-script-render,
.nf5-ad-wrap,
.nf5-ad-image-inner,
.nf5-ad-multi-list,
.nf5-ad-multi-item,
.nf5-ad-grid-wrap,
.nf5-ad-grid,
.nf5-ad-grid-item,
.nf5-ad-slider,
.nf5-ad-slide,
.nf5-ad-rotator,
.nf5-ad-rotator-item{
    width:100%!important;
    max-width:100%!important;
    margin-left:auto!important;
    margin-right:auto!important;
    text-align:center!important;
    box-sizing:border-box!important;
}

.nf5-auto-position{
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
}

.nf5-ad-wrap{
    display:block!important;
}

.nf5-ad-image-inner{
    display:flex!important;
    justify-content:center!important;
    align-items:center!important;
}

.nf5-ad-image-inner a,
.nf5-ad-wrap a{
    display:inline-flex!important;
    justify-content:center!important;
    align-items:center!important;
    width:auto!important;
    max-width:100%!important;
    margin-left:auto!important;
    margin-right:auto!important;
}

.nf5-ad-wrap img,
.nf5-ad-image-inner img,
.nf5-auto-position img,
.nf5-ad-multi-item img,
.nf5-ad-slide img,
.nf5-ad-grid-item img,
.nf5-ad-rotator-item img{
    display:block!important;
    width:auto!important;
    max-width:100%!important;
    height:auto!important;
    max-height:none!important;
    object-fit:contain!important;
    object-position:center center!important;
    margin-left:auto!important;
    margin-right:auto!important;
}

/* Banners de imagem cadastrados no plugin podem ocupar a largura disponível,
   mas sempre mantendo proporção e sem cortar. */
.nf5-ad-type-image .nf5-ad-image-inner,
.nf5-ad-type-image .nf5-ad-image-inner a{
    width:100%!important;
}

.nf5-ad-type-image img{
    width:100%!important;
    max-width:100%!important;
    height:auto!important;
}

/* Scripts, iframes e vídeos continuam centralizados sem forçar distorção. */
.nf5-ad-type-code .nf5-ad-code,
.nf5-ad-type-video .nf5-ad-code,
.nf5-youtube-wrap,
.nf5-ad-video-local{
    margin-left:auto!important;
    margin-right:auto!important;
    text-align:center!important;
}

.nf5-ad-type-code iframe,
.nf5-ad-type-code ins,
.nf5-ad-type-code object,
.nf5-ad-type-code embed,
.nf5-ad-type-video video{
    display:block!important;
    max-width:100%!important;
    margin-left:auto!important;
    margin-right:auto!important;
}

@media (max-width: 782px){
    .nf5-auto-position,
    .nf5-ad-wrap,
    .nf5-ad-image-inner,
    .nf5-ad-image-inner a{
        width:100%!important;
        max-width:100%!important;
    }

    .nf5-ad-wrap img,
    .nf5-ad-image-inner img{
        width:100%!important;
        max-width:100%!important;
        height:auto!important;
    }
}


/* NF5 v3.5.7: centralizar sem esticar a imagem.
   A imagem respeita o tamanho configurado no anúncio; se a tela for menor, reduz responsivamente. */
.nf5-ad-type-image .nf5-ad-image-inner,
.nf5-ad-type-image .nf5-ad-image-inner a{
    width:auto!important;
    max-width:100%!important;
    margin-left:auto!important;
    margin-right:auto!important;
    display:inline-flex!important;
    justify-content:center!important;
    align-items:center!important;
}

.nf5-ad-type-image img,
.nf5-ad-type-image .nf5-ad-image-inner img,
.nf5-auto-position .nf5-ad-type-image img,
.nf5-ad-multi-item .nf5-ad-type-image img,
.nf5-ad-slide .nf5-ad-type-image img,
.nf5-ad-grid-item .nf5-ad-type-image img,
.nf5-ad-rotator-item .nf5-ad-type-image img{
    width:auto!important;
    max-width:100%!important;
    height:auto!important;
    max-height:none!important;
    object-fit:contain!important;
    margin-left:auto!important;
    margin-right:auto!important;
}

/* O wrapper pode ter largura configurada, mas a imagem não deve passar disso nem esticar. */
.nf5-ad-wrap.nf5-ad-type-image{
    display:block!important;
    margin-left:auto!important;
    margin-right:auto!important;
    text-align:center!important;
}

/* No mobile, reduz somente se não couber na tela; não força 100% quando couber. */
@media (max-width: 782px){
    .nf5-ad-type-image img,
    .nf5-ad-type-image .nf5-ad-image-inner img,
    .nf5-auto-position .nf5-ad-type-image img{
        width:auto!important;
        max-width:100%!important;
        height:auto!important;
    }
}


/* NF5 v3.5.8: remove espaço fantasma após o carregamento do banner.
   A reserva de espaço existe apenas enquanto o placeholder está vazio. */
.nf5-ad-placeholder:not(:empty){
    height:auto!important;
    min-height:0!important;
    aspect-ratio:auto!important;
    padding-top:0!important;
    padding-bottom:0!important;
    margin-bottom:0!important;
    overflow:visible!important;
}

.nf5-ad-placeholder:not(:empty)::before,
.nf5-ad-placeholder:not(:empty)::after{
    content:none!important;
    display:none!important;
}

.nf5-ad-placeholder:not(:empty) > *:last-child,
.nf5-auto-position > *:last-child,
.nf5-ad-multi-item > *:last-child{
    margin-bottom:0!important;
}

.nf5-ad-placeholder:not(:empty) .nf5-ad-wrap{
    margin-bottom:0!important;
}

/* Mantém apenas o espaçamento configurado pelo anúncio ou o gap do grupo, sem sobra automática. */
.nf5-ad-wrap{
    margin-top:0;
    margin-bottom:0;
}


/* NF5 v3.5.9: reserva de espaço exatamente do tamanho do banner que será carregado.
   Evita espaço maior que o criativo e evita movimento no carregamento. */
.nf5-ad-placeholder.nf5-ad-reserved-space{
    width:var(--nf5-reserved-width, auto);
    max-width:100%!important;
    margin-left:auto!important;
    margin-right:auto!important;
    line-height:0!important;
}

.nf5-ad-placeholder.nf5-ad-reserved-space:empty{
    overflow:hidden!important;
}

/* Depois de carregar, não sobra altura fantasma e o conteúdo mantém o tamanho real configurado. */
.nf5-ad-placeholder:not(:empty){
    width:100%!important;
    max-width:100%!important;
    min-height:0!important;
    height:auto!important;
    aspect-ratio:auto!important;
}

/* A imagem continua centralizada, sem esticar além do tamanho configurado. */
.nf5-ad-placeholder:not(:empty) .nf5-ad-type-image img{
    width:auto!important;
    max-width:100%!important;
    height:auto!important;
}


/* NF5 v3.6.0: reserva exata para evitar CLS sem criar espaço maior que o banner.
   Corrige regras antigas com width:100%!important que deixavam a reserva mais alta que o criativo. */
.nf5-ad-placeholder.nf5-ad-reserved-space{
    width:min(100%, var(--nf5-reserved-width, 100%))!important;
    max-width:var(--nf5-reserved-width, 100%)!important;
    margin-left:auto!important;
    margin-right:auto!important;
    padding:0!important;
    border:0!important;
    line-height:0!important;
    font-size:0!important;
    background:transparent!important;
    box-sizing:border-box!important;
    overflow:hidden!important;
}

.nf5-ad-placeholder.nf5-ad-reserved-space:empty{
    aspect-ratio:var(--nf5-reserved-ratio)!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
}

.nf5-ad-placeholder.nf5-ad-reserved-space:empty::before{
    content:""!important;
    display:block!important;
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    aspect-ratio:var(--nf5-reserved-ratio)!important;
}

/* Após carregar, mantém a largura do banner, mas a altura passa a ser a altura real do conteúdo. */
.nf5-ad-placeholder.nf5-ad-reserved-space:not(:empty){
    width:min(100%, var(--nf5-reserved-width, 100%))!important;
    max-width:var(--nf5-reserved-width, 100%)!important;
    height:auto!important;
    min-height:0!important;
    aspect-ratio:auto!important;
    overflow:visible!important;
}

.nf5-ad-placeholder.nf5-ad-reserved-space:not(:empty)::before,
.nf5-ad-placeholder.nf5-ad-reserved-space:not(:empty)::after{
    content:none!important;
    display:none!important;
}

/* O conteúdo renderizado não deve adicionar margem automática extra. */
.nf5-ad-placeholder.nf5-ad-reserved-space > .nf5-ad-wrap,
.nf5-ad-placeholder.nf5-ad-reserved-space > .nf5-ad-slider,
.nf5-ad-placeholder.nf5-ad-reserved-space > .nf5-ad-grid-wrap,
.nf5-ad-placeholder.nf5-ad-reserved-space > .nf5-ad-multi-list,
.nf5-ad-placeholder.nf5-ad-reserved-space > .nf5-ad-rotator{
    margin-top:0!important;
    margin-bottom:0!important;
}

/* Garante que a imagem respeite o tamanho configurado e só reduza quando a tela for menor. */
.nf5-ad-placeholder.nf5-ad-reserved-space .nf5-ad-type-image,
.nf5-ad-placeholder.nf5-ad-reserved-space .nf5-ad-type-image .nf5-ad-image-inner,
.nf5-ad-placeholder.nf5-ad-reserved-space .nf5-ad-type-image .nf5-ad-image-inner a{
    width:100%!important;
    max-width:100%!important;
}

.nf5-ad-placeholder.nf5-ad-reserved-space .nf5-ad-type-image img{
    width:auto!important;
    max-width:100%!important;
    height:auto!important;
    margin-left:auto!important;
    margin-right:auto!important;
    object-fit:contain!important;
}


/* NF5 v3.6.5: anúncio em formato texto. */
.nf5-ad-text{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    text-align:center!important;
    line-height:1.5!important;
    font-size:16px;
    overflow:visible!important;
}

.nf5-ad-text p{
    margin:0 0 8px!important;
}

.nf5-ad-text p:last-child{
    margin-bottom:0!important;
}

.nf5-ad-text a{
    display:inline!important;
    line-height:inherit!important;
}


/* NF5 v3.6.6: saída do texto criado no editor visual. */
.nf5-ad-text ul,
.nf5-ad-text ol{
    display:inline-block;
    text-align:left;
    margin:0 auto 8px!important;
}

.nf5-ad-text img{
    max-width:100%!important;
    height:auto!important;
}


/* NF5 v3.6.7: correção para não cortar conteúdo no modo Texto. */
.nf5-ad-mode-text,
.nf5-ad-mode-text .nf5-ad-code,
.nf5-ad-mode-text .nf5-ad-text,
.nf5-ad-mode-text .nf5-ad-text *,
.nf5-auto-position .nf5-ad-mode-text,
.nf5-ad-placeholder .nf5-ad-mode-text{
    max-height:none!important;
    height:auto!important;
    min-height:0!important;
    overflow:visible!important;
    clip:auto!important;
    clip-path:none!important;
    white-space:normal!important;
    box-sizing:border-box!important;
}

.nf5-ad-mode-text{
    width:100%!important;
    max-width:100%!important;
    display:block!important;
    text-align:center!important;
}

.nf5-ad-mode-text .nf5-ad-text{
    width:100%!important;
    max-width:100%!important;
    display:block!important;
    text-align:center!important;
    line-height:1.5!important;
    word-break:normal!important;
    overflow-wrap:break-word!important;
}

.nf5-ad-mode-text .nf5-ad-text p,
.nf5-ad-mode-text .nf5-ad-text div,
.nf5-ad-mode-text .nf5-ad-text strong,
.nf5-ad-mode-text .nf5-ad-text em,
.nf5-ad-mode-text .nf5-ad-text span{
    max-width:100%!important;
    white-space:normal!important;
    overflow:visible!important;
}

.nf5-ad-mode-text .nf5-ad-text a{
    display:inline!important;
    white-space:normal!important;
    overflow-wrap:break-word!important;
    word-break:normal!important;
    max-width:100%!important;
}

/* Evita que reservas/iframes antigas limitem altura de anúncio de texto. */
.nf5-ad-placeholder:not(:empty) .nf5-ad-mode-text,
.nf5-ad-placeholder.nf5-ad-reserved-space:not(:empty) .nf5-ad-mode-text{
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    overflow:visible!important;
}


/* NF5 v3.6.8: correção final de corte no modo Texto.
   O texto precisa quebrar linha normalmente e nunca ser cortado por largura/altura. */
.nf5-ad-wrap.nf5-ad-mode-text,
.nf5-ad-wrap.nf5-ad-mode-text .nf5-ad-code,
.nf5-ad-wrap.nf5-ad-mode-text .nf5-ad-text,
.nf5-ad-wrap.nf5-ad-mode-text .nf5-ad-text-inner{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    overflow:visible!important;
    clip:auto!important;
    clip-path:none!important;
    white-space:normal!important;
    text-align:center!important;
    box-sizing:border-box!important;
    line-height:1.5!important;
    word-break:normal!important;
    overflow-wrap:break-word!important;
}

.nf5-ad-wrap.nf5-ad-mode-text .nf5-ad-text-inner,
.nf5-ad-wrap.nf5-ad-mode-text .nf5-ad-text-inner *{
    max-width:100%!important;
    max-height:none!important;
    overflow:visible!important;
    clip:auto!important;
    clip-path:none!important;
    white-space:normal!important;
    box-sizing:border-box!important;
}

/* Elementos inline não podem virar flex/inline-flex, pois isso causa corte em alguns temas. */
.nf5-ad-wrap.nf5-ad-mode-text .nf5-ad-text-inner a,
.nf5-ad-wrap.nf5-ad-mode-text .nf5-ad-text-inner strong,
.nf5-ad-wrap.nf5-ad-mode-text .nf5-ad-text-inner em,
.nf5-ad-wrap.nf5-ad-mode-text .nf5-ad-text-inner span,
.nf5-ad-wrap.nf5-ad-mode-text .nf5-ad-text-inner b,
.nf5-ad-wrap.nf5-ad-mode-text .nf5-ad-text-inner i{
    display:inline!important;
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
    height:auto!important;
    max-height:none!important;
    overflow:visible!important;
    white-space:normal!important;
    word-break:normal!important;
    overflow-wrap:anywhere!important;
    line-height:inherit!important;
    vertical-align:baseline!important;
    float:none!important;
    position:static!important;
    transform:none!important;
}

/* Links longos precisam quebrar para a próxima linha em vez de sumir para fora da caixa. */
.nf5-ad-wrap.nf5-ad-mode-text .nf5-ad-text-inner a{
    text-decoration:inherit;
    visibility:visible!important;
    opacity:1!important;
}

/* Parágrafos e blocos do editor visual não devem ter altura fixa. */
.nf5-ad-wrap.nf5-ad-mode-text .nf5-ad-text-inner p,
.nf5-ad-wrap.nf5-ad-mode-text .nf5-ad-text-inner div,
.nf5-ad-wrap.nf5-ad-mode-text .nf5-ad-text-inner blockquote,
.nf5-ad-wrap.nf5-ad-mode-text .nf5-ad-text-inner h1,
.nf5-ad-wrap.nf5-ad-mode-text .nf5-ad-text-inner h2,
.nf5-ad-wrap.nf5-ad-mode-text .nf5-ad-text-inner h3,
.nf5-ad-wrap.nf5-ad-mode-text .nf5-ad-text-inner h4,
.nf5-ad-wrap.nf5-ad-mode-text .nf5-ad-text-inner h5,
.nf5-ad-wrap.nf5-ad-mode-text .nf5-ad-text-inner h6{
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    overflow:visible!important;
    white-space:normal!important;
    overflow-wrap:break-word!important;
}

/* Evita corte quando o anúncio de texto vem por AJAX/placeholder/posicionamento automático. */
.nf5-ad-placeholder:not(:empty) .nf5-ad-wrap.nf5-ad-mode-text,
.nf5-auto-position .nf5-ad-wrap.nf5-ad-mode-text,
.nf5-ad-multi-item .nf5-ad-wrap.nf5-ad-mode-text,
.nf5-ad-slide .nf5-ad-wrap.nf5-ad-mode-text{
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    overflow:visible!important;
}


/* NF5 v3.6.9: correção para links dentro de Código / Texto.
   Alguns temas e regras antigas do plugin colocavam line-height:0 nos links,
   fazendo o texto do link sumir/cortar. Esta regra libera links e textos HTML. */
.nf5-ad-wrap.nf5-ad-type-code .nf5-ad-code-html,
.nf5-ad-wrap.nf5-ad-type-code .nf5-ad-code-html *,
.nf5-ad-wrap.nf5-ad-mode-text .nf5-ad-text-inner,
.nf5-ad-wrap.nf5-ad-mode-text .nf5-ad-text-inner *{
    line-height:1.5!important;
    white-space:normal!important;
    max-height:none!important;
    height:auto!important;
    min-height:0!important;
    overflow:visible!important;
    clip:auto!important;
    clip-path:none!important;
    box-sizing:border-box!important;
    visibility:visible!important;
    opacity:1!important;
}

/* Links de texto precisam ser inline e com altura normal; nunca inline-block com line-height zero. */
.nf5-ad-wrap.nf5-ad-type-code .nf5-ad-code-html a,
.nf5-ad-wrap.nf5-ad-mode-text .nf5-ad-text-inner a{
    display:inline!important;
    line-height:1.5!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    width:auto!important;
    max-width:none!important;
    overflow:visible!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
    word-break:normal!important;
    vertical-align:baseline!important;
    text-indent:0!important;
    font-size:inherit!important;
}

/* Mantém strong/em/span inline, sem corte. */
.nf5-ad-wrap.nf5-ad-type-code .nf5-ad-code-html strong,
.nf5-ad-wrap.nf5-ad-type-code .nf5-ad-code-html em,
.nf5-ad-wrap.nf5-ad-type-code .nf5-ad-code-html span,
.nf5-ad-wrap.nf5-ad-type-code .nf5-ad-code-html b,
.nf5-ad-wrap.nf5-ad-type-code .nf5-ad-code-html i,
.nf5-ad-wrap.nf5-ad-mode-text .nf5-ad-text-inner strong,
.nf5-ad-wrap.nf5-ad-mode-text .nf5-ad-text-inner em,
.nf5-ad-wrap.nf5-ad-mode-text .nf5-ad-text-inner span,
.nf5-ad-wrap.nf5-ad-mode-text .nf5-ad-text-inner b,
.nf5-ad-wrap.nf5-ad-mode-text .nf5-ad-text-inner i{
    display:inline!important;
    line-height:1.5!important;
    white-space:normal!important;
    overflow:visible!important;
    max-width:none!important;
    height:auto!important;
    max-height:none!important;
    vertical-align:baseline!important;
}

/* Parágrafos textuais do código/texto podem quebrar linha e ocupar a altura necessária. */
.nf5-ad-wrap.nf5-ad-type-code .nf5-ad-code-html p,
.nf5-ad-wrap.nf5-ad-mode-text .nf5-ad-text-inner p{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    overflow:visible!important;
    line-height:1.5!important;
    white-space:normal!important;
    overflow-wrap:break-word!important;
    margin-top:0!important;
}

/* Se houver imagem dentro de um link de código, ela continua proporcional e centralizada. */
.nf5-ad-wrap.nf5-ad-type-code .nf5-ad-code-html a img{
    display:block!important;
    max-width:100%!important;
    height:auto!important;
    margin-left:auto!important;
    margin-right:auto!important;
}


/* NF5 v3.7.0: posicionamentos automáticos apenas como bloco do texto da matéria.
   Evita o anúncio flutuar, ser envolvido por texto ou aparecer como se estivesse acima/fora do conteúdo. */
.nf5-auto-position{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    clear:both!important;
    float:none!important;
    position:relative!important;
    text-align:center!important;
    overflow:visible!important;
    box-sizing:border-box!important;
}

.nf5-auto-position::before,
.nf5-auto-position::after{
    content:""!important;
    display:table!important;
    clear:both!important;
}

.nf5-auto-position > .nf5-ad-placeholder,
.nf5-auto-position > .nf5-ad-wrap,
.nf5-auto-position > .nf5-ad-multi-list,
.nf5-auto-position > .nf5-ad-slider,
.nf5-auto-position > .nf5-ad-grid-wrap,
.nf5-auto-position > .nf5-ad-rotator{
    float:none!important;
    clear:both!important;
    margin-left:auto!important;
    margin-right:auto!important;
}

.nf5-auto-position-middle{
    margin-top:18px!important;
    margin-bottom:18px!important;
}

.nf5-auto-position-above{
    margin-bottom:18px!important;
}

.nf5-auto-position-below{
    margin-top:18px!important;
}


/* NF5 v3.7.1: posicionamento automático renderizado diretamente no texto.
   Evita que script/AdSense carregue no cabeçalho e deixe espaço vazio no corpo da matéria. */
.nf5-auto-position{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    clear:both!important;
    float:none!important;
    position:relative!important;
    text-align:center!important;
    overflow:visible!important;
    box-sizing:border-box!important;
    min-height:0!important;
    height:auto!important;
}

.nf5-auto-position .nf5-ad-wrap,
.nf5-auto-position .nf5-ad-code,
.nf5-auto-position .nf5-ad-code-html,
.nf5-auto-position .nf5-ad-text,
.nf5-auto-position .nf5-script-render{
    clear:both!important;
    float:none!important;
    margin-left:auto!important;
    margin-right:auto!important;
    overflow:visible!important;
}

.nf5-auto-position-above{
    margin-top:0!important;
    margin-bottom:18px!important;
}

.nf5-auto-position-middle{
    margin-top:18px!important;
    margin-bottom:18px!important;
}

.nf5-auto-position-below{
    margin-top:18px!important;
    margin-bottom:0!important;
}


/* NF5 v3.7.2: automáticos dentro do texto via iframe isolado.
   Impede scripts/AdSense de vazarem para o cabeçalho ou outros slots do tema. */
.nf5-auto-position .nf5-auto-iframe{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    border:0!important;
    outline:0!important;
    box-shadow:none!important;
    background:transparent!important;
    overflow:visible!important;
    margin-left:auto!important;
    margin-right:auto!important;
    min-height:1px;
}

.nf5-auto-position-above,
.nf5-auto-position-middle,
.nf5-auto-position-below{
    clear:both!important;
    float:none!important;
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    overflow:visible!important;
}


/* NF5 v3.7.3: posições automáticas renderizadas diretamente no texto.
   Mantém AdSense/script no corpo da matéria e impede vazamento para cabeçalho por bloqueio de contexto no PHP. */
.nf5-auto-position{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    clear:both!important;
    float:none!important;
    text-align:center!important;
    overflow:visible!important;
    position:relative!important;
    box-sizing:border-box!important;
}

.nf5-auto-position .nf5-ad-wrap,
.nf5-auto-position .nf5-ad-code,
.nf5-auto-position .nf5-ad-code-html,
.nf5-auto-position ins.adsbygoogle{
    margin-left:auto!important;
    margin-right:auto!important;
    float:none!important;
    clear:both!important;
    overflow:visible!important;
}


/* NF5 v3.7.4: AdSense automático preso ao ponto correto do texto da matéria. */
.nf5-auto-position .nf5-adsense-auto-code{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-height:90px;
    text-align:center!important;
    overflow:visible!important;
    clear:both!important;
    float:none!important;
    margin-left:auto!important;
    margin-right:auto!important;
}

.nf5-auto-position .nf5-adsense-auto-code ins.adsbygoogle{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    margin-left:auto!important;
    margin-right:auto!important;
    text-align:center!important;
}


/* NF5 v3.7.5: vídeos YouTube/MP4 responsivos e centralizados. */
.nf5-ad-video-youtube,
.nf5-youtube-video-wrap,
.nf5-ad-video-local{
    width:100%!important;
    max-width:100%!important;
    margin-left:auto!important;
    margin-right:auto!important;
    text-align:center!important;
    overflow:visible!important;
}

.nf5-youtube-video-wrap{
    position:relative!important;
    aspect-ratio:16/9;
}

.nf5-youtube-video-wrap iframe{
    position:absolute!important;
    inset:0!important;
    width:100%!important;
    height:100%!important;
    border:0!important;
}

.nf5-ad-video-local video{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    height:auto!important;
    margin-left:auto!important;
    margin-right:auto!important;
}
