.category-loop-grid .page-numbers.current {
    border: 1px solid #383AC0;
    padding: 9px 15px;
    border-radius: 10px;
    background-color: #F3F3FF;
    font-weight: 600;
}

.category-loop-grid .page-numbers,
.elementor-pagination-first {
    border: 1px solid #EBEBEB;
    padding: 9px 15px;
    border-radius: 10px;
}

.elementor-pagination .page-numbers.prev:where(span),
.elementor-pagination .page-numbers.next:where(span),
.elementor-pagination .page-numbers.disabled:where(span) {
    color: #BFBFBF !important;
    background-color: #F5F5F5 !important;
}

@media (max-width: 800px) {

    .category-loop-grid .page-numbers.current,
    .category-loop-grid .page-numbers {
        padding: 6px 12px;
    }

    .elementor-pagination {
        justify-self: center;
    }

    .elementor-pagination-first,
    .elementor-pagination-last {
        padding: 14px 11px !important;
    }

    /* Hide all page numbers first */
    .elementor-pagination .page-numbers {
        display: none;
    }

    /* Always show current */
    .elementor-pagination .page-numbers.current {
        display: inline-flex;
    }

    /* Show ONE before current */
    .elementor-pagination .page-numbers:has(+ .page-numbers.current) {
        display: inline-flex;
    }

    /* Show ONE after current */
    .elementor-pagination .page-numbers.current+.page-numbers {
        display: inline-flex;
    }

    /* Always show first & last */
    .elementor-pagination .page-numbers:first-of-type,
    .elementor-pagination .page-numbers:last-of-type {
        display: inline-flex;
    }

    /* Keep prev / next */
    .elementor-pagination .prev,
    .elementor-pagination .next {
        display: inline-flex;
    }

    .elementor-pagination {
        display: flex;
        justify-content: center;
        flex-wrap: nowrap;
        overflow-x: auto;
        max-width: 430px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }
}

.category-archive-post-title,
.category-archive-post-title a {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    line-height: 26px !important;
}

.data-page-news .elementor-widget-shortcode {
    display: none;
}