.elementor-widget-n-tabs .e-n-tabs-heading.c3-pill-ready {
    position: relative;
    isolation: isolate;
}

.c3-pill-ready::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: var(--c3-pill-width);
    height: var(--c3-pill-height);
    transform: translate(var(--c3-pill-x), var(--c3-pill-y));
    border-radius: 999px;
    background: #000;
    pointer-events: none;
    z-index: -1;
}

.c3-pill-ready.c3-pill-animated::before {
    transition: transform 350ms cubic-bezier(.22, 1, .36, 1), width 350ms cubic-bezier(.22, 1, .36, 1), height 350ms cubic-bezier(.22, 1, .36, 1);
}

.elementor-widget-n-tabs .e-n-tabs-heading.c3-pill-ready > .e-n-tab-title {
    margin-block-end: 0 !important;
    background: transparent !important;
    color: #000 !important;
    transition: color 200ms ease;
}

.elementor-widget-n-tabs .e-n-tabs-heading.c3-pill-ready > .e-n-tab-title.c3-pill-target {
    color: #fff !important;
}

@media (prefers-reduced-motion: reduce) {
    .c3-pill-ready.c3-pill-animated::before,
    .elementor-widget-n-tabs .e-n-tabs-heading.c3-pill-ready > .e-n-tab-title {
        transition: none;
    }
}
