/* 시설소개 페이지 스타일 */

.facility-intro-container { 
    padding: 0 5%; 
    max-width: 100%; 
    box-sizing: border-box; 
}

.intro-header { 
    text-align: center; 
    margin-bottom: 50px; 
}

.intro-header h1 { 
    font-size: 2.5rem; 
    font-weight: 700; 
    color: #2c3e50; 
    margin-bottom: 15px; 
}

.intro-header p { 
    font-size: 1.1rem; 
    color: #7f8c8d; 
    line-height: 1.8; 
}

/* 메인 탭 메뉴 (시설별) */
.facility-tabs { 
    display: flex; 
    gap: 0; 
    margin-bottom: 50px; 
    border-bottom: 2px solid #333; 
    overflow-x: auto; 
    max-width: 100%; 
    box-sizing: border-box; 
}

.facility-tab { 
    padding: 15px 30px; 
    font-size: 1.1rem; 
    font-weight: 600; 
    color: #666; 
    background: transparent; 
    border: none; 
    border-bottom: 3px solid transparent; 
    cursor: pointer; 
    transition: all 0.3s ease; 
    white-space: nowrap; 
    position: relative; 
    top: 2px; 
}

.facility-tab:hover { 
    color: #333; 
}

.facility-tab.active { 
    color: #333; 
    border-bottom-color: #333; 
}

/* 시설 섹션 */
.facility-section { 
    display: none; 
}

.facility-section.active { 
    display: block; 
}

.sub-tab { 
    padding: 12px 25px; 
    font-size: 1.2rem; 
    font-weight: 600; 
    color: #666; 
    background: transparent; 
    border: none; 
    border-bottom: 3px solid transparent; 
    cursor: pointer; 
    transition: all 0.3s ease; 
    position: relative; 
    white-space: nowrap; 
    flex-shrink: 0; 
}

.sub-tab:hover { 
    color: #333; 
}

.sub-tab.active { 
    color: #333; 
    border-bottom-color: #333; 
}

.sub-tabs { 
    padding: 8px 8px 0 8px; 
}

.sub-tabs .sub-tab:focus-visible { 
    outline: none !important; 
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.4), 0 0 8px rgba(0, 102, 204, 0.6) !important; 
    border-radius: 4px; 
    z-index: 2; 
}

/* 서브 탭 컨텐츠 - 항상 표시 */
.facility-intro-container .sub-tab-content { 
    display: block !important; 
}

#facilitySections .sub-tab-content { 
    display: block !important; 
}

/* 서브-서브 탭 컨텐츠 */
.inner-tab-content { 
    display: none; 
}

.inner-tab-content.active { 
    display: block; 
}

/* 공간안내 내부 탭 */
.space-info-tabs { 
    padding: 8px; 
    margin-bottom: 30px; 
    background: #f5f5f5; 
    border-radius: 12px; 
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.06); 
}

.space-info-tab { 
    padding: 20px 25px; 
    font-size: 1.1rem; 
    font-weight: 500; 
    color: #666; 
    background: transparent; 
    border: none; 
    border-radius: 8px; 
    cursor: pointer; 
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); 
    text-align: center; 
    position: relative; 
    flex: 1; 
    white-space: nowrap; 
}

.space-info-tab:hover { 
    color: #333; 
    background: rgba(255, 255, 255, 0.6); 
}

.space-info-tab.active { 
    color: #fff; 
    font-weight: 600; 
    background: #000; 
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3); 
}

.space-info-tab.active:hover { 
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4); 
}

.space-info-tab-content { 
    display: none; 
}

.space-info-tab-content.active { 
    display: block; 
}

/* depth3_menu 스타일 조정 (소개 탭 내부 서브탭용) */
.inner-tab-content .depth3_menu { 
    display: block !important; 
    padding: 0 !important; 
}

.inner-tab-content .depth3_menu_row { 
    margin-bottom: 30px; 
}

/* 사업소개 탭 컨텐츠 */
.business-tab-content { 
    display: none; 
}

.business-tab-content.active { 
    display: block; 
}

/* 구역 버튼 스타일 */
.area-btn { 
    padding: 12px 24px; 
    background: #fff; 
    color: #333; 
    border: 2px solid #ddd; 
    border-radius: 4px; 
    cursor: pointer; 
    font-size: 1rem; 
    font-weight: 500; 
    transition: all 0.3s ease; 
    min-width: 200px;
}

/* 화면 크기별 area-btn min-width 조정 */
@media (max-width: 1280px) {
    .area-btn {
        min-width: 254px;
    }
}

@media (max-width: 1200px) {
    .area-btn {
        min-width: 180px;
    }
}

@media (max-width: 1024px) {
    .area-btn {
        min-width: 181px;
    }
}

@media (max-width: 912px) {
    .area-btn {
        min-width: 229px;
    }
}

@media (max-width: 900px) {
    .area-btn {
        min-width: 140px;
    }
}

@media (max-width: 820px) {
    .area-btn {
        min-width: 189px;
    }
}

@media (max-width: 540px) {
    .area-btn {
        min-width: 160px;
    }
}

@media (max-width: 430px) {
    .area-btn {
        min-width: 191px;
    }
}

@media (max-width: 414px) {
    .area-btn {
        min-width: 180px;
    }
}

@media (max-width: 412px) {
    .area-btn {
        min-width: 183px;
    }
}

@media (max-width: 390px) {
    .area-btn {
        min-width: 172px;
    }
}

@media (max-width: 360px) {
    .area-btn {
        min-width: 158px;
    }
}

@media (max-width: 344px) {
    .area-btn {
        min-width: 151px;
    }
}

.area-btn:hover { 
    background: #f8f9fa; 
    border-color: #333; 
}

.area-btn.active { 
    background: #000; 
    color: #fff; 
    border-color: #000; 
}

/* 공간 소개 섹션 */
.space-intro { 
    margin-bottom: 60px; 
    display: flex; 
    gap: 5%; 
    align-items: flex-start; 
    max-width: 100%; 
    position: relative; 
}

.space-title-section { 
    flex: 0 0 250px; 
    position: -webkit-sticky; 
    position: sticky; 
    top: 150px; 
}

.space-intro h2 { 
    font-size: 3rem; 
    font-weight: 600; 
    color: #333; 
    margin-bottom: 20px; 
    padding-bottom: 0; 
    border-bottom: none; 
}

.space-title-tabs { 
    display: flex; 
    flex-direction: column; 
    padding: 0; 
    margin-bottom: 30px; 
}

/* 공연·전시·행사 배너 스타일 */
.performance-banner-link { 
    display: block; 
    padding: 14px 20px; 
    background: #fff; 
    color: #000; 
    text-decoration: none; 
    border-radius: 8px; 
    font-size: 1rem; 
    font-weight: 600; 
    transition: all 0.3s ease; 
    text-align: center; 
    border: 2px solid #000; 
    width: 100%;
    box-sizing: border-box;
}

.performance-banner-link:hover { 
    background: #f8f9fa; 
    transform: translateY(-2px); 
    box-shadow: 0 4px 12px rgba(0,0,0,0.2); 
    color: #000; 
}

.performance-banner-link i { 
    margin-right: 8px; 
    color: #000; 
}

/* 좌측 메뉴 하단 버튼 스타일 */
.area-action-buttons-sidebar { 
    margin-top: 0; 
    display: flex; 
    flex-direction: column; 
    gap: 10px; 
    width: 100%;
    box-sizing: border-box;
}

.area-action-btn { 
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
    padding: 14px 20px; 
    background: #000; 
    color: #fff; 
    text-decoration: none; 
    border-radius: 8px; 
    font-size: 0.95rem; 
    font-weight: 600; 
    transition: all 0.3s ease; 
    border: 2px solid #000; 
    text-align: center; 
    width: 100%;
    box-sizing: border-box;
}

.area-action-btn:hover { 
    background: #333; 
    border-color: #333; 
    transform: translateY(-2px); 
    box-shadow: 0 4px 12px rgba(0,0,0,0.2); 
}

.area-action-btn.secondary { 
    background: #fff; 
    color: #000; 
    border-color: #ddd; 
}

.area-action-btn.secondary:hover { 
    background: #f8f9fa; 
    border-color: #000; 
}

/* 인디플러스 포항/중앙아트홀 특별 버튼 스타일 - 스크롤 따라다니기 */
.special-buttons { 
    position: -webkit-sticky; 
    position: sticky; 
    top: 200px; 
    z-index: 10; 
    margin-top: 20px; 
}

.special-btn { 
    padding: 16px 24px; 
    font-size: 1rem; 
    font-weight: 700; 
    box-shadow: 0 4px 16px rgba(0,0,0,0.15); 
}

.special-btn.primary { 
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); 
    border: none; 
    color: #fff; 
}

.special-btn.primary:hover { 
    background: linear-gradient(135deg, #5568d3 0%, #653a8f 100%); 
    transform: translateY(-3px); 
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4); 
}

.special-btn.secondary { 
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); 
    border: none; 
    color: #fff; 
}

.special-btn.secondary:hover { 
    background: linear-gradient(135deg, #e081eb 0%, #e4465b 100%); 
    transform: translateY(-3px); 
    box-shadow: 0 6px 20px rgba(245, 87, 108, 0.4); 
}

.space-title-tab { 
    padding: 25px 30px 25px 20px; 
    font-size: 1.1rem; 
    font-weight: 500; 
    color: #666; 
    background: none; 
    border: none; 
    border-bottom: 1px solid #cccc; 
    cursor: pointer; 
    transition: all 0.3s ease; 
    text-align: right; 
    position: relative; 
}

.space-title-tab:hover { 
    color: #000; 
    transform: translateX(-4px); 
}

.space-title-tab.active { 
    font-weight: 600; 
    border-color: #000; 
    transform: translateX(-4px); 
    color: #000; 
}

.space-title-tab.active::before { 
    content: ''; 
    position: absolute; 
    right: 10px; 
    top: 50%; 
    transform: translateY(-50%); 
    width: 4px; 
    height: 20%; 
    background: #000; 
}

.space-content-section { 
    flex: 1; 
    min-width: 0; 
    max-width: 100%; 
    overflow-x: initial !important; 
    box-sizing: border-box; 
}

.space-intro .description { 
    font-size: 1.1rem; 
    color: #555; 
    line-height: 1.9; 
    margin-bottom: 30px; 
    word-wrap: break-word; 
    overflow-wrap: break-word; 
    max-width: 100%; 
}

/* 공간 정보 리스트 스타일 */
.space-info-list { 
    list-style: none; 
    padding: 0; 
    margin: 0 0 30px 0; 
}

.space-info-list li { 
    margin-bottom: 12px; 
    font-size: 1rem; 
    line-height: 1.6; 
    color: #333; 
    word-wrap: break-word; 
    overflow-wrap: break-word; 
    max-width: 100%; 
}

.space-info-list li strong { 
    font-weight: 600; 
    color: #333; 
}

/* 테이블 스타일 */
.location-info table { 
    width: 100%; 
    border-collapse: collapse; 
    margin: 20px 0; 
    font-size: 0.95rem; 
}

.location-info table th { 
    background: #f8f9fa; 
    padding: 12px; 
    text-align: left; 
    border: 1px solid #ddd; 
    font-weight: 600; 
    color: #333; 
}

.location-info table td { 
    padding: 12px; 
    border: 1px solid #ddd; 
    color: #555; 
}

.location-info table tr:hover { 
    background: #f8f9fa; 
}

.location-info h4 { 
    font-size: 1.3rem; 
    font-weight: 600; 
    margin-bottom: 20px; 
    color: #333; 
    padding-bottom: 10px; 
    border-bottom: 2px solid #333; 
}

.location-info h5 { 
    font-size: 1.1rem; 
    font-weight: 600; 
    margin: 30px 0 15px 0; 
    color: #333; 
}

/* 운영안내 컨텐츠 스타일 */
.cont { 
    margin-bottom: 30px; 
}

.cont h5 { 
    font-size: 1.3rem; 
    font-weight: 600; 
    color: #333; 
    margin: 20px 0; 
}

.con_box1 { 
    font-size: 1.1rem; 
    line-height: 2; 
    color: #333; 
    margin-bottom: 30px; 
    padding: 25px 30px; 
    background: #f8f9fa; 
    border-radius: 4px; 
    position: relative; 
}

.margin-bottom { 
    margin-bottom: 20px; 
}

.board { 
    margin-bottom: 80px; 
}

.table_style1 { 
    width: 100%; 
    border-collapse: collapse; 
    font-size: 0.95rem;     
    min-width: auto !important;
    table-layout: auto;
}

/* 테이블 래퍼 스타일 */
.margin_bottom {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    max-width: 100%;
}

.table_style1 thead th { 
    background: #f8f9fa; 
    padding: 15px; 
    text-align: center; 
    border: 1px solid #ddd; 
    font-weight: 600; 
    color: #333; 
}

.table_style1 tbody td { 
    padding: 15px; 
    border: 1px solid #ddd; 
    color: #555; 
    vertical-align: top; 
}

.table_style1 tbody td.left { 
    text-align: left; 
}

.table_style1 tbody tr:hover { 
    background: #f8f9fa; 
}

.list_style1 { 
    list-style: none; 
    padding: 0; 
    margin: 0; 
}

.list_style1 li { 
    margin-bottom: 8px; 
    padding-left: 0; 
    line-height: 1.6; 
    color: #555; 
}

.list_style1 li:before { 
    content: '• '; 
    color: #333; 
    font-weight: bold; 
    margin-right: 8px; 
}

/* 운영안내 및 공간안내 추가 스타일 */
.intro_w_f { 
    margin-bottom: 20px; 
}

.intro_w_f img { 
    width: 100%; 
    max-width: 100%; 
    height: auto; 
    display: block; 
}

.download_Btn { 
    margin: 30px 0; 
    display: flex; 
    gap: 10px; 
    flex-wrap: wrap; 
}

.down_btn { 
    display: inline-block; 
    padding: 12px 24px; 
    background: #333; 
    color: #fff; 
    text-decoration: none; 
    border-radius: 4px; 
    font-weight: 500; 
    transition: all 0.3s ease; 
    border: 1px solid #333; 
}

.down_btn:hover { 
    background: #000; 
    border-color: #000; 
    transform: translateY(-2px); 
    box-shadow: 0 2px 8px rgba(0,0,0,0.2); 
}

.down_btn_color2 { 
    background: #fff; 
    color: #333; 
    border-color: #ddd; 
}

.down_btn_color2:hover { 
    background: #f8f9fa; 
    border-color: #333; 
}

.margin_bottom { 
    margin-bottom: 20px; 
}

.tab_cont { 
    min-height: 600px; 
}

/* con_box2 스타일 - 세로 나열 세련된 디자인 */
.con_box2 { 
    list-style: none; 
    padding: 0; 
    margin: 50px 0; 
}

.con_box2 li { 
    display: flex; 
    align-items: flex-start; 
    margin-bottom: 40px; 
    padding-bottom: 40px; 
    border-bottom: 1px solid #000; 
    gap: 5%; 
}

.con_box2 li:last-child { 
    border-bottom: none; 
    margin-bottom: 0; 
    padding-bottom: 0; 
}

.con_box2 li img { 
    width: 50%; 
    height: 400px; 
    object-fit: cover; 
    flex-shrink: 0; 
    border-radius: 12px; 
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); 
}

.con_box2 li .box2_text_wrapper { 
    display: flex; 
    flex-direction: column; 
    flex: 1; 
}

.con_box2 li .box2_title { 
    display: block; 
    font-size: 2rem; 
    font-weight: 600; 
    color: #1a202c; 
    margin-bottom: 20px; 
    letter-spacing: -0.02em; 
}

.con_box2 li .box2_content { 
    color: #4a5568; 
    line-height: 1.8; 
    font-size: 1.1rem; 
    letter-spacing: -0.01em; 
}

/* 다운로드 링크 */
.download-links { 
    margin-bottom: 40px; 
}

.download-links h3 { 
    font-size: 1.2rem; 
    font-weight: 600; 
    color: #333; 
    margin-bottom: 15px; 
}

.download-list { 
    display: flex; 
    gap: 10px; 
    flex-wrap: wrap; 
    max-width: 100%; 
    overflow-x: hidden; 
}

.download-link { 
    display: inline-flex; 
    align-items: center; 
    gap: 6px; 
    padding: 8px 16px; 
    background: #fff; 
    color: #333; 
    border: 1px solid #ddd; 
    border-radius: 4px; 
    text-decoration: none; 
    font-weight: 500; 
    transition: all 0.3s ease; 
    font-size: 0.95rem; 
}

.download-link:hover { 
    background: #f8f9fa; 
    border-color: #333; 
}

.download-link i { 
    font-size: 0.85rem; 
}

.intro-top-text { 
    text-align: center; 
    font-size: 2rem; 
    margin-bottom: 50px; 
    border-top: 2px solid #000; 
    border-bottom: 2px solid #000; 
    padding: 40px 10px; 
    font-weight: 600; 
}

/* 이미지 갤러리 슬라이더 */
.facility-gallery { 
    position: relative; 
    margin-bottom: 40px; 
}

.gallery-slider { 
    width: 100%; 
    max-width: 100%; 
    margin-bottom: 0; 
    position: relative; 
    overflow: hidden; 
    box-sizing: border-box; 
}

.gallery-slide { 
    width: 100%; 
    height: 600px; 
    overflow: hidden; 
    background: #f5f5f5; 
    position: relative; 
}

.gallery-slide img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
}

.gallery-title { 
    color: #000; 
    font-size: 1.3rem; 
    font-weight: 400; 
}

.gallery-controls { 
    display: flex; 
    align-items: center; 
}

.gallery-counter { 
    color: #666; 
    font-size: 2rem; 
    font-weight: 100; 
    min-width: 50px; 
    text-align: center; 
    margin-right: 20px; 
}

.gallery-counter strong { 
    color: #000; 
    font-weight: bold; 
}

.gallery-control-btn { 
    background: none; 
    border: none; 
    color: #333; 
    font-size: 14px; 
    cursor: pointer; 
    width: 36px; 
    height: 36px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    transition: all 0.3s ease; 
    padding: 0; 
}

.gallery-control-btn:hover { 
    border-color: #ccc; 
}

.gallery-control-btn i { 
    font-size: 14px; 
    line-height: 1; 
}

.gallery-control-btn.stop-btn i { 
    font-size: 12px; 
}

/* 슬릭 네비게이션 화살표 - 숨김 */
.gallery-slider .slick-prev, 
.gallery-slider .slick-next { 
    display: none !important; 
}

/* 슬릭 도트 네비게이션 - 숨김 */
.gallery-slider .slick-dots { 
    display: none !important; 
    bottom: 80px; 
}

.gallery-slider .slick-dots li button:before { 
    color: white; 
    font-size: 12px; 
    opacity: 0.5; 
}

.gallery-slider .slick-dots li.slick-active button:before { 
    opacity: 1; 
    color: white; 
}

/* 위치 정보 */
.location-info { 
    background: #f8f9fa; 
    padding: 20px; 
    border-radius: 5px; 
    margin-top: 30px; 
}

.location-info p { 
    margin: 0; 
    color: #333; 
    font-size: 1rem; 
    line-height: 1.6; 
}

.location-info p:first-child { 
    font-weight: 600; 
    margin-bottom: 10px; 
}

.location-info p:last-child { 
    color: #666; 
    font-size: 0.9rem; 
}

/* 간단한 갤러리 스타일 */
.simple-gallery {
    padding: 20px 0;
    margin-bottom: 40px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    max-width: 100%;
}

.gallery-item {
    cursor: pointer;
    overflow: hidden;
    border-radius: 8px;
    background: #f5f5f5;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item-caption {
    padding: 20px 0 10px 0;
    text-align: center;
    font-size: 18px;
    color: #333;
    background: #fff;
    border-top: 1px solid #e0e0e0;
    line-height: 1.4;
    font-weight: 500;
}

/* 이미지 팝업 */
.image-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
}

.image-popup.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
}

.popup-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
}

.popup-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    width: 50px;
    height: 50px;
    line-height: 50px;
    z-index: 10001;
    transition: color 0.3s ease;
}

.popup-close:hover {
    color: #ccc;
}

.popup-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #fff;
    font-size: 40px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10001;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-nav:hover {
    background: rgba(255, 255, 255, 0.3);
}

.popup-prev {
    left: -70px;
}

.popup-next {
    right: -70px;
}

.popup-counter {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 18px;
    font-weight: 500;
}

/* 입주작가 소개 스타일 */
.artists-intro-section {
    padding: 20px 0;
}

.artists-intro-section h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 40px;
}

.artists-intro-section > p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #6b7280;
    margin-bottom: 40px;
}

.artists-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.artist-card {
    cursor: pointer;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #fff;
}

.artist-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
}

.artist-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
    background: #f3f4f6;
}

.artist-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.artist-info {
    padding: 20px;
}

.artist-info h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 8px;
}

/* 작가 상세 모달 */
.artist-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.7);
}

.artist-modal.show {
    display: block;
}

.artist-modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 0;
    border-radius: 16px;
    width: 80%;
    max-width: 1200px;
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
    position: relative;
}

.artist-modal-close {
    position: absolute;
    right: 20px;
    top: 20px;
    color: #9ca3af;
    font-size: 32px;
    font-weight: 300;
    cursor: pointer;
    z-index: 1;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
}

.artist-modal-close:hover {
    color: #666;
    background: #f3f4f6;
}

.artist-modal-body {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 40px;
    padding: 40px;
}

.artist-modal-image {
    position: relative;
}

.artist-modal-image img {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
    height: auto;
    display: block;
}

.artist-modal-info h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 24px;
}

.artist-modal-section {
    margin-bottom: 32px;
}

.artist-modal-section:last-child {
    margin-bottom: 0;
}

.artist-modal-section h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e5e7eb;
}

.artist-modal-section-content {
    font-size: 0.938rem;
    line-height: 1.8;
    color: #6b7280;
}

@media (max-width: 1000px) {
    .artist-view-container {
        display: flex !important;
        flex-direction: column;
    }
}

.artist-view-container {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 40px;
    padding: 40px;
}

/* 로딩 및 에러 메시지 */
.loading {
    text-align: center;
    padding: 40px;
    color: #999;
}

.no-data {
    text-align: center;
    padding: 40px;
    color: #999;
}

.artists-no-data {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    color: #6b7280;
}

@media (max-width: 1000px) {
    /* 모바일에서 sticky 제거 */
    .space-title-section {
        position: static !important;
        flex: none;
        width: 100%;
        max-width: 100%;
    }
    
    /* 모바일에서 이미지 가로 100% */
    .con_box2 li img {
        width: 100%;
    }
    
    /* 모바일에서 gap 10px */
    .con_box2 li {
        gap: 10px;
    }
}
/* 반응형 디자인 */
@media (max-width: 1024px) {
    .gallery-slide { 
        height: 500px; 
    }
    
    .gallery-title { 
        font-size: 1rem; 
    }
    
    .gallery-counter { 
        font-size: 0.85rem; 
    }
    
    .gallery-control-btn { 
        width: 32px; 
        height: 32px; 
    }
}

@media (max-width: 768px) {
    .intro-header h1 { 
        font-size: 2rem; 
    }
    
    .space-intro h2 { 
        font-size: 1.2rem !important; 
    }
    
    .gallery-controls { 
        width: 100%; 
    }
    
    .gallery-title { 
        font-size: 0.95rem; 
    }
    
    .gallery-counter { 
        font-size: 1.5rem; 
    }
    
    .gallery-control-btn { 
        width: 30px; 
        height: 30px; 
    }
    
    .gallery-control-btn i { 
        font-size: 12px; 
    }
    
    .gallery-slide { 
        height: 400px; 
    }
    
    .facility-intro-container { 
        padding: 0 3%; 
        overflow-x: hidden; 
    }
    
    .facility-tabs { 
        overflow-x: auto; 
        -webkit-overflow-scrolling: touch; 
        max-width: 100%; 
    }
    
    .facility-tab {
        padding: 12px 20px;
        font-size: 1rem;
    }
    
    /* 아티스트 모달 모바일 스타일 */
    .artist-modal-content {
        width: 95%;
        margin: 10px auto;
        max-height: 95vh;
        overflow-y: auto;
        border-radius: 12px;
    }
    
    .artist-modal-close {
        right: 15px;
        top: 15px;
        width: 36px;
        height: 36px;
        font-size: 28px;
    }
    
    .artist-modal-body {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px;
    }
    
    .artist-modal-image {
        margin-bottom: 0;
    }
    
    .artist-modal-image img {
        border-radius: 8px;
    }
    
    .artist-modal-info h2 {
        font-size: 1.5rem;
        margin-bottom: 20px;
        text-align: center;
    }
    
    .artist-modal-section {
        margin-bottom: 24px;
    }
    
    .artist-modal-section h3 {
        font-size: 1rem;
        margin-bottom: 10px;
        padding-bottom: 6px;
    }
    
    .artist-modal-section-content {
        font-size: 0.875rem;
        line-height: 1.7;
    }
    
    .space-intro { 
        flex-direction: column; 
        gap: 20px; 
        max-width: 100%; 
        overflow-x: hidden; 
    }
    
    /* 모바일에서 탭 버튼 가로 레이아웃 */
    .space-title-tabs {
        flex-direction: row;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding: 0;
        margin-bottom: 15px;
    }
    
    .space-title-tab {
        padding: 14px 20px;
        font-size: 0.95rem;
        font-weight: 500;
        white-space: nowrap;
        flex-shrink: 0;
        border-bottom: 2px solid transparent;
        text-align: center;
        transform: none !important;
        transition: none;
    }
    
    .space-title-tab:hover {
        transform: none !important;
        color: #666;
    }
    
    .space-title-tab.active {
        border-bottom-color: #000;
        font-weight: 600;
        transform: none !important;
    }
    
    /* 768px 이하에서 area-btn을 왼쪽 정렬 */
    .area-buttons-container .area-buttons {
        justify-content: flex-start !important;
    }
    
    /* 768px 이하에서 area-btn min-width 조정 */
    .area-btn {
        min-width: 120px;
        padding: 8px 16px;
        font-size: 0.9rem;
    }
    
    .area-buttons-container .area-btn {
        min-width: 120px;
        padding: 5px 10px;
        font-size: 13px;
    }
    
    /* 모바일에서 사이드바 버튼 스타일 */
    .area-action-buttons-sidebar {
        width: 100%;
        max-width: 100%;
        margin-top: 15px;
    }
    
    .performance-banner {
        width: 100%;
    }
    
    .performance-banner-link {
        width: 100%;
        font-size: 0.9rem;
        padding: 12px 16px;
        white-space: normal;
        word-break: keep-all;
    }
    
    .area-action-btn {
        width: 100%;
        font-size: 0.9rem;
        padding: 12px 16px;
        white-space: normal;
        word-break: keep-all;
    }
}

/* 추가 화면 크기별 area-btn min-width 조정 */
@media (max-width: 820px) {
    .area-buttons-container .area-btn {
        min-width: 189px;
    }
}
@media (max-width: 768px) {
    /* 공지사항 탭의 글쓰기 버튼은 모바일에서도 항상 표시 */
    .notice-board-section .btm_item [id^="addBtn_"],
    .notice-board-section .btm_item #add_btn {
        display: block !important;
    }
    
    .notice-board-section .btm_item .writing_bt,
    .notice-board-section .btm_item #add_btn {
        position: relative !important;
        right: auto !important;
        top: auto !important;
        margin-top: 15px;
    }
    
    .notice-board-section .btm_item {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
}

@media (max-width: 344px) {
    
    /* 768px 이하에서 글쓰기 버튼을 space-intro 밖으로 이동 */
    .space-writing-btn-mobile {
        width: 100%;
        display: flex;
        justify-content: flex-start;
        margin-top: 20px;
        margin-bottom: 20px;
        padding-left: 0;
    }
    
    .space-writing-btn-mobile .writing_bt {
        position: relative;
        top: 0;
        right: 0;
    }
    
    .space-title-section { 
        position: static; 
        flex: none; 
        width: 100%; 
        max-width: 100%; 
    }
    
    /* 모바일에서 탭 버튼 가로 레이아웃 */
    .space-title-tabs {
        flex-direction: row;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding: 0;
        margin-bottom: 15px;
    }
    
    .space-title-tab { 
        padding: 14px 18px; 
        font-size: 0.9rem;
        font-weight: 500;
        white-space: nowrap;
        flex-shrink: 0;
        border-bottom: 2px solid transparent;
        text-align: center;
        transform: none !important;
        transition: none;
    }
    
    .space-title-tab:hover {
        transform: none !important;
        color: #666;
    }
    
    .space-title-tab.active {
        border-bottom-color: #000;
        font-weight: 600;
        transform: none !important;
    }
    
    .performance-banner-link { 
        font-size: 0.85rem; 
        padding: 10px 14px;
        width: 100%;
        white-space: normal;
        word-break: keep-all;
    }
    
    .area-action-buttons-sidebar {
        width: 100%;
        max-width: 100%;
        margin-top: 15px;
    }
    
    .performance-banner {
        width: 100%;
    }
    
    .area-action-btn {
        width: 100%;
        font-size: 0.85rem;
        padding: 10px 14px;
        white-space: normal;
        word-break: keep-all;
    }
    .special-buttons { 
        position: fixed; 
        bottom: 20px; 
        left: 20px; 
        right: auto; 
        top: auto; 
        width: auto; 
        max-width: calc(100% - 40px); 
        z-index: 1000; 
        flex-direction: row; 
        gap: 10px; 
        margin-top: 0; 
    }
    
    .special-btn { 
        flex: 1; 
        padding: 14px 18px; 
        font-size: 0.9rem; 
    }
    
    .space-content-section { 
        width: 100%; 
        max-width: 100%; 
        overflow-x: hidden; 
    }
    
    .sub-tabs { 
        overflow-x: auto; 
        -webkit-overflow-scrolling: touch; 
        padding: 10px 0; 
    }
    
    .sub-tab { 
        padding: 10px 20px; 
        font-size: 0.9rem; 
        white-space: nowrap; 
        flex-shrink: 0; 
    }
    
    .space-info-tabs { 
        overflow-x: auto; 
        -webkit-overflow-scrolling: touch; 
        padding: 8px; 
        margin-bottom: 20px; 
    }
    
    .space-info-tab { 
        padding: 12px 16px; 
        font-size: 0.9rem; 
        white-space: nowrap; 
        flex-shrink: 0; 
        min-width: auto; 
    }
    
    .inner-tab-content .depth3_menu { 
        padding: 0; 
    }
    
    .inner-tab-content .depth3_menu_row { 
        margin-bottom: 20px; 
    }
    
    .con_box2 li { 
        flex-direction: column-reverse; 
        gap: 10px; 
    }
    
    .con_box2 li:nth-child(even) { 
        flex-direction: column; 
    }
    
    .con_box2 li img { 
        width: 100%; 
        height: 250px; 
    }
    
    .con_box2 li .box2_title { 
        font-size: 1.5rem; 
    }
    
    .con_box2 li .box2_content { 
        font-size: 0.9rem; line-height: 1.5;
    }
    
    .con_box1 { 
        padding: 20px; 
        font-size: 1rem; 
    }
    
    .board { 
        overflow-x: auto !important; 
        -webkit-overflow-scrolling: touch; 
        margin: 0; 
        padding: 0; 
        width: 100%; 
        max-width: 100%; 
    }
    
    .table_style1 { 
        font-size: 0.85rem !important; 
        width: 100% !important; 
        display: table !important; 
        table-layout: auto !important;
    }
    
    .table_style1 th, 
    .table_style1 td { 
        padding: 10px 8px !important; 
        white-space: normal !important; 
        word-wrap: break-word !important;
        word-break: break-word !important;
        line-height: 1.5 !important;
    }
    
    .table_style1 th { 
        font-size: 0.8rem !important; 
        background: #f5f5f5 !important; 
        white-space: normal !important;
    }
    
    .table_style1 td { 
        font-size: 0.8rem !important; 
    }
    
    .table_style1 .row_th {
        white-space: normal !important;
        word-break: keep-all !important;
    }
    
    .gallery-slide { 
        height: 400px; 
    }
    
    .gallery-slider { 
        max-width: 100%; 
        overflow: hidden; 
    }
    
    .gallery-slider .slick-prev, 
    .gallery-slider .slick-next { 
        display: none !important; 
    }
    
    .gallery-slider .slick-dots { 
        display: none !important; 
    }
    
    .gallery-controls { 
        bottom: 60px; 
        padding: 0; 
    }
    
    .gallery-control-btn { 
        width: 35px; 
        height: 35px; 
        font-size: 14px; 
    }
    
    .gallery-control-btn i { 
        font-size: 12px; 
    }
    
    .gallery-control-btn.stop-btn i { 
        font-size: 10px; 
    }
    
    .download_Btn { 
        flex-direction: column; 
    }
    
    .down_btn { 
        width: 100%; 
        text-align: center; 
    }
    
    .intro-top-text { 
        font-size: 1.3rem; 
        margin-bottom: 30px; 
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .gallery-item-caption {
        padding: 10px;
        font-size: 13px;
    }
    
    .popup-nav {
        width: 40px;
        height: 40px;
        font-size: 30px;
    }
    
    .popup-prev {
        left: 10px;
    }
    
    .popup-next {
        right: 10px;
    }
    
    .popup-close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
        font-size: 32px;
    }
    
    .artist-modal-body {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px;
    }
    
    .artists-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .artist-image {
        height: 300px;
    }
    
    .artist-info {
        padding: 15px;
    }
    
    .artist-info h4 {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    /* 아티스트 모달 작은 모바일 스타일 */
    .artist-modal-close {
        right: 10px;
        top: 10px;
        width: 32px;
        height: 32px;
        font-size: 24px;
    }
    
    .artist-modal-body {
        padding: 15px;
        gap: 15px;
    }
    
    .artist-modal-info h2 {
        font-size: 1.25rem;
        margin-bottom: 16px;
    }
    
    .artist-modal-section {
        margin-bottom: 20px;
    }
    
    .artist-modal-section h3 {
        font-size: 0.938rem;
        margin-bottom: 8px;
        padding-bottom: 4px;
    }
    
    .artist-modal-section-content {
        font-size: 0.813rem;
        line-height: 1.6;
    }
    
    /* 모바일에서 sticky 제거 */
    .space-title-section {
        position: static !important;
        flex: none;
        width: 100%;
        max-width: 100%;
    }
    
    /* 모바일에서 탭 버튼 가로 레이아웃 */
    .space-title-tabs {
        flex-direction: row;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding: 0;
        margin-bottom: 15px;
    }
    
    .space-title-tab {
        padding: 14px 18px;
        font-size: 0.9rem;
        font-weight: 500;
        white-space: nowrap;
        flex-shrink: 0;
        border-bottom: 2px solid transparent;
        text-align: center;
        transform: none !important;
        transition: none;
    }
    
    .space-title-tab:hover {
        transform: none !important;
        color: #666;
    }
    
    .space-title-tab.active {
        border-bottom-color: #000;
        font-weight: 600;
        transform: none !important;
    }
    
    .area-btn {
        min-width: 100px;
        padding: 8px 12px;
        font-size: 0.9rem;
    }
    
    .area-buttons-container .area-btn {
        min-width: auto;
        padding: 5px 8px;
        font-size: 12px;
    }
    
    .gallery-slide { 
        height: 300px; 
    }
    
    .gallery-counter { 
        font-size: 1.2rem; 
    }
    
    .gallery-title { 
        font-size: 0.85rem; 
    }
    
    .space-info-tab { 
        padding: 10px 12px; 
        font-size: 0.85rem; 
    }
    
    /* 모바일에서 gap 10px */
    .con_box2 li {
        gap: 10px;
    }
    
    .con_box2 li img { 
        width: 100%;
        height: 200px; 
    }
    
    .con_box2 li .box2_title { 
        font-size: 1.3rem; 
    }
    
    .con_box1 { 
        padding: 15px; 
        font-size: 0.95rem; 
    }
    
    .intro-top-text { 
        font-size: 1.1rem; 
    }
    
    /* 모바일에서 사이드바 버튼 스타일 */
    .area-action-buttons-sidebar {
        width: 100%;
        max-width: 100%;
        margin-top: 15px;
    }
    
    .performance-banner {
        width: 100%;
    }
    
    .performance-banner-link {
        width: 100%;
        font-size: 0.85rem;
        padding: 10px 14px;
        white-space: normal;
        word-break: keep-all;
    }
    
    .area-action-btn {
        width: 100%;
        font-size: 0.85rem;
        padding: 10px 14px;
        white-space: normal;
        word-break: keep-all;
    }
    
    .table_style1 { 
        font-size: 0.75rem !important; 
        width: 100% !important;
        table-layout: auto !important;
    }
    
    .table_style1 th, 
    .table_style1 td { 
        padding: 8px 6px !important; 
        white-space: normal !important;
        word-wrap: break-word !important;
        word-break: break-word !important;
        line-height: 1.4 !important;
    }
    
    .table_style1 th { 
        font-size: 0.7rem !important; 
        white-space: normal !important;
    }
    
    .table_style1 td { 
        font-size: 0.7rem !important; 
    }
    
    .table_style1 .row_th {
        white-space: normal !important;
        word-break: keep-all !important;
    }
    
    .gallery-item-caption {
        padding: 8px;
        font-size: 12px;
    }
    
    .artists-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .artist-image {
        height: auto;
        aspect-ratio: 3 / 4;
        min-height: 200px;
    }
    
    .artist-info {
        padding: 12px;
    }
    
    .artist-info h4 {
        font-size: 1rem;
    }
}

