body{
    background: #d9e6ec;
}

@media only screen and (min-width: 541px), only screen and (min-device-width: 541px) {
    header{
        background-image: url("../imagens/bg-topo-publicacoes-desktop.png");
    }
}
@media only screen and (max-width: 540px), only screen and (max-device-width: 540px) {
    header{
        background-image: url("../imagens/bg-topo-publicacoes-mobile.png");
    }
}
@media only screen and (min-width: 1281px), only screen and (min-device-width: 1281px){
    header .logo{
        margin: 12% 0 0 12%;
    }
    header .logo img{
        max-width: 300px;
    }
}
@media only screen and (max-width: 1280px), only screen and (max-device-width: 1280px){
    header .logo{
        margin: 12% 0 0 15%;
    }
    header .logo img{
        max-width: 300px;
    }
}
@media only screen and (max-width: 1024px), only screen and (max-device-width: 1024px){
    header .logo{
        margin: 3% 0 0 50%;
        transform: translateX(-50%);
        text-align: center;
    }
    header .logo img{
        max-width: 150px;
    }
}

header .titulo{
    display: block;
    font-family: Degular, Arial, Helvetica, sans-serif;
    font-weight: 900;
    color: var(--verde);
}
@media only screen and (min-width: 1281px), only screen and (min-device-width: 1281px) {
    header .titulo{
        margin-top: 0.4em;
        font-size: 3.5em;
    }
}
@media only screen and (max-width: 1280px), only screen and (max-device-width: 1280px) {
    header .titulo{
        margin-top: 0.1em;
        font-size: 3em;
    }
}
@media only screen and (max-width: 1024px), only screen and (max-device-width: 1024px) {
    header .titulo{
        margin-top: 0;
        font-size: 1.5em;
        color: white;
    }
}

main{

}

.box{
    position: relative;
    width: 100%;
    background: #fff;
    border-radius: 30px;
    z-index: 500;
}
.box b{
    color: var(--azul);
}
@media only screen and (min-width: 541px), only screen and (min-device-width: 541px) {
    .box{
        margin: -100px auto 0 auto;
    }
}
@media only screen and (max-width: 540px), only screen and (max-device-width: 540px) {
    .box{
        margin: -50px auto 0 auto;
    }
}
.publicacoes{
    display: grid;
    gap: 2em;
}
@media only screen and (min-width: 801px), only screen and (min-device-width: 801px) {
    .publicacoes{
        grid-template-columns: repeat(3, 1fr);
        padding: 3em;
    }
}
@media only screen and (max-width: 800px), only screen and (max-device-width: 800px) {
    .publicacoes{
        grid-template-columns: repeat(2, 1fr);
        padding: 1em;
    }
}
.publicacao{
    max-width: 346px;
    background: #fff;
    border-radius: 30px;
    box-shadow: 0px 0px 15px 3px #8fb8bf;
}
.publicacao a{
    display: block;
}
.publicacao a:hover{
    text-decoration: none;
}
.publicacao .bg{
    position: relative;
}
.publicacao .bg img{
    display: block;
    width: 100%;
    aspect-ratio: 346px/326px;
    border-radius: 30px;
}
.publicacao.nota .bg .periodo{
    position: absolute;
    left: 11%;
    font-family: Degular, Arial, Helvetica, sans-serif;
    font-weight: 500;
    color: var(--verde);
}
.publicacao.relatorio .bg .periodo{
    position: absolute;
    width: 45%;
    right: 5.5%;
    font-family: Degular, Arial, Helvetica, sans-serif;
    font-weight: 500;
    color: #fff;
    text-align: center;
}
@media only screen and (min-width: 801px), only screen and (min-device-width: 801px) {
    .publicacao.nota .bg .periodo{
        top: 61.8%;
        font-size: 15px;
        line-height: 16px;
    }
    .publicacao.relatorio .bg .periodo{
        top: 43%;
        font-size: 15px;
        line-height: 16px;
    }
}
@media only screen and (max-width: 800px), only screen and (max-device-width: 800px) {
    .publicacao.nota .bg .periodo{
        top: 62%;
        font-size: 14px;
        line-height: 1em;
    }
    .publicacao.relatorio .bg .periodo{
        top: 42.5%;
        font-size: 14px;
        line-height: 1em;
    }
}
@media only screen and (max-width: 540px), only screen and (max-device-width: 540px) {
    .publicacao.nota .bg .periodo{
        top: 60%;
        font-size: 12px;
        line-height: 1em;
    }
    .publicacao.relatorio .bg .periodo{
        top: 42%;
        font-size: 9px;
        line-height: 1em;
    }
}
.publicacao .titulo{
    padding: 0 1em 0 1em;
    margin: 1em 0 0 0;
}
.publicacao .titulo span{
    font-family: Degular, Arial, Helvetica, sans-serif;
    font-weight: 900;
    color: var(--verde);
}
@media only screen and (min-width: 801px), only screen and (min-device-width: 801px) {
    .publicacao .titulo span{
        font-size: 1.2em;
    }
}
@media only screen and (max-width: 800px), only screen and (max-device-width: 800px) {
    .publicacao .titulo span{
        font-size: 0.8em;
    }
}
.publicacao .ler_mais{
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-end;
}
.publicacao .ler_mais .texto{
    font-family: Degular, Arial, Helvetica, sans-serif;
    font-size: 1em;
    font-weight: 500;
    color: var(--verde);
}
.publicacao .ler_mais .icone{

}
.publicacao .ler_mais .icone img{
    display: block;
}
.publicacao a:hover .ler_mais .icone img{
    filter: brightness(95%);
}
@media only screen and (min-width: 801px), only screen and (min-device-width: 801px) {
    .publicacao .ler_mais{
        gap: 1em;
        margin: 2em 1em 1em 0;
    }
    .publicacao .ler_mais .icone img{
        width: 32px;
        height: 32px;
    }
}
@media only screen and (max-width: 800px), only screen and (max-device-width: 800px) {
    .publicacao .ler_mais{
        font-size: 0.8em;
        gap: 0.5em;
        margin: 1em 1em 1em 0;
    }
    .publicacao .ler_mais .icone img{
        width: 16px;
        height: 16px;
    }
}
.final{
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 1em;
    padding: 0 0 3em 0;
}
@media only screen and (max-width: 540px), only screen and (max-device-width: 540px){
    .final{
        padding: 3em 0 3em 0;
    }
}
.final .a1,
.final .a2{
    flex: 0 0 90px;
    background: url("../imagens/bg-notas.png") no-repeat;
    height: 30px;
}
.final .a1{
    background-position: -98px center;
}
.final .a2{
    background-position: calc(100% + 70px) center;
}
.final .meio{
    flex: 1;
    text-align: center;
}
.final .paginacao{
    display: inline-block;
    padding: 0 0.5em 0 0.5em;
    text-align: center;
    background: #89a9b6;
}
.final .paginacao a{
    display: inline-block;
    padding: 0.5em;
    font-family: Degular, Arial, Helvetica, sans-serif;
    font-size: 1em;
    font-weight: bold;
    color: white;
    text-decoration: none;
}
.final .paginacao a:hover,
.final .paginacao a.ativo{
    color: var(--verde);
}
@media only screen and (min-width: 541px), only screen and (min-device-width: 541px) {
    .final .paginacao{
        border-radius: 50px;
    }
    .final .paginacao a{
        padding: 0.5em;
        font-size: 1em;
    }
}
@media only screen and (max-width: 540px), only screen and (max-device-width: 540px) {
    .final .paginacao{
        border-radius: 20px;
    }
    .final .paginacao a{
        padding: 0.5em;
        font-size: 0.8em;
    }
}