.congresso-news-head{margin:35px 0 18px;padding:30px;background:linear-gradient(120deg,#123c35,#172d3c);border:1px solid #b79a5266;border-radius:8px}.congresso-news-head h1{font-size:clamp(28px,4vw,42px);margin:10px 0}.congresso-news-head p{color:var(--muted);margin:0 0 18px}.congresso-news-controls{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.congresso-news-controls button{padding:9px 13px;font-size:12px}.congresso-news-controls label{font-size:12px;color:var(--muted);display:flex;align-items:center;gap:5px}.congresso-news-controls input{background:#f4f5f5;color:#172332;border:1px solid #b8c0c7;border-radius:5px;padding:9px;max-width:175px}.congresso-news-controls #congresso-search{flex:1;min-width:170px}.congresso-news-status{display:flex;justify-content:space-between;gap:10px;margin:14px 0;color:var(--muted);font-size:12px}.congresso-news-status a{color:var(--gold)}.congresso-news-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:45px}.congresso-news-card{display:flex;flex-direction:column;gap:9px;background:#1b2431;border:1px solid #b79a5244;border-radius:9px;padding:22px;min-height:230px}.congresso-news-card time{color:var(--gold);font-size:12px}.congresso-news-card h3{font:400 20px/1.35 Georgia, 'Times New Roman', serif;margin:0}.congresso-news-card p{font-size:14px;color:var(--muted);margin:0}.congresso-news-card a{margin-top:auto;color:var(--gold);font-size:13px;font-weight:700}.congresso-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:20px 0}.congresso-metric,.congresso-panel{background:#1b2431;border:1px solid #b79a5244;border-radius:9px;padding:20px}.congresso-metric{display:flex;flex-direction:column}.congresso-metric strong{font-size:30px;color:var(--gold)}.congresso-metric span{font-size:12px;color:var(--muted)}.congresso-dashboard-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.congresso-panel h3{font:600 17px/1.4 Georgia, 'Times New Roman', serif;margin:0 0 17px}.congresso-bars{display:grid;gap:12px}.congresso-bar{display:grid;grid-template-columns:110px 1fr 28px;align-items:center;gap:8px;font-size:12px}.congresso-bar>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.congresso-bar>div{height:17px;background:#ffffff16;border-radius:3px;overflow:hidden}.congresso-bar i{display:block;height:100%;background:#b79a52;border-radius:3px}.congresso-bar strong{text-align:right}.congresso-disclaimer{font-size:12px;color:var(--muted);margin:18px 0 50px}@media(max-width:750px){.congresso-news-grid,.congresso-dashboard-grid{grid-template-columns:1fr}.congresso-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.congresso-news-head{padding:20px}.congresso-bar{grid-template-columns:95px 1fr 25px}}
.congresso-news-controls .congresso-dashboard-cta{background:#e6b93b;color:#142031;border:2px solid #f2cc5c;font-weight:800;box-shadow:0 2px 12px #e6b93b55}.congresso-news-controls .congresso-dashboard-cta:hover,.congresso-news-controls .congresso-dashboard-cta.is-active{background:#f3cd62;color:#142031}

.congresso-news-topline{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}.congresso-news-topline .congresso-dashboard-cta{background:#e6b93b;color:#142031;border:2px solid #f2cc5c;border-radius:7px;padding:11px 17px;font-size:14px;font-weight:800;cursor:pointer;box-shadow:0 3px 15px #e6b93b55;transition:background .15s,transform .15s}.congresso-news-topline .congresso-dashboard-cta:hover,.congresso-news-topline .congresso-dashboard-cta.is-active{background:#f3cd62;transform:translateY(-1px)}@media(max-width:480px){.congresso-news-topline{align-items:flex-start}.congresso-news-topline .congresso-dashboard-cta{width:100%}}

@media(max-width:600px){
 .congresso-news-head{margin:10px 0 12px;padding:13px 14px}
 .congresso-news-head h1{font-size:26px;margin:5px 0 8px}
 .congresso-news-head p{font-size:12px;line-height:1.4;margin:0 0 9px}
 .congresso-news-controls{gap:5px}
 .congresso-news-controls button{font-size:11px;padding:7px 9px}
 .congresso-news-controls label{font-size:11px}
 .congresso-news-controls input{font-size:13px;padding:8px;max-width:100%}
 .congresso-news-controls #congresso-search{min-width:0;flex-basis:100%}
 .congresso-news-topline{gap:8px}
 .congresso-news-topline .congresso-dashboard-cta{width:auto;font-size:12px;padding:8px 11px}
 .congresso-news-status{font-size:10px;gap:6px;margin:9px 0;flex-wrap:wrap}
 .congresso-news-grid{gap:10px;margin-bottom:25px}
 .congresso-news-card{padding:14px;min-height:0;gap:6px}
 .congresso-news-card h3{font-size:18px}
 .congresso-news-card p{font-size:12px;line-height:1.45}
 .congresso-news-card time,.congresso-news-card a{font-size:11px}
 .congresso-metrics{gap:6px;margin:12px 0}
 .congresso-metric,.congresso-panel{padding:11px;min-width:0}
 .congresso-metric strong{font-size:24px}
 .congresso-metric span{font-size:10px}
 .congresso-dashboard-grid{gap:9px}
 .congresso-panel h3{font-size:15px;margin-bottom:10px}
 .congresso-bar{grid-template-columns:76px minmax(0,1fr) 24px;gap:5px;font-size:10px}
 .congresso-bars{gap:8px}
 .congresso-disclaimer{font-size:11px;line-height:1.5;margin:12px 0 25px}
}

/* Imagens originais das matérias da Agência Câmara */
.congresso-news-image{display:block;aspect-ratio:16/9;overflow:hidden;border-radius:5px;background:var(--panel)}
.congresso-news-image img{width:100%;height:100%;object-fit:cover;display:block}

/* Capas alternativas: logotipo oficial do veículo, sem arte abstrata. */
.news-image:has(.news-logo-cover),.congresso-news-image:has(.news-logo-cover){background:linear-gradient(145deg,#142337,#233b51);display:flex;align-items:center;justify-content:center;min-height:175px}
.news-image img.news-logo-cover,.congresso-news-image img.news-logo-cover{width:110px!important;height:110px!important;max-width:45%!important;object-fit:contain!important;filter:drop-shadow(0 6px 18px rgba(0,0,0,.24));background:transparent!important}

/* Revisão mobile: notícias e dashboard sem controles gigantes ou sobreposição */
@media(max-width:650px){
 #congresso-news,#congresso-news *{box-sizing:border-box}
 #congresso-news{min-width:0;max-width:100%}
 .congresso-news-head{padding:12px;margin:8px 0 10px}
 .congresso-news-head h1{font-size:clamp(20px,5.4vw,24px);line-height:1.2;overflow-wrap:anywhere}
 .congresso-news-head p{font-size:12px;line-height:1.4;margin-bottom:10px}
 .congresso-news-topline{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px}
 .congresso-news-topline .eyebrow{min-width:0;font-size:9px;line-height:1.35;letter-spacing:.04em;overflow-wrap:anywhere}
 .congresso-news-topline .congresso-dashboard-cta{width:auto;max-width:145px;padding:8px 9px;font-size:11px;line-height:1.2;white-space:normal;box-shadow:none}
 .congresso-news-controls{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;align-items:stretch}
 .congresso-news-controls button[data-period]{width:100%;min-width:0;padding:9px 3px;font-size:11px;line-height:1.2;white-space:normal}
 .congresso-news-controls label{grid-column:span 5;display:flex;flex-direction:column;align-items:stretch;gap:3px;min-width:0;font-size:11px}
 .congresso-news-controls input[type=date]{width:100%;max-width:100%;min-width:0;min-height:38px;padding:7px 5px;font-size:13px}
 .congresso-news-controls button[data-period=custom]{grid-column:span 4;min-height:34px;padding:7px;font-size:12px}
 .congresso-news-controls #congresso-search{grid-column:span 3;min-width:0;width:100%;flex:none;min-height:38px;padding:8px;font-size:13px}
 .congresso-news-controls #congresso-search-button{grid-column:span 1;min-width:0;padding:8px 3px;font-size:11px}
 .congresso-news-status{font-size:11px;line-height:1.4;overflow-wrap:anywhere}
 .congresso-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
 .congresso-metric{padding:10px;min-width:0;min-height:0}
 .congresso-metric strong{font-size:23px;line-height:1.1}
 .congresso-metric span{font-size:11px;line-height:1.3;overflow-wrap:anywhere}
 .congresso-dashboard-grid{grid-template-columns:minmax(0,1fr);gap:9px}
 .congresso-panel{min-width:0;max-width:100%;padding:12px;overflow:hidden}
 .congresso-panel h3{font-size:16px;font-weight:400;line-height:1.3}
 .congresso-bars{gap:9px;min-width:0}
 .congresso-bar{display:grid;grid-template-columns:minmax(78px,35%) minmax(0,1fr) 28px;gap:7px;min-width:0;align-items:center;font-size:11px}
 .congresso-bar>span{min-width:0;white-space:normal;overflow-wrap:anywhere;line-height:1.25}
 .congresso-bar>div{min-width:0;height:10px}
 .congresso-bar strong{font-size:11px;font-weight:600}
 .congresso-news-grid{grid-template-columns:minmax(0,1fr);gap:10px}
 .congresso-news-card{padding:12px;gap:6px;min-width:0}
 .congresso-news-card h3{font-size:18px;line-height:1.3;font-weight:400;overflow-wrap:anywhere}
 .congresso-news-card p{font-size:12px;line-height:1.45}
 .congresso-news-image{min-width:0}
 .congresso-news-image:has(.news-logo-cover){min-height:0}
 .congresso-news-image img.news-logo-cover{width:80px!important;height:80px!important}
}
@media(max-width:360px){
 .congresso-news-topline .congresso-dashboard-cta{max-width:112px;font-size:10px}
 .congresso-bar{grid-template-columns:minmax(66px,34%) minmax(0,1fr) 23px;gap:5px}
 .congresso-news-controls button[data-period]{font-size:10px}
}

/* Layout mobile consolidado: sem regras contraditórias nos filtros */
@media(max-width:650px){
 .congresso-news-head{padding:11px 12px;margin:8px 0 10px}
 .congresso-news-head h1{font-size:22px;line-height:1.18;margin:8px 0}
 .congresso-news-head p{font-size:12px;line-height:1.4;margin-bottom:10px}
 .congresso-news-topline{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px}
 .congresso-news-topline .eyebrow{min-width:0;font-size:9px;line-height:1.3}
 .congresso-news-topline .congresso-dashboard-cta{width:auto;max-width:140px;min-height:36px;padding:6px 9px;font-size:11px;line-height:1.2;box-shadow:none}
 .congresso-news-controls{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:8px;align-items:end;min-width:0}
 .congresso-news-controls>*{box-sizing:border-box;min-width:0;max-width:100%;margin:0}
 .congresso-news-controls button[data-period]{grid-column:span 3;width:100%;height:34px;min-height:34px;padding:4px 2px;font-size:10px;line-height:1.15;white-space:normal}
 .congresso-news-controls label{grid-column:span 5;display:flex;flex-direction:column;align-items:stretch;gap:4px;min-width:0;max-width:100%;font-size:11px;line-height:1.2;overflow:hidden}
 .congresso-news-controls label input[type=date]{display:block;box-sizing:border-box;min-width:0!important;max-width:100%!important;width:100%!important;height:36px;min-height:36px;padding:4px 6px;font-size:12px;line-height:1.2;border-radius:5px;overflow:hidden;-webkit-appearance:none;appearance:none}
 .congresso-news-controls input[type=date]::-webkit-date-and-time-value{min-width:0;text-align:left}
 .congresso-news-controls input[type=date]::-webkit-datetime-edit{min-width:0;padding:0}
 .congresso-news-controls input[type=date]::-webkit-calendar-picker-indicator{margin:0;flex-shrink:0}
 .congresso-news-controls button[data-period=custom]{grid-column:span 2;width:100%;height:36px;min-height:36px;padding:5px 3px;font-size:11px}
 .congresso-news-controls #congresso-search{grid-column:span 10;width:100%;min-width:0;max-width:100%;height:36px;min-height:36px;padding:6px 8px;font-size:12px;flex:none}
 .congresso-news-controls #congresso-search-button{grid-column:span 2;width:100%;height:36px;min-height:36px;padding:5px 3px;font-size:11px}
 .congresso-news-controls input,.congresso-news-controls button{box-shadow:none}
 .congresso-news-status{margin:8px 0;font-size:11px}
}
@media(max-width:360px){
 .congresso-news-controls{gap:6px}
 .congresso-news-controls label input[type=date]{font-size:11px;padding:4px}
 .congresso-news-topline .congresso-dashboard-cta{max-width:115px;font-size:10px}
}
