/* ==========================================
   Artist CPT 공통 설정
   ========================================== */
   .artist-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* ==========================================
   Archive Page (목록)
   ========================================== */
.artist-archive-wrapper {
    background-color: #fff;
}

.artist-hero-banner {
    background-color: #f8f9fa;
    padding: 60px 20px;
    text-align: center;
    border-bottom: 1px solid #eaeaea;
}

.artist-hero-banner h1 {
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
    color: #333;
}

/* 검색바 */
.artist-search-section {
    margin-bottom: 40px;
    display: flex;
    justify-content: flex-end;
}

.search-box form {
    display: flex;
    gap: 10px;
}

.search-input {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 250px;
}

.search-button {
    padding: 10px 20px;
    background-color: #333;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s;
}

.search-button:hover {
    background-color: #555;
}

/* 필터 */
.artist-category-filter {
    background: #fdfdfd;
    padding: 20px 30px;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    margin-bottom: 40px;
}

.filter-row {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.filter-row:last-child {
    margin-bottom: 0;
}

.filter-label {
    font-weight: bold;
    min-width: 80px;
    color: #555;
    font-size: 1.0rem;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-btn {
    padding: 6px 16px;
    border: 1px solid #ddd;
    border-radius: 20px;
    text-decoration: none;
    color: #666;
    font-size: 1.2rem;
    transition: all 0.2s;
}

.filter-btn:hover, .filter-btn.active {
    background-color: #333;
    color: #fff;
    border-color: #333;
}

.filter-reset {
    margin-top: 15px;
    text-align: right;
}

.reset-btn {
    font-size: 0.85rem;
    color: #999;
    text-decoration: none;
}

.reset-btn:hover {
    color: #d9534f;
}

/* 테이블 */
.artist-table-wrapper {
    overflow-x: auto;
}

.artist-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.artist-table th {
    background-color: #f8f9fa;
    padding: 15px 20px;
    font-weight: 600;
    color: #333;
    border-bottom: 2px solid #ddd;
    border-top: 1px solid #ddd;
}

.artist-table td {
    padding: 15px 20px;
    border-bottom: 1px solid #eaeaea;
    vertical-align: middle;
}

.artist-row {
    cursor: pointer;
    transition: background-color 0.2s;
}

.artist-row:hover {
    background-color: #f9f9f9;
}

.col-name { font-weight: bold; color: #333; width: 20%; font-size: 1.2rem; }
.col-name-eng { color: #666; width: 40%; font-size: 1.2rem; }
.col-category { color: #888; width: 40%; font-size: 1.2rem; }

.empty-message {
    text-align: center;
    padding: 40px;
    color: #999;
}

/* ==========================================
   Single Page (상세 페이지)
   ========================================== */
.artist-single-wrapper {
    background-color: #fff;
    padding-bottom: 60px;
}

.artist-back-nav {
    margin-bottom: 30px;
}

.artist-back-nav a {
    color: #666;
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.2s;
}

.artist-back-nav a:hover {
    color: #000;
}

/* 헤더 정보 */
.artist-profile-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-bottom: 30px;
    border-bottom: 2px solid #222;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.artist-badge {
    display: inline-block;
    background: #333;
    color: #fff;
    padding: 4px 12px;
    font-size: 0.8rem;
    border-radius: 4px;
    margin-bottom: 15px;
}

.artist-name {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0 0 5px 0;
    color: #222;
}

.artist-name-eng {
    font-size: 1.2rem;
    font-weight: 400;
    color: #888;
    margin: 0;
}

.artist-contact-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.artist-contact-info li {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 8px;
}

.artist-contact-info li:last-child {
    margin-bottom: 0;
}

.artist-contact-info a {
    color: #555;
    text-decoration: underline;
}

.artist-contact-info a:hover {
    color: #000;
}

/* 콘텐츠 레이아웃 (Grid) */
.artist-content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
}

.section-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eaeaea;
    color: #333;
}

/* 작품 갤러리 */
.artworks-gallery {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
}

.artwork-item img {
    width: 100%;
    height: auto;
    display: block;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-radius: 4px;
}

.artist-biography {
    line-height: 1.8;
    color: #444;
}

/* 경력 사항 */
.career-content {
    line-height: 1.8;
    color: #555;
    font-size: 1.3rem;
}

.no-data {
    color: #aaa;
    font-style: italic;
}

/* ==========================================
   반응형 모바일 처리
   ========================================== */
@media (max-width: 768px) {
    .artist-content-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .artist-profile-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .artist-search-section {
        justify-content: flex-start;
    }
    
    .search-input {
        width: 100%;
    }
    
    .artist-table th, .artist-table td {
        padding: 10px;
        font-size: 0.9rem;
    }
}