.single-artist-template .container { max-width: 1140px; margin: 0 auto; padding: 50px 20px; }
.single-artist-wrap { display: grid; grid-template-columns: minmax(280px, 420px) 1fr; gap: 50px; margin-bottom: 50px; }
.single-artist-wrap .entry-image img { width: 100%; height: auto; display: block; }
.single-artist-wrap .entry-title { margin-top: 0; }
.single-artist-wrap .entry-position { margin: 8px 0 25px; font-weight: 600; opacity: .75; }
.artist-info-block { margin: 18px 0; }
.artist-socials a { display: inline-flex; align-items: center; justify-content: center; min-width: 34px; height: 34px; margin-right: 8px; border: 1px solid currentColor; text-decoration: none; font-size: 13px; }
.artist-skills .skill-item { margin-bottom: 15px; }
.artist-skills .skill-label { display: flex; justify-content: space-between; margin-bottom: 6px; }
.artist-skills .skill-bar { height: 6px; background: #eee; overflow: hidden; }
.artist-skills .skill-bar span { display: block; height: 100%; background: currentColor; }
.artist-about-wrap, .artist-gallery-wrap { margin-top: 40px; }
.artist-about-wrap .desc { max-width: 900px; }
.artist-gallery-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.artist-gallery-item img { width: 100%; height: 320px; object-fit: cover; display: block; }
@media (max-width: 768px) { .single-artist-wrap { grid-template-columns: 1fr; } .artist-gallery-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .artist-gallery-list { grid-template-columns: 1fr; } }

/* Artists archive: layout aligned with Alone Team/Members */
.archive-artist-template .container { max-width: 1140px; margin: 0 auto; padding: 70px 20px; }
.artist-archive-header { text-align: center; margin-bottom: 28px; }
.artist-archive-header .page-title { margin: 0; font-size: 30px; font-weight: 400; line-height: 1.2; text-transform: uppercase; }
.artist-filter-wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; margin: 0 0 48px; }
.artist-filter-link { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 10px 20px; border: 1px solid #dcdcdc; border-radius: 2px; font-size: 13px; font-weight: 600; line-height: 1; text-transform: uppercase; text-decoration: none; letter-spacing: .02em; transition: all .25s ease; }
.artist-filter-link:hover,
.artist-filter-link.active { background: #002866; border-color: #002866; color: #fff; }
.artists-members-wrap { padding-top: 0; }
.artists-list { display: grid; grid-template-columns: repeat(4, 1fr); grid-gap: 30px; }
.artist-card-wrap { position: relative; overflow: hidden; }
.artist-card-wrap .entry-image { position: relative; padding-bottom: 105%; background: #e7e6e4; overflow: hidden; margin-bottom: 20px; border-radius: 2px; }
.artist-card-wrap .entry-image > a { position: absolute; inset: 0; display: block; }
.artist-card-wrap .entry-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: all .3s ease; }
.artist-card-wrap .entry-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.35); z-index: 1; opacity: 0; transition: all .3s ease; }
.artist-card-wrap .entry-socials { position: absolute; bottom: 20px; right: 20px; width: 42px; z-index: 3; opacity: 0; transition: all .3s ease; }
.artist-card-wrap .entry-socials a { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; color: #fff; background: #002866; border-radius: 30px; text-decoration: none; }
.artist-card-wrap .entry-socials a:not(:last-child) { margin-bottom: 5px; }
.artist-card-wrap .entry-content { text-align: center; }
.artist-card-wrap .entry-title { font-size: 20px; font-weight: 600; line-height: 1.25; text-transform: uppercase; color: #002866; margin: 0 0 4px; }
.artist-card-wrap .entry-title a { color: inherit; text-decoration: none; }
.artist-card-wrap .entry-postion,
.artist-card-wrap .entry-position { font-size: 14px; font-weight: 400; line-height: 1.5; text-transform: uppercase; }
.artist-card-wrap:hover .entry-overlay,
.artist-card-wrap:hover .entry-socials { opacity: 1; }
.artist-card-wrap:hover .entry-image img { transform: scale(1.04); }
.artist-placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 72px; font-weight: 700; color: #002866; }
.artist-pagination { margin-top: 50px; text-align: center; }
@media (max-width: 1024px) { .artists-list { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) { .artist-archive-header .page-title { font-size: 34px; } .artists-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .artists-list { grid-template-columns: 1fr; } .artist-filter-wrap { justify-content: flex-start; } }

/* Ndujart relation blocks: Events <-> Artists */
.ndujart-linked-artists-section,
.ndujart-artist-events-section { margin-top: 60px; margin-bottom: 50px; }
.ndujart-section-title-wrap { margin-bottom: 28px; }
.ndujart-section-title-wrap .title { color: #002866; font-size: 34px; line-height: 1.2; margin: 0; }
.ndujart-linked-artists-list { grid-template-columns: repeat(4, 1fr); }
.ndujart-event-cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.ndujart-event-card { position: relative; overflow: hidden; min-height: 320px; background: #111; }
.ndujart-event-card-link { position: relative; display: block; min-height: 320px; color: #fff; text-decoration: none; overflow: hidden; }
.ndujart-event-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.ndujart-event-card-overlay { position: absolute; inset: 0; background: rgba(0, 40, 102, .55); z-index: 1; transition: background .3s ease; }
.ndujart-event-card-cat { position: absolute; top: 36px; left: 0; z-index: 2; display: inline-flex; min-height: 42px; align-items: center; padding: 10px 24px; background: #fff200; color: #002866; font-size: 13px; font-weight: 700; line-height: 1; text-transform: uppercase; letter-spacing: .02em; }
.ndujart-event-card-content { position: absolute; left: 38px; right: 38px; bottom: 34px; z-index: 2; display: block; }
.ndujart-event-card-title { display: block; color: #fff; font-size: 27px; font-weight: 800; line-height: 1.12; text-shadow: 0 2px 12px rgba(0,0,0,.15); }
.ndujart-event-card-date { display: inline-block; margin-top: 18px; color: #fff200; font-size: 16px; font-weight: 700; }
.ndujart-event-card:hover img { transform: scale(1.05); }
.ndujart-event-card:hover .ndujart-event-card-overlay { background: rgba(0, 40, 102, .42); }
.ndujart-event-card-placeholder { position: absolute; inset: 0; background: #002866; }
@media (max-width: 1024px) { .ndujart-event-cards-grid { grid-template-columns: repeat(2, 1fr); } .ndujart-linked-artists-list { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) { .ndujart-section-title-wrap .title { font-size: 28px; } .ndujart-event-cards-grid { grid-template-columns: 1fr; } .ndujart-linked-artists-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .ndujart-linked-artists-list { grid-template-columns: 1fr; } .ndujart-event-card-title { font-size: 24px; } }

/* ---------------------------------------------------------
   Upgrade v1.3.1 - Artists archive/single visual refinement
   Layout aligned with Alone Team/Members style.
--------------------------------------------------------- */
.archive-artist-template .container.responsive {
    max-width: none;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
}

.archive-artist-template .artist-archive-header {
    position: relative;
    width: 100%;
    min-height: 188px;
    margin: 0 0 64px;
    padding: 54px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #f3f3f1;
    background-image: var(--ndujart-artists-archive-bg, linear-gradient(90deg, rgba(255,255,255,.92), rgba(255,255,255,.62)));
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.archive-artist-template .artist-archive-header .page-title {
    position: relative;
    z-index: 1;
    margin: 0;
    color: #002866;
    font-size: clamp(42px, 5vw, 68px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.archive-artist-template .artist-filter-wrap {
    max-width: 1140px;
    margin: 0 auto 58px;
    padding: 0 20px;
    gap: 0;
}

.archive-artist-template .artist-filter-link {
    min-width: 130px;
    min-height: 64px;
    padding: 18px 34px;
    border-color: #e1e1e1;
    border-radius: 0 !important;
    color: #002866;
    background: #fff;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0;
}

.archive-artist-template .artist-filter-link:first-child {
    border-radius: 999px 0 0 999px !important;
}

.archive-artist-template .artist-filter-link:last-child {
    border-radius: 0 999px 999px 0 !important;
}

.archive-artist-template .artist-filter-link:only-child {
    border-radius: 999px !important;
}

.archive-artist-template .artist-filter-link + .artist-filter-link {
    margin-left: -1px;
}

.archive-artist-template .artist-filter-link:hover,
.archive-artist-template .artist-filter-link.active {
    background: #002866 !important;
    border-color: #002866 !important;
    color: #fff !important;
}

.archive-artist-template .related-members-wrap,
.archive-artist-template .artists-members-wrap,
.archive-artist-template .artist-pagination,
.archive-artist-template > .container.responsive > p {
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

.archive-artist-template .artists-members-wrap {
    padding-top: 0;
}

.archive-artist-template .artist-card-wrap .entry-image {
    padding-bottom: 100%;
    border-radius: 34px !important;
    overflow: hidden;
    margin-bottom: 22px;
}

.archive-artist-template .artist-card-wrap .entry-image img,
.archive-artist-template .artist-card-wrap .entry-image > a,
.archive-artist-template .artist-placeholder {
    border-radius: 34px !important;
}

.archive-artist-template .artist-card-wrap .entry-image:after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    z-index: 2;
    width: 92px;
    height: 10px;
    background: #fff200;
    transform: translateX(-50%);
}

.archive-artist-template .artist-card-wrap .entry-title {
    color: #002866;
    font-size: 21px;
    font-weight: 800;
    line-height: 1.15;
}

.archive-artist-template .artist-card-wrap .entry-position,
.archive-artist-template .artist-card-wrap .entry-postion {
    color: #002866;
    opacity: .75;
    font-weight: 700;
}

.single-artist-template .single-artist-wrap .entry-image,
.single-artist-template .single-artist-wrap .entry-image img {
    border-radius: 34px !important;
    overflow: hidden;
}

.single-artist-template .single-artist-wrap .entry-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.single-artist-template .artist-gallery-item,
.single-artist-template .artist-gallery-item img {
    border-radius: 24px !important;
    overflow: hidden;
}

@media (max-width: 768px) {
    .archive-artist-template .artist-archive-header {
        min-height: 150px;
        margin-bottom: 42px;
    }

    .archive-artist-template .artist-filter-wrap {
        justify-content: center;
        margin-bottom: 42px;
    }

    .archive-artist-template .artist-filter-link {
        min-height: 52px;
        min-width: 110px;
        padding: 14px 24px;
        font-size: 13px;
    }
}

@media (max-width: 560px) {
    .archive-artist-template .artist-filter-wrap {
        gap: 8px;
    }

    .archive-artist-template .artist-filter-link,
    .archive-artist-template .artist-filter-link:first-child,
    .archive-artist-template .artist-filter-link:last-child {
        border-radius: 999px !important;
        margin-left: 0;
    }
}
