/* Public news page styling, aligned with the homepage type scale and colors. */
.news-list-page, .news-detail-page { background: #f6f8fb; }
.news-list-page .news-list-container, .news-detail-page .news-detail-container { padding-top: clamp(28px, 5vw, 56px) !important; padding-bottom: clamp(42px, 6vw, 72px) !important; }
.news-list-page .news-list-title { margin: 0 0 24px; color: #173c63; font-size: 2.75em; line-height: 1.15; }
.news-list-page .blog-posts .post-medium { margin: 0 0 22px; padding: clamp(16px, 2.4vw, 28px); overflow: hidden; border: 1px solid #e4ebf3; border-radius: 18px; background: #fff; box-shadow: 0 10px 30px rgba(20, 50, 82, .06); }
.news-list-page .post-medium .row { align-items: center; margin-bottom: 0 !important; }
.news-list-page .post-medium .post-image { overflow: hidden; border-radius: 18px; background: #eef2f7; }
.news-list-page .post-medium .post-image img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 0; border-radius: 18px; transition: transform .3s ease; }
.news-list-page .post-medium .post-image img.border-radius-0 { border-radius: 18px !important; }
.news-list-page .post-medium .post-image a:hover img { transform: scale(1.025); }
.news-list-page .post-medium .post-content h4 { font-size: 2em; line-height: 1.2; margin-bottom: 12px !important; }
.news-list-page .post-medium .post-content h4 a { color: #173c63; font-weight: inherit; }
.news-list-page .post-medium .post-content h4 a:hover { color: #0e62d4; }
.news-list-page .post-medium .post-content p { color: #536579; font-size: 1rem; line-height: 1.75; }
.news-list-page .sidebar { padding: 0; border: 0; background: transparent; }
.news-list-page .sidebar > .card { overflow: hidden; border: 1px solid #e2eaf3; border-radius: 16px; background: #fff; box-shadow: 0 10px 28px rgba(20, 50, 82, .07); }
.news-list-page .sidebar > .card > .card-body { padding: 20px 18px; }
.news-list-page .sidebar .input-group { margin-bottom: 16px !important; }
.news-list-page .sidebar .form-control { height: 46px; padding: 0 14px; border: 1px solid #dce6f0; border-right: 0; border-radius: 10px 0 0 10px; background: #fff; color: #173c63; box-shadow: 0 4px 14px rgba(20, 50, 82, .04); }
.news-list-page .sidebar .form-control:focus { border-color: #1769a5; box-shadow: 0 0 0 3px rgba(23, 105, 165, .12); }
.news-list-page .sidebar .input-group-append .btn { min-width: 48px; border: 1px solid #173c63; border-radius: 0 10px 10px 0; background: #173c63; color: #fff; }
.news-list-page .sidebar .input-group-append .btn:hover { background: #1769a5; }
.news-list-page .sidebar > .card > .card-body > h4, .news-detail-page .sidebar > .card > .card-body > h4 { color: #173c63 !important; font-size: 20px !important; line-height: 1.25; }
.news-detail-page .sidebar { padding: 24px; border: 1px solid #e4ebf3; border-radius: 18px; background: #fff; }
.news-list-page .simple-post-list li { padding: 12px 0; border-bottom: 1px solid #edf1f5; }
.news-list-page .sidebar .simple-post-list .post-image .img-thumbnail { overflow: hidden; border-radius: 10px; }
.news-list-page .sidebar .simple-post-list .post-image img.border-radius-0 { display: block; border-radius: 10px !important; }
.news-list-page .simple-post-list .news-sidebar-date { margin: 0 0 4px; color: #7b8998; font-size: .75rem; line-height: 1.3; }
.news-list-page .sidebar .simple-post-list .post-info h4,
.news-list-page .sidebar .simple-post-list .post-info h4 a { font-weight: 500 !important; }
.news-list-page .simple-search .form-control, .news-detail-page .simple-search .form-control { min-width: 0; border: 1px solid #dfe7f0; border-radius: 999px 0 0 999px; }
.news-list-page .simple-search .btn, .news-detail-page .simple-search .btn { border-radius: 0 999px 999px 0 !important; border-color: #dfe7f0 !important; background: #fff; }
.news-list-page .pagination { justify-content: flex-end; gap: 4px; margin: 0 0 20px; }
.news-list-page .pagination .page-link { display: inline-flex; min-width: 60px; min-height: 56px; align-items: center; justify-content: center; padding: 8px 14px; border: 1px solid #dce6f1; border-radius: 11px; background: #fff; color: #173c63; font-size: 1.25rem; font-weight: 500; text-align: center; }
.news-list-page .pagination .page-item.page-arrow .page-link { width: 60px; padding: 8px; font-size: 1rem; }
.news-list-page .pagination .page-item.page-arrow .page-link { border-radius: 11px !important; }
.news-list-page .pagination .page-link:hover, .news-list-page .pagination .page-link:focus-visible { border-color: #173c63; background: #f1f6fc; color: #123457; }
.news-list-page .pagination .active .page-link { border-color: #213c63 !important; border-radius: 11px !important; background-color: #213c63 !important; color: #fff !important; }
.news-detail-page .blog-single-post { padding: clamp(22px, 4vw, 48px) !important; border: 1px solid #e4ebf3 !important; border-top: 5px solid #213c63 !important; margin: 0 0 36px; border-radius: 20px; background: #fff; box-shadow: 0 10px 32px rgba(20, 50, 82, .06); }

.news-detail-page .blog-single-post h1 { margin: 26px 0 20px !important; color: #173c63; font-size: 2.75em; font-weight: 800; letter-spacing: -.04em; line-height: 1.15; overflow-wrap: anywhere; }
.news-detail-page .blog-single-post h1 a { color: #213c63 !important; }
.news-detail-page .download-detail-meta, .news-detail-page .download-detail-vote { font-size: .9rem; }
.news-detail-page .blog-single-post .post-image { margin: 0 0 24px; overflow: hidden; border-radius: 14px; background: #eef2f7; }
.news-detail-page .blog-single-post .post-image img { display: block; width: 100%; max-height: 620px; object-fit: cover; border: 0; border-radius: 14px; }
.news-detail-page .blog-single-post p { color: #43566b; font-size: 1.05rem; line-height: 1.85; }
.news-detail-page .blog-single-post p img { max-width: 100%; height: auto; border-radius: 12px; }
.news-detail-page .sidebar { margin-top: 10px; }
@media (max-width: 991.98px) {
  .news-list-page .sidebar, .news-detail-page .sidebar { margin-top: 26px; }
}
@media (max-width: 767.98px) {
  .news-list-page .news-list-title, .news-detail-page .blog-single-post h1 { font-size: 2em; }
  .news-list-page .post-medium .post-content { padding-top: 18px; }
  .news-list-page .post-medium .post-content h4 { font-size: 1.5em; }
  .news-list-page .sidebar, .news-detail-page .sidebar { padding: 18px; }
}

/* News detail sidebar mirrors the news list search and latest-news card. */
.news-detail-page .news-sidebar-column .sidebar { margin-top: 0; padding: 0; border: 0; background: transparent; }
.news-detail-page .news-sidebar-column .sidebar > .card { overflow: hidden; border: 1px solid #e2eaf3; border-radius: 16px; background: #fff; box-shadow: 0 10px 28px rgba(20, 50, 82, .07); }
.news-detail-page .news-sidebar-column .sidebar > .card > .card-body { padding: 20px 18px; }
.news-detail-page .news-sidebar-column .sidebar .input-group { margin-bottom: 16px !important; }
.news-detail-page .news-sidebar-column .sidebar .form-control { height: 46px; padding: 0 14px; border: 1px solid #dce6f0; border-right: 0; border-radius: 10px 0 0 10px; background: #fff; color: #173c63; box-shadow: 0 4px 14px rgba(20, 50, 82, .04); }
.news-detail-page .news-sidebar-column .sidebar .form-control:focus { border-color: #1769a5; box-shadow: 0 0 0 3px rgba(23, 105, 165, .12); }
.news-detail-page .news-sidebar-column .sidebar .input-group-append .btn { min-width: 48px; border: 1px solid #173c63; border-radius: 0 10px 10px 0; background: #173c63; color: #fff; }
.news-detail-page .news-sidebar-column .sidebar .input-group-append .btn:hover { background: #1769a5; }
.news-detail-page .news-sidebar-column .sidebar > .card > .card-body > h4 { color: #173c63 !important; font-size: 20px !important; line-height: 1.25; }
.news-detail-page .news-sidebar-column .simple-post-list li { padding: 12px 0; border-bottom: 1px solid #edf1f5; }
.news-detail-page .news-sidebar-column .simple-post-list .post-image .img-thumbnail { overflow: hidden; border-radius: 10px; }
.news-detail-page .news-sidebar-column .simple-post-list .post-image img.border-radius-0 { display: block; border-radius: 10px !important; }
.news-detail-page .news-sidebar-column .simple-post-list .news-sidebar-date { margin: 0 0 4px; color: #7b8998; font-size: .75rem; line-height: 1.3; }
.news-detail-page .news-sidebar-column .simple-post-list .post-info h4,
.news-detail-page .news-sidebar-column .simple-post-list .post-info h4 a { font-weight: 500 !important; }
@media (max-width: 991.98px) { .news-detail-page .news-sidebar-column .sidebar { margin-top: 26px; } }

/* News editorial navigation and results context. */
.news-editorial-filter { margin:0 0 24px; padding:20px 16px; border-top:3px solid #cc331c; background:#fff; }
.news-editorial-filter h3 { margin:0 0 14px; font-size:20px; font-weight:800; color:#333; }
.news-editorial-link { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:12px 10px; border-bottom:1px solid #eee; color:#424851 !important; font-size:13px; font-weight:600; text-decoration:none !important; }
.news-editorial-link small { color:inherit; opacity:.75; font-variant-numeric:tabular-nums; }
.news-editorial-link:hover { background:#f8eeeb; }
.news-editorial-link.is-active { background:#cc331c; color:#fff !important; border-bottom-color:#cc331c; }
.news-editorial-link:focus-visible { outline:2px solid #cc331c; outline-offset:2px; }
.news-editorial-summary { display:flex; align-items:baseline; justify-content:space-between; gap:16px; margin-bottom:24px; padding-bottom:14px; border-bottom:1px solid #eee; }
.news-editorial-summary h2 { margin:0; font-size:22px; font-weight:800; color:#424851; }
.news-editorial-summary > span { color:#777; font-size:12px; white-space:nowrap; }
#conteudos-paginados { scroll-margin-top:95px; }
@media(max-width:991px) { .news-list-page .news-sidebar-column { order:-1 !important; } .news-editorial-filter { margin-bottom:20px; } .news-editorial-summary { flex-wrap:wrap; gap:6px; } }

/* Editorial navigation reuses the news sidebar card shell. */
.news-editorial-filter.card { padding:0; margin-bottom:24px; }
.news-editorial-filter .news-editorial-link:last-child { border-bottom:0; }

/* Align the results divider with the bottom edge of sidebar search. */
@media (min-width: 992px) { .news-list-page .news-editorial-summary { min-height:70px; box-sizing:border-box; align-items:center; padding-bottom:0; } }
