/* =========================================================
   ARTISTS ARCHIVE GRID
========================================================= */

.artists-archive-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 24px;

    align-items: start;
}


/* =========================================================
   ARTIST CARD
========================================================= */

.archive-artist-card {
    min-width: 0;

    overflow: hidden;

    border: 1px solid #e0e1e5;
    border-radius: 10px;

    background: #ffffff;

    transition:
        transform .22s ease,
        border-color .22s ease,
        box-shadow .22s ease;
}


.archive-artist-card:hover {
    transform: translateY(-3px);

    border-color: #d4d5da;

    box-shadow:
        0 10px 28px
        rgba(0, 0, 0, .07);
}


/* =========================================================
   ARTIST IMAGE
========================================================= */

.archive-artist-image {
    position: relative;

    display: block;

    width: 100%;

    aspect-ratio: 16 / 10;

    overflow: hidden;

    background: #eeeeef;
}


.archive-artist-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform .35s ease,
        filter .35s ease;
}


.archive-artist-card:hover
.archive-artist-image img {
    transform: scale(1.04);

    filter: brightness(.92);
}


/* =========================================================
   OVERLAY
========================================================= */

.archive-artist-overlay {
    position: absolute;

    inset: 0;

    z-index: 1;

    background:
        rgba(0, 0, 0, 0);

    transition:
        background .25s ease;
}


.archive-artist-card:hover
.archive-artist-overlay {
    background:
        rgba(0, 0, 0, .16);
}


/* =========================================================
   VIEW ARTIST
========================================================= */

.archive-artist-view {
    position: absolute;

    z-index: 2;

    left: 50%;
    top: 50%;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 38px;

    padding:
        8px
        14px;

    border-radius: 7px;

    background:
        var(--primary);

    color: #ffffff;

    font-size: 11px;
    font-weight: 800;

    opacity: 0;

    transform:
        translate(-50%, -40%);

    transition:
        opacity .22s ease,
        transform .22s ease;
}


.archive-artist-card:hover
.archive-artist-view {
    opacity: 1;

    transform:
        translate(-50%, -50%);
}


/* =========================================================
   ARTIST INFO
========================================================= */

.archive-artist-info {
    padding:
        16px
        17px
        18px;
}


/* =========================================================
   NAME
========================================================= */

.archive-artist-name {
    margin:
        0
        0
        8px;

    overflow: hidden;

    color:
        var(--black);

    font-size: 16px;
    font-weight: 800;

    line-height: 1.35;

    white-space: nowrap;

    text-overflow: ellipsis;
}


.archive-artist-name a {
    color: inherit;

    text-decoration: none;

    transition:
        color .2s ease;
}


.archive-artist-name a:hover {
    color:
        var(--primary);
}


/* =========================================================
   META
========================================================= */

.archive-artist-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 8px;

    color: #777777;

    font-size: 11px;
    line-height: 1.3;
}


.archive-artist-meta span {
    display: inline-flex;
    align-items: center;
}


.archive-artist-meta strong {
    margin-right: 3px;

    color: #333333;

    font-weight: 700;
}


.archive-artist-meta span + span::before {
    content: "•";

    margin-right: 8px;

    color: #bbbbbd;
}


/* =========================================================
   EMPTY
========================================================= */

.artists-archive-empty {
    padding: 40px;

    border: 1px dashed #dddddf;
    border-radius: 9px;

    background: #ffffff;

    color: #888888;

    font-size: 13px;

    text-align: center;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1050px) {

    .artists-archive-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 20px;
    }

}


/* =========================================================
   SIDEBAR MOVES BELOW
========================================================= */

@media (max-width: 850px) {

    .artists-archive-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));

        gap: 20px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .artists-archive-grid {
        display: flex;

        flex-direction: column;

        gap: 0;
    }


    /*
    |--------------------------------------------------------------------------
    | Mobile Artist Row
    |--------------------------------------------------------------------------
    */

    .archive-artist-card {
        display: grid;

        grid-template-columns:
            100px
            minmax(0, 1fr);

        align-items: center;

        gap: 14px;

        padding:
            13px
            0;

        overflow: visible;

        border: 0;
        border-bottom:
            1px solid #eeeeef;

        border-radius: 0;

        background: transparent;

        box-shadow: none;
    }


    .archive-artist-card:last-child {
        border-bottom: 0;
    }


    .archive-artist-card:hover {
        transform: none;

        border-color:
            #eeeeef;

        box-shadow: none;
    }


    /*
    |--------------------------------------------------------------------------
    | Image
    |--------------------------------------------------------------------------
    */

    .archive-artist-image {
        width: 100px;
        height: 100px;

        aspect-ratio: auto;

        border-radius: 8px;
    }


    .archive-artist-image img {
        width: 100%;
        height: 100%;

        object-fit: cover;
    }


    .archive-artist-card:hover
    .archive-artist-image img {
        transform: none;

        filter: none;
    }


    .archive-artist-overlay,
    .archive-artist-view {
        display: none;
    }


    /*
    |--------------------------------------------------------------------------
    | Information
    |--------------------------------------------------------------------------
    */

    .archive-artist-info {
        min-width: 0;

        padding: 0;
    }


    .archive-artist-name {
        margin-bottom: 7px;

        font-size: 15px;
    }


    .archive-artist-meta {
        gap: 6px;

        font-size: 11px;
    }


    .archive-artist-meta span + span::before {
        margin-right: 6px;
    }

}


/* =========================================================
   SMALL PHONE
========================================================= */

@media (max-width: 380px) {

    .archive-artist-card {
        grid-template-columns:
            86px
            minmax(0, 1fr);

        gap: 12px;

        padding:
            11px
            0;
    }


    .archive-artist-image {
        width: 86px;
        height: 86px;
    }


    .archive-artist-name {
        font-size: 14px;
    }


    .archive-artist-meta {
        font-size: 10px;
    }

}