/* Publicidade: ocupa integralmente o quadro definido, sem interferir no estado/posicionamento dos slides do carrossel. */
.cg-footer-ad.cg-header-ad-equal,
.cg-footer-ad-full.cg-header-ad-equal { height:auto !important; min-height:0 !important; max-height:none !important; overflow:hidden !important; }
.cg-footer-ad .cg61-ad-placeholder.cgap-top-carousel,
.cg-footer-ad .cg61-ad-placeholder.cgap-responsive-ad { display:block !important; width:100% !important; height:auto !important; min-height:0 !important; max-height:none !important; padding:0 !important; border:0 !important; background:transparent !important; overflow:hidden !important; }
.cg-footer-ad .cg61-managed-ad { display:block !important; position:relative !important; inset:auto !important; width:100% !important; height:auto !important; min-height:0 !important; max-height:none !important; padding:0 !important; margin:0 !important; background:transparent !important; }
.cg-footer-ad .cgap-carousel-slide img,
.cg-footer-ad .cg61-managed-ad img { display:block !important; width:100% !important; height:auto !important; max-height:none !important; object-fit:cover !important; margin:0 !important; padding:0 !important; background:transparent !important; }
.cg-footer-ad .cgap-ad-ref { z-index:3; }
.cg61-ad-placeholder.cg-integrada-filled::before,
.cg61-ad-placeholder.cg-integrada-filled::after { content:none !important; display:none !important; background:none !important; }
.cg61-ad-placeholder.cg-integrada-filled { background:transparent !important; }
.cg61-ad-placeholder:has(> .cg61-managed-ad)::before,
.cg61-ad-placeholder:has(> .cg61-managed-ad)::after { content:none !important; display:none !important; background:none !important; }
.cg61-ad-placeholder:has(> .cg61-managed-ad) { background:transparent !important; }
.cg61-ad-placeholder.cg-integrada-filled > .cgap-ad-ref { display:none !important; }
@media (max-width: 600px) {
  .cg-footer-ad .cgap-carousel-slide img,
  .cg-footer-ad .cg61-managed-ad img { width:100% !important; height:auto !important; aspect-ratio:auto !important; object-fit:cover !important; }
}

/* Carrosséis de topo: uma única área, com slides sobrepostos e transição por opacidade. */
.cg-integrada-carousel-host{display:block!important;width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;padding:0!important;margin:0!important;border:0!important;background:transparent!important;overflow:visible!important}
.cg-integrada-top-carousel{position:relative;width:100%;max-width:1200px;margin:0 auto;overflow:hidden;background:#071b36;border-radius:0;isolation:isolate}
.cg-integrada-carousel-viewport{position:relative;width:100%;max-width:1200px;aspect-ratio:10 / 1;overflow:hidden;background:#071b36}
.cg-integrada-carousel-slide{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;opacity:0;visibility:hidden;pointer-events:none;transition:opacity var(--cg-carousel-transition,650ms) ease,visibility var(--cg-carousel-transition,650ms) ease;z-index:1}
.cg-integrada-carousel-slide.is-active{opacity:1;visibility:visible;pointer-events:auto;z-index:2}
.cg-integrada-carousel-slide>a,.cg-integrada-carousel-slide>picture,.cg-integrada-carousel-slide>video,.cg-integrada-carousel-slide a>picture,.cg-integrada-carousel-slide a>video{display:block;width:100%;height:100%}
.cg-integrada-carousel-slide img,.cg-integrada-carousel-slide video{display:block!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:cover!important;object-position:center center!important;image-rendering:auto!important;transform:none!important;margin:0!important;padding:0!important;background:#071b36}
.cg-integrada-carousel-controls{position:absolute;left:0;right:0;bottom:6px;z-index:4;display:flex;align-items:center;justify-content:center;gap:7px;pointer-events:none}
.cg-integrada-carousel-arrow,.cg-integrada-carousel-dot{pointer-events:auto;border:0;cursor:pointer;box-shadow:0 1px 5px rgba(0,0,0,.25)}
.cg-integrada-carousel-arrow{width:26px;height:26px;border-radius:999px;background:rgba(5,24,48,.72);color:#fff;font-size:22px;line-height:22px;padding:0;display:flex;align-items:center;justify-content:center}
.cg-integrada-carousel-dots{display:flex;gap:5px;align-items:center}
.cg-integrada-carousel-dot{width:7px;height:7px;padding:0;border-radius:999px;background:rgba(255,255,255,.65);transition:transform .2s ease,background .2s ease}
.cg-integrada-carousel-dot.is-active{background:#fff;transform:scale(1.35)}
.cg-integrada-carousel-arrow:focus-visible,.cg-integrada-carousel-dot:focus-visible{outline:2px solid #fff;outline-offset:2px}

/* A duração é atualizada pelo painel Carrosséis e letreiro. */
.cg-ticker-track,.cg-news-ticker-track,.cg-breaking-track,.cg-ticker__track,.ticker-track,.news-ticker-track,.marquee-track{animation-duration:var(--cg-ticker-duration,30s)}

@media (max-width:600px){
  .cg-integrada-top-carousel,.cg-integrada-carousel-viewport{max-width:360px;margin-inline:auto}
  .cg-integrada-carousel-viewport{aspect-ratio:18 / 5}
  .cg-integrada-carousel-slide img,.cg-integrada-carousel-slide video{width:100%!important;height:100%!important;aspect-ratio:auto!important;object-fit:cover!important}
  .cg-integrada-carousel-controls{bottom:4px}
  .cg-integrada-carousel-arrow{width:24px;height:24px;font-size:20px}
}
@media (prefers-reduced-motion:reduce){
  .cg-integrada-carousel-slide{transition:none}
}

/* 1.5.1 — Carrossel Home: quadro canônico exato, sem esticar/cortar as artes. */
html body.home .cg-header-ad-equal{
  display:block!important;
  width:min(100%,1200px)!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  aspect-ratio:10 / 1!important;
  margin:18px auto!important;
  padding:0!important;
  overflow:hidden!important;
  background:#071b36!important;
}
html body.home .cg-header-ad-equal > *{
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  max-height:none!important;
  margin:0!important;
  padding:0!important;
}
html body.home .cg-header-ad-equal img,
html body.home .cg-header-ad-equal video,
html body.home .cgne-top-carousel img,
html body.home .cgne-top-carousel video{
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-width:100%!important;
  max-height:100%!important;
  object-fit:contain!important;
  object-position:center center!important;
  transform:none!important;
  image-rendering:auto!important;
}
html body.home .cg-header-ad-equal.cgne-carousel-host,
html body.home .cg-header-ad-equal.cg-integrada-carousel-host{
  aspect-ratio:auto!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  overflow:hidden!important;
}
html body.home .cg-header-ad-equal.cgne-carousel-host > .cgne-top-carousel,
html body.home .cg-header-ad-equal.cg-integrada-carousel-host > .cg-integrada-top-carousel{
  display:block!important;
  width:min(100%,1200px)!important;
  max-width:1200px!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  aspect-ratio:auto!important;
  margin:0 auto!important;
}
html body.home .cgne-top-carousel .cg-integrada-carousel-viewport,
html body.home .cg-integrada-top-carousel .cg-integrada-carousel-viewport{
  display:block!important;
  width:100%!important;
  max-width:1200px!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  aspect-ratio:10 / 1!important;
  margin:0 auto!important;
}
@media(max-width:767px){
  html body.home .cg-header-ad-equal{
    width:min(100%,360px)!important;
    aspect-ratio:18 / 5!important;
    margin:12px auto!important;
  }
  html body.home .cg-header-ad-equal.cgne-carousel-host,
  html body.home .cg-header-ad-equal.cg-integrada-carousel-host{aspect-ratio:auto!important;}
  html body.home .cg-header-ad-equal.cgne-carousel-host > .cgne-top-carousel,
  html body.home .cg-header-ad-equal.cg-integrada-carousel-host > .cg-integrada-top-carousel,
  html body.home .cgne-top-carousel .cg-integrada-carousel-viewport,
  html body.home .cg-integrada-top-carousel .cg-integrada-carousel-viewport{
    width:min(100%,360px)!important;
    max-width:360px!important;
  }
  html body.home .cgne-top-carousel .cg-integrada-carousel-viewport,
  html body.home .cg-integrada-top-carousel .cg-integrada-carousel-viewport{aspect-ratio:18 / 5!important;}
}

/* 1.8.1 — override final do Carrossel Home; demais carrosséis preservam suas medidas. */
html body.home .cg-header-ad-equal.cgne-carousel-host,
html body.home .cg-header-ad-equal.cg-integrada-carousel-host,
html body.home .cgne-carousel-host{
 width:min(1440px,calc(100vw - 48px))!important;
 max-width:1440px!important;
 margin:18px auto!important;
 left:auto!important;
 margin-left:auto!important;
 margin-right:auto!important;
}
html body.home .cgne-top-carousel .cg-integrada-carousel-viewport,
html body.home .cg-integrada-top-carousel .cg-integrada-carousel-viewport{aspect-ratio:288/29!important;max-width:1440px!important}
@media(max-width:767px){
 html body.home .cg-header-ad-equal.cgne-carousel-host,
 html body.home .cg-header-ad-equal.cg-integrada-carousel-host,
 html body.home .cgne-carousel-host{width:min(360px,calc(100vw - 20px))!important;max-width:360px!important;margin:12px auto!important}
 html body.home .cgne-top-carousel .cg-integrada-carousel-viewport,
 html body.home .cg-integrada-top-carousel .cg-integrada-carousel-viewport{aspect-ratio:18/5!important;max-width:360px!important}
}


/* 1.8.2 — o mount canônico do Home prevalece sobre regras antigas de 1200px. */
html body.home [data-cgne-carousel-mount="home-top"] .cg-integrada-top-carousel,
html body.home [data-cgne-carousel-mount="home-top"] .cg-integrada-carousel-viewport{max-width:none!important;width:100%!important}
html body.home [data-cgne-carousel-mount="home-top"]{background:transparent!important}
