body {
    /* background-color: rgb(166, 241, 206); */
    margin-top: var(--space);
    margin-bottom: 0;
}


.archive-artistes {
    display: flex;
    align-items: flex-start;
}


/* ==========================
── FILTRES ── 
===========================*/


.archive-filters {
    flex: 0 0 calc(var(--column) * 3);
    max-width: calc(var(--column) * 3);
    position: sticky;
    top: var(--space);
}

.filters-title {
    margin-bottom: 1em;
}

.filters-list {
    display: flex;
    flex-direction: column;
    gap: 0.6em;
}

.filter-checkbox {
    display: flex;
    align-items: center;
    gap: 1em;
    cursor: pointer;
    user-select: none;
}

.filter-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.checkbox-custom {
    width: 0.8em;
    height: 0.8em;
    border: 1px solid var(--black);
    border-radius: 2px;
    background-color: var(--white);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tick-icon {
    width: 0;
    height: 0;
    overflow: hidden;
    transition: none;
    width: auto;
    transform: translateY(-3px);
}

.filter-checkbox:hover .tick-icon,
.filter-checkbox.highlighted .tick-icon,
.filter-checkbox input[type="checkbox"]:checked+.checkbox-custom .tick-icon {
    width: auto;
    height: 20px;
}


.artiste-item.hidden {
    display: none;
}




/* ================ */
/*  GRILLE ARTISTE  */
/* ================ */


.archive-grille {
    width: 100%;
}

.liste-artistes {
    display: grid;
    /* grid-template-columns: repeat(auto-fit, clamp(250px, calc(var(--column) * 3), 350px)); */
    grid-template-columns: repeat(auto-fit, minmax(250px, calc(var(--column) * 2.9)));
    /* gap: var(--big-margin); */
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0 auto;
}


.artiste-item {
    width: calc(var(--column) * 2.9);
    min-width: 250px;

    /* width: clamp(250px, calc(var(--column) * 3), 350px); */
    box-sizing: border-box;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 0 0.5em 3.5em 0.5em;

    text-align: center;
}


.artiste-item a {
    width: 100%;
}

.artiste-thumbnail {
    aspect-ratio: 1 / 1;
    width: calc(var(--column) * 1.6);
    overflow: hidden;

    margin-left: auto;
    margin-right: auto;

    min-width: 135px;
}

.artiste-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 0.4s ease;
    display: block;
}

.artiste-item:hover .artiste-thumbnail img {
    filter: grayscale(0%);
}

.artist-name {
    text-align: center;
    width: 100%;
    margin: 0.3em 0 0.1em 0;

    font-size: 20pt;
}

.temporary-credit {
    padding: 0 0 var(--big-margin) 0;
    margin-top: 0;
}



@media screen and (max-width: 768px) {
    .archive-artistes {
        flex-direction: column;
        gap: var(--mobile-big-margin);
    }

    .archive-filters {
        display: none;
    }

    .filters-list {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1em;
    }

    .filter-checkbox {
        flex-direction: row-reverse;
    }

    .checkbox-label {
        font-size: var(--mobile-small-txt);
    }

    .liste-artistes {
        grid-template-columns: repeat(2, 1fr);
        column-gap: 12px;
    }

    .artiste-item {
        width: auto;
        min-width: auto;
        padding: 0 0 3.5em 0;
        max-width: 250px;
        margin: 0 auto;
    }

    .artiste-thumbnail {
        width: 100%;
        min-width: auto;
    }

    .artist-name {
        font-size: clamp(16pt, 4vw, 24pt);
    }


    .temporary-credit {
        padding: 0 0 var(--mobile-big-margin) 0;
        margin-top: var(--space);
    }
}