/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* 艺术家列表容器样式 */
.artist-list-container {
    margin-top: 80px;
    margin-left: auto;
    margin-right: auto;
    max-width: 1200px;
    padding: 20px;
}

/* 艺术家列表网格布局 */
.artist-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

/* 艺术家卡片样式 */
.artist-item {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.artist-item:hover {
    opacity: 0.8;
}

.artist-portrait {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    background: #f5f5f5;
    margin-bottom: 15px;
}

.artist-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.artist-name {
    font-weight: bold;
    font-size: 1.2em;
}

.artist-bio {
    color: #666;
    font-size: 0.95em;
    line-height: 1.5;
    /* 限制文本行数，超出显示省略号 */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 响应式布局调整 */
@media (max-width: 900px) {
    .artist-list {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 20px;
        padding: 15px 0;
    }

    .artist-list-container {
        padding: 15px;
    }

    .artist-portrait {
        aspect-ratio: 1;
    }

    .artist-bio {
        -webkit-line-clamp: 2;
    }
}

@media (max-width: 600px) {
    .artist-list {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 15px;
    }

    .artist-list-container {
        padding: 10px;
    }
} 