/* ========================================
   ARTIST DETAIL PAGE
   photo + bio + video
   matches index.html (League Spartan,
   artists header blue, footer white)
   ======================================== */

.artist-detail-page {
    min-height: 0;
    background: #ffffff;
    font-family:
        'League Spartan',
        sans-serif;
    color: #1a1a1a;
}

html:has(body.artist-detail-page) {
    background: #ffffff;
}

/* ---------- Top bar / back link ---------- */

.artist-topbar {
    background: #000000;
    padding: .8rem 1rem;
}

.artist-topbar-inner {
    width: min(1020px, 94vw);
    margin: 0 auto;
}

.artist-back-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    font-size: .95rem;
    letter-spacing: .5px;
}

.artist-back-link:hover {
    text-decoration: underline;
}

/* ---------- Detail layout ---------- */

.artist-detail {
    width: min(1020px, 94vw);
    margin: 0 auto;
    padding: 2.5rem 0 3rem;
}

.artist-detail-grid {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 2rem;
    align-items: start;
}

.artist-photo-wrap {
    margin: 0;
    background: #111;
    border: 2px solid #000;
    overflow: hidden;
}

.artist-photo-wrap img {
    width: 100%;
    height: 100%;
    max-height: 480px;
    object-fit: cover;
    display: block;
}

.artist-info-name {
    margin: 0 0 1rem;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1;
    color: #111;
}

.artist-bio p {
    margin: 0 0 1rem;
    font-size: 1.05rem;
    line-height: 1.7;
    font-weight: 400;
    color: #2b2b2b;
}

.artist-links {
    list-style: none;
    margin: 1.25rem 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.artist-links[hidden] {
    display: none;
}

.artist-links a {
    display: inline-block;
    padding: .4rem .9rem;
    border: 2px solid #245f9c;
    border-radius: 999px;
    color: #245f9c;
    font-weight: 800;
    font-size: .85rem;
    letter-spacing: .5px;
    text-decoration: none;
}

.artist-links a:hover {
    background: #245f9c;
    color: #ffffff;
}

/* ---------- Video ---------- */

.artist-video-wrap {
    margin-top: 2.5rem;
}

.artist-video-label {
    margin: 0 0 1rem;
    font-size: .85rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #245f9c;
}

.artist-video-card {
    overflow: hidden;
    background: #000000;
    border: 1px solid rgba(0, 0, 0, .15);
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, .25);
}

.artist-video-card video {
    width: 100%;
    aspect-ratio: 16 / 9;
    display: block;
    object-fit: cover;
    background: #000000;
}

.artist-video-card iframe.artist-video-embed {
    width: 100%;
    aspect-ratio: 16 / 9;
    display: block;
    border: 0;
    background: #000000;
}

.artist-video-card iframe.artist-video-embed.is-short {
    width: auto;
    max-width: 92%;
    height: min(68vh, 640px);
    aspect-ratio: 9 / 16;
    margin: 0 auto;
}

/*
 * Detail cards shrink to a portrait player
 * instead of stretching full width.
 */

.artist-video-card:has(> iframe.artist-video-embed.is-short) {
    width: fit-content;
    max-width: 100%;
    margin-inline: auto;
}

.artist-video-card .video-caption {
    display: flex;
    align-items: baseline;
    gap: .75rem;
    padding: 1rem 1.25rem;
    background: #000000;
    color: #ffffff;
}

/* ---------- Prev / Next ---------- */

.artist-prev-next {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, .12);
}

.artist-prev-next a {
    color: #245f9c;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: .3px;
}

.artist-prev-next a:hover {
    text-decoration: underline;
}

/* ---------- Responsive ---------- */

@media (max-width: 800px) {
    .artist-detail-grid {
        grid-template-columns: 1fr;
    }

    .artist-photo-wrap img {
        max-height: 420px;
    }

    .artist-video-card {
        border-radius: 14px;
    }
}
