/* ==========================================================================
   Page-Specific Styles: KB22 Artists List
   Scope: body.page-kb22-artists-list
   Identity: "Participating Artists" - Light Mode Custom Palette
   ========================================================================== */

body.page-kb22-artists-list {
    --theme-color: #0088cb;
    --title-color: #231f20;
    --body-color: #7B7E86;
    --smoke-color: #FAF9F6;
    --smoke-color2: #F5F7FA;
    --smoke-color3: #F5F5F6;
    --smoke-color4: #F5F7FA;
    --smoke-color5: #F0F2F4;
    --black-color: #1F2528;
    --gray-color: #303030;
    --white-color: #ffffff;
    --light-color: #DDDDDC;

    background-color: var(--smoke-color);
    color: var(--body-color);
}

/* 1. Hero Banner */
body.page-kb22-artists-list .kb22-artists-hero {
    background: linear-gradient(rgba(31, 37, 40, 0.75), rgba(31, 37, 40, 0.85)), url('../../../assets/img/gallery/kb19-page-banner-2.jpg') no-repeat center center / cover;
    background-color: #727272;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 3px solid var(--theme-color);
    position: relative;
    overflow: hidden;
}
body.page-kb22-artists-list .kb22-artists-hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(0, 136, 203, 0.15) 0%, transparent 80%);
    z-index: 1;
}
body.page-kb22-artists-list .kb22-artists-hero-title {
    font-family: 'Jost', sans-serif;
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 850;
    color: var(--white-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
    text-shadow: 0 4px 15px rgba(0,0,0,0.5);
}
body.page-kb22-artists-list .kb22-artists-hero-subtitle {
    font-size: 1.3rem;
    color: var(--theme-color);
    font-family: 'Jost', sans-serif;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 3px;
    margin-bottom: 0;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}
body.page-kb22-artists-list .kb22-artists-breadcrumbs ul {
    list-style: none;
    padding: 0;
    margin: 25px 0 0;
    display: flex;
    justify-content: center;
    gap: 8px;
}
body.page-kb22-artists-list .kb22-artists-breadcrumbs li {
    font-size: 12px;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}
body.page-kb22-artists-list .kb22-artists-breadcrumbs li + li::before {
    content: '/';
    margin-right: 8px;
    color: rgba(255,255,255,0.4);
}
body.page-kb22-artists-list .kb22-artists-breadcrumbs a {
    color: rgba(255,255,255,0.9);
    transition: color 0.3s ease;
}
body.page-kb22-artists-list .kb22-artists-breadcrumbs a:hover {
    color: var(--theme-color);
}

/* 2. Controls Bar (Search & Filter) */
body.page-kb22-artists-list .kb22-artists-main-wrapper {
    background-color: var(--smoke-color);
    padding: 80px 0 100px;
}
body.page-kb22-artists-list .kb22-artists-control-bar {
    background-color: var(--white-color);
    border: 1px solid var(--light-color);
    border-radius: 12px;
    padding: 25px 30px;
    margin-bottom: 50px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.02);
}
body.page-kb22-artists-list .kb22-artists-search-wrap {
    position: relative;
}
body.page-kb22-artists-list .kb22-artists-search-wrap .search-icon {
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    color: var(--body-color);
    font-size: 16px;
}
body.page-kb22-artists-list #artistSearchInput {
    width: 100%;
    background-color: var(--smoke-color5);
    border: 1px solid var(--light-color);
    border-radius: 50px;
    padding: 12px 20px 12px 50px;
    color: var(--black-color);
    font-size: 15px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
body.page-kb22-artists-list #artistSearchInput:focus {
    border-color: var(--theme-color);
    box-shadow: 0 0 12px rgba(0, 136, 203, 0.2);
    outline: none;
}
body.page-kb22-artists-list .kb22-artists-filter-btn-group {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    flex-wrap: wrap;
}
body.page-kb22-artists-list .kb22-artists-filter-btn {
    background-color: var(--smoke-color5);
    border: 1px solid var(--light-color);
    color: var(--body-color);
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 13.5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}
body.page-kb22-artists-list .kb22-artists-filter-btn:hover {
    color: var(--black-color);
    border-color: var(--body-color);
}
body.page-kb22-artists-list .kb22-artists-filter-btn.active {
    background-color: var(--theme-color);
    border-color: var(--theme-color);
    color: var(--white-color);
    box-shadow: 0 4px 15px rgba(0, 136, 203, 0.3);
}

/* 3. Grid & Cards */
body.page-kb22-artists-list .kb22-artists-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
body.page-kb22-artists-list .kb22-artist-card {
    background: var(--white-color);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
body.page-kb22-artists-list .kb22-artist-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}
body.page-kb22-artists-list .kb22-artists-avatar-wrap {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    background-color: var(--smoke-color5);
}
body.page-kb22-artists-list .kb22-artists-avatar-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
body.page-kb22-artists-list .kb22-artist-card:hover .kb22-artists-avatar-wrap img {
    transform: scale(1.05);
}
body.page-kb22-artists-list .kb22-artists-card-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 136, 203, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
}
body.page-kb22-artists-list .kb22-artist-card:hover .kb22-artists-card-overlay {
    opacity: 1;
}
body.page-kb22-artists-list .kb22-artists-view-details {
    background-color: var(--white-color);
    color: var(--black-color);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 10px 24px;
    border-radius: 4px;
}
body.page-kb22-artists-list .kb22-artists-card-body {
    padding: 20px;
}
body.page-kb22-artists-list .kb22-artists-card-country {
    font-size: 11px;
    font-weight: 700;
    color: var(--theme-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 5px;
}
body.page-kb22-artists-list .kb22-artist-name {
    font-family: 'Jost', sans-serif;
    font-weight: 700;
    font-size: 17px;
    color: var(--title-color);
    margin: 0;
}

/* Phone/Email Footer Widget */
body.page-kb22-artists-list .kb22-artists-footer-contact {
    background-color: var(--white-color);
    border-top: 1px solid var(--light-color);
    padding: 35px 0;
    color: var(--body-color);
}
body.page-kb22-artists-list .text-gold {
    color: var(--theme-color) !important;
}

/* No results info */
body.page-kb22-artists-list .kb22-artists-no-results {
    padding: 60px 0;
    color: var(--body-color);
}
body.page-kb22-artists-list .kb22-artists-no-results i {
    font-size: 40px;
    color: var(--light-color);
}

@media (max-width: 992px) {
    body.page-kb22-artists-list .kb22-artists-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 576px) {
    body.page-kb22-artists-list .kb22-artists-grid {
        grid-template-columns: 1fr;
    }
    body.page-kb22-artists-list .kb22-artists-filter-btn-group {
        justify-content: flex-start;
    }
    body.page-kb22-artists-list .kb22-artists-filter-btn {
        width: 100%;
        text-align: center;
    }
}

/* =====================================================================
   Artist Profile Modal — shared kb24a- prefix classes
   Scoped to this page body so they don't bleed into other pages
   ===================================================================== */

body.page-kb22-artists-list .kb24a-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(10, 15, 20, 0.75);
    backdrop-filter: blur(4px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}
body.page-kb22-artists-list .kb24a-modal-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

body.page-kb22-artists-list .kb24a-modal {
    background: #ffffff;
    border-radius: 20px;
    width: calc(100% - 40px);
    max-width: 850px;
    max-height: 88vh;
    overflow-y: auto;
    padding: 48px;
    position: relative;
    transform: translateY(30px) scale(0.96);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
    scrollbar-width: thin;
    scrollbar-color: #0088cb #EEF2F7;
}
body.page-kb22-artists-list .kb24a-modal-backdrop.active .kb24a-modal {
    transform: translateY(0) scale(1);
}

body.page-kb22-artists-list .kb24a-modal-close {
    position: absolute;
    top: 18px;
    right: 20px;
    background: #f0f2f4;
    border: none;
    border-radius: 50%;
    width: 42px;
    height: 42px;
    font-size: 20px;
    cursor: pointer;
    color: #1F2528;
    line-height: 1;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}
body.page-kb22-artists-list .kb24a-modal-close:hover {
    background: #0088cb;
    color: #fff;
    transform: rotate(90deg) scale(1.1);
}

body.page-kb22-artists-list .kb24a-modal-img-wrap {
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: #f0f2f4;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}
body.page-kb22-artists-list .kb24a-modal-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

body.page-kb22-artists-list .kb24a-modal-country {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #e8f5fd;
    color: #0088cb;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 5px 14px;
    border-radius: 50px;
    margin-bottom: 14px;
}
body.page-kb22-artists-list .kb24a-modal-artist-name {
    font-family: 'Jost', sans-serif;
    font-size: 28px;
    font-weight: 800;
    color: #231f20;
    margin-bottom: 20px;
    line-height: 1.2;
}
body.page-kb22-artists-list .kb24a-modal-section-title {
    font-size: 12px;
    font-weight: 800;
    color: #0088cb;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}
body.page-kb22-artists-list .kb24a-modal-text {
    font-size: 15px;
    line-height: 1.75;
    color: #7B7E86;
    margin-bottom: 18px;
}
body.page-kb22-artists-list .kb24a-modal-artwork-box {
    background: linear-gradient(135deg, #0a1628 0%, #001a33 100%);
    border: 1px solid #d0e8f5;
    border-left: 4px solid #0088cb;
    border-radius: 10px;
    padding: 20px 24px;
    margin-top: 8px;
}
body.page-kb22-artists-list .kb24a-modal-artwork-title {
    font-family: 'Jost', sans-serif;
    font-size: 17px;
    color: #231f20;
    margin-bottom: 6px;
}
body.page-kb22-artists-list .kb24a-modal-medium {
    font-size: 13.5px;
    color: #7B7E86;
    margin-bottom: 8px;
}
body.page-kb22-artists-list .kb24a-modal-web-btn {
    background: #0088cb;
    border: none;
    color: #fff;
    border-radius: 8px;
    padding: 11px 20px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 14px rgba(0, 136, 203, 0.3);
}
body.page-kb22-artists-list .kb24a-modal-web-btn:hover {
    background: #006ea3;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 136, 203, 0.4);
}

/* Desktop arrow navigation */
body.page-kb22-artists-list .kb24a-carousel-arrow {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(0, 136, 203, 0.2);
    border-radius: 50%;
    width: 54px;
    height: 54px;
    font-size: 18px;
    color: #0088cb;
    cursor: pointer;
    z-index: 10000;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}
body.page-kb22-artists-list .kb24a-carousel-arrow:hover {
    background: #0088cb;
    color: #fff;
    border-color: #0088cb;
    transform: translateY(-50%) scale(1.08);
}
body.page-kb22-artists-list .kb24a-carousel-arrow.left { left: 16px; }
body.page-kb22-artists-list .kb24a-carousel-arrow.right { right: 16px; }

/* Mobile navigation inside modal */
body.page-kb22-artists-list .kb24a-mobile-nav {
    display: none;
    justify-content: space-between;
    gap: 12px;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid #DDDDDC;
}
body.page-kb22-artists-list .kb24a-mobile-nav-btn {
    flex: 1;
    background: #f0f2f4;
    border: 1px solid #DDDDDC;
    border-radius: 8px;
    padding: 11px 16px;
    font-size: 13.5px;
    font-weight: 700;
    color: #231f20;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}
body.page-kb22-artists-list .kb24a-mobile-nav-btn:hover {
    background: #0088cb;
    color: #fff;
    border-color: #0088cb;
}

/* Share toast notification */
body.page-kb22-artists-list .kb24a-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: #0a1628;
    color: #fff;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    opacity: 0;
    pointer-events: none;
    z-index: 10001;
    transition: opacity 0.3s ease, transform 0.3s ease;
    white-space: nowrap;
}
body.page-kb22-artists-list .kb24a-toast.active {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Responsive adjustments for modal */
@media (max-width: 768px) {
    body.page-kb22-artists-list .kb24a-modal {
        padding: 28px 20px 24px;
        max-height: 92vh;
    }
    body.page-kb22-artists-list .kb24a-carousel-arrow {
        display: none;
    }
    body.page-kb22-artists-list .kb24a-mobile-nav {
        display: flex;
    }
    body.page-kb22-artists-list .kb24a-modal-artist-name {
        font-size: 22px;
    }
}
