/* Single Artiste Styles */

article.single-artiste {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

.artiste-header {
    margin-bottom: 3rem;
}

.artiste-hero {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.artiste-image {
    flex-shrink: 0;
}

.artiste-photo {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #f0f0f0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.no-image-placeholder img{
    width: 250px;
    height: 250px;
    background: #f5f5f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid #f0f0f0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.no-image-placeholder .dashicons {
    font-size: 5rem;
    color: #ccc;
}

.artiste-info {
    flex-grow: 1;
}

.artiste-title {
    font-size: 2.5rem;
    margin: 0 0 0.5rem 0;
    color: #333;
    line-height: 1.2;
}

.artiste-real-name {
    font-size: 1.2rem;
    color: #666;
    font-style: italic;
    margin-bottom: 1rem;
}

.artiste-dates {
    margin-bottom: 1rem;
}

.date-item {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.date-label {
    font-weight: 600;
    color: #666;
    margin-right: 0.5rem;
}

.date-value {
    color: #333;
}

.artiste-nationality {
    margin-bottom: 1rem;
}

.nationality-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #e8f4fd;
    color: #1976d2;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.artiste-roles {
    margin-bottom: 1rem;
}

.role-badge {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    background: #f0f0f0;
    color: #555;
    border-radius: 15px;
    font-size: 0.85rem;
    margin: 0.2rem;
    font-weight: 500;
}

.artiste-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.artiste-main {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.artiste-bio h2,
.artiste-works h2 {
    font-size: 1.5rem;
    margin: 0 0 1rem 0;
    color: #333;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 0.5rem;
}

.artiste-bio {
    margin-bottom: 3rem;
}

.bio-content {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
}

.artiste-works {
    margin-top: 2rem;
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}

.work-item {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.work-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.work-cover {
    height: 250px;
    overflow: hidden;
}

.work-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.no-cover-placeholder {
    width: 100%;
    height: 100%;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.no-cover-placeholder .dashicons {
    font-size: 3rem;
    color: #ccc;
}

.work-info {
    padding: 1rem;
}

.work-title {
    font-size: 1rem;
    margin: 0 0 0.5rem 0;
    line-height: 1.3;
}

.work-title a {
    color: #333;
    text-decoration: none;
}

.work-title a:hover {
    color: #007cba;
}

.work-role {
    font-size: 0.9rem;
    color: #007cba;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.work-publisher,
.work-date {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 0.25rem;
}

.artiste-sidebar {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    height: fit-content;
}

.artiste-meta h3,
.artiste-links h3 {
    font-size: 1.3rem;
    margin: 0 0 1rem 0;
    color: #333;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 0.5rem;
}

.artiste-links {
    margin-top: 2rem;
}

.meta-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.meta-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 1rem;
}

.meta-list li:last-child {
    border-bottom: none;
}

.meta-list strong {
    color: #666;
    margin-right: 0.5rem;
}

.links-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.external-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: #f8f9fa;
    color: #666;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    border: 1px solid #e9ecef;
}

.external-link:hover {
    background: #e9ecef;
    color: #333;
    border-color: #dee2e6;
}

.external-link .dashicons {
    font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .artiste-hero {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        justify-content: center;
        align-items: center;
    }
    
    .artiste-photo,
    .no-image-placeholder img {
        width: 200px;
        height: 200px;
    }
    
    .artiste-title {
        font-size: 2rem;
    }
    
    .artiste-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .works-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 1rem;
    }
    
    .work-cover {
        height: 200px;
    }
}
