/* ===== RA Eleições 2026 — banner superior ===== */
.ra-e2026-topwrap{display:block;width:100%;margin:0;padding:0;background:#06152b;overflow:hidden;position:relative;z-index:999;line-height:0;border:0;box-shadow:none}
.ra-e2026-top-inner{width:100%;max-width:1440px;margin:0 auto;padding:0;line-height:0}
.ra-e2026-topbanner,.ra-e2026-topbanner picture,.ra-e2026-topbanner img,.ra-e2026-inline-banner,.ra-e2026-inline-banner picture,.ra-e2026-inline-banner img{display:block;width:100%;margin:0;padding:0;border:0;line-height:0}
.ra-e2026-topbanner{position:relative;overflow:hidden;text-decoration:none!important}
.ra-e2026-topbanner img,.ra-e2026-inline-banner img{height:auto!important;max-width:100%;object-fit:cover;box-shadow:none!important;border-radius:0!important}
.ra-e2026-topbanner:hover img,.ra-e2026-inline-banner:hover img{filter:brightness(1.035)}
.ra-e2026-live-badge{position:absolute;right:18px;top:14px;z-index:2;background:#e7192b;color:#fff;font:900 12px/1 Arial,Helvetica,sans-serif;padding:8px 11px;border-radius:999px;letter-spacing:.3px;box-shadow:0 0 0 2px rgba(255,255,255,.18),0 4px 12px rgba(0,0,0,.28);animation:raLiveBlink 1.15s ease-in-out infinite}
@keyframes raLiveBlink{0%,100%{opacity:1;transform:scale(1);box-shadow:0 0 0 2px rgba(255,255,255,.18),0 4px 12px rgba(0,0,0,.28)}50%{opacity:.52;transform:scale(.96);box-shadow:0 0 0 5px rgba(231,25,43,.18),0 4px 18px rgba(231,25,43,.4)}}

/* ===== Página exclusiva de apuração ===== */
.ra-e2026{width:100%;max-width:1180px;margin:24px auto;padding:0 12px 30px;box-sizing:border-box;font-family:Arial,Helvetica,sans-serif;color:#102033}
.ra-e2026-head{display:flex;align-items:center;gap:12px;padding:16px 18px;border-radius:14px;color:#fff;background:linear-gradient(135deg,#062c54,#006d39);box-shadow:0 8px 22px rgba(0,0,0,.12)}
.ra-e2026-head strong{display:block;font-size:20px;line-height:1.2}.ra-e2026-head small{display:block;margin-top:4px;opacity:.86}
.ra-e2026-live-dot{width:12px;height:12px;flex:0 0 12px;border-radius:50%;background:#ef233c;box-shadow:0 0 0 5px rgba(239,35,60,.18);animation:raLiveBlink 1.15s ease-in-out infinite}
.ra-e2026-status{margin-top:12px;padding:12px 15px;border:1px solid #dce5ee;border-radius:10px;background:#f8fafc;font-weight:700}
.ra-e2026-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0;overflow-x:auto;padding:2px 0 5px;scrollbar-width:thin}.ra-e2026-tabs button{border:0;border-radius:999px;padding:9px 14px;cursor:pointer;background:#e8eef5;color:#16324c;font-weight:700;white-space:nowrap;transition:background .15s ease,transform .15s ease}.ra-e2026-tabs button:hover{transform:translateY(-1px)}.ra-e2026-tabs button.is-active{background:#008a43;color:#fff;box-shadow:0 2px 7px rgba(0,138,67,.22)}@media(max-width:767px){.ra-e2026-tabs{flex-wrap:nowrap;margin-left:-2px;margin-right:-2px;padding-left:2px;padding-right:2px}.ra-e2026-tabs button{padding:8px 12px;font-size:13px}}
.ra-e2026-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.ra-e2026-card{background:#fff;border:1px solid #e2e8ef;border-radius:14px;overflow:hidden;box-shadow:0 6px 18px rgba(16,32,51,.06)}
.ra-e2026-card h2{margin:0;padding:14px 16px;background:#f4f8fb;font-size:18px}.ra-e2026-progress{height:7px;background:#e9eef3}.ra-e2026-progress>span{display:block;height:100%;width:0;background:linear-gradient(90deg,#00a94f,#0a7bdb)}
.ra-e2026-meta{padding:10px 16px;font-size:13px;color:#64748b}.ra-e2026-candidate{padding:12px 16px;border-top:1px solid #edf1f5}.ra-e2026-candidate-top{display:flex;justify-content:space-between;gap:12px;align-items:center}.ra-e2026-candidate-name{font-weight:800}.ra-e2026-candidate-sub{font-size:12px;color:#64748b;margin-top:3px}.ra-e2026-votes{text-align:right;font-weight:800;white-space:nowrap}.ra-e2026-bar{height:7px;margin-top:8px;border-radius:99px;background:#edf1f5;overflow:hidden}.ra-e2026-bar span{display:block;height:100%;width:0;background:#008a43;border-radius:99px}.ra-e2026-footer{margin-top:18px;color:#64748b;font-size:12px;line-height:1.5}.ra-e2026-inline-banner{margin:18px auto;max-width:1180px;line-height:0}

/* No page de apuração não há espaços reservados para publicidade */
.ra-e2026-results-page .adsbygoogle,.ra-e2026-results-page ins.adsbygoogle,.ra-e2026-results-page .mgid,.ra-e2026-results-page [id*="mgid"],.ra-e2026-results-page [class*="mgid"],.ra-e2026-results-page .advertisement,.ra-e2026-results-page .advertising,.ra-e2026-results-page .ad-container,.ra-e2026-results-page .ad-slot,.ra-e2026-results-page .ads-container,.ra-e2026-results-page .banner-ad,.ra-e2026-results-page .pub,.ra-e2026-results-page [data-ad-client],.ra-e2026-results-page [data-ad-slot]{display:none!important}

@media(max-width:767px){
 .ra-e2026-top-inner{width:100%;max-width:none}.ra-e2026-live-badge{right:10px;top:10px;font-size:10px;padding:7px 9px}.ra-e2026-topbanner img{width:100%;height:auto!important}
 .ra-e2026{margin-top:16px;padding-left:10px;padding-right:10px}.ra-e2026-head strong{font-size:17px}.ra-e2026-results{grid-template-columns:1fr}.ra-e2026-candidate-top{align-items:flex-start}.ra-e2026-votes{font-size:14px}
}
@media(prefers-reduced-motion:reduce){.ra-e2026-live-badge,.ra-e2026-live-dot{animation:none}}

/* v1.5.0 — banner compacto com a proporção original e fotos oficiais dos candidatos */
.ra-e2026-topwrap{width:100%;background:transparent;overflow:hidden}
.ra-e2026-top-inner{width:100%;max-width:1121px;margin:0 auto}
.ra-e2026-topbanner img{display:block;width:100%;height:auto!important;max-width:1121px;object-fit:contain;image-rendering:auto}
.ra-e2026-candidate-person{display:flex;align-items:center;gap:12px;min-width:0}
.ra-e2026-candidate-photo{display:block;width:54px;height:54px;flex:0 0 54px;border-radius:50%;object-fit:cover;object-position:center;background:#eef2f5;border:2px solid #fff;box-shadow:0 2px 7px rgba(0,0,0,.14)}
.ra-e2026-candidate-photo-placeholder{display:flex;align-items:center;justify-content:center;font-weight:900;font-size:20px;color:#006d39}
.ra-e2026-candidate-person>div{min-width:0}
@media(max-width:767px){
 .ra-e2026-top-inner{max-width:none;width:100%}
 .ra-e2026-topbanner img{width:100%;max-width:none;height:auto!important}
 .ra-e2026-candidate-photo{width:48px;height:48px;flex-basis:48px}
}


/* v1.7.0 — banner compacto, full-bleed e proporcional */
.ra-e2026-topwrap{
  display:block!important;
  width:100vw!important;
  max-width:none!important;
  margin-left:calc(50% - 50vw)!important;
  margin-right:calc(50% - 50vw)!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  overflow:hidden!important;
  box-shadow:none!important;
}
.ra-e2026-top-inner{width:100%!important;max-width:none!important;margin:0!important;padding:0!important}
.ra-e2026-topbanner{display:block!important;width:100%!important;margin:0!important;padding:0!important;border:0!important;line-height:0!important;overflow:hidden!important}
.ra-e2026-topbanner picture{display:block!important;width:100%!important;margin:0!important;padding:0!important;line-height:0!important}
.ra-e2026-topbanner img{display:block!important;width:100%!important;max-width:none!important;height:auto!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;object-fit:fill!important;box-shadow:none!important;image-rendering:auto!important}
.ra-e2026-inline-banner{display:block!important;width:100%!important;margin:0!important;padding:0!important;border:0!important;line-height:0!important;overflow:hidden!important}
.ra-e2026-inline-banner img{display:block!important;width:100%!important;max-width:none!important;height:auto!important;border:0!important;border-radius:0!important}
@media (min-width:768px){
  .ra-e2026-topbanner img,.ra-e2026-inline-banner img{aspect-ratio:1121/155;height:auto!important}
}
@media (max-width:767px){
  .ra-e2026-topbanner img,.ra-e2026-inline-banner img{aspect-ratio:364/170;height:auto!important}
}
.ra-e2026-candidate-photo-img{display:block;width:54px;height:54px;flex:0 0 54px;border-radius:50%;object-fit:cover;object-position:center;background:#eef2f5;border:2px solid #fff;box-shadow:0 2px 7px rgba(0,0,0,.14)}
@media(max-width:767px){.ra-e2026-candidate-photo-img{width:48px;height:48px;flex-basis:48px}}


/* v1.7.0 — banner final: nova arte horizontal, sem deformação e com proporção nativa */
.ra-e2026-topbanner img,
.ra-e2026-inline-banner img{
  width:100%!important;
  height:auto!important;
  max-width:none!important;
  aspect-ratio:auto!important;
  object-fit:initial!important;
  image-rendering:auto!important;
}
.ra-e2026-top-inner{width:100%!important;max-width:none!important;margin:0!important;padding:0!important}
@media(max-width:767px){
  .ra-e2026-topbanner img,
  .ra-e2026-inline-banner img{width:100%!important;height:auto!important;aspect-ratio:auto!important;object-fit:initial!important}
}

/* v1.9.0 — busca rápida por nome, número ou partido */
.ra-e2026-search{display:flex;align-items:center;gap:9px;width:100%;margin:4px 0 16px;padding:0 12px;background:#fff;border:1px solid #dce5ee;border-radius:12px;box-sizing:border-box;box-shadow:0 4px 14px rgba(16,32,51,.05)}
.ra-e2026-search:focus-within{border-color:#008a43;box-shadow:0 0 0 3px rgba(0,138,67,.10)}
.ra-e2026-search-icon{font-size:24px;line-height:1;color:#008a43;font-weight:900;transform:rotate(-20deg)}
.ra-e2026-search input{flex:1;min-width:0;border:0!important;outline:0!important;background:transparent!important;box-shadow:none!important;padding:12px 2px!important;margin:0!important;font:600 15px/1.3 Arial,Helvetica,sans-serif;color:#102033}
.ra-e2026-search input::placeholder{color:#7b8794;font-weight:500}
.ra-e2026-search-clear{width:30px;height:30px;border:0;border-radius:50%;background:#edf2f6;color:#52606d;font-size:22px;line-height:1;cursor:pointer;padding:0}
.ra-e2026-search-clear:hover{background:#dfe8ef;color:#102033}
@media(max-width:767px){
 .ra-e2026-search{margin:3px 0 14px;border-radius:10px}
 .ra-e2026-search input{font-size:14px;padding:11px 2px!important}
}

/* v2.0.0 — controles de categoria e busca sempre visíveis e sem overflow no desktop */
.ra-e2026-controls{display:block!important;width:100%!important;max-width:100%!important;visibility:visible!important;opacity:1!important;box-sizing:border-box!important;position:relative!important;z-index:5!important}
.ra-e2026-tabs{display:flex!important;visibility:visible!important;opacity:1!important;width:100%!important;box-sizing:border-box!important}
.ra-e2026-tabs button{display:inline-flex!important;visibility:visible!important;opacity:1!important;align-items:center;justify-content:center!important}
.ra-e2026-search{display:flex!important;visibility:visible!important;opacity:1!important;min-height:48px!important;box-sizing:border-box!important;position:relative!important;z-index:6!important}
.ra-e2026-search input{display:block!important;visibility:visible!important;opacity:1!important}
.ra-e2026-search-clear{display:block!important}
.ra-e2026-results{display:grid!important;visibility:visible!important;opacity:1!important}
.ra-e2026-directory-card{grid-column:1 / -1}
.ra-e2026-candidate-person{min-width:0}
.ra-e2026-candidate-photo-img,.ra-e2026-candidate-photo{flex:0 0 54px!important}

/* evita a pequena sobra horizontal causada por 100vw em temas com scrollbar */
.ra-e2026-topwrap{width:100%!important;max-width:none!important;margin-left:0!important;margin-right:0!important}
@media(max-width:767px){
  .ra-e2026-tabs{overflow-x:auto!important;flex-wrap:nowrap!important}
  .ra-e2026-search{width:100%!important;margin-top:8px!important}
  .ra-e2026-directory-card{grid-column:1}
}
