#section5 {
    background-color: var(--blue-kari);
    max-width: 100%;
    /*height: 815px;*/
    gap: 10px;
    padding-top: 40px;
    padding-right: 32px;
    padding-bottom: 40px;
    padding-left: 32px;
}

#section5 .container h1 {
    width: 100%;
    color: var(--gray-kari-10);
    font-family: Inter;
    font-weight: 700;
    font-size: 44px;
    line-height: 130%;
    letter-spacing: 0%;

}

#section5 .container .row {
    width: 100%;
    gap: 48px;
    margin-top: 20px;

}

/*
#section5 .container .row .cards{
    width: 100%;
    height: 463px;
    gap: 16px;
    text-align: center;
    display: flex;
    justify-content: center;     
    list-style-type: none;
}
*/
#section5 .container .row .nossomandato-swiper {
    width: 100%;
    height: 463px;
    gap: 16px;
    /*
    text-align: center;
    display: flex;
    justify-content: center;
    */
    list-style-type: none;
}

#section5 .container .row .nossomandato-swiper .item {
    width: 320px;
    height: 463px;
    gap: 16px;
    border-radius: 8px;
    border-width: 1px;
    margin-right: 5px;
    background-color: #fff;
}

#section5 .container .row .nossomandato-swiper .item a {
    text-decoration: none;

}

#section5 .container .row .nossomandato-swiper .item a .texto {
    display: flex;
    flex-direction: column;
    text-align: left;
    justify-content: space-between;
    padding: 8px;
    height: 220px;
    /* gap:24px; */
}

#section5 .container .row .nossomandato-swiper .item a .texto .descricao {
    font-size: 18px !important;
    font-style: normal;
    font-weight: 400 !important;
    line-height: 165% !important;
    color: var(--gray-kari-7); 
}

#section5 .container .row .nossomandato-swiper .item a .texto .rodape {
    display: flex;
    padding: 6px 0px 4px 0px;
    justify-content: center;
    align-items: center;
    gap: 4px;
    align-self: stretch;
    border-top: 1px solid var(--gray-kari-4);
}

#section5 .container .row .nossomandato-swiper .item a .texto .rodape .rodape-texto {
    font-size: 14px !important;
    font-style: normal;
    font-weight: 600 !important;
    line-height: 150% !important;
    color: var(--red-kari-main);
}

#section5 .container .row .nossomandato-swiper .item a .texto .titulo {
    font-size: 20px;
    font-weight: 700;
    font-style: normal;
    color: var(--red-kari-main);
    line-height: 130%;
    height: 50px;
    margin-bottom: 8px;
}

#section5 .container .row .nossomandato-swiper .item .box-imagem {
    border-radius: 8px 8px 0px 0px;
    object-fit: contain;
    width: 100%;
}

#section5 .container .row .nossomandato-swiper .item .box-imagem img {
    height: 205px;
    border-radius: 8px 8px 0 0;
    object-fit: cover;
}

#section5 .container .row .cards .texto {
    width: 100%;
    height: 208px;
    gap: 8px;
    padding-top: 4px;
    padding-right: 8px;
    padding-bottom: 4px;
    padding-left: 8px;
    text-align: left;
    margin-top: 10px;
}

#section5 .container .row .cards .texto p {
    font-family: Inter;
    font-weight: 400;
    font-size: 18px;
    line-height: 170%;
    letter-spacing: 0%;
    color: var(--gray-kari-7);

}

#section5 .container .row .cards .texto .rodape {
    font-family: Inter;
    font-weight: 600;
    font-size: 14px;
    line-height: 150%;
    letter-spacing: 0.5%;
    color: var(--red-kari-main);
    border-top: 1px dotted green;
    margin-top: 5px;
    text-align: center;
    padding-top: 15px;
}

#section5 .container .row .cards .titulo {
    font-family: Inter;
    font-weight: 700;
    font-size: 20px;
    line-height: 130%;
    letter-spacing: 0%;
    color: var(--red-kari-main);
}

#section5 .container .numeros {
    width: 100%;
    gap: 24px;
    text-align: center;
    display: flex;
    justify-content: center;
}

#section5 .container .numeros .protocolados {
    max-width: 364px;
    height: 109px;
    gap: 10px;
    float: left;
}

#section5 .container .numeros .bignumber {
    font-family: Inter;
    font-weight: 700;
    font-size: 56px;
    line-height: 130%;
    letter-spacing: 0%;
    text-align: center;
}

#section5 .container .numeros .descricao {
    font-family: Inter;
    font-weight: 700;
    font-size: 20px;
    line-height: 130%;
    letter-spacing: 0%;
    text-align: center;
}

#section5 .container .numeros .projetoslei {
    width: 364px;
    /*height: 143px;*/
    gap: 10px;
    /*float:left;*/
}

#section5 .container .numeros .projetoslei .vertodos {
    font-family: Inter;
    font-weight: 700;
    font-size: 16px;
    line-height: 130%;
    letter-spacing: 0%;
    text-align: center;
    color: #555;
}

@media (max-width: 600px) {
    #section5 {
        max-width: 100%;
        padding-top: 32px;
        padding-right: 16px;
        padding-bottom: 40px;
        padding-left: 16px;
        gap: 10px;
        display: flex;
    }

    #section5 .container .row .nossomandato-swiper .item .box-imagem img {
        height: 231px;
        border-radius: 8px 8px 0 0;
        object-fit: cover;
    }

    #section5 .container .row .nossomandato-swiper {
        display: block;
    }

    #section5 .container .row .cards {
        display: none;
    }

    #section5 .container .row .numeros {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    #section5 .container .numeros .protocolados {
        max-width: 100%;
        width: 545px;
    }

    #section5 .container .numeros .projetoslei {
        max-width: 100%;
        width: 545px;
        /* height: 143px;*/
        float: none;
        /* margin-bottom:70px;*/
        margin-left: 2px;
    }


    #section5 .container .row .nossomandato-swiper .item a .texto .descricao {
        -webkit-line-clamp: 4;
        height: 99px;
        text-overflow: ellipsis;
    }
}


.card-mandato {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.box-imagem img {
    width: 100%;
    height: auto;
    display: block;
}

.texto {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 10px;
}

.titulo {
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    /* número de linhas que quer mostrar */
    -webkit-box-orient: vertical;
}

.descricao {
    flex: 1;
    /* faz ocupar o espaço disponível */
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    /* número de linhas que quer mostrar */
    -webkit-box-orient: vertical;
}

.rodape {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    /* empurra para o final */
}

.rodape-texto {
    margin: 0;
}