/* Portal de Notícias · refinamento isolado v30.40 */
.news-page-v40 .news-portal-heading{
  max-width:1120px;
  margin:0 auto 42px;
  text-align:center;
}
.news-page-v40 .news-portal-heading .eyebrow{
  margin-bottom:14px;
}
.news-page-v40 .news-portal-heading h1{
  margin:0;
  color:var(--brand-deep);
  font-size:clamp(3.35rem,5.45vw,5.35rem);
  line-height:.94;
  letter-spacing:-.058em;
  font-weight:850;
}
.news-page-v40 .news-title-line{
  display:block;
  white-space:nowrap;
}
.news-page-v40 .news-title-line--brand{
  color:var(--brand-deep);
}
.news-page-v40 .news-title-line--mix{
  color:var(--brand-deep);
}
.news-page-v40 .news-title-line--mix b{
  color:var(--gold-dark);
  font:inherit;
}
.news-page-v40 .news-portal-heading>p:last-child{
  max-width:760px;
  margin:22px auto 0;
  color:var(--muted);
  font-size:1rem;
  line-height:1.65;
}

.news-page-v40 .news-index-section{
  padding-top:52px;
}
.news-page-v40 .news-toolbar-panel{
  position:relative;
  margin-bottom:34px;
  padding:24px;
  border:1px solid rgba(10,119,142,.12);
  border-radius:26px;
  background:
    radial-gradient(circle at 100% 0,rgba(188,176,91,.12),transparent 36%),
    linear-gradient(135deg,#ffffff 0%,#f7fbfb 100%);
  box-shadow:0 18px 46px rgba(4,61,73,.07);
  overflow:hidden;
}
.news-page-v40 .news-toolbar-panel::before{
  content:"";
  position:absolute;
  left:0;
  top:24px;
  bottom:24px;
  width:4px;
  border-radius:0 8px 8px 0;
  background:linear-gradient(180deg,var(--gold),var(--brand));
}
.news-page-v40 .news-toolbar-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:24px;
  margin-bottom:20px;
  padding:0 4px 18px 10px;
  border-bottom:1px solid rgba(10,119,142,.10);
}
.news-page-v40 .news-toolbar-head>div{
  display:grid;
  gap:4px;
}
.news-page-v40 .news-toolbar-kicker{
  color:var(--gold-dark);
  font-size:.68rem;
  font-weight:850;
  letter-spacing:.13em;
  text-transform:uppercase;
}
.news-page-v40 .news-toolbar-head strong{
  color:var(--brand-deep);
  font-size:1.1rem;
  line-height:1.2;
}
.news-page-v40 .news-result-count{
  display:inline-flex;
  align-items:center;
  min-height:34px;
  padding:0 12px;
  border:1px solid rgba(10,119,142,.12);
  border-radius:999px;
  background:#fff;
  color:#6b858a;
  font-size:.73rem;
  font-weight:800;
  white-space:nowrap;
}
.news-page-v40 .news-toolbar{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(280px,330px);
  align-items:center;
  gap:22px;
  margin:0;
}
.news-page-v40 .filter-group{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.news-page-v40 .filter-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  height:auto;
  padding:0 17px;
  border:1px solid #d8e4e7;
  border-radius:999px;
  background:rgba(255,255,255,.88);
  color:#3e5d64;
  font-size:.77rem;
  font-weight:800;
  text-decoration:none;
  transition:transform .2s ease,border-color .2s ease,background .2s ease,color .2s ease,box-shadow .2s ease;
}
.news-page-v40 .filter-btn:hover{
  transform:translateY(-1px);
  border-color:rgba(10,119,142,.38);
  background:#fff;
  color:var(--brand);
  box-shadow:0 8px 18px rgba(4,61,73,.07);
}
.news-page-v40 .filter-btn.active{
  border-color:var(--brand);
  background:linear-gradient(135deg,var(--brand),#0b879f);
  color:#fff;
  box-shadow:0 10px 22px rgba(10,119,142,.20);
}
.news-page-v40 .news-search-box{
  position:relative;
  display:block;
}
.news-page-v40 .news-search-box svg{
  position:absolute;
  z-index:2;
  left:16px;
  top:50%;
  width:20px;
  height:20px;
  transform:translateY(-50%);
  color:#789096;
  pointer-events:none;
}
.news-page-v40 .news-search-box .search{
  width:100%;
  min-width:0;
  height:50px;
  padding:0 16px 0 47px;
  border:1px solid #d5e2e5;
  border-radius:16px;
  background:#fff;
  color:var(--brand-deep);
  font-size:.9rem;
  box-shadow:0 6px 18px rgba(4,61,73,.035);
  transition:border-color .2s ease,box-shadow .2s ease;
}
.news-page-v40 .news-search-box .search::placeholder{
  color:#8aa0a5;
}
.news-page-v40 .news-search-box .search:focus{
  border-color:var(--brand);
  box-shadow:0 0 0 4px rgba(10,119,142,.09),0 8px 20px rgba(4,61,73,.05);
}

@media(max-width:980px){
  .news-page-v40 .news-portal-heading h1{font-size:clamp(3rem,7vw,4.35rem)}
  .news-page-v40 .news-toolbar{grid-template-columns:1fr}
  .news-page-v40 .news-search-box{max-width:none}
}
@media(max-width:720px){
  .news-page-v40 .news-portal-heading{text-align:left;margin-bottom:30px}
  .news-page-v40 .news-portal-heading h1{font-size:clamp(2.5rem,11vw,3.45rem);line-height:.98}
  .news-page-v40 .news-title-line{white-space:normal}
  .news-page-v40 .news-portal-heading>p:last-child{margin-top:18px}
  .news-page-v40 .news-index-section{padding-top:34px}
  .news-page-v40 .news-toolbar-panel{padding:20px 16px;border-radius:22px}
  .news-page-v40 .news-toolbar-panel::before{top:20px;bottom:20px}
  .news-page-v40 .news-toolbar-head{align-items:flex-start;padding-left:8px}
}
@media(max-width:520px){
  .news-page-v40 .news-toolbar-head{flex-direction:column;gap:12px}
  .news-page-v40 .filter-group{gap:8px}
  .news-page-v40 .filter-btn{min-height:40px;padding:0 14px;font-size:.73rem}
}

/* Paginação de notícias · v30.43 */
.news-page-v40 .news-pagination{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:14px;
  margin:42px 0 8px;
}
.news-page-v40 .news-pagination[hidden]{display:none!important}
.news-page-v40 .news-pagination-inner{
  display:flex;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
  gap:8px;
}
.news-page-v40 .news-page-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:42px;
  height:42px;
  padding:0 12px;
  border:1px solid #d8e4e7;
  border-radius:13px;
  background:#fff;
  color:#3e5d64;
  font:inherit;
  font-size:.82rem;
  font-weight:850;
  cursor:pointer;
  box-shadow:0 6px 16px rgba(4,61,73,.04);
  transition:transform .18s ease,border-color .18s ease,background .18s ease,color .18s ease,box-shadow .18s ease;
}
.news-page-v40 .news-page-btn:hover:not(:disabled):not(.active){
  transform:translateY(-1px);
  border-color:rgba(10,119,142,.42);
  color:var(--brand);
  box-shadow:0 9px 20px rgba(4,61,73,.08);
}
.news-page-v40 .news-page-btn.active{
  border-color:var(--brand);
  background:linear-gradient(135deg,var(--brand),#0b879f);
  color:#fff;
  box-shadow:0 10px 22px rgba(10,119,142,.20);
}
.news-page-v40 .news-page-btn:disabled{
  opacity:.38;
  cursor:not-allowed;
  box-shadow:none;
}
.news-page-v40 .news-page-btn--nav{
  min-width:46px;
  font-size:1rem;
}
.news-page-v40 .news-page-ellipsis{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:28px;
  height:42px;
  color:#879da2;
  font-weight:800;
}
.news-page-v40 .news-pagination-meta{
  color:#789096;
  font-size:.75rem;
  font-weight:750;
}
@media(max-width:520px){
  .news-page-v40 .news-pagination{margin-top:32px}
  .news-page-v40 .news-page-btn{min-width:39px;height:39px;padding:0 10px;border-radius:12px}
  .news-page-v40 .news-page-btn--nav{min-width:42px}
  .news-page-v40 .news-page-ellipsis{height:39px;width:20px}
}
