#sp-loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0); /* transparent */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.3s ease;

    /* blockiert Maus-Interaktionen */
    pointer-events: none;

    /* verhindert Scrollen */
    overflow: hidden;
}

#sp-loading-overlay.hidden {
    display: none;
    pointer-events: none;
}

.sp-loading-content {
    text-align: center;
    font-family: sans-serif;
    color: #333;
    background: rgba(255, 255, 255, 0.9); /* optional leichtes Panel für Spinner/Text */
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #eee;
    border-top: 5px solid #3b82f6; /* Blau für Akzent */
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.sp-filters {
    display: flex !important;        /* Flex erzwingen */
    width: 100% !important;          /* volle Breite */
    max-width: 100%;                 /* Elementor begrenzt manchmal */
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
}

.sp-filters select {
    flex: 0 0 auto; /* verhindert Dehnen */
}

.sp-loading-counter {
    margin-left: auto; /* rechtsbündig */
    font-family: sans-serif;
    font-size: 0.9rem;
    color: #333;
}

#archive-note{
    display: none;
}