/* Estilo automático para a página: noticias */
section.filter {
    margin-bottom: 40px;

    .tabs {
        padding: 40px 0;
        width: 100%;
        border-bottom: 1px solid #E3E3E3;
        gap: 50px;

        .filter-btn {
            padding: 12px 20px;
            display: inline-flex;
            text-wrap-mode: nowrap;
            gap: 8px;
            border: 1px solid #E3E3E3;
            border-radius: 10px;
            box-shadow: 5px 5px 8px 0 #2C2C2C26;
            color: #5A5A5A;
            background-color: #FFFFFF;
            font-weight: 500;
            font-size: 18px;

            svg {
                color: #E54344;

                path {
                    stroke: #E54344;
                }
            }

            &.active {
                background-color: #E54344;
                color: #FFFFFF;

                svg {
                    color: #fff;

                    path {
                        stroke: #fff;
                    }
                }
            }
        }
    }
}

section.noticias {

    .texto {
        display: flex;
        flex-direction: column;
        gap: 30px;
        width: fit-content;

        h2 {
            margin: 0;
            padding-left: 15px;
            border-left: 5px solid #E54344;
            font-size: 32px;
            color: #5A5A5A;
            font-weight: 400;

            span {
                font-weight: 600;
            }
        }
    }

    article {
        box-shadow: 0px 5px 8px 0 #3246573B;
        border-radius: 10px;
    }

    .card-blog {
        flex: 1 1 calc(33% - 32px);
        border: none;

        .body {
            padding: 18px 18px 30px 18px;

            .info {
                width: 100%;
                display: flex;
                justify-content: space-between;
                align-items: center;
                flex-direction: row;
                flex-wrap: nowrap;
                color: #5A5A5A;
                font-weight: 600;
                font-size: 16px;

                p {
                    font-weight: 600;
                    margin: 0;
                }

                .post-cat {
                    padding: 8px 16px;
                    max-width: 195px;
                    border-radius: 5px;
                    background-color: #E6E6E6;
                }

                .date-cat {
                    display: flex;
                    align-items: center;
                    gap: 8px;
                }
            }

            h3 {
                font-weight: 600;
                font-size: 20px;
                line-height: 160%;
                color: #62737B;
            }

            p {
                font-weight: 400;
                font-size: 16px;
                line-height: 160%;
                color: #62737B;
                margin: 0;
            }

            span {
                font-weight: 600;
                font-size: 18px;
                font-family: 'Poppins';
                line-height: 160%;
                color: #E54344;
            }
        }
    }

    .card-gal {
        flex: 1 1 calc(50% - 32px);

        .body {
            display: flex;
            justify-content: space-between;
            margin-top: 16px;

            a {
                color: #E54344;
                font-weight: 600;
                font-size: 18px;
                line-height: 160%;
            }

            p {
                color: #62737B;
                font-size: 18px;
                line-height: 160%;
                font-weight: 500;
            }
        }
    }
}