
/* Estados exclusivos do módulo: chamada, painel ao vivo ou desativado */
.cer-home-module [hidden]{display:none!important}
.cer-home-teaser,.cer-home-live{font-family:Arial,Helvetica,sans-serif;box-sizing:border-box;width:100%;margin:0 auto}.cer-home-teaser *,.cer-home-live *{box-sizing:border-box}.cer-home-teaser{min-height:160px;border:1px solid #e7e7e7;border-left:9px solid #e32119;border-radius:4px;padding:25px 28px;display:flex;align-items:center;justify-content:space-between;gap:24px;background:linear-gradient(105deg,#fff 0%,#fff 58%,#f4f5f6 76%,#eceff2 100%);box-shadow:0 2px 10px rgba(0,0,0,.05)}.cer-home-teaser-copy span{display:inline-block;background:#d91d16;color:#fff;font-size:13px;font-weight:800;border-radius:4px;padding:7px 12px;margin-bottom:9px}.cer-home-teaser h2{margin:0 0 4px;color:#161b22;font-size:31px;line-height:1.08;font-weight:800}.cer-home-teaser h2::first-letter{color:#d91d16}.cer-home-teaser p{margin:0;color:#66707a;font-size:18px}.cer-home-teaser-button{flex:none;text-decoration:none!important;background:#d91d16;color:#fff!important;font-weight:800;font-size:15px;border-radius:7px;padding:17px 22px;box-shadow:0 2px 5px rgba(190,20,13,.25)}.cer-home-teaser-button b{font-size:23px;margin-left:8px;vertical-align:-2px}.cer-home-live{display:grid;grid-template-columns:32% 68%;min-height:245px;border:3px solid #ed1c24;border-radius:16px;overflow:hidden;background:#071f4d;box-shadow:0 4px 14px rgba(4,30,70,.19)}.cer-home-live-brand{position:relative;overflow:hidden;padding:0;background:#071f4d url(../img/home-election-hero.jpg) center center/cover no-repeat;color:#fff;min-height:245px}.cer-home-live-brand:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(4,24,63,.05),rgba(4,24,63,.02));pointer-events:none}.cer-home-live-pill,.cer-home-urna,.cer-home-election-title{display:none!important}.cer-home-live-main{background:#f4f6f8;min-width:0}.cer-home-tabs{display:grid;grid-template-columns:repeat(5,1fr);gap:0;padding:15px 16px 0}.cer-home-tabs button{appearance:none;border:0;border-right:1px solid #e0e4e8;background:linear-gradient(#fff,#f0f2f4);padding:14px 8px;color:#26313e;font-size:12px;font-weight:800;cursor:pointer;box-shadow:0 3px 8px rgba(0,0,0,.08)}.cer-home-tabs button:first-child{border-radius:8px 0 0 8px}.cer-home-tabs button:last-child{border-radius:0 8px 8px 0;border-right:0}.cer-home-tabs button.is-active{background:linear-gradient(#e83327,#be130d);color:#fff}.cer-home-live-content{display:grid;grid-template-columns:minmax(0,1fr) 235px;gap:14px;padding:12px 16px 16px}.cer-home-candidates{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-items:stretch}.cer-home-candidate{position:relative;min-width:0;background:#fff;border:1px solid #e7eaee;border-radius:14px;padding:14px 12px 12px 72px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px 10px;align-content:center;box-shadow:0 2px 8px rgba(0,0,0,.035)}.cer-home-avatar{position:absolute;left:12px;top:50%;transform:translateY(-50%);width:50px;height:50px;border-radius:50%;overflow:hidden;border:3px solid #2876d2;background:#eef2f5}.cer-home-avatar.is-first{border-color:#ef2735}.cer-home-avatar img{width:100%;height:100%;object-fit:cover}.cer-home-avatar-fallback{display:grid;place-items:center;width:100%;height:100%;font-weight:800;font-size:22px;color:#68727d}.cer-home-candidate-copy{min-width:0}.cer-home-candidate-copy strong{display:block;font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#18212c}.cer-home-candidate-copy>span{display:block;margin:2px 0 7px;color:#4e5a67;font-size:12px;font-weight:700}.cer-home-candidate-bar{height:8px;border-radius:6px;background:#dfe4ea;overflow:hidden}.cer-home-candidate-bar i{display:block;height:100%;background:#d91d2b;border-radius:inherit}.cer-home-candidate:nth-child(even) .cer-home-candidate-bar i{background:#1976d2}.cer-home-candidate-copy small{display:block;margin-top:5px;color:#6a7480;font-size:11px}.cer-home-candidate-pct{font-size:20px;color:#d91d2b;align-self:start}.cer-home-candidate:nth-child(even) .cer-home-candidate-pct{color:#176ac1}.cer-home-loading{grid-column:1/-1;display:grid;place-items:center;min-height:128px;background:#fff;border-radius:14px;color:#5b6672;font-weight:700}.cer-home-summary{background:#fff;border-radius:14px;padding:14px;display:flex;flex-direction:column;justify-content:center}.cer-home-totalized>span{font-size:9px;color:#68727c;font-weight:800}.cer-home-totalized>strong{float:right;font-size:12px;color:#424c56}.cer-home-totalized>div{clear:both;height:9px;background:#dfe4e8;border-radius:8px;margin-top:8px;overflow:hidden}.cer-home-totalized i{display:block;height:100%;width:0;background:#1bb56d;border-radius:8px;transition:width .35s}.cer-home-update{display:grid;grid-template-columns:9px 1fr;margin:12px 0 9px}.cer-home-update-dot{width:7px;height:7px;border-radius:50%;background:#20b96d;margin-top:2px}.cer-home-update small{font-size:10px;color:#75808b}.cer-home-update strong{grid-column:2;font-size:12px;color:#26303a}.cer-home-contingency{font-size:10px;background:#fff3cd;color:#745d15;border-radius:5px;padding:6px 8px;margin:0 0 8px}.cer-home-full-button{text-decoration:none!important;text-align:center;background:linear-gradient(#e52a20,#bd130d);color:#fff!important;border-radius:7px;padding:13px 8px;font-size:12px;font-weight:800;margin-top:auto}.cer-home-full-button b{font-size:18px;margin-left:5px}.cer-home-admin-card code{font-weight:700}@media(max-width:1000px){.cer-home-live{grid-template-columns:1fr}.cer-home-live-brand{min-height:210px;background-size:cover;background-position:center}.cer-home-election-title{left:150px}.cer-home-live-content{grid-template-columns:1fr 210px}}@media(max-width:720px){.cer-home-teaser{padding:18px;align-items:flex-start;flex-direction:column}.cer-home-teaser h2{font-size:24px}.cer-home-teaser p{font-size:15px}.cer-home-live{border-radius:10px;border-width:2px}.cer-home-live-brand{min-height:155px;background-size:cover;background-position:center}.cer-home-tabs{display:flex;overflow-x:auto;padding:10px 10px 0}.cer-home-tabs button{min-width:128px}.cer-home-live-content{grid-template-columns:1fr;padding:10px}.cer-home-candidates{grid-template-columns:1fr}.cer-home-summary{min-height:145px}.cer-home-election-title strong{font-size:31px}.cer-home-election-title b{font-size:48px}}

/* Pré-visualização histórica da Home */
.cer-home-live.is-historical .cer-home-live-brand:after{content:"";position:absolute;left:39%;right:0;top:0;bottom:0;background:linear-gradient(90deg,rgba(7,31,77,.94),#071f4d 35%);z-index:1}
.cer-home-live.is-historical .cer-home-election-title{display:flex!important;position:absolute;z-index:2;left:44%;right:5%;top:50%;transform:translateY(-50%);flex-direction:column;align-items:center;text-align:center;line-height:1;color:#fff}
.cer-home-live.is-historical .cer-home-election-title strong{font-size:28px;letter-spacing:.3px}.cer-home-live.is-historical .cer-home-election-title b{font-size:52px;line-height:.95;color:#ffd21c;margin:4px 0 9px}.cer-home-live.is-historical .cer-home-election-title span{font-size:10px;line-height:1.25;font-weight:800}
.cer-home-test-badge{font-size:9px;font-weight:900;letter-spacing:.2px;color:#7a4d00;background:#fff3cd;border:1px solid #ffe08a;border-radius:5px;padding:5px 7px;margin-bottom:8px;text-align:center}
@media(max-width:1000px){.cer-home-live.is-historical .cer-home-live-brand:after{left:42%}.cer-home-live.is-historical .cer-home-election-title{left:48%}}
@media(max-width:720px){.cer-home-live.is-historical .cer-home-live-brand:after{left:40%}.cer-home-live.is-historical .cer-home-election-title{left:45%;right:3%}.cer-home-live.is-historical .cer-home-election-title strong{font-size:22px}.cer-home-live.is-historical .cer-home-election-title b{font-size:40px}.cer-home-live.is-historical .cer-home-election-title span{font-size:8px}}
