/* Artist Page Styles */

.artist-header-row {
    height: 240px;
    position: relative;
    overflow: hidden;
    /* Background will be set inline based on Artist model attributes */
}

.artist-header-row::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Background will be set dynamically by JavaScript for responsive gradient adjustments */
    z-index: 2;
    pointer-events: none;
}

.artist-header-image {
    position: absolute;
    top: 0;
    left: 60%;
    width: 40%;
    height: 100%;
    z-index: -1;
}

.artist-header-img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    object-position: center;
    filter: blur(6px) brightness(1) contrast(1) grayscale(0) hue-rotate(0deg) saturate(1) sepia(0) invert(0);
}

.artist-header-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.95;
    filter: blur(0px) brightness(0.95) contrast(1) grayscale(0) hue-rotate(0deg) saturate(1) sepia(0) invert(0);
    z-index: -1;
}

.artist-header-names {
    position: absolute;
    top: 50%;
    z-index: 100;
    color: white;
    left: 0;
    width: 100%;
}

.artist-name-type {
    font-size: 12px;
    font-weight: 400;
    line-height: 1.2;
    display: flex;
}

.artist-name-main {
    font-size: 48px;
    font-weight: 600;
    line-height: 1.1;
    /* margin-bottom: 0.5rem; */
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.artist-name-korean-stage {
    font-size: 26px;
    font-weight: 500;
    margin-left: 0.5rem;
}

.artist-name-secondary {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.85);
    /* line-height: 1.2; */
}

/* Hide artist-header-names-info on desktop */
.artist-header-names-info {
    display: none;
}

/* Show artist-header-names only on desktop (>1200px) */
@media (min-width: 1201px) {
    .artist-header-names {
        display: block !important;
    }
    
    /* Hide artist header image on desktop when specified */
    .artist-header-image.hide-desktop {
        display: none !important;
    }
    
    /* Apply desktop-specific height adjustment when no desktop image */
    .artist-header-row.no-desktop-image {
        /* Keep full height on desktop even without image for better layout */
    }
}

/* Main Artist Image Styles */
.main-artist-image-wrapper {
    position: relative;
    width: 410px;
    height: 615px;
    margin-top: -180px; /* Negative margin to pull image up */
    z-index: 10;
}

.main-artist-image {
    border: 1px solid #ffffff;
    width: 410px;
    height: 615px;
    object-fit: cover;
    object-position: center;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

/* Tablet and Mobile Styles */
@media (max-width: 1200px) {
    .artist-header-row {
        flex-direction: column;
        height: 460px;
        /* Background will be set inline and adjusted by JavaScript for responsive design */
    }
    
    /* When no header image is shown on mobile, reduce height */
    .artist-header-row.no-mobile-image {
        height: 260px;
    }
   
    .artist-header-image {
        left: 0 !important;
        width: 100% !important;
        height: 200px !important;
        top: 0 !important;
    }
    
    .artist-header-img {
        height: 200px;
    }
    
    .artist-header-row::after {
        top: 200px !important;
        height: 260px !important;
        /* Background will be set dynamically by JavaScript for responsive gradient adjustments */
    }
    
    /* Adjust pseudo-element for no-mobile-image variant */
    .artist-header-row.no-mobile-image::after {
        top: 0 !important;
        height: 260px !important;
    }
    
    .artist-header-names {
        top: calc(200px + 130px); /* 200px image + half of 260px gradient area */
    }
    
    /* Adjust artist names position for no-mobile-image variant */
    .artist-header-row.no-mobile-image .artist-header-names {
        top: 50%; /* Center vertically in 260px height */
        transform: translateY(-50%);
    }
    
    .main-artist-image-wrapper {
        width: 100% !important;
        height: 498px !important;
        margin-top: -210px;
    }
    
    /* Adjust main image position for no-mobile-image variant */
    .artist-header-row.no-mobile-image ~ .container-fluid .main-artist-image-wrapper {
        margin-top: -10px; /* Less negative margin since header is shorter */
    }
    
    .main-artist-image {
        width: 100% !important;
        height: 498px !important;
        object-fit: cover !important;
    }

    .artist-header-names-info {
        display: block !important;
        margin-bottom: 2rem;
        color: #000000; /* Black color */
    }
    
    .artist-header-names-info .artist-name-type {
        font-size: 12px;
        font-weight: 400;
        line-height: 1.2;
        display: flex;
        color: #000000;
    }
    
    .artist-header-names-info .artist-name-main {
        font-size: 48px;
        font-weight: 600;
        line-height: 1.1;
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        color: #000000;
    }
    
    .artist-header-names-info .artist-name-korean-stage {
        font-size: 26px;
        font-weight: 500;
        margin-left: 0.5rem;
        color: #000000;
    }
    
    .artist-header-names-info .artist-name-secondary {
        font-size: 17px;
        color: #333333; /* Slightly lighter black for secondary text */
        line-height: 1.2;
    }
    
    /* Hide artist header image on mobile when specified */
    .artist-header-image.hide-mobile {
        display: none !important;
    }
}

/* Mobile Specific Styles */
@media (max-width: 768px) {
    .artist-header-row {
        flex-direction: column;
        height: 460px;
    }
    
    .artist-header-image {
        left: 0 !important;
        width: 100% !important;
        height: 200px !important;
        top: 0 !important;
    }
    
    .artist-header-img {
        height: 200px;
    }
                            
    .artist-header-names-mobile {
        position: absolute;
        top: 60%;
        left: 0;
        width: 100%;
        transform: translateY(-50%);
        z-index: 100;
        color: white;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
        text-align: center;
        padding: 0 1.5rem;
    }
    
    .artist-header-names-mobile .artist-name-main {
        font-size: 32px;
        margin-bottom: 0.25rem;
    }
    
    .artist-header-names-mobile .artist-name-korean-stage {
        font-size: 16px;
        margin-left: 0.25rem;
    }
    
    .artist-header-names-mobile .artist-name-secondary {
        font-size: 14px;
    }
    
    /* Mobile styles for main artist image will be inherited from @media (max-width: 1200px) */
}
