  .tabnews_type8 {
    padding: 60px 0;
}

    .tabnews_type8 h3 {
        color: var(--color-primary);
        font-size: 2.2rem;
        margin-bottom: 0;
    }

    .tabnews_type8 .tabnews_main .tab-pane .date {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width:80px;
    }

        .tabnews_type8 .tabnews_main .tab-pane .date .day {
            font-weight: 700;
            font-size: 2.8rem;
            line-height: 1;
            color: var(--color-primary);
            font-family: Roboto, sans-serif;
        }

        .tabnews_type8 .tabnews_main .tab-pane .date .month {
            font-weight: 500;
            color: #5E5E5E;
            font-family: Roboto, sans-serif;
        }

    .tabnews_type8 .tabnews_main .tab-pane .cardBg {
        background-size: cover;
        background-repeat: no-repeat;
        box-shadow: 0px 25px 20px -18px rgba(0, 0, 0, 0.47);
        border-radius: 10px;
        border: 0;
        width: 100%;
        height: 100%;
        background-position: center center;
    }

        .tabnews_type8 .tabnews_main .tab-pane .cardBg a {
            border-radius: 10px;
            height: 100%;
            display: block;
            position: relative;
        }

            .tabnews_type8 .tabnews_main .tab-pane .cardBg a::before {
                content: "";
                background: linear-gradient(0deg, black 0%, rgba(255, 255, 255, 0) 90%, rgba(255, 255, 255, 0) 100%);
                width: 100%;
                height: 100%;
                display: block;
                border-radius: 10px;
                position: absolute;
                left: 0;
                top: 0;
                z-index: 1;
            }

        .tabnews_type8 .tabnews_main .tab-pane .cardBg .card-body {
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            align-items: flex-start;
            padding: 3.5rem 1.5rem 1.5rem;
        }

            .tabnews_type8 .tabnews_main .tab-pane .cardBg .card-body .text-muted {
                color: var(--color-white) !important;
            }

            .tabnews_type8 .tabnews_main .tab-pane .cardBg .card-body h4 {
                font-size: 1.1rem;
                color: var(--color-white);
                margin-top: 1rem;
                margin-bottom: 1.8rem;
                line-height: 1.3;
                z-index: 2;
            }

            .tabnews_type8 .tabnews_main .tab-pane .cardBg .card-body p {
                color: var(--color-white);
                margin-bottom: 0.5rem;
                line-height: 1.5;
                z-index: 2;
            }

    .tabnews_type8 .tabnews_main .tab-pane ul li {
        margin-bottom: 1.3rem;
    }

    .tabnews_type8 .tabnews_main .tab-pane a {
        text-decoration: none;
        width: 100%;
        color: #7e7e7e;
    }

        .tabnews_type8 .tabnews_main .tab-pane a:hover h4 {
            color: var(--color-primary);
        }

    .tabnews_type8 .tabnews_main .tab-pane h4 {
        color: var(--color-grey);
        font-weight: 600;
        text-align: justify;
        font-size: 1.4rem;
        line-height: 1.5;
        margin-top: 0.2rem;
        margin-bottom: 0.5rem;
    }

    .tabnews_type8 .tabnews_main .tab-pane p {
        letter-spacing: 0.05rem;
        font-size: 1rem;
        margin-bottom: 0;
        color: var(--color-grey);
    }

    /*.tabnews_type8 .tabnews_main .tab-pane .line1-ellipsis {
        overflow: hidden;
        text-overflow: ellipsis;
        -webkit-box-orient: vertical;
        
        white-space: nowrap;
    }*/

    .tabnews_type8 .tabnews_main .tab-pane .badge {
        border-radius: 6px;
        padding: 0.3rem 1rem 0.4rem;
        font-weight: 400;
        font-size: 1rem;
        letter-spacing: 1px;
        margin-left: 1rem;
        margin-right: 1rem;
    }

    .tabnews_type8 .tabnews_main .tab-pane .text-muted {
        font-size: 0.8rem;
        z-index: 2;
        font-family: Roboto,sans-serif;
    }

    .tabnews_type8 .tabnews_main .read_more {
        font-weight: 500;
        letter-spacing: 1px;
        text-decoration: none;
        transition: 0.5s;
        padding: 0.35rem 1.5rem;
        display: flex;
        justify-content: center;
        flex-direction: row;
        font-size: 1.25rem;
        line-height: 24px;
    }

        .tabnews_type8 .tabnews_main .read_more i {
            padding-left: 10px;
        }

        .tabnews_type8 .tabnews_main .read_more:hover {
            /* background-color: var(--color-primary); */
            /* color: #fff; */
        }

    .tabnews_type8 .tabnews_main .nav-tabs {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        gap: 3.2em;
        flex-wrap: nowrap;
        border-bottom: 0;
    }

        .tabnews_type8 .tabnews_main .nav-tabs .nav-item .nav-link {
            font-size: 1.2rem;
            color: #1F1F1F;
            position: relative;
            padding: 0 0 0.6rem;
            border: 0;
        }

            .tabnews_type8 .tabnews_main .nav-tabs .nav-item .nav-link:hover, .tabnews_type8 .tabnews_main .nav-tabs .nav-item .nav-link:focus, .tabnews_type8 .tabnews_main .nav-tabs .nav-item .nav-link.active {
                background-color: transparent;
                border-color: transparent;
            }

                .tabnews_type8 .tabnews_main .nav-tabs .nav-item .nav-link:hover::before, .tabnews_type8 .tabnews_main .nav-tabs .nav-item .nav-link:focus::before, .tabnews_type8 .tabnews_main .nav-tabs .nav-item .nav-link.active::before {
                    content: "";
                    display: block;
                    width: 100%;
                    height: 4px;
                    position: absolute;
                    left: 0;
                    bottom: -2px;
                    background-color: var(--color-primary);
                }

            .tabnews_type8 .tabnews_main .nav-tabs .nav-item .nav-link.active {
                font-weight: 700;
                color: var(--color-primary);
            }

    .tabnews_type8 .tabnews_main .tab-pane .read_more_box a {
        display: inline-block;
        width: initial;
    }


@media (max-width: 1024px) {
    .tabnews_type8 h3 {
        font-size: 2rem;
    }

    .tabnews_type8 .tabnews_main .nav-tabs {
        gap: 1em;
        justify-content: space-around;
    }

    .tabnews_type8 .tabnews_main .tab-pane p {
        -webkit-line-clamp: 4;
    }

    .tabnews_type8 .tabnews_main .tab-pane .card {
        height: 100%;
    }

        .tabnews_type8 .tabnews_main .tab-pane .card a .card-body h4 {
            -webkit-line-clamp: 3;
        }
}

@media (max-width: 768px) {
    .tabnews_type8 .tabnews_main .nav-tabs {
        gap: 1em;
        justify-content: space-around;
        flex-wrap: nowrap;
        align-items: flex-end;
    }

    .tabnews_type8 .tabnews_main .col-10 {
        width: 100%;
    }

    .tabnews_type8 h3 {
        margin-bottom: 1rem;
    }

    .tabnews_type8 .row-nav {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .tabnews_type8 .tabnews_main .nav-tabs {
        gap: 0.5rem 2rem;
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .tabnews_type8 .tabnews_main .tab-pane .badge {
        display: none;
    }

    .tabnews_type8 .tabnews_main .tab-pane a {
        padding-left: 1rem;
    }

    .tabnews_type8 .tabnews_main .tab-pane .cardBg a {
        padding-left: 0;
    }

    .tabnews_type8 .tabnews_main .tab-pane .cardBg .card-body {
        padding-top: 15rem;
    }
}
