.pm-project-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    /* Default gap, can be overridden by Elementor Settings */
}

.pm-project-filter-item {
    cursor: pointer;
    border: 1px solid transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    user-select: none;
    padding: 10px 20px;
    /* Default padding */
}

/* Ensure smoothly handled display if possible, though JS will directly toggle display */
.e-loop-item {
    transition: opacity 0.4s ease;
}