.artist-work-card {
    position: relative;
}

.artist-card-click-link {
    position: absolute;
    inset: 0;
    z-index: 5;
    border-radius: inherit;
    text-decoration: none;
}

.artist-heart-btn {
    position: relative;
    z-index: 10;
}

.artist-work-card:hover .artist-work-img img {
    transform: scale(1.02);
}

.artist-not-found-main {
    min-height: 70vh !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 80px 20px !important;
    text-align: center !important;
}

.artist-work-card-inline {
    position: relative !important;
    cursor: pointer !important;
}

.artist-empty-works {
    padding: 50px 20px !important;
    text-align: center !important;
}

.artist-empty-works-icon {
    font-size: 40px !important;
}

.artist-empty-works-title {
    margin-top: 15px !important;
}

/* Lightbox zoom trigger sits above the full-card link overlay (z-index: 5) */
.artist-work-img .gab-lightbox-zoom-btn {
    z-index: 10;
}
/* ===== Existing rules ===== */
.artist-work-card {
    position: relative;
}

.artist-card-click-link {
    position: absolute;
    inset: 0;
    z-index: 5;
    border-radius: inherit;
    text-decoration: none;
}

.artist-heart-btn {
    position: relative;
    z-index: 10;
}

.artist-work-card:hover .artist-work-img img {
    transform: scale(1.02);
}

.artist-not-found-main {
    min-height: 70vh !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 80px 20px !important;
    text-align: center !important;
}

.artist-work-card-inline {
    position: relative !important;
    cursor: pointer !important;
}

.artist-empty-works {
    padding: 50px 20px !important;
    text-align: center !important;
}

.artist-empty-works-icon {
    font-size: 40px !important;
}

.artist-empty-works-title {
    margin-top: 15px !important;
}

/* Lightbox zoom trigger sits above the full-card link overlay (z-index: 5) */
.artist-work-img .gab-lightbox-zoom-btn {
    z-index: 10;
}

/* ===== Responsive fixes: artist hero overflow ===== */

/* Stop any child from pushing the page wider than the screen */
.artist-page {
    overflow-x: clip;
    max-width: 100%;
}

/* Grid/flex children must be allowed to shrink */
.artist-profile-hero > *,
.artist-intro,
.artist-portrait-col,
.artist-hero-quote,
.artist-hero-quote p {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}

.artist-intro h1 {
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
}

.artist-hero-quote p,
.artist-role {
    overflow-wrap: anywhere;
}

/* Tablet */
@media (max-width: 991.98px) {
    .artist-intro h1 {
        font-size: clamp(2rem, 6vw, 3.25rem) !important;
        line-height: 1.15 !important;
    }
}

/* Mobile */
@media (max-width: 767.98px) {
    .artist-profile-hero {
        overflow: hidden;
    }

    .artist-intro {
        width: 100% !important;
        padding-left: 18px !important;
        padding-right: 18px !important;
    }

    .artist-intro h1 {
        font-size: clamp(1.75rem, 8.5vw, 2.5rem) !important;
        line-height: 1.15 !important;
        letter-spacing: 0 !important;
        margin-bottom: 8px !important;
    }

    .artist-hero-quote {
        width: 100%;
    }

    .artist-hero-quote p {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .artist-stat-panel {
        width: calc(100% - 24px);
        margin-left: auto;
        margin-right: auto;
        box-sizing: border-box;
    }
}

/* Very small phones */
@media (max-width: 380px) {
    .artist-intro h1 {
        font-size: clamp(1.5rem, 8vw, 2rem) !important;
    }
}