.navigate {
    display: flex;
    gap: 10px;
}

.cu-item-page {
    display: inline-block;
    padding: 8px 16px;
    color: white;
    background-color: black;
    text-decoration: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.cu-item-page:hover {
    background-color: red;
}

.cu-item-page.active {
    background-color: red;
    font-weight: bold;
}

/* Style du loader en position absolute */
.loader {
    display: none;
        /* Caché par défaut */
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 40px;
        height: 40px;
        border: 4px solid rgba(0, 0, 0, 0.1);
        border-top-color: #3498db;
        border-radius: 50%;
        animation: rotate 1s linear infinite;
        z-index: 2;
        /* Au-dessus de l'overlay */
}

/* Animation de rotation */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
/* Overlay semi-transparent noir */
.overlay {
    display: none;
    /* Caché par défaut */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    /* Noir transparent */
    z-index: 1;
}

.acf-row.acf-clone {
    display: none;
}