.news-category {
    max-width: 1372px;
    margin: 0 auto;
    padding: 130px 30px 100px 30px;
    position: relative;
    z-index: 0;
}

.header {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 80px 0 0 0;
}

.badge {
    display: flex;
    align-items: center;
    gap: 10px
}

.badge .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-button)
}

.badge .label {
    font-weight: 700;
    font-size: 18px;
    line-height: 28px;
    letter-spacing: 0px;
}

.header h1 {
    margin: 0;
    font-size: 50px;
    line-height: 60px;
    font-weight: 800;
    margin-bottom: 30px;
}

.tabs {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    margin: 30px 0 50px 0;
}

.tab {
    appearance: none;
    border: 0;
    background: none;
    padding: 0;
    margin: 0;
    color: var(--black);
    font-weight: 700;
    font-size: 18px;
    line-height: 28px;
    cursor: pointer;
    position: relative;
    padding-bottom: 8px;
    transition: all 0.5s ease-in-out;
}

.tab::after {
    content: "";
    display: inline-block;
    width: 32px;
    height: 6px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    background-image: url(../../assets/images/menu-active.svg);
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease-in-out;
}

.tab.is-active,
.tab:hover {
    color: var(--color-button)
}

.tab.is-active::after,
.tab:hover::after {
    opacity: 1;
    visibility: visible;
}

.news-listing {
    margin-top: 50px;
    margin-bottom: 45px;
}

.news-listing .article img {
    object-fit: cover;
    transition: all .5s;
}

.news-listing .article img:hover {
    transform: scale(1.06);
}

.article {
    display: flex;
    gap: 60px;
    align-items: flex-start;
    padding-bottom: 60px;
}

.article .thumb {
    width: 31.48%;
    flex-shrink: 0;
}

.article .thumb a {
    display: inline-block;
    width: 100%;
    position: relative;
    overflow: hidden;
    padding-bottom: calc(210 / 332 * 100%);
}

.article img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.article .meta {
    display: flex;
    gap: 40px;
    width: 100%;
}

.article .meta div {
    font-weight: 700;
    font-size: 16px;
    line-height: 28px
}

.article h3 {
    margin: 0;
    font-weight: 700;
    font-size: 18px;
    line-height: 30px;
    letter-spacing: 0;
}

.article p {
    margin: 0;
    font-weight: 400;
    font-size: 16px;
    line-height: 26px;
    max-height: 100px;
    overflow: hidden
}

.article .content {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 600px
}

.article .category-excerpt p {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
}

.pagination-category {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
}

.pagination-category .page-numbers {
    padding: 10px 20px !important;
}
.pagination-category .page-numbers.disabled {
    opacity: 0.5;
    pointer-events: none;
}
.pagination-category .nav-links {
    gap: 16px !important;
}

.pagination-category .nav-links>* {
    margin: 0px !important;
}

.pagination-category .page-numbers.current {
    color: var(--color-text-light);
}

@media (max-width: 767.98px) {
    .badge .label {
        font-size: 16px;
        line-height: 24px;
    }

    .header h1 {
        font-size: 28px;
        line-height: 32px;
        margin-bottom: 30px;
    }

    .tabs {
        margin: 20px 0 28px 0;
        justify-content: space-between;
    }

    .news-listing {
        margin-top: 20px;
        margin-bottom: 60px;
    }

    .article {
        flex-direction: column;
        gap: 20px;
        padding-bottom: 40px;
    }

    .article .meta {
        gap: 18px;
    }

    .article .thumb {
        width: 100%;
    }

    .article .thumb a {
        padding-bottom: calc(210 / 332 * 100%);
    }

    .article img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .article p {
        font-size: 14px;
        line-height: 24px;
        letter-spacing: 0;
    }

    .tab {
        font-size: 16px;
        line-height: 24px;
        font-weight: 600;
    }

    .article h3 {
        font-weight: 600;
        font-size: 18px;
        line-height: 26px;
    }

    .article .meta div {
        font-weight: 600;
        font-size: 16px;
        line-height: 24px
    }

}

@media (min-width: 768px) {
    .news-category .news-listing::after {
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: -75px;
        background-image: url(../images/news-landing-bkg.png);
        background-repeat: no-repeat;
        background-size: 540px auto;
        background-position: left 0 top 850px;
        pointer-events: none;
        z-index: -1;
    }

    .article .content {
        max-width: 662px;
        width: 61.5%;
    }
}

@media (max-width:1024px) {
    .news-category {
        padding: 70px 30px 80px 30px;
    }

    .article {
        gap: 24px;
    }
}

@media (min-width: 1372px) {
    .news-category .news-listing::after {
        left: calc(1px - ((100vw - 1372px)/2 + 0px));
    }
}

@media (min-width: 1600px) {
    .news-category {
        max-width: 1852px;
    }

    .article .content {
        max-width: 900px;
    }

    .article .thumb {
        width: 31.5%;
    }
}