
#all_news.container-full-news {
    display: flex;
    flex-flow: column;
}

#all_news .container-news {
    display: flex;
    flex-flow: column;
    margin-bottom: 40px;
}

#all_news .container-news .post {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 45px;
    margin-bottom: 60px;
}

#all_news .container-news .template-part-component-feed-item {
    max-width: 367px;
    color: #303234;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, .05);
    display: flex;
    flex: 1 1 calc(33.33% - 45px);
    flex-direction: row;
    padding: 8px;
    position: relative;
    transition: background .3s;
    text-align: center;
    box-sizing: border-box;
}

#all_news .container-news .template-part-component-feed-item.card {
    flex: none;
}

#all_news .container-news .template-part-component-feed-item.card .post-item-wrapper,
#all_news .container-news .template-part-component-feed-item.card .thumbnail-wrapper {
    height: 100% !important;
}

#all_news .container-news .template-part-component-feed-item .post-item-wrapper {
    display: flex;
    flex: 1;
    flex-direction: column;
}

#all_news .container-news .template-part-component-feed-item .post-item-wrapper .thumbnail-wrapper {
    height: 220px;
    width: 100%;
}

#all_news .container-news .template-part-component-feed-item .post-item-wrapper .thumbnail-wrapper img {
    border-radius: 12px;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    width: 100%;
}

#all_news .container-news .template-part-component-feed-item .post-item-wrapper .content-wrapper {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 25px;
    padding: 20px;
}

#all_news .container-news .template-part-component-feed-item .post-item-wrapper .content-wrapper .post-title {
    min-height: 84px;
    font-size: 1rem;
    font-weight: 700;
    line-height: 130%;
    margin-bottom: 5px;
    transition: color .2s;
}

#all_news .container-news .template-part-component-feed-item .post-item-wrapper .content-wrapper .post-title a.main_link {
    position: static;
}

/* Media query para dispositivos menores */
@media (max-width: 1024px) {
    #all_news .container-news .template-part-component-feed-item {
        flex: 1 1 calc(50% - 30px); /* Ajuste a largura para 50% em telas médias */
    }
}

@media (max-width: 768px) {
    #all_news .container-news .template-part-component-feed-item {
        flex: 1 1 calc(100% - 30px); /* Ajuste a largura para 100% em telas menores */
    }

    #all_news .container-news .post {
        gap: 30px; /* Ajuste o espaçamento entre os itens em telas menores */
    }
}

@media (max-width: 480px) {
    #all_news .container-news .template-part-component-feed-item {
        padding: 16px; /* Aumenta o padding para melhorar a usabilidade em telas muito pequenas */
    }

    #all_news .container-news .template-part-component-feed-item .post-item-wrapper .content-wrapper {
        padding: 10px; /* Ajusta o padding interno dos itens */
    }

    #all_news .container-news .template-part-component-feed-item .post-item-wrapper .thumbnail-wrapper {
        height: 180px; /* Ajusta a altura da imagem para telas muito pequenas */
    }
}

/*#all_news .container-news {*/
/*    display: flex;*/
/*    flex-flow: column;*/
/*    margin-bottom: 40px;*/
/*}*/

/*#all_news .container-news .post {*/
/*    display: flex;*/
/*    flex-wrap: wrap;*/
/*    justify-content: center;*/
/*    gap: 45px;*/
/*    margin-bottom: 60px;*/
/*}*/

/*#all_news .container-news .template-part-component-feed-item {*/
/*    max-width: 367px;*/
/*    color: #303234;*/
/*    background: #fff;*/
/*    border-radius: 20px;*/
/*    box-shadow: 0 20px 40px rgba(0, 0, 0, .05);*/
/*    display: flex;*/
/*    flex: 1 1 calc(33.33% - 45px);*/
/*    flex-direction: row;*/
/*    padding: 8px;*/
/*    position: relative;*/
/*    transition: background .3s;*/
/*    text-align: center;*/
/*    box-sizing: border-box;*/
/*}*/

/*#all_news .container-news .template-part-component-feed-item .post-item-wrapper {*/
/*    display: flex;*/
/*    flex: 1;*/
/*    flex-direction: column;*/
/*}*/

/*#all_news .container-news .template-part-component-feed-item .post-item-wrapper .thumbnail-wrapper {*/
/*    height: 220px;*/
/*    width: 100%;*/
/*}*/

/*#all_news .container-news .template-part-component-feed-item .post-item-wrapper .thumbnail-wrapper img {*/
/*    border-radius: 12px;*/
/*    height: 100%;*/
/*    -o-object-fit: cover;*/
/*    object-fit: cover;*/
/*    width: 100%;*/
/*}*/

/*#all_news .container-news .template-part-component-feed-item .post-item-wrapper .content-wrapper {*/
/*    display: flex;*/
/*    flex-direction: column;*/
/*    gap: 25px;*/
/*    padding: 20px;*/
/*}*/

/*#all_news .container-news .template-part-component-feed-item .post-item-wrapper .content-wrapper .post-title {*/
/*    min-height: 84px;*/
/*    font-size: 1rem;*/
/*    font-weight: 700;*/
/*    line-height: 130%;*/
/*    margin-bottom: 5px;*/
/*    transition: color .2s;*/
/*}*/

/*#all_news .container-news .template-part-component-feed-item .post-item-wrapper .content-wrapper .post-title a.main_link {*/
/*    position: static;*/
/*}*/

#all_news .content-wrapper .category-date {
    align-items: center;
    display: flex;
    gap: 8px;
}

#all_news .content-wrapper .category-date .icon {
    align-items: center;
    border-radius: 50%;
    display: flex;
    height: 50px;
    justify-content: center;
    transition: .2s;
    width: 50px;
}

#all_news .content-wrapper .category-date .icon svg {
    height: 22px;
    width: 18px;
}

#all_news .content-wrapper .category-date .icon svg path {
    fill: #fff;
    transition: .2s;
}

#all_news .content-wrapper .category-date .texts {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

#all_news .content-wrapper .category-date .texts .category-post {
    font-size: .875rem;
    font-weight: 700;
    line-height: 130%;
    text-transform: uppercase;
    text-align: left;
    transition: .2s;
}

#all_news .content-wrapper .category-date .texts .date {
    color: #828588;
    font-size: .75rem;
    font-weight: 400;
    line-height: 130%;
    transition: .2s;
    text-align: left;
}

/*#all_news .filtro-news {*/
/*    padding: 30px 0 60px 0;*/
/*    display: flex;*/
/*    justify-content: space-between;*/
/*    align-items: center;*/
/*}*/

/*#all_news .filtro-news .input-filtro {*/
/*    width: 320px;*/
/*    height: 56px;*/
/*    max-height: 56px;*/
/*    align-items: center;*/
/*    background: #ffffff;*/
/*    border-radius: 56px;*/
/*    box-shadow: 0 2px 5px rgba(0, 0, 0, .05);*/
/*    display: flex;*/
/*    gap: 16px;*/
/*    padding: 0 16px;*/
/*}*/

/*#all_news .filtro-news .input-filtro.border {*/
/*    border-width: 1px;*/
/*    border-style: solid;*/
/*}*/

/*#all_news .filtro-news .input-filtro .nice-select {*/
/*    border: solid 1px transparent;*/
/*    font-weight: 600;*/
/*}*/

/*#all_news .nice-select .option {*/
/*    color: #303234;*/
/*}*/

/*#all_news .filtro-news .input-filtro .nice-select.wide .list {*/
/*    margin-top: 10px;*/
/*}*/

/*#all_news .filtro-news .input-filtro .icon {*/
/*    align-items: center;*/
/*    display: flex;*/
/*    height: 24px;*/
/*    justify-content: center;*/
/*    width: 24px;*/
/*}*/

/*#all_news .filtro-news .input-filtro .input-search {*/
/*    background: transparent;*/
/*    !*color: #303234;*!*/
/*    flex-grow: 1;*/
/*    font-size: 1rem;*/
/*    font-weight: 500;*/
/*    line-height: 130%;*/
/*    overflow: hidden;*/
/*    text-overflow: ellipsis;*/

/*    border: none;*/
/*    outline: none;*/
/*    box-shadow: none;*/
/*}*/

/*#all_news .filtro-news .input-filtro .input-search:focus {*/
/*    border: none;*/
/*    outline: none;*/
/*    box-shadow: none;*/
/*}*/

#all_news .title-center .title-a {
    color: #828588;
}

#all_news .title-center .title-b {
    font-weight: 700;
}


/*-------------------*/

#all_news .filtro-news {
    width: 100%;
    padding: 30px 0 60px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Permite que os elementos se alinhem em múltiplas linhas em telas menores */
}

#all_news .filtro-news .input-filtro {
    width: 320px;
    height: 56px;
    max-height: 56px;
    align-items: center;
    background: #ffffff;
    border-radius: 56px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, .05);
    display: flex;
    gap: 16px;
    padding: 0 16px;
    margin: 10px 0; /* Adiciona espaçamento entre os elementos em telas menores */
}

#all_news .filtro-news .input-filtro.border {
    border-width: 1px;
    border-style: solid;
}

#all_news .filtro-news .input-filtro .nice-select {
    border: solid 1px transparent;
    font-weight: 600;
}

#all_news .nice-select .option {
    color: #303234;
}

#all_news .filtro-news .input-filtro .nice-select.wide .list {
    margin-top: 10px;
}

#all_news .filtro-news .input-filtro .icon {
    align-items: center;
    display: flex;
    height: 24px;
    justify-content: center;
    width: 24px;
}

#all_news .filtro-news .input-filtro .input-search {
    background: transparent;
    flex-grow: 1;
    font-size: 1rem;
    font-weight: 500;
    line-height: 130%;
    overflow: hidden;
    text-overflow: ellipsis;
    border: none;
    outline: none;
    box-shadow: none;
}

#all_news .filtro-news .input-filtro .input-search:focus {
    border: none;
    outline: none;
    box-shadow: none;
}

/* Media query para dispositivos menores */
@media (max-width: 767px) {
    #all_news .filtro-news {
        flex-direction: column; /* Alinha os elementos verticalmente em telas menores */
        padding: 15px 0 30px 0;
    }

    #all_news .filtro-news .input-filtro {
        width: 100%; /* Define a largura como 100% em telas menores */
    }

    #all_news .title-center {
        text-align: center;
        margin: 10px 0; /* Adiciona espaçamento vertical */
    }
}
