/**
 * Artist Page Styles
 *
 * @package Lyrics3s_Theme
 * < 350 lines per rule 11
 */

@import url('artist-discography.css');
@import url('artist-bio.css');

.l3s-artist-page {
    padding: 32px 0 64px;
}

/* Breadcrumb */
.l3s-breadcrumb {
    margin-bottom: 24px;
    font-size: 14px;
}
.l3s-breadcrumb ol {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}
.l3s-breadcrumb a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}
.l3s-breadcrumb a:hover {
    color: var(--primary);
}
.l3s-breadcrumb span[aria-current="page"] {
    color: var(--text-primary);
    font-weight: 500;
}
.l3s-breadcrumb li:not(:last-child)::after {
    content: "/";
    color: var(--text-muted);
    margin-left: 8px;
}

/* Layout */
.l3s-artist-layout {
    display: flex;
    gap: 32px;
    align-items: stretch;
}
.l3s-artist-main-col {
    flex: 1;
    min-width: 0;
}
.l3s-artist-sidebar {
    width: 300px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

@media (max-width: 991px) {
    .l3s-artist-layout {
        flex-direction: column;
    }
    .l3s-artist-sidebar {
        width: 100%;
    }
}

/* Hero Section */
.l3s-artist-hero {
    background: linear-gradient(135deg, #f0e6fa 0%, #d8c2f5 100%);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
    min-height: 240px;
    display: flex;
    align-items: center;
}
.l3s-hero-bg-faded {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 60%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    mask-image: linear-gradient(to right, transparent 0%, black 70%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 70%);
    opacity: 0.8;
    pointer-events: none;
    z-index: 0;
}
.l3s-artist-hero-inner {
    display: flex;
    gap: 32px;
    align-items: center;
    position: relative;
    z-index: 1;
    width: 100%;
}
.l3s-artist-avatar {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    border: 4px solid #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
    flex-shrink: 0;
    background: #fff;
}
.l3s-artist-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.l3s-avatar-placeholder {
    width: 100%;
    height: 100%;
    background: var(--bg-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}
.l3s-artist-hero-info {
    flex: 1;
}
.l3s-artist-title {
    font-size: 36px;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0 0 8px 0;
    font-family: var(--font-heading);
    display: flex;
    align-items: center;
    gap: 8px;
}
.l3s-artist-roles {
    font-size: 15px;
    color: #4a4a4a;
    margin-bottom: 12px;
    font-weight: 500;
}
.l3s-artist-country {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 500;
    color: #4a4a4a;
    margin-bottom: 24px;
}
.l3s-artist-socials {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.l3s-social-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    text-decoration: none;
    background: #fff;
    color: #333;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}
.l3s-social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.l3s-social-btn.fb svg { color: #5a5a5a; }
.l3s-social-btn.yt svg { color: #ef4444; }
.l3s-social-btn.sp svg { color: #22c55e; }
.l3s-social-btn.ig svg { stroke: url(#ig-grad); stroke-width: 2.5; }
.l3s-social-btn.more-options {
    padding: 8px 12px;
    color: #666;
}

@media (max-width: 575px) {
    .l3s-artist-hero-inner {
        flex-direction: column;
        text-align: center;
    }
    .l3s-artist-socials {
        justify-content: center;
    }
}

/* Nav Tabs */
.l3s-artist-nav {
    display: flex;
    gap: 24px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 32px;
    overflow-x: auto;
    scrollbar-width: none;
}
.l3s-artist-nav::-webkit-scrollbar { display: none; }
.l3s-artist-nav a {
    padding: 12px 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-secondary);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
    white-space: nowrap;
}
.l3s-artist-nav a:hover {
    color: var(--text-primary);
}
.l3s-artist-nav a.is-active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

/* General Sections */
.l3s-artist-section {
    margin-bottom: 48px;
    scroll-margin-top: 80px;
}
.l3s-section-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
}
.l3s-section-card .l3s-section-header {
    margin-bottom: 24px;
}
.l3s-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}
.l3s-section-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.l3s-view-all-link {
    font-size: 14px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}
.l3s-view-all-link:hover {
    text-decoration: underline;
}
