#blog.blog-home { background: #f5f7fb; padding: 48px 0 56px; }
#blog.blog-home .titulo { padding: 0 0 28px; }
#blog.blog-home .titulo h1 { margin: 0 0 12px; }
#blog.blog-home .blog-intro { font-size: 16px; line-height: 1.7; color: #566173; margin: 0; font-weight: 300; }
.blog-feature { display: grid; grid-template-columns: 1fr 1.1fr; background: #fff; border: 1px solid #e4e9f1; border-radius: 18px; overflow: hidden; box-shadow: 0 12px 32px rgba(19, 49, 91, .06); }
.blog-feature-image { display: block; align-self: center; margin: 24px 0 24px 24px; overflow: hidden; border-radius: 12px; }
.blog-feature-image img { display: block; width: 100%; height: auto; }
.blog-feature-content { padding: 32px; align-self: center; }
.blog-eyebrow { color: #005fee; text-transform: uppercase; letter-spacing: .09em; font-size: 12px; font-weight: 600; margin: 0 0 16px; }
.blog-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; color: #687386; font-size: 12px; margin-bottom: 16px; }
.blog-meta span:first-child { background: #edf4ff; color: #0057d8; padding: 5px 10px; border-radius: 6px; }
.blog-feature h2 { font-size: clamp(22px, 2.1vw, 30px); line-height: 1.35; margin: 0 0 16px; font-weight: 600; }
.blog-feature h2 a { color: #18304f; text-decoration: none; }
.blog-summary { color: #566173; font-size: 15px; font-weight: 300; line-height: 1.75; margin: 0 0 24px; }
#blog .blog-read-more { display: inline-flex; align-items: center; gap: 16px; background: #005fee; color: #fff; padding: 12px 22px; border-radius: 8px; text-decoration: none; font-size: 15px; font-weight: 500; transition: background .2s; }
#blog .blog-read-more:hover { background: #004bc0; }
.blog-feature a:focus-visible, #outro_blog a:focus-visible { outline: 3px solid #ffbf00; outline-offset: 4px; }
#outro_blog .titulo-noticia p a { color: inherit; text-decoration: none; }
#outro_blog .titulo-noticia p a:hover { color: #005fee; text-decoration: underline; }
@media (max-width: 767px) {
    #blog.blog-home { padding: 32px 0; }
    .blog-feature { grid-template-columns: 1fr; }
    .blog-feature-image { margin: 16px 16px 0; }
    .blog-feature-content { padding: 24px; }
}

#outro_blog.blog-news { padding-bottom: 48px; scroll-margin-top: 100px; }
.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.blog-card { display: flex; flex-direction: column; min-width: 0; background: #fff; border: 1px solid #e4e9f1; border-radius: 14px; overflow: hidden; transition: box-shadow .2s, border-color .2s; }
.blog-card:hover { border-color: #c8d9f3; box-shadow: 0 10px 24px rgba(19, 49, 91, .08); }
.blog-card-image { display: block; background: #f5f7fb; aspect-ratio: 3 / 2; }
.blog-card-image img { display: block; width: 100%; height: 100%; object-fit: contain; }
.blog-card-content { display: flex; flex: 1; flex-direction: column; padding: 22px; }
.blog-card .blog-meta { font-size: 11px; gap: 8px 12px; margin-bottom: 14px; }
.blog-card h3 { font-size: 18px; line-height: 1.5; font-weight: 500; margin: 0 0 24px; }
.blog-card h3 a { color: #18304f; text-decoration: none; overflow-wrap: anywhere; }
.blog-card h3 a:hover { color: #005fee; }
.blog-card-more { display: inline-flex; align-items: center; gap: 12px; align-self: flex-start; margin-top: auto; color: #005fee; font-size: 14px; font-weight: 500; text-decoration: none; }
.blog-card-more:hover { color: #004bc0; text-decoration: underline; }
.blog-pagination { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 16px; margin-top: 36px; }
.blog-pagination a { padding: 10px 16px; border: 1px solid #dbe5f3; border-radius: 8px; color: #005fee; text-decoration: none; font-size: 14px; }
.blog-pagination a:hover { background: #edf4ff; }
.blog-page-status { color: #566173; font-size: 13px; }
@media (max-width: 991px) { .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; } }
@media (max-width: 575px) { .blog-grid { grid-template-columns: 1fr; } .blog-card-content { padding: 20px; } }

#blog.blog-detail { background: #f5f7fb; padding: 36px 0 48px; }
.article-breadcrumb { display: flex; gap: 12px; align-items: center; font-size: 13px; color: #687386; margin-bottom: 26px; }
.article-breadcrumb a { color: #005fee; text-decoration: none; font-weight: 500; }
.article-layout { display: grid; align-items: start; gap: 28px; }
.article-with-video { grid-template-columns: minmax(0, 1fr) 315px; }
.article-panel { min-width: 0; padding: 36px; background: #fff; border: 1px solid #e4e9f1; border-radius: 18px; box-shadow: 0 12px 32px rgba(19, 49, 91, .04); }
.article-heading { max-width: 760px; margin: 0 auto; padding-bottom: 26px; }
.article-heading h1 { color: #18304f; font-size: clamp(26px, 3vw, 40px); line-height: 1.3; font-weight: 600; margin: 0 0 18px; overflow-wrap: anywhere; }
.article-views { color: #687386; font-size: 12px; margin: 0; }
.article-cover { max-width: 860px; margin: 0 auto 32px; border-radius: 12px; overflow: hidden; background: #f5f7fb; }
.article-cover img { display: block; width: 100%; height: auto; }
.article-body { max-width: 760px; margin: 0 auto; color: #40516a; font-size: 16px; line-height: 1.85; overflow-wrap: anywhere; }
.article-body p { margin: 0 0 1.25em; }
.article-body h1, .article-body h2, .article-body h3, .article-body h4 { color: #18304f; line-height: 1.4; font-weight: 600; margin: 1.6em 0 .65em; }
.article-body h1, .article-body h2 { font-size: 26px; }
.article-body h3 { font-size: 22px; }
.article-body ul, .article-body ol { padding-left: 24px; margin-bottom: 24px; }
.article-body li { padding-left: 4px; margin-bottom: 8px; }
.article-body a, .article-related-service a { color: #005fee; text-underline-offset: 3px; }
.article-body img, .article-body video, .article-body iframe { max-width: 100%; }
.article-body img { height: auto; border-radius: 8px; }
.article-body blockquote { background: #edf4ff; border-left: 3px solid #005fee; padding: 20px 24px; margin: 24px 0; }
.article-body hr { margin: 28px 0; border: 0; border-top: 1px solid #e4e9f1; }
.article-related-service { max-width: 760px; margin: 28px auto; padding: 20px; background: #edf4ff; border-radius: 10px; font-size: 15px; line-height: 1.7; }
.article-related-service p { margin: 0; }
.article-panel .article-end { max-width: 760px; margin: 32px auto 0; padding: 20px 0 0; background: transparent; border-top: 1px solid #e4e9f1; text-align: left; }
.article-end a { color: #005fee; font-size: 14px; text-decoration: none; }
.article-video { padding: 16px; border-radius: 16px; background: #fff; border: 1px solid #e4e9f1; }
.article-video-label { color: #18304f; font-size: 14px; font-weight: 500; margin: 0 0 12px; }
.article-video-frame { aspect-ratio: 9 / 16; overflow: hidden; border-radius: 10px; background: #0f172a; }
.article-video-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.blog-detail a:focus-visible { outline: 3px solid #ffbf00; outline-offset: 4px; }
@media (max-width: 991px) {
    .article-with-video { grid-template-columns: minmax(0, 1fr) 260px; gap: 20px; }
    .article-panel { padding: 26px; }
}
@media (max-width: 767px) {
    #blog.blog-detail { padding-top: 24px; }
    .article-layout { grid-template-columns: 1fr; }
    .article-panel { padding: 22px; }
    .article-body { font-size: 15px; line-height: 1.8; }
    .article-body h1, .article-body h2 { font-size: 23px; }
    .article-video { width: 100%; max-width: 347px; justify-self: center; }
}

/* Aproveita a largura do painel nas notícias com imagem. */
.article-with-image .article-heading,
.article-with-image .article-cover,
.article-with-image .article-body,
.article-with-image .article-related-service,
.article-with-image .article-end { max-width: none; }
.article-body figure { max-width: 100%; }
.article-body figcaption { margin-top: 8px; text-align: center; font-size: 13px; line-height: 1.5; color: #687386; }

.article-image-trigger { display: block; width: 100%; padding: 0; margin: 0; border: 0; background: transparent; cursor: zoom-in; }
.article-image-trigger:focus-visible { outline: 3px solid #005fee; outline-offset: 4px; }
.article-image-modal { width: fit-content; max-width: 94vw; max-height: 94vh; padding: 44px 16px 16px; border: 0; border-radius: 14px; background: #fff; box-sizing: border-box; }
.article-image-modal::backdrop { background: rgba(8, 18, 35, .85); }
.article-image-modal figure { margin: 0; }
.article-image-modal img { display: block; max-width: min(1200px, 86vw); max-height: 76vh; width: auto; height: auto; margin: auto; object-fit: contain; }
.article-image-modal figcaption { max-width: 900px; margin: 12px auto 0; color: #566173; text-align: center; font: 14px/1.5 Arial, sans-serif; }
.article-image-close { position: absolute; top: 6px; right: 10px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: #edf4ff; color: #18304f; font: 28px/1 Arial, sans-serif; cursor: pointer; }
.article-image-close:focus-visible { outline: 3px solid #005fee; }
