/* ==========================================================
   NOTÍCIAS
========================================================== */

.pagina-noticias {
    padding: 70px 0 90px;

    background: #f8f9fa;

    min-height: 70vh;
}


/* ==========================================================
   CABEÇALHO
========================================================== */

.pagina-noticias .pagina-cabecalho {
    max-width: 760px;

    margin: 0 auto 50px;
}


/* ==========================================================
   DESTAQUE
========================================================== */

.noticia-destaque {
    display: grid;

    grid-template-columns: 1.2fr 1fr;

    margin-bottom: 50px;

    overflow: hidden;

    background: #fff;

    border-radius: 14px;

    box-shadow:
        0 5px 25px rgba(0,0,0,.06);
}


.noticia-destaque-imagem {
    display: block;

    min-height: 380px;

    overflow: hidden;
}


.noticia-destaque-imagem img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform .35s ease;
}


.noticia-destaque:hover
.noticia-destaque-imagem img {
    transform: scale(1.04);
}


.noticia-destaque-conteudo {
    padding: 45px;

    display: flex;

    flex-direction: column;

    justify-content: center;
}


.noticia-badge {
    display: inline-block;

    align-self: flex-start;

    margin-bottom: 15px;

    padding: 5px 10px;

    border-radius: 4px;

    background: #0d6efd;

    color: #fff;

    font-size: 11px;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: .5px;
}


.noticia-data {
    margin-bottom: 10px;

    color: #6c757d;

    font-size: 13px;
}


.noticia-destaque h2 {
    margin: 0 0 15px;

    font-size: 30px;

    line-height: 1.25;
}


.noticia-destaque h2 a,
.noticia-card h2 a {
    color: #212529;

    text-decoration: none;
}


.noticia-destaque h2 a:hover,
.noticia-card h2 a:hover {
    color: #0d6efd;
}


.noticia-destaque p {
    margin-bottom: 25px;

    color: #6c757d;

    line-height: 1.7;
}


/* ==========================================================
   LISTA
========================================================== */

.noticias-lista {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 25px;
}


.noticia-card {
    overflow: hidden;

    background: #fff;

    border: 1px solid #e9ecef;

    border-radius: 12px;

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}


.noticia-card:hover {
    transform: translateY(-4px);

    box-shadow:
        0 10px 25px rgba(0,0,0,.08);
}


.noticia-card-imagem {
    display: block;

    aspect-ratio: 16 / 10;

    overflow: hidden;

    background: #f1f3f5;
}


.noticia-card-imagem img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform .3s ease;
}


.noticia-card:hover
.noticia-card-imagem img {
    transform: scale(1.05);
}


.noticia-card-conteudo {
    padding: 22px;
}


.noticia-card h2 {
    margin: 0 0 12px;

    font-size: 20px;

    line-height: 1.35;
}


.noticia-card p {
    margin: 0 0 18px;

    color: #6c757d;

    font-size: 14px;

    line-height: 1.6;
}


.noticia-ler {
    display: inline-flex;

    align-items: center;

    gap: 7px;

    color: #0d6efd;

    font-size: 14px;

    font-weight: 600;

    text-decoration: none;
}


/* ==========================================================
   SEM IMAGEM
========================================================== */

.noticia-sem-imagem {
    width: 100%;
    height: 100%;

    min-height: 200px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: #f1f3f5;

    color: #adb5bd;

    font-size: 55px;
}


/* ==========================================================
   NOTÍCIA INDIVIDUAL
========================================================== */

.noticia-publica {
    padding: 60px 0 90px;

    background: #fff;
}


.noticia-publica-header {
    max-width: 950px;

    margin: 0 auto 35px;
}


.noticia-voltar {
    display: inline-flex;

    align-items: center;

    gap: 7px;

    margin-bottom: 30px;

    color: #6c757d;

    font-size: 14px;

    text-decoration: none;
}


.noticia-voltar:hover {
    color: #0d6efd;
}


.noticia-publica-header h1 {
    margin: 0 0 20px;

    font-size: clamp(
        34px,
        5vw,
        52px
    );

    line-height: 1.15;

    font-weight: 800;
}


.noticia-publica-meta {
    display: flex;

    gap: 20px;

    flex-wrap: wrap;

    color: #6c757d;

    font-size: 13px;
}


.noticia-publica-meta span {
    display: inline-flex;

    align-items: center;

    gap: 6px;
}


/* ==========================================================
   IMAGEM PRINCIPAL
========================================================== */

.noticia-publica-imagem {
    max-width: 1200px;

    margin: 0 auto 45px;
}


.noticia-publica-imagem img {
    width: 100%;

    max-height: 650px;

    display: block;

    object-fit: cover;

    border-radius: 12px;
}


.noticia-publica-imagem figcaption {
    margin-top: 8px;

    color: #6c757d;

    font-size: 12px;
}


/* ==========================================================
   CONTEÚDO
========================================================== */

.noticia-publica-layout {
    max-width: 950px;

    margin: 0 auto;
}


.noticia-publica-conteudo {
    max-width: 820px;
}


.noticia-resumo {
    margin-bottom: 30px;

    padding-left: 20px;

    border-left: 4px solid #0d6efd;

    color: #495057;

    font-size: 18px;

    line-height: 1.7;

    font-weight: 500;
}


.noticia-texto {
    color: #343a40;

    font-size: 17px;

    line-height: 1.85;
}


.noticia-texto img {
    max-width: 100%;

    height: auto;
}


.noticia-texto p {
    margin-bottom: 1.4em;
}


.noticia-texto h2,
.noticia-texto h3 {
    margin-top: 35px;
    margin-bottom: 15px;
}


/* ==========================================================
   COMPARTILHAMENTO
========================================================== */

.noticia-compartilhar {
    display: flex;

    align-items: center;

    gap: 10px;

    margin-top: 45px;

    padding-top: 25px;

    border-top: 1px solid #eee;
}


.noticia-compartilhar strong {
    margin-right: 5px;

    font-size: 14px;
}


.noticia-compartilhar a {
    width: 38px;
    height: 38px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #f1f3f5;

    color: #495057;

    text-decoration: none;
}


.noticia-compartilhar a:hover {
    background: #0d6efd;

    color: #fff;
}


/* ==========================================================
   VAZIO
========================================================== */

.noticias-vazio {
    padding: 80px 20px;

    text-align: center;

    color: #6c757d;
}


.noticias-vazio i {
    display: block;

    margin-bottom: 20px;

    font-size: 60px;

    color: #adb5bd;
}


/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 991.98px) {

    .noticia-destaque {
        grid-template-columns: 1fr;
    }


    .noticia-destaque-imagem {
        min-height: 280px;
    }


    .noticias-lista {
        grid-template-columns:
            repeat(2, 1fr);
    }

}


@media (max-width: 767.98px) {

    .pagina-noticias {
        padding: 45px 0 60px;
    }


    .noticia-destaque-conteudo {
        padding: 28px;
    }


    .noticia-destaque h2 {
        font-size: 24px;
    }


    .noticias-lista {
        grid-template-columns: 1fr;
    }


    .noticia-publica {
        padding: 40px 0 60px;
    }


    .noticia-publica-header h1 {
        font-size: 34px;
    }


    .noticia-texto {
        font-size: 16px;
    }

}