/* Listagem editorial alinhada à identidade visual do portal. */
.todas-noticias-page { --news-blue: #1769aa; --news-ink: #17263b; --news-muted: #64748b; --news-line: #dce5ee; display: flex; min-height: calc(100vh - 72px); background: #f7f9fc; }
.todas-noticias-page > main { display: flex; width: 100%; }
.todas-noticias-section { width: 100%; min-height: 100%; padding: clamp(1rem, 2vw, 1.65rem) 0 clamp(2.5rem, 5vw, 4rem) !important; }
.news-page-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 190px; align-items: center; min-height: 195px; margin-bottom: 1rem; padding: clamp(1.3rem, 3vw, 2.15rem); overflow: hidden; border: 1px solid #d8e4ee; border-radius: 18px; background: linear-gradient(135deg, #f8fcff 0%, #edf5fb 58%, #f7fafc 100%); box-shadow: 0 16px 40px rgba(28, 58, 86, .07); }
.news-page-hero::before { position: absolute; right: -95px; top: -165px; width: 340px; height: 340px; border-radius: 50%; background: rgba(23, 105, 170, .075); content: ""; }
.news-page-hero-copy { position: relative; z-index: 1; }
.news-page-eyebrow { display: inline-flex; align-items: center; gap: .45rem; color: var(--news-blue); font-size: .72rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.news-page-hero h1 { max-width: 720px; margin: .6rem 0 .75rem; color: var(--news-ink); font: 800 clamp(2rem, 4vw, 3.45rem)/1.06 Montserrat, sans-serif; letter-spacing: -.04em; }
.news-page-hero p { max-width: 650px; margin: 0; color: var(--news-muted); font-size: clamp(.94rem, 1.5vw, 1.08rem); line-height: 1.65; }
.news-page-status { display: flex; flex-wrap: wrap; gap: .55rem 1rem; margin-top: 1.15rem; color: #52677b; font-size: .74rem; font-weight: 700; }
.news-page-status span { display: inline-flex; align-items: center; gap: .38rem; }
.news-page-status i { color: var(--news-blue); }
.news-page-hero-art { position: relative; z-index: 1; justify-self: center; width: 145px; height: 125px; }
.news-page-art-sheet { position: absolute; left: 8px; top: 5px; display: block; width: 105px; height: 120px; padding: 18px 16px; border: 1px solid #d7e1e9; border-radius: 10px; background: #fff; box-shadow: 0 20px 38px rgba(35, 63, 87, .15); color: var(--news-blue); font-size: 1.4rem; transform: rotate(-4deg); }
.news-page-art-sheet b { display: block; height: 4px; margin-top: 10px; border-radius: 99px; background: #dce7ef; }
.news-page-art-sheet b:nth-of-type(2) { width: 78%; }
.news-page-art-sheet b:nth-of-type(3) { width: 90%; }
.news-page-art-badge { position: absolute; right: 2px; bottom: 2px; display: grid; width: 50px; height: 50px; place-items: center; border: 5px solid #edf5fb; border-radius: 50%; background: var(--news-blue); color: #fff; box-shadow: 0 10px 24px rgba(23, 105, 170, .24); font-size: 1.05rem; }
.news-filter-panel { display: flex; align-items: center; gap: 1.25rem; margin-bottom: 1rem; padding: .85rem 1rem; border: 1px solid var(--news-line); border-radius: 14px; background: #fff; box-shadow: 0 8px 24px rgba(28, 53, 78, .045); }
.news-filter-label { display: inline-flex; flex: 0 0 auto; align-items: center; gap: .4rem; padding-right: 1.1rem; border-right: 1px solid var(--news-line); color: #52677b; font-size: .72rem; font-weight: 800; }
.news-filter-label i { color: var(--news-blue); }
.todas-noticias-page .news-filters { display: flex; min-width: 0; flex: 1; gap: .45rem; overflow-x: auto; scrollbar-width: thin; }
.todas-noticias-page .news-filters .filter-btn { flex: 0 0 auto; margin: 0; padding: .48rem .9rem; border-color: #dce5ee; color: #526579; font-size: .76rem; font-weight: 700; }
.todas-noticias-page .news-filters .filter-btn:hover { border-color: #b9d2e6; background: #edf6fc; color: var(--news-blue); }
.todas-noticias-page .news-filters .filter-btn.active { border-color: var(--news-blue); background: var(--news-blue); color: #fff; box-shadow: 0 5px 13px rgba(23, 105, 170, .2); }
.todas-noticias-page .news-list-container { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; max-width: none; }
.todas-noticias-page .news-card { display: grid; grid-template-columns: minmax(170px, 38%) minmax(0, 1fr); min-height: 230px; margin: 0; border: 1px solid var(--news-line); border-radius: 15px; box-shadow: 0 8px 25px rgba(28, 53, 78, .055); }
.todas-noticias-page .news-card:hover { transform: translateY(-3px); border-color: #bfd4e4; box-shadow: 0 14px 32px rgba(28, 53, 78, .09); }
.todas-noticias-page .news-card-image-link { width: auto; min-height: 230px; }
.todas-noticias-page .news-card-category { top: 12px; left: 12px; padding: 5px 10px; background: rgba(16, 76, 124, .92); font-size: .63rem; letter-spacing: .035em; }
.todas-noticias-page .news-card-body { min-width: 0; padding: 1.2rem; }
.todas-noticias-page .news-card-date { display: block; margin-bottom: .45rem; color: #7b8998; font-size: .68rem; font-weight: 650; }
.todas-noticias-page .news-card-title { margin: 0 0 .55rem; font-size: 1.02rem; line-height: 1.35; }
.todas-noticias-page .news-card-text { margin: 0; color: var(--news-muted); font-size: .78rem; line-height: 1.6; -webkit-line-clamp: 3; }
.todas-noticias-page .news-card-readmore { display: inline-flex; align-items: center; gap: .15rem; margin-top: .75rem; color: var(--news-blue); font-size: .75rem; }
.news-load-actions { margin-top: 1.35rem; }
.news-load-actions .btn { min-height: 43px; padding-inline: 1.25rem; border-radius: 9px; font-size: .8rem; font-weight: 750; }
#load-more-trigger { height: 1px; }
.news-list-message { grid-column: 1 / -1; width: 100%; max-width: 720px; margin-inline: auto; background: #fff; border: 1px solid var(--news-line); border-radius: 15px; box-shadow: 0 8px 25px rgba(28, 53, 78, .05); }

.pagina-noticia-detalhe { min-height: 100vh; background: #f7f9fc; }
.noticia-detalhe-page { --news-blue: #1769aa; --news-blue-dark: #104c7c; --news-ink: #17263b; --news-muted: #64748b; --news-line: #dce5ee; display: flex; min-height: calc(100vh - 72px); flex-direction: column; background: #f7f9fc; }
.noticia-detalhe-page > main { width: 100%; flex: 1; }
.noticia-detalhe-page .noticia-hero { display: block; min-height: 0; margin: 0; padding: clamp(1.25rem, 3vw, 2.3rem) 0 clamp(2rem, 4vw, 3.25rem); overflow: hidden; background: linear-gradient(135deg, #f8fcff 0%, #edf5fb 58%, #f7fafc 100%); border-bottom: 1px solid var(--news-line); color: var(--news-ink); }
.noticia-detalhe-page .noticia-hero::before { top: -230px; right: -160px; bottom: auto; left: auto; width: 500px; height: 500px; border-radius: 50%; background: rgba(23,105,170,.07); }
.noticia-breadcrumb { position: relative; z-index: 2; display: flex; align-items: center; gap: .45rem; margin-bottom: 1.25rem; color: #7b8997; font-size: .72rem; }
.noticia-breadcrumb a { color: var(--news-blue); text-decoration: none; }
.noticia-breadcrumb a:hover { color: var(--news-blue-dark); }
.noticia-breadcrumb > i { font-size: .55rem; }
.noticia-breadcrumb span { max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.noticia-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(330px, .92fr); align-items: center; gap: clamp(2rem, 5vw, 4.5rem); }
.noticia-detalhe-page .hero-content { position: relative; z-index: 2; max-width: 760px; }
.noticia-detalhe-page .noticia-categoria { display: inline-flex; align-items: center; gap: .38rem; margin: 0 0 .85rem; padding: .38rem .68rem; background: #e6f2fa; color: var(--news-blue); border: 1px solid #cfe2f0; border-radius: 999px; font-size: .65rem; letter-spacing: .06em; text-decoration: none; }
.noticia-detalhe-page .noticia-categoria:hover { background: #d9ebf7; color: var(--news-blue-dark); }
.noticia-detalhe-page .noticia-titulo { max-width: 820px; margin: 0; color: var(--news-ink); font: 800 clamp(2rem, 4.2vw, 3.7rem)/1.06 Montserrat, sans-serif; letter-spacing: -.045em; text-shadow: none; }
.noticia-resumo { max-width: 720px; margin: 1rem 0 0; color: var(--news-muted); font-size: clamp(.92rem, 1.5vw, 1.08rem); line-height: 1.7; }
.noticia-meta { display: flex; flex-wrap: wrap; gap: .65rem 1.15rem; margin-top: 1.25rem; color: #52677b; font-size: .72rem; font-weight: 700; }
.noticia-meta time,.noticia-meta span { display: inline-flex; align-items: center; gap: .4rem; }
.noticia-meta i { color: var(--news-blue); }
.noticia-hero-image { position: relative; min-height: 310px; margin: 0; overflow: hidden; border: 7px solid #fff; border-radius: 18px; background: #dfe8ef; box-shadow: 0 24px 55px rgba(28, 58, 86, .16); transform: rotate(1deg); }
.noticia-hero-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.noticia-content-section { padding: clamp(1.25rem, 3vw, 2.4rem) 0 clamp(3.5rem, 7vw, 6rem); }
.noticia-detalhe-page .article-main-content { height: auto; padding: 0; overflow: hidden; border: 1px solid var(--news-line); border-radius: 15px; background: #fff; box-shadow: 0 10px 30px rgba(28, 53, 78, .055); }
.article-reading-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .85rem 1.25rem; border-bottom: 1px solid var(--news-line); background: #fbfcfd; }
.article-reading-heading span,.article-reading-heading a { display: inline-flex; align-items: center; gap: .42rem; font-size: .68rem; font-weight: 800; }
.article-reading-heading span { color: #52677b; letter-spacing: .035em; text-transform: uppercase; }
.article-reading-heading span i { color: var(--news-blue); }
.article-reading-heading a { color: var(--news-blue); text-decoration: none; }
.article-reading-heading a:hover { color: var(--news-blue-dark); }
.noticia-detalhe-page .article-body { padding: clamp(1.35rem, 4vw, 2.6rem); color: #34475a; font-size: 1rem; line-height: 1.82; overflow-wrap: anywhere; }
.noticia-detalhe-page .article-body > :first-child { margin-top: 0; }
.noticia-detalhe-page .article-body > :last-child { margin-bottom: 0; }
.noticia-detalhe-page .article-body blockquote { margin: 1.5rem 0; padding: 1rem 1.2rem; border-left: 4px solid var(--news-blue); border-radius: 0 10px 10px 0; background: #edf6fc; color: #38556d; }
.noticia-detalhe-page .article-body iframe { width: 100%; max-width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 9px; }
.noticia-detalhe-page .article-body table { display: block; max-width: 100%; overflow-x: auto; }
.noticia-detalhe-page .sidebar-widget { top: 88px; padding: 1.15rem; border: 1px solid var(--news-line); border-radius: 15px; box-shadow: 0 10px 30px rgba(28, 53, 78, .055); }
.widget-heading { display: flex; align-items: center; gap: .7rem; padding-bottom: .9rem; border-bottom: 1px solid var(--news-line); }
.widget-heading > span { display: grid; width: 42px; height: 42px; flex: 0 0 auto; place-items: center; border-radius: 11px; background: #e8f3fa; color: var(--news-blue); font-size: 1.05rem; }
.widget-heading small { display: block; margin-bottom: .1rem; color: #83909d; font-size: .56rem; font-weight: 800; letter-spacing: .055em; text-transform: uppercase; }
.noticia-detalhe-page .widget-title { margin: 0; padding: 0; border: 0; color: var(--news-ink); font-size: 1.02rem; }
.noticia-detalhe-page .lista-noticias-recentes li a { padding: .8rem .35rem; border-color: #e8edf2; border-radius: 8px; }
.noticia-detalhe-page .lista-noticias-recentes li a:hover { padding-right: .55rem; padding-left: .55rem; background: #f1f7fb; }
.noticia-detalhe-page .recente-data { color: #8090a0; font-size: .65rem; }
.noticia-detalhe-page .recente-titulo { color: #354b60; font-size: .78rem; font-weight: 700; }
.noticia-detalhe-page .btn-outline-primary-custom { display: inline-flex; align-items: center; justify-content: center; gap: .3rem; min-height: 42px; border-color: #bfd5e5; color: var(--news-blue); font-size: .72rem; font-weight: 800; }
.noticia-detalhe-page .btn-outline-primary-custom:hover { border-color: var(--news-blue); background: var(--news-blue); }
.news-detail-message { margin: 5rem auto; padding: 3rem 1.5rem; background: #fff; border: 1px solid #e5e9ef; border-radius: 14px; }

@media (max-width: 767.98px) {
    .todas-noticias-section { padding-top: .85rem !important; }
    .news-page-hero { grid-template-columns: 1fr; min-height: 0; padding: 1.45rem 1.2rem; border-radius: 14px; }
    .news-page-hero h1 { font-size: 2rem; }
    .news-page-hero-art { display: none; }
    .news-filter-panel { align-items: stretch; flex-direction: column; gap: .65rem; padding: .75rem; }
    .news-filter-label { padding: 0 0 .6rem; border-right: 0; border-bottom: 1px solid var(--news-line); }
    .todas-noticias-page .news-filters { padding-bottom: 3px; }
    .todas-noticias-page .news-filters .filter-btn { padding: .44rem .82rem; }
    .todas-noticias-page .news-list-container { grid-template-columns: 1fr; gap: .8rem; }
    .todas-noticias-page .news-card { grid-template-columns: 1fr; min-height: 0; margin: 0; border-radius: 11px; }
    .todas-noticias-page .news-card-image-link { width: 100%; height: 185px; min-height: 0; }
    .todas-noticias-page .news-card-body { padding: 1rem 1.05rem; }
    .todas-noticias-page .news-card-title { font-size: 1.08rem; line-height: 1.3; }
    .todas-noticias-page .news-card-text { margin-bottom: .4rem; line-height: 1.55; -webkit-line-clamp: 2; }
    .noticia-detalhe-page .noticia-hero { padding: 1rem 0 1.7rem; }
    .noticia-breadcrumb { margin-bottom: .9rem; }
    .noticia-hero-grid { grid-template-columns: 1fr; gap: 1.25rem; }
    .noticia-detalhe-page .noticia-titulo { font-size: 2rem; }
    .noticia-hero-image { min-height: 220px; border-width: 5px; border-radius: 13px; transform: none; }
    .article-reading-heading { align-items: flex-start; flex-direction: column; padding: .8rem 1rem; }
    .noticia-detalhe-page .article-main-content { border-radius: 11px; }
    .noticia-detalhe-page .article-body { font-size: 1rem; line-height: 1.72; }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .noticia-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(280px, .8fr); gap: 2rem; }
    .noticia-hero-image { min-height: 270px; }
}

@media (min-width: 768px) and (max-width: 1199.98px) {
    .todas-noticias-page .news-list-container { grid-template-columns: 1fr; }
}
