/* blog.css ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â listagem e leitura de posts do blog.
   Segue o padrÃƒÆ’Ã‚Â£o da legislaÃƒÆ’Ã‚Â§ÃƒÆ’Ã‚Â£o: body #f0f0f0, conteÃƒÆ’Ã‚Âºdo em cartÃƒÆ’Ã‚Âµes brancos,
   azul-marinho #1e2b4d como cor de marca. */
.blog-wrap {
    max-width: 860px;
    margin: 0 auto;
    padding: 24px 16px 64px;
    color: #24303f;
    font-size: 16px;
    line-height: 1.6;
}


.blog-breadcrumb {
    margin-bottom: 16px;
}

.blog-breadcrumb a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px 7px 11px;
    font-size: .9rem;
    font-weight: 600;
    line-height: 1;
    color: #1e2b4d;
    background: #fff;
    border: 1px solid #d3dbe6;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0 1px 2px rgba(30,43,77,.05);
    transition: background .15s ease, border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.blog-breadcrumb a:hover {
    background: #f0f4fa;
    border-color: #b9c6d9;
    box-shadow: 0 2px 6px rgba(30,43,77,.1);
    transform: translateX(-2px);
}

.blog-breadcrumb a:active {
    transform: translateX(-1px);
}

/* CabeÃƒÆ’Ã‚Â§alho da listagem */
.blog-cabecalho {
    /* margin-bottom: 22px; */
}

.blog-cabecalho h1 {
    margin: 0 0 6px;
    font-size: 1.9rem;
    line-height: 1.2;
    color: #1e2b4d;
    background: #fff;
    border: 1px solid #e4e8ee;
    border-radius: 5px;
    box-shadow: 0 6px 20px rgba(30, 43, 77, .08);
    padding: 13px 20px;
    /* text-align: center; */
}

.blog-sub {
    color: #5a6472;
    margin: 0;
    max-width: 60ch;
}

/* Grade de cartÃƒÆ’Ã‚Âµes */
.blog-lista {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 18px;
}

.blog-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: #fff;
    border: 1px solid #e4e8ee;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(30,43,77,.06);
    padding: 18px 18px 16px;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    transition: box-shadow .15s ease, transform .15s ease, border-color .15s ease;
}

.blog-card:hover {
    box-shadow: 0 6px 18px rgba(30,43,77,.12);
    /* transform: translateY(-2px); */
    border-color: #d3dbe6;
}

/* Imagem de capa do cartÃƒÆ’Ã‚Â£o: sangra atÃƒÆ’Ã‚Â© as bordas (anula o padding do cartÃƒÆ’Ã‚Â£o) */
.blog-card-img {
    margin: -18px -18px 10px;
    aspect-ratio: 16 / 9;
    background: #eef2f8;
    overflow: hidden;
}

.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .25s ease;
}

.blog-card:hover .blog-card-img img {
    transform: scale(1.03);
}

.blog-card-topo {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.blog-card-titulo {
    margin: 2px 0 0;
    font-size: 1.18rem;
    line-height: 1.3;
    color: #1e2b4d;
}

.blog-card-resumo {
    margin: 0;
    color: #4a5563;
    font-size: .95rem;
}

.blog-card-rodape {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-top: auto;
    padding-top: 8px;
}

.blog-leia {
    color: #2b4a8b;
    font-weight: 600;
    font-size: .9rem;
}

/* Chips / metadados */
.blog-cat {
    display: inline-block;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .02em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 20px;
    background: #e8eefb;
    color: #2b4a8b;
}

.blog-data {
    color: #7a8494;
    font-size: .85rem;
}

.blog-badge-rascunho {
    display: inline-block;
    font-size: .7rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 20px;
    background: #fdf0d8;
    color: #8a6100;
    text-transform: uppercase;
    letter-spacing: .03em;
}

/* Post individual */
.blog-post {
    background: #fff;
    border: 1px solid #e4e8ee;
    border-radius: 14px;
    box-shadow: 0 1px 3px rgba(30,43,77,.06);
    padding: 28px clamp(20px, 5vw, 44px) 36px;
}

.blog-post-cab {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-bottom: 6px;
}

.blog-conteudo {
}

.blog-conteudo h1 {
    font-size: 1.8rem;
    line-height: 1.22;
    color: #1e2b4d;
    margin: 8px 0 18px;
}

.blog-conteudo h2 {
    font-size: 1.32rem;
    color: #1e2b4d;
    margin: 30px 0 10px;
    padding-top: 6px;
    border-top: 1px solid #eef1f4;
}

.blog-conteudo h3 {
    font-size: 1.1rem;
    color: #26324a;
    margin: 22px 0 8px;
}

.blog-conteudo p {
    margin: 0 0 14px;
}

.blog-conteudo ul {
    margin: 0 0 16px;
    padding-left: 22px;
}

.blog-conteudo li {
    margin: 0 0 6px;
}

.blog-conteudo a {
    color: #2b4a8b;
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Botões dentro do conteúdo (ex.: CTA do gate) não herdam a cor de link */
.blog-conteudo a.blog-botao {
    color: #fff;
    text-decoration: none;
}

.blog-conteudo a.blog-botao--sec {
    color: #1d4ed8;
}

.blog-conteudo strong {
    color: #1e2b4d;
}

.blog-conteudo hr {
    border: 0;
    border-top: 1px solid #e4e8ee;
    margin: 26px 0;
}

.blog-conteudo blockquote {
    margin: 18px 0;
    padding: 12px 18px;
    background: #f5f8fc;
    border-left: 4px solid #2b4a8b;
    border-radius: 0 8px 8px 0;
    color: #3a4553;
}

.blog-conteudo blockquote p {
    margin: 0;
}

/* callout "O que observar:" ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â realÃƒÆ’Ã‚Â§a o parÃƒÆ’Ã‚Â¡grafo que comeÃƒÆ’Ã‚Â§a com o negrito */
.blog-conteudo p > strong:first-child {
}

/* Imagens dentro do post */
.blog-conteudo img.blog-img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 20px auto;
    border: 1px solid #e4e8ee;
    border-radius: 10px;
    box-shadow: 0 1px 4px rgba(30,43,77,.08);
}

/* parÃƒÆ’Ã‚Â¡grafo que contÃƒÆ’Ã‚Â©m sÃƒÆ’Ã‚Â³ a imagem: sem margem dupla */
.blog-conteudo p:has(> img.blog-img:only-child) {
    margin: 0;
    text-align: center;
}

.blog-post-rodape {
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid #eef1f4;
}

/* BotÃƒÆ’Ã‚Âµes / estados */
.blog-botao {
    display: inline-block;
    padding: 10px 18px;
    background: #1e2b4d;
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
}

.blog-botao:hover {
    background: #2c3e6e;
}

.blog-vazio {
    padding: 48px 10px;
    text-align: center;
    color: #5a6472;
}

@media (max-width: 560px) {
    .blog-lista {
        grid-template-columns: 1fr;
    }
}
