﻿.artist-directory {
    color: #24303a;
    padding-bottom: 64px;
}

.artist-directory [hidden] {
    display: none !important;
}

.artist-directory .breadcrumb {
    margin: 18px 0 24px;
}

.artist-directory-header {
    position: relative;
    overflow: hidden;
    padding: 30px 34px;
    border-radius: 20px;
    background: linear-gradient(120deg, #fff8ef 0%, #fff 55%, #f5f7f8 100%);
    border: 1px solid #f1e6d8;
}

.artist-directory-header:after {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    right: -90px;
    top: -115px;
    border-radius: 50%;
    border: 44px solid rgba(242, 139, 0, .11);
    pointer-events: none;
}

.artist-directory-eyebrow {
    display: block;
    margin-bottom: 10px;
    color: #a15b00;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.artist-directory-header h1 {
    position: relative;
    z-index: 1;
    margin: 0 0 12px;
    color: #17212b;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
}

.artist-directory-header p {
    position: relative;
    z-index: 1;
    max-width: 620px;
    margin: 0;
    color: #56616b;
    font-size: 16px;
    line-height: 1.6;
}

.artist-directory-total {
    display: inline-block;
    margin-top: 22px;
    padding: 8px 14px;
    border-radius: 999px;
    background: #fff;
    color: #6d4206;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 2px 12px rgba(78, 49, 8, .08);
}

.artist-search {
    display: none;
    max-width: 600px;
    margin: 32px 0 24px;
}

.artist-directory.is-enhanced .artist-search {
    display: block;
}

.artist-search label {
    display: block;
    margin-bottom: 9px;
    font-size: 15px;
    font-weight: 700;
}

.artist-search-field {
    display: flex;
    align-items: center;
    min-height: 54px;
    padding: 0 15px;
    border: 1px solid #ccd3d8;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 2px 12px rgba(29, 43, 54, .04);
}

.artist-search-field:focus-within {
    border-color: #ce7600;
    box-shadow: 0 0 0 3px rgba(242, 139, 0, .16);
}

.artist-search-field .glyphicon {
    margin-right: 12px;
    color: #8b969e;
    font-size: 18px;
}

.artist-search-field input {
    flex: 1;
    width: 100%;
    min-width: 0;
    padding: 14px 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #24303a;
    font-size: 16px;
}

.artist-search-field input::-webkit-search-cancel-button {
    display: none;
}

.artist-search-field button {
    margin-left: 10px;
    padding: 5px 0 5px 10px;
    border: 0;
    background: transparent;
    color: #a15b00;
    font-size: 13px;
    font-weight: 700;
}

.artist-search-field button:hover,
.artist-search-field button:focus {
    color: #704000;
    text-decoration: underline;
}

.artist-alphabet {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 30px 0 18px;
    padding: 13px;
    border: 1px solid #e5e9ec;
    border-radius: 13px;
    background: #fbfcfc;
}

.artist-alphabet a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 7px;
    border-radius: 8px;
    color: #394650;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.artist-alphabet a:hover,
.artist-alphabet a:focus {
    background: #f28b00;
    color: #fff;
    text-decoration: none;
}

.artist-alphabet a:focus-visible,
.artist-card:focus-visible,
.artist-no-results button:focus-visible {
    outline: 3px solid #bc6800;
    outline-offset: 2px;
}

.artist-result-status {
    margin: 0 0 20px;
    color: #65717a;
    font-size: 14px;
}

.artist-group {
    margin: 0 0 42px;
    scroll-margin-top: 24px;
}

.artist-group h2 {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 18px;
    color: #1e2b35;
    font-size: 24px;
    font-weight: 700;
}

.artist-group h2:after {
    content: "";
    flex: 1;
    height: 1px;
    background: #e4e8eb;
}

.artist-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.artist-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e5e9ec;
    border-radius: 14px;
    background: #fff;
    color: inherit;
    box-shadow: 0 3px 14px rgba(29, 43, 54, .05);
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.artist-card:hover,
.artist-card:focus {
    border-color: #eac58e;
    color: inherit;
    box-shadow: 0 10px 24px rgba(29, 43, 54, .12);
    text-decoration: none;
    transform: translateY(-3px);
}

.artist-card-media {
    position: relative;
    display: block;
    height: 0;
    padding-top: 76%;
    overflow: hidden;
    background: linear-gradient(135deg, #f6ead7, #eceff0);
}

.artist-card-fallback,
.artist-card-media img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.artist-card-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(129, 78, 16, .42);
    font-size: 70px;
    font-weight: 700;
}

.artist-card-media img {
    object-fit: cover;
    object-position: center;
}

.artist-card-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 17px 18px;
}

.artist-card-name {
    display: block;
    min-height: 30px;
    color: #1e2b35;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
}

.artist-card-count {
    display: block;
    margin-top: 7px;
    color: #6a7680;
    font-size: 13px;
}

.artist-card-action {
    display: block;
    margin-top: auto;
    padding-top: 5px;
    color: #a25c00;
    font-size: 13px;
    font-weight: 700;
}

.artist-card-action span {
    display: inline-block;
    margin-left: 3px;
    transition: transform .18s ease;
}

.artist-card:hover .artist-card-action span,
.artist-card:focus .artist-card-action span {
    transform: translateX(3px);
}

.artist-no-results {
    margin: 36px 0;
    padding: 36px 24px;
    border: 1px dashed #d8dee2;
    border-radius: 14px;
    background: #fbfcfc;
    text-align: center;
}

.artist-no-results h2 {
    margin: 0 0 8px;
    color: #26343e;
    font-size: 22px;
}

.artist-no-results p {
    margin: 0 0 18px;
    color: #68757f;
}

.artist-no-results button {
    padding: 10px 18px;
    border: 0;
    border-radius: 8px;
    background: #f28b00;
    color: #fff;
    font-weight: 700;
}

.artist-no-results button:hover,
.artist-no-results button:focus {
    background: #c87200;
}

.artist-no-results-static p {
    margin-bottom: 0;
}

@media (max-width: 991px) {
    .artist-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .artist-directory {
        padding-bottom: 40px;
    }

    .artist-directory-header {
        padding: 28px 23px;
        border-radius: 14px;
    }

    .artist-directory-header h1 {
        font-size: 27px;
    }

    .artist-directory-header p {
        font-size: 14px;
    }

    .artist-search {
        margin: 24px 0 18px;
    }

    .artist-alphabet {
        flex-wrap: nowrap;
        overflow-x: auto;
        margin: 24px 0 16px;
        padding: 8px;
        -webkit-overflow-scrolling: touch;
    }

    .artist-alphabet a {
        flex: 0 0 auto;
        min-width: 40px;
        height: 40px;
    }

    .artist-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .artist-card-content {
        padding: 12px 12px 14px;
    }

    .artist-card-name {
        min-height: 30px;
        font-size: 14px;
    }

    .artist-card-action {
        font-size: 12px;
    }

    .artist-card-fallback {
        font-size: 52px;
    }
}

@media (max-width: 359px) {
    .artist-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (prefers-reduced-motion: reduce) {
    .artist-card,
    .artist-card-action span {
        transition: none;
    }
}
