.container-home-blog {
    display: flex;
    align-items: flex-end;
}

.first-section-blog-post {
    margin-top: 194px;
}

.container-principal-blog {
    width: 100%;
    margin-top: 30px;
    display: flex;
    align-items: flex-start;
}

.container-lateral-esquerda {
    min-width: 282px;
}

.container-menu-lateral {
    min-width: 282px;
}

.container-ajuda {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 16px;
    min-width: 282px;
}

.container-lateral-direita {
    min-width: 282px;
}

.container-conteudo {
    height: 100%;
}

.container-conteudo-baixo h1 {
    font-family: 'Cabinet Grotesk';
    font-size: 32px;
    font-weight: 700;
    line-height: 40px;
    text-align: left;
    margin-bottom: 10px;
    color: (20, 24, 27, 1)
}

.container-conteudo-baixo p {
    font-family: 'Inter';
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    text-align: left;
    color: rgba(87, 92, 96, 1);
}

.container-infos-post {
    display: flex;
    gap: 8px;
}

.tag-categoria {
    background-color: rgba(236, 122, 12, 0.08);
    color: rgba(236, 122, 12, 1);
    border-radius: 32px;
    font-family: 'Inter';
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
    text-align: center;
    padding: 8px 16px;
    display: inline-block;
    margin-bottom: 12px;
}

.cards-categorias {
    width: 100%;
}

.infos-post {
    display: flex;
    gap: 8px;
}

.data {
    border: 1px solid rgba(112, 117, 121, 1);
    border-radius: 100px;
    padding: 8px 16px;
    font-family: 'Inter';
    font-size: 14px;
    font-weight: 400;
    text-align: left;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: rgba(112, 117, 121, 1);
}

.tempo {
    border: 1px solid rgba(112, 117, 121, 1);
    border-radius: 100px;
    padding: 8px 16px;
    font-family: 'Inter';
    font-size: 14px;
    font-weight: 400;
    text-align: left;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: rgba(112, 117, 121, 1);
}

.titulo-principal-post {
    font-family: 'Cabinet Grotesk';
    font-size: 48px;
    font-weight: 700;
    line-height: 56px;
    text-align: left;
    margin-bottom: 12px;

}

.subtitulo-principal-post {
    font-family: 'Cabinet Grotesk';
    font-size: 32px;
    font-weight: 700;
    line-height: 40px;
    text-align: left;
    margin-bottom: 12px;
}

.paragrafo-principal-post {
    font-family: 'Inter';
    margin-bottom: 20px;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    text-align: left;
    color: rgba(87, 92, 96, 1);
}

.banner-principal-post {
    width: 100%;
    overflow: visible;
    margin: 55px 0;
}

.banner-post {
    width: 100%;
    margin-top: 1.5rem;
}

.banner-card-post {
    border-radius: 0px !important;
    height: auto !important;
    max-height: 542px !important;
}

.container-conteudo-post {
    margin-bottom: 64px;
}

.titulo-lateral {
    font-family: 'Cabinet Grotesk';
    font-size: 16px;
    font-weight: 700;
    line-height: 20px;
    text-align: left;
}

.links-lateral {
    display: flex;
    flex-direction: column;
    margin-bottom: 40px;
    margin-top: 12px;
    gap: 8px;

}

.links-lateral a {
    font-family: 'Inter';
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    text-align: left;
    color: rgba(87, 92, 96, 1);
    text-decoration: none;
    padding: 8px 0;
    border-bottom: 1px solid rgba(235, 241, 246, 1);
    width: 80%;
}

.card-ajuda {
    width: 80%;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid rgba(235, 241, 246, 1);
    border-radius: 8px;
}

.imagem-card-ajuda {
    width: 100%;
    border-radius: 8px 8px 0 0;
}

.container-interno-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px;
}

.container-interno-card a {
    width: 100%;
}

.titulo-card-ajuda {
    font-family: 'Cabinet Grotesk';
    font-size: 16px;
    font-weight: 700;
    line-height: 20px;
    text-align: center;
    margin-bottom: 8px;
}

.text-card-ajuda {
    font-family: 'Inter';
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
    text-align: center;
    color: rgba(110, 114, 121, 1);
    margin-bottom: 16px;
}

.button-card-ajuda {
    width: 100%;
    padding: 8px 0;
    border-radius: 48px;
    background-color: rgba(0, 94, 189, 1);
    color: #fff;
    border: none;
    font-family: 'Inter';
    font-size: 14px;
    font-weight: 700;
    line-height: 24px;
    text-align: center;
    letter-spacing: 0.5px;
}

.redes-sociais-lateral {
    margin-top: 12px;
    gap: 8px;
    display: flex;
}

.banner-home {
    position: relative;
    width: 100%;
    margin-top: 90px;
    z-index: -1;
}

.container-home-blog {
    display: flex;
    align-items: flex-end;
}

.home-elementos {
    position: relative;
    right: -208px;
    bottom: 32px;
}

.caixa-branca {
    width: 534px;
    background-color: #fff;
    border-radius: 16px;
    padding: 32px;
}

.first-section-blog {
    margin-top: -210px;
}

.titulo-caixa-branca {
    font-family: 'Inter';
    font-size: 32px;
    font-weight: 700;
    line-height: 40px;
    text-align: left;
    margin-bottom: 12px;
}

.subtexto-caixa-branca {
    font-family: 'Inter';
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
    text-align: left;
    margin-bottom: 40px;
    color: rgba(87, 92, 96, 1);
}

.infos-caixa-branca {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.container-infos-caixa-branca {
    display: flex;
    gap: 8px;
}

.data {
    border: 1px solid rgba(112, 117, 121, 1);
    border-radius: 100px;
    padding: 8px 16px;
    font-family: 'Inter';
    font-size: 14px;
    font-weight: 400;
    text-align: left;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: rgba(112, 117, 121, 1);
}

.tempo {
    border: 1px solid rgba(112, 117, 121, 1);
    border-radius: 100px;
    padding: 8px 16px;
    font-family: 'Inter';
    font-size: 14px;
    font-weight: 400;
    text-align: left;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: rgba(112, 117, 121, 1);
}

.arrow-link {
    width: 48px;
    height: 48px;
    border: 1px solid rgba(112, 117, 121, 1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container-noticias {
    margin-top: 72px;
    margin-bottom: 40px;
}

.principais-noticias-cards {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    row-gap: 20px;
}

.post-relacionados-cards {
    display: flex;
    justify-content: space-around !important;
}

.container-titulo-noticias {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;

}

.container-titulo-noticias h2 {
    font-family: 'Cabinet Grotesk';
    font-size: 24px;
    font-weight: 700;
    line-height: 32px;
    text-align: left;

}

.container-titulo-noticias input {
    height: 48px;
    border: none;
    border-radius: 4px;
}

.search-container {
    display: flex;
    align-items: center;
    background-color: #fff;
    border-radius: 4px;
    padding: 5px 16px;
}

#search-box {
    min-width: 304px !important;
    border: none;
    outline: none;
    width: 100%;
    background-color: transparent;
    font-family: 'Inter' !important;
    font-weight: 400 !important;
    text-align: left;
    color: rgba(164, 164, 164, 1) !important;
    font-size: 16px !important;
}

#search-box::placeholder {
    font-size: 16px !important;
    font-family: 'Inter' !important;
    font-weight: 400 !important;
}

#search-button {
    border: none;
    background-color: transparent;
    cursor: pointer;
}

.card-noticias {
    width: 384px;
    height: 538px;
    border-radius: 16px;
    background-color: #fff;
}

.banner-card {
    border-radius: 16px 16px 0px 0px;
    width: 100%;
    height: 200px;
}

.container-conteudo-card {
    padding: 24px;
}

.titulo-card {
    margin-bottom: 12px;
    font-family: 'Inter';
    font-size: 20px;
    font-weight: 700;
    line-height: 24px;
    min-height: 48px;
    text-align: left;
}

.subtexto-card {
    font-family: 'Inter';
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
    text-align: left;
    margin-bottom: 5px;
    min-height: 125px;
    color: rgba(87, 92, 96, 1);
}

.container-titulo-categorias h2 {
    font-family: 'Cabinet Grotesk';
    font-size: 24px;
    font-weight: 700;
    line-height: 32px;
    text-align: left;
    margin-bottom: 40px;
}

.container-categorias-cards {
    display: flex;
    padding-bottom: 40px;
}

.categorias .categoria.active {
    font-weight: bold;
    border-left: 4px solid #0A66F3;
    padding-left: 10px;
}

.categorias {
    display: flex;
    flex-direction: column;
    min-width: 384px;
    margin-right: 32px;
    gap: 24px;
    font-family: 'Inter';
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    text-align: left;
    text-decoration: none;
}

.categorias a {
    color: rgba(87, 92, 96, 1);
    text-decoration: none;
}

.categorias:first-child {
    margin-top: 8px;
}

.categorias-noticias-cards {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    row-gap: 20px;
}

.video-section {
    text-align: center;
    background-color: #fff;
    padding: 3%;
}

.video-title {
    margin-bottom: 20px;
    font-family: 'Cabinet Grotesk';
    font-size: 32px;
    font-weight: 700;
    line-height: 40px;
    text-align: center;
}

.container-posts {
    margin-top: 72px;
    margin-bottom: 70px;
}

.link-card {
    display: block;
    text-decoration: none;
    color: inherit;
}

@media only screen and (min-width: 2040px) {
    .categorias {
        min-width: 358px;
    }
}

@media only screen and (max-width: 1200px) {

    .principais-noticias-cards {
        flex-wrap: nowrap;
        display: flex;
        overflow-x: auto;
        overflow-y: hidden;
        gap: 20px;
        -webkit-overflow-scrolling: touch;
    }

    .first-section-blog-post {
        margin-top: 120px;
    }

    .card-noticias {
        flex: 0 0 auto;
        scroll-snap-align: start;
        scroll-snap-stop: always;
    }

    .container-lateral-direita {
        min-width: 5%;
    }

    .container-lateral-esquerda {
        min-width: 5%;
    }

    .principais-noticias-cards {
        margin-bottom: 100px;
    }
}


@media only screen and (min-width: 769px) and (max-width: 1024px) {


    .first-section-blog {
        margin-top: -80px;
    }

    .home-elementos {
        right: -150px;
    }

    .categorias {
        min-width: auto;
    }

    .categorias-noticias-cards {
        row-gap: 30px;
    }

    .container-ajuda {
        min-width: 220px;
    }

    .container-menu-lateral {
        min-width: 200px;
    }
}


@media only screen and (max-width: 768px) {

    .first-section-blog {
        margin-top: -60px;
    }

    .home-elementos {
        display: none;
    }

    .categorias-noticias-cards {
        row-gap: 30px;
    }

    .container-categorias-cards {
        flex-direction: column;
    }

    .categorias {
        flex-wrap: nowrap;
        flex-direction: row;
        display: flex;
        overflow-x: auto;
        overflow-y: hidden;
        gap: 30px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        margin-bottom: 30px;
    }

    .categorias::-webkit-scrollbar {
        display: none;
    }

    .categorias a {
        flex: 0 0 auto;
        scroll-snap-align: start;
        scroll-snap-stop: always;
    }

    .categorias-noticias-cards {
        justify-content: center;
    }

    .video-section {
        padding-bottom: 80px;
    }

    .titulo-lateral,
    .links-lateral,
    .redes-sociais-lateral,
    .card-ajuda {
        display: none;
    }

    .container-ajuda,
    .container-menu-lateral {
        min-width: 5%;
    }
}

@media only screen and (max-width: 509px) {
    .banner-home {
        width: 100%;
        height: 200px;
        object-fit: cover;
        object-position: center;
    }

    .banner-principal-post {
        width: 100%;
        height: 200px;
        object-fit: cover;
        object-position: center;
    }

    .first-section-blog {
        margin-top: -40px;
    }

    .container-titulo-noticias h2 {
        margin-bottom: 12px;
    }

    .container-titulo-noticias {
        display: block;
        padding-left: 12px;
        padding-right: 12px;
        margin-top: 40px;
    }

    .container-principal-blog {
        display: block;
    }

    .titulo-principal-post {
        font-size: 40px;
        font-weight: 600;
        line-height: 46px;
        text-align: left;
        margin-bottom: 12px;

    }

    .container-titulo-categorias,
    .categorias {
        padding-left: 12px;
        min-width: auto;
        margin-right: 0;
    }

    #search-box {
        min-width: 0px !important;
    }

    #search-box-content {
        justify-content: space-between;
        width: 100%;
    }

    .search-container {
        padding: 1px 16px;
    }

    .tg-icon-1 {
        position: absolute;
        top: -120px;
        width: 120px;
        left: 0%;
        border-radius: 1000px;
    }

    .card-noticias {
        width: 95%;
        height: auto;
    }

    .banner-card {
        height: auto;
    }

    .container-infos-post {
        flex-direction: column;
        gap: 8px;
        margin-bottom: 12px;
    }

    .container-lateral-direita,
    .container-lateral-esquerda,
    .container-menu-lateral,
    .container-ajuda {
        min-width: 3%;
    }

    .container-noticias {
        margin-top: 0;
    }

    .principais-noticias-cards {
        margin-bottom: 50px;
        gap: 8px;
    }

    .caixa-branca{
        padding: 20px;
    }

}


.box-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    margin-top: 20px;
    font-family: Arial, sans-serif;
}

.box-footer .pull-left {
    font-size: 14px;
    color: #6c757d;
}

.pagination {
    display: inline-block !important;
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.pagination li {
    float: left;
    margin: 0 2px;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}

.pagination li a {
    display: block;
    padding: 8px 16px;
    text-decoration: none;
    color: #6c757d;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}

.pagination li:hover a {
    background-color: #6c757d;
    color: white;
}