/* Ajustes discretos sobre o visual original das páginas de notícias. */
.todas-noticias-section { min-height: 60vh; padding-top: 2.5rem !important; }
.todas-noticias-page .home-news-header.section-header { margin-bottom: 1.5rem; }
.todas-noticias-page .home-news-header .section-title { margin-bottom: .5rem !important; font-size: clamp(2rem, 4vw, 2.8rem); }
.news-page-intro { max-width: 680px; margin: .65rem auto 0; color: var(--gray-text); }
.todas-noticias-page .news-card { min-height: 250px; margin-bottom: 1.25rem; border: 1px solid rgba(0, 65, 155, .08); border-radius: 14px; box-shadow: 0 5px 20px rgba(0, 65, 155, .06); }
.todas-noticias-page .news-card:hover { transform: translateY(-2px); box-shadow: 0 9px 24px rgba(0, 65, 155, .09); }
.todas-noticias-page .news-card-image-link { width: 285px; min-height: 250px; }
.todas-noticias-page .news-card-body { padding: 1.35rem 1.6rem; }
.todas-noticias-page .news-card-title { margin-top: .35rem; font-size: 1.22rem; }
.todas-noticias-page .news-card-date { display: block; }
.todas-noticias-page .news-card-readmore { margin-top: .65rem; }
.news-load-actions { margin-top: .5rem; }
.news-load-actions .btn { min-height: 42px; padding-inline: 1.25rem; border-radius: 9px; }
#load-more-trigger { height: 1px; }
.news-list-message { max-width: 680px; margin-inline: auto; background: #fff; border: 1px solid #e5e9ef; border-radius: 14px; }

.noticia-detalhe-page .noticia-hero { margin-top: 0; min-height: 440px; padding: 5.5rem 0 3.25rem; }
.noticia-detalhe-page .hero-content { max-width: 940px; }
.noticia-detalhe-page .noticia-voltar { display: block; width: fit-content; margin-bottom: 1rem; color: rgba(255,255,255,.9); text-decoration: none; font-size: .82rem; font-weight: 700; }
.noticia-detalhe-page .noticia-voltar:hover { color: #fff; }
.noticia-detalhe-page .noticia-categoria { color: #fff; text-decoration: none; }
.noticia-detalhe-page .noticia-titulo { max-width: 950px; font-size: clamp(2.1rem, 5vw, 3.4rem); }
.noticia-detalhe-page .article-main-content { height: auto; padding: clamp(1.5rem, 4vw, 2.5rem); border: 1px solid #e7ebf0; border-radius: 14px; }
.noticia-detalhe-page .article-body { overflow-wrap: anywhere; }
.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.35rem; border: 1px solid #e7ebf0; border-radius: 14px; }
.noticia-detalhe-page .widget-title { font-size: 1.15rem; }
.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: 1.5rem !important; }
    .todas-noticias-page .home-news-header.section-header { margin-bottom: 1rem; }
    .todas-noticias-page .home-news-header .section-title { font-size: 1.85rem; line-height: 1.15; }
    .news-page-intro { font-size: .9rem; }
    .todas-noticias-page .news-filters { display: flex; margin-bottom: 1rem !important; padding-bottom: 3px; overflow-x: auto; }
    .todas-noticias-page .news-filters .filter-btn { flex: 0 0 auto; margin: 0 .35rem 0 0; padding: .42rem .9rem; }
    .todas-noticias-page .news-card { min-height: 0; margin-bottom: .9rem; 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 { min-height: 360px; padding: 3.5rem 0 2.25rem; }
    .noticia-detalhe-page .noticia-titulo { font-size: 2rem; }
    .noticia-detalhe-page .article-main-content { padding: 1.25rem; border-radius: 11px; }
    .noticia-detalhe-page .article-body { font-size: 1rem; line-height: 1.72; }
}
