.skip-link {
    position: absolute;
    left: 16px;
    top: -48px;
    z-index: 1000;
    padding: 10px 14px;
    background: #003;
    color: #fff;
    border-radius: 4px;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 16px;
}

#joArtist,
div#moreWrap {
    display: flex;
    width: 100%;
}

#right-box {
    max-height: 300px;
    overflow: hidden;
    transition: max-height 0.5s ease;
    margin: 30px 0 0;
    text-align: left;
}

#right-box.expanded {
    max-height: 9999px;
}

#joArtist {
    column-gap: 5%;
    justify-content: space-between;
    align-items: flex-start;
    flex-direction: row;
    margin: 10px 0 12px;
}

#joArtist img {
    object-fit: contain;
    height: auto;
}

#joArtist h1 {
    display: block;
    font-size: 1.2rem;
    margin: 0;
    max-width: 80%;
    line-height: 30px;
    font-family: var(--fontTrajan);
}

#toggle-button {
    background-color: #efefef;
    border: none;
    color: #333;
    padding: 20px 40px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 12px;
    border-radius: 5px;
    font-family: var(--fontSansSerif);
    cursor: pointer;
    width: fit-content;
}

#toggle-button:hover {
    background-color: #e5e5e5;
}

#toggle-button[hidden] {
    display: none;
}

div#moreWrap {
    height: 84px;
    margin: 0 auto;
    position: relative;
    top: -81px;
    z-index: 0;
    opacity: 1;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    background-color: #fff;
}

#SoldBx {
    width: 21.6%;
    height: auto;
    float: left;
    padding: 35px 0 0;
    margin: 8px;
    text-align: center;
}

.artist-grid-section {
    content-visibility: auto;
    contain-intrinsic-size: 1px 1400px;
}

.artist-card-grid::after {
    content: "";
    display: block;
    clear: both;
}

.artist-card-grid[data-loading="true"] {
    opacity: 0.72;
}

.artist-card-grid > a.is-appending {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.artist-card-grid > a.is-appending.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.artist-load-more {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    margin: 8px 0 18px;
}

.artist-load-more__button {
    background: #f4f4f4;
    color: #333;
    padding: 12px 18px;
    border: 1px solid #999;
    font-family: var(--fontSansSerif);
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.2s ease, opacity 0.2s ease;
}

.artist-load-more__button:hover {
    background: #ccc;
}

.artist-load-more__button[disabled] {
    opacity: 0.7;
    cursor: progress;
}

#pagination {
    display: flex;
    justify-content: center;
    margin: 14px 0 24px;
}

#pagination ul {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 0;
    margin: 0;
    list-style: none;
    align-items: center;
    justify-content: center;
}

#pagination li {
    display: flex;
    align-items: center;
}

#pagination a,
#pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    min-height: 36px;
    padding: 10px 14px;
    border: 1px solid #d8d8d8;
    border-radius: 999px;
    background: #fff;
    line-height: 1;
    font-family: var(--fontSansSerif);
}

#pagination a:hover {
    background: #f4f4f4;
}

#pagination .active {
    background: var(--companyBlue);
    border-color: var(--companyBlue);
    color: #fff;
}

#pagination .disabled,
#pagination .pagination-ellipsis {
    min-width: 0;
    min-height: 0;
    padding: 8px 6px;
    border-color: transparent;
    background: transparent;
    color: #8b8b8b;
}

@media only screen and (min-width: 320px) and (max-width: 670px) {
    #joArtist {
        margin: 10px auto 0 0;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        display: flex;
        align-content: center;
    }

    #joArtist img {
        max-width: 90%;
    }

    #right-box {
        width: 90%;
        max-height: 240px;
        margin: 10px auto 0;
    }

    div#moreWrap {
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        align-items: center;
        margin: 0;
    }

    #SoldBx {
        width: auto;
        height: auto;
        padding: 0 8%;
    }

    #toggle-button {
        width: 90%;
    }

}
