/*
|--------------------------------------------------------------------------
| Artists Archive
|--------------------------------------------------------------------------
*/

.artists-archive {
    width: 100%;
}


/*
|--------------------------------------------------------------------------
| Header
|--------------------------------------------------------------------------
*/

.artists-archive-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;

    padding: 10px 0 34px;

    border-bottom: 1px solid var(--editorial-border, #e6e1eb);
}

.artists-archive-heading {
    max-width: 760px;
}

.artists-archive-kicker {
    display: block;

    margin-bottom: 10px;

    color: #7652a8;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

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

    letter-spacing: .16em;
    text-transform: uppercase;
}

.artists-archive-heading h1 {
    margin: 0;

    color: #17131b;

    font-family:
        Georgia,
        'Times New Roman',
        serif;

    font-size: clamp(42px, 5vw, 72px);

    font-weight: 600;
    line-height: .98;

    letter-spacing: -.045em;
}

.artists-archive-heading p {
    max-width: 650px;

    margin: 18px 0 0;

    color: #77717c;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 14px;
    line-height: 1.7;
}

.artists-archive-count {
    display: flex;
    flex-direction: column;
    align-items: flex-end;

    flex: 0 0 auto;
}

.artists-archive-count strong {
    color: #17131b;

    font-family:
        Georgia,
        'Times New Roman',
        serif;

    font-size: 34px;
    font-weight: 600;
    line-height: 1;
}

.artists-archive-count span {
    margin-top: 6px;

    color: #8a838e;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: .12em;
    text-transform: uppercase;
}


/*
|--------------------------------------------------------------------------
| Grid
|--------------------------------------------------------------------------
*/

.artists-archive-grid {
    display: grid;

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

    gap: 46px 28px;

    padding: 42px 0 20px;
}

.artists-archive-item {
    min-width: 0;
}


/*
|--------------------------------------------------------------------------
| Artist Card Overrides
|--------------------------------------------------------------------------
|
| The actual artist card markup comes from:
| partials/cards/artist-card.php
|
*/

.artists-archive .editorial-artist-card {
    width: 100%;
}

.artists-archive .editorial-artist-art {
    aspect-ratio: 1 / 1;
}

.artists-archive .editorial-artist-name {
    font-size: 22px;
}

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


/*
|--------------------------------------------------------------------------
| Empty State
|--------------------------------------------------------------------------
*/

.artists-archive-empty {
    display: flex;
    align-items: center;
    flex-direction: column;

    padding: 100px 20px;

    text-align: center;

    border-bottom: 1px solid var(--editorial-border, #e6e1eb);
}

.artists-archive-empty-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 64px;
    height: 64px;

    margin-bottom: 22px;

    border: 1px solid #ddd7e2;
    border-radius: 50%;

    color: #7652a8;

    font-family:
        Georgia,
        'Times New Roman',
        serif;

    font-size: 28px;
}

.artists-archive-empty h2 {
    margin: 0;

    color: #211c25;

    font-family:
        Georgia,
        'Times New Roman',
        serif;

    font-size: 28px;
    font-weight: 600;
}

.artists-archive-empty p {
    margin: 10px 0 0;

    color: #88818b;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 13px;
}


/*
|--------------------------------------------------------------------------
| Pagination
|--------------------------------------------------------------------------
*/

.artists-archive-pagination {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 22px;

    padding: 44px 0 10px;
}

.artists-pagination-pages {
    display: flex;
    align-items: center;

    gap: 6px;
}

.artists-pagination-pages a,
.artists-pagination-pages span {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 38px;
    height: 38px;

    padding: 0 10px;

    color: #625b67;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 12px;
    font-weight: 700;

    text-decoration: none;
}

.artists-pagination-pages a {
    border: 1px solid transparent;

    transition:
        color .2s ease,
        border-color .2s ease,
        background .2s ease;
}

.artists-pagination-pages a:hover {
    color: #7652a8;

    border-color: #ddd6e5;
}

.artists-pagination-pages .is-current {
    color: #fff;

    background: #7652a8;
}

.artists-pagination-dots {
    color: #aaa2ad !important;

    min-width: 20px !important;
    padding: 0 !important;
}

.artists-pagination-prev,
.artists-pagination-next {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    color: #5f5864;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

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

    letter-spacing: .04em;

    text-decoration: none;

    transition: color .2s ease;
}

.artists-pagination-prev:hover,
.artists-pagination-next:hover {
    color: #7652a8;
}


/*
|--------------------------------------------------------------------------
| Tablet
|--------------------------------------------------------------------------
*/

@media (max-width: 1100px) {

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

        gap: 40px 24px;
    }
}


/*
|--------------------------------------------------------------------------
| Mobile
|--------------------------------------------------------------------------
*/

@media (max-width: 700px) {

    .artists-archive-head {
        align-items: flex-start;
        flex-direction: column;

        gap: 22px;

        padding-bottom: 26px;
    }

    .artists-archive-heading h1 {
        font-size: 48px;
    }

    .artists-archive-heading p {
        margin-top: 14px;

        font-size: 13px;
    }

    .artists-archive-count {
        align-items: flex-start;

        flex-direction: row;
        gap: 8px;
    }

    .artists-archive-count strong {
        font-size: 24px;
    }

    .artists-archive-count span {
        margin-top: 6px;
    }

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

        gap: 34px 16px;

        padding-top: 30px;
    }

    .artists-archive .editorial-artist-name {
        font-size: 18px;
    }

    .artists-archive-pagination {
        gap: 10px;

        padding-top: 34px;
    }

    .artists-pagination-prev,
    .artists-pagination-next {
        font-size: 0;
    }

    .artists-pagination-prev span,
    .artists-pagination-next span {
        font-size: 18px;
    }

    .artists-pagination-pages a,
    .artists-pagination-pages span {
        min-width: 34px;
        height: 34px;
    }
}


/*
|--------------------------------------------------------------------------
| Small phones
|--------------------------------------------------------------------------
*/

@media (max-width: 460px) {

    .artists-archive-heading h1 {
        font-size: 40px;
    }

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

        gap: 28px 12px;
    }

    .artists-archive .editorial-artist-name {
        font-size: 16px;
    }

    .artists-archive .editorial-artist-meta {
        font-size: 9px;
    }

    .artists-pagination-pages {
        gap: 2px;
    }

    .artists-pagination-pages a,
    .artists-pagination-pages span {
        min-width: 30px;
        height: 32px;

        padding: 0 6px;

        font-size: 10px;
    }

    .artists-pagination-dots {
        display: none !important;
    }
}