@font-face {
    font-family: 'Tipo Brasil Rounded';
    src: url('https://agenciagov.ebc.com.br/++plone++ebc.agenciagov.stylesheets/TipoBrasilRounded-600Medium.otf');
    font-weight: 600;
}

@font-face {
    font-family: 'Tipo Brasil Rounded';
    src: url('https://agenciagov.ebc.com.br/++plone++ebc.agenciagov.stylesheets/TipoBrasilRounded-700SemiBold.otf');
    font-weight: 700;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Tipo Brasil Rounded';
}

a {
    text-decoration: none;
    color:#0D448C;
}

a:hover {
    text-decoration: none;
}

.agencia-gov {
    background-color: white;
    margin: auto;
    margin-top: 24px;
    max-width: 1170px;
}

.logo-agencia-gov {
    width: 100%;
    display: flex;
    flex-direction: column;
    margin-bottom: 24px;
    text-align: center;
}

.logo-agencia-gov::after {
    content: "";
    background-color: #ffffff;
    width: 100%;
    height: 0px;
    margin-top: 16px
}

.logo-agencia-gov img {
    margin: auto;
}

/* noticia em destaque */

.noticia-em-destaque {
    width: 100%;
}

.noticia-destaque {
    width: 100%;
    display: flex;
}

.noticia-destaque a {
    flex-shrink: 0;
    width: 65%;
    height: 100%;
    position: relative
}

.img-noticia-destaque {
    border-radius: 10px;
    object-fit: cover;
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 9;
}

.img-noticia-destaque:hover {
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
}

.texto-noticia-destaque {
    margin: 0 0 0 24px;
}

.tema {
    background-color: #077835;
    color: white;
    width: fit-content;
    max-width: 90%;
    padding: 4px 8px;
    border-radius: 50px;
    text-transform: uppercase;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px;
    text-align: center;
}

h1.titulo-noticia-destaque {
    margin-top: 8px;
    color: #0D448C;
    font-size: clamp(16px, 24px + 1vh, 32px);
    width: 100%;
    line-height: 40px;
    font-weight: 700;
}

h1.titulo-noticia-destaque:hover {
    color: #E18F02;
}

p.resumo-noticia-destaque {
    font-size: clamp(12px, 15px + 1vh, 21px);
    font-weight: 600;
    margin-top: 8px;
    color: #8c8c8c;
}

/* noticias em destaque */

.noticias-recentes-bg {
    width: 100%;
    max-width: 1170px;
    margin: auto;
    height: auto;
    background-color: white;
}

ul.noticias-recentes {
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin: 0;
    flex-shrink: 0;
    background-color: white;
    flex-wrap: wrap;
}

.noticia {
    display: flex;
    flex-direction: column;
    max-width: 31%;
    min-height: 300px;
    border-radius: 4px;
    background-color: white;
    border-radius: 10px;
    margin: 16px 0 8px 0;
    padding-bottom: 16px;
    flex-shrink: 0;
    border: 1px solid #B9BABE;
}

.noticia:hover {
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
}

.noticia:hover .titulo-noticia {
    color: #E18F02;
}

.imagem-16-9 {
    max-width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
}

.noticia-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
    z-index: 2;
    filter: saturate(95%) brightness(90%);
}

.noticia:hover .noticia-img{
    filter: saturate(100%) brightness(100%) !important;
    -webkit-transition: all 150ms ease-in;
    -moz-transition: all 150ms ease-in;
    -o-transition: all 150ms ease-in;
    transition: all 150ms ease-in;
}

.tema-noticia {
    position: relative;
    margin-top: -12px;
    margin-left: auto;
    margin-right: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.bg-titulo-noticia {
    margin: auto auto;
}

.titulo-noticia {
    width: 85%;
    font-size: 16px;
    padding-top: 8px;
    color: #0D448C;
    line-height: 20px;
    font-weight: 700;
}

.noticia-destaque a:first-child {
    position: relative;
}

.credito-foto {
    display: flex;
    align-items: center;
    justify-content: right;
    position: absolute;
    color: white;
    z-index: 5;
    text-transform: none;
    width: fit-content !important;
    height: 15px !important;
    bottom: 10px !important;
    right: 5px;
    font-weight: 600;
    font-size: 9px;
    letter-spacing: 0px;
    padding: 2px 6px;
    background: rgba(50, 50, 50, 0.6) !important;
    border-radius: 50px;
}

@media only screen and (max-width: 1080px)  {

    .noticia-destaque {
        width: 100%;
        display: flex;
        flex-direction: column;
    }

    .noticia-destaque a {
        width: 100%;
        margin-bottom: 16px;
    }

    .img-noticia-destaque {
        width: 100%;
        border-radius: 0px;
    }

    .texto-noticia-destaque {
        margin-left: 32px;
        margin-right: 32px;
        margin-bottom: 32px;
    }

    h1.titulo-noticia-destaque {
        width: 100%;
    }

    .noticias-recentes-bg {
        width: 100%;
        height: auto;
        padding-bottom: 0;
    }


    ul.noticias-recentes {
        width: 100%;
        margin: 0;
        justify-content: center;
    }

    .noticia {
        width: 27.5rem;
        border-radius: 10px;
        margin: 8px 4px;
        padding-bottom: 0;
    }

    .imagem-16-9 {
        max-width: 100%;
        height: auto;
    }

    .noticia-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 8px 8px 0 0;
        z-index: 2;
        filter: saturate(100%) brightness(100%);
    }

}

@media only screen and (max-width: 780px) {

    .noticia-em-destaque {
        padding: 0;
        margin-bottom: 0;
    }

    h1.titulo-noticia-destaque {
        margin-top: 8px;
        color: #0D448C;
        font-size: 24px;
        width: 100%;
        line-height: 32px;
    }

    p.resumo-noticia-destaque {
        font-size: 16px;
    }

    .texto-noticia-destaque {
        margin: 0 0 0 0;
    }

    ul.noticias-recentes {
        width: 100%;
        flex-direction: column;
        flex-wrap: wrap;
        align-items: center;
        padding-bottom: 8px;
    }

    .noticias-recentes-bg {
        padding-bottom: 0;
    }

    .noticia {
        margin: 16px 0;
        width: 100%;
        max-width: 100%;
        max-width: 100%;
        min-height: 106px;
    }

    .noticias-recentes-bg  .noticias-recentes {
        position: relative;
    }

    .noticias-recentes-bg  .noticias-recentes li::before{
        content: "";
        position: absolute;
        left: 0;
        width: 100%;
        height: 1px;
        background-color: #B9BABE;
        transform: translateY(-50%);
    }

    .noticias-recentes-bg  .noticia {
        margin: 0;
        width: 100%;
        border: none;
        margin-top: 16px;
        margin-bottom: 0;

    }

    .noticias-recentes-bg  .noticia a {
        display: flex;
        margin-top: 16px;
    }

    .noticia:hover, .img-noticia-destaque:hover, .banner-central:hover {
        box-shadow: none !important;
    }

    .noticias-recentes-bg  .noticia a img {
        width: 100%;
        height: 100%;
        flex-shrink: 0;
        border-radius: 5px;
    }

    .noticias-recentes-bg .caixa-texto-noticia {
        flex-shrink: 0;
        width: 60%;
        height: 104px;
        margin-left: 8px;
        display: flex;
        flex-direction: column;

    }

    .noticias-recentes-bg .caixa-texto-noticia p {
        font-size: 16px;
        width: 95%;
        margin-top: -4px;
        letter-spacing: 1px;
        line-height: 24px;
    }

    .noticias-recentes-bg .noticia a .tema {
        margin: 0;
        font-size: 10px;
        padding: 1px 8px;
    }

    .noticias-recentes .noticia .imagem-16-9 {
        max-width: 100%;
        height: auto;
    }

    .noticia-img, img.capa-video-small {
        filter: saturate(100%) brightness(100%);
    }

}

@media only screen and (max-width: 480px) {
    .noticias-recentes-bg .caixa-texto-noticia p {
        font-size: clamp(12px, 14px, 16px);
        line-height: clamp(14px, 16px, 18px);
    }

}
