
.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; }
/* 서브 탭 컨텐츠 - 항상 표시 */
.facility-intro-container .sub-tab-content { display: block !important; padding: 0 !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; }
/* 구역 버튼 스타일 */
.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; }
.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; flex-direction: column; gap: 30px; max-width: 100%; position: relative; }
.space-title-section {position: unset !important; width: 100%; flex: 0 !important;}
.space-intro h2 { font-size: 3rem; font-weight: 800; color: #111827; margin-bottom: 30px; padding-bottom: 20px; border-bottom: 3px solid #111827; letter-spacing: -0.03em; line-height: 1.2; background: linear-gradient(135deg, #111827 0%, #374151 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
/* depth3_menu 스타일 조정 */
.space-title-section .depth3_menu { padding: 0 !important; display: block !important; }
.space-title-section .depth3_menu_row { margin-bottom: 30px; }
/* 좌측 메뉴 하단 버튼 스타일 */
.area-action-buttons-sidebar { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; flex-wrap: wrap;}
.area-action-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 16px 24px; background: linear-gradient(135deg, #111827 0%, #1f2937 100%); color: #fff; text-decoration: none; border-radius: 12px; font-size: 1rem; font-weight: 700; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); border: none; text-align: center; letter-spacing: -0.01em; box-shadow: 0 4px 16px rgba(0,0,0,0.15);     white-space: nowrap;}
.area-action-btn:hover { background: linear-gradient(135deg, #1f2937 0%, #374151 100%); transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.25); }
/* 우측 상단 고정 버튼 */
.floating-action-buttons { position: fixed; top: 520px; right: 0px; z-index: 10; display: flex; flex-direction: column; gap: 15px; }
.floating-btn {  min-width: 85px; height: 80px; border-radius: 5px 0px 0px 5px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; text-decoration: none; box-shadow: 0 10px 40px rgba(99, 102, 241, 0.4), 0 0 0 2px rgba(255,255,255,0.2); transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); font-weight: 700; position: relative; backdrop-filter: blur(10px); animation: pulse-glow 2s ease-in-out infinite; }
.floating-btn:hover { transform: translateY(-5px) scale(1.05); box-shadow: 0 15px 50px rgba(99, 102, 241, 0.6), 0 0 0 3px rgba(255,255,255,0.3); animation: none; }
@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 10px 40px rgba(99, 102, 241, 0.4), 0 0 0 2px rgba(255,255,255,0.2); }
    50% { box-shadow: 0 10px 50px rgba(99, 102, 241, 0.6), 0 0 0 3px rgba(255,255,255,0.3); }
}
.floating-btn-primary { background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%); color: #fff; }
.floating-btn-primary:hover { background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%); }
.floating-btn-secondary { background: linear-gradient(135deg, #ec4899 0%, #f43f5e 100%); color: #fff; }
.floating-btn-secondary:hover { background: linear-gradient(135deg, #db2777 0%, #e11d48 100%); }
.floating-btn-text { position: static; opacity: 1; transform: none; pointer-events: auto; background: none; padding: 0; box-shadow: none; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.02em; }
.floating-btn-text::after { display: none; }
.floating-btn i { font-size: 1.0rem; }
@media screen and (max-width: 1000px) {
    /* 퀵메뉴 마지막 아이템 하단 여백 - 인디플러스 포항 페이지 전용 */
    /* 더 구체적인 선택자로 우선순위 높임 */
    html body #page-wrapper a.quick-menu-item:last-of-type,
    html body a.quick-menu-item:last-of-type {
        margin-bottom: 100px !important;
    }
    
    .floating-action-buttons {
        position: fixed !important;
        top: auto !important;
        bottom: 50px !important;
        right: 0 !important;
        left: 0 !important;
        width: 100% !important;
        z-index: 999 !important;
        flex-direction: row !important;
        gap: 0 !important;
        transition: bottom 0.3s ease-out, transform 0.3s ease-out;
        padding: 0 2% !important;
        box-sizing: border-box !important;
    }
    /* 스크롤 시 버튼 하단으로 이동 */
    .floating-action-buttons.scroll-hidden {
        bottom: 1% !important;
        transform: translateY(0);
    }
    .floating-btn {
        min-width: auto !important;
        width: 100% !important;
        height: 40px !important;
        border-radius: 10px !important;
        padding: 0 10px !important;
        font-size: 0.75rem !important;
        margin: 0 !important;
        box-shadow: none !important;
        animation: none !important;
        display: flex;
        flex-direction: row;
        gap: 10px;
    }
    .floating-btn-text br{display: none;}
    .floating-btn:hover {
        transform: none !important;
        box-shadow: none !important;
    }
    .floating-btn-text {
        font-size: 0.7rem !important;
        line-height: 1.2 !important;
    }
    .floating-btn i {
        font-size: 0.9rem !important;
    }
}
.space-content-section { flex: 1; min-width: 100% !important; max-width: 100%; overflow-x: hidden; 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; overflow-x: auto; -webkit-overflow-scrolling: touch; width: 100%; max-width: 100%; }
.board { margin-bottom: 80px; }
.table_style1 { width: 100%; min-width: auto !important; border-collapse: collapse; font-size: 0.95rem; table-layout: auto; }
.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; }
.list_style1.left_margin { margin-left: 20px; }
.left_margin { margin-left: 20px; }
.bg_a { background: #f8f9fa; }
.fir { font-weight: 600; }
/* 운영안내 및 공간안내 추가 스타일 */
.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; }
/* 영화 정보 스타일 */
.movie-content-wrapper { display: flex; flex-wrap: wrap; gap: 30px; align-items: flex-start; border-radius: 16px; min-height: 600px; }
/* 좌측 상영 시간표 (캘린더 그리드) */
.schedule-section { flex: 0 0 50%; }
.schedule-card { background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%); overflow: hidden; }
.schedule-calendar { width: 100%; }
.schedule-header { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px;}
.schedule-day-header { background: linear-gradient(135deg, #111827 0%, #1f2937 100%); color: #fff; font-size: 0.95rem; font-weight: 700; padding: 14px 8px; text-align: center; letter-spacing: 0.05em; text-transform: uppercase; }
.schedule-week { display: grid; grid-template-columns: repeat(5, 1fr);}
.schedule-week:last-child { margin-bottom: 0; }
.schedule-day-cell { background: #ffffff; min-height: 200px; padding: 12px; border: 1px solid #e5e7eb; position: relative; transition: all 0.3s ease; }
.schedule-day-cell:hover { background: #f9fafb; box-shadow: inset 0 0 0 2px #6366f1; }
.schedule-day-number { font-size: 1.1rem; font-weight: 700; color: #333; margin-bottom: 10px; padding-bottom: 8px; border-bottom: 1px solid #f3f4f6; }
.schedule-movies { display: flex; flex-direction: column; gap: 0; }
.schedule-movie-item { display: flex; flex-direction: column; gap: 4px; padding: 8px 0; font-size: 0.85rem; border-bottom: 1px solid #e5e7eb; }
.schedule-movie-item:last-child { border-bottom: none; }
.schedule-movie-time { font-weight: 600; color: #333; font-size: 0.9rem; }
.schedule-movie-title { color: #555; line-height: 1.4; word-break: keep-all; padding: 4px 8px; display: inline-block; cursor: pointer; transition: all 0.2s ease; position: relative; padding-left: 20px; }
.schedule-movie-title:hover { opacity: 0.8; transform: translateY(-1px); }
.schedule-movie-title::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 8px; height: 8px; border-radius: 50%; }
.schedule-movie-title.badge-end::before { background: #2563eb; } /* 종영 - 파란색 */
.schedule-movie-title.badge-release::before { background: #059669; } /* 개봉 - 초록색 */
.schedule-movie-title.badge-plan::before { background: #d97706; } /* 기획 - 주황색 */
.schedule-movie-title.badge-special::before { background: #9333ea; } /* 특별 - 보라색 */

/* 상영일정 라벨 스타일 (원형) */
.schedule-label {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}

.schedule-label.badge-end {
    background: #2563eb; /* 종영 - 파란색 */
}

.schedule-label.badge-release {
    background: #059669; /* 개봉 - 초록색 */
}

.schedule-label.badge-plan {
    background: #fbbf24; /* 기획 - 노란색 */
}

.schedule-label.badge-special {
    background: #9333ea; /* 특별 - 보라색 */
}
.schedule-movie-title.none::before { background: #9ca3af; } /* 미정 - 회색 */
.schedule-movie-type { font-size: 0.75rem; font-weight: 700; margin-right: 4px; }
.schedule-movie-type.type-end { color: #2563eb; }
.schedule-movie-type.type-release { color: #059669; }
.schedule-movie-type.type-plan { color: #d97706; }
.schedule-movie-type.type-special { color: #9333ea; }
.schedule-movie-age-badge { display: inline-block; border-radius: 50%; text-align: center; line-height: 20px; font-size: 0.7rem; font-weight: 700; margin: 0 4px; vertical-align: middle; }
.schedule-movie-age-badge.all { background: #4ecdc4; color: #fff; }
.schedule-movie-age-badge.age12 { background: #ffd700; color: #000; }
.schedule-movie-age-badge.age15 { background: #ff6b6b; color: #fff; }
.schedule-movie-age-badge.age19 { background: #ff6b6b; color: #fff; }
.schedule-special-header { font-size: 0.9rem; font-weight: 700; color: #1e3a8a; margin-bottom: 8px; padding: 4px 8px; background: #e0f2fe; border-radius: 4px; }
/* 색상 범례 */
.badge-legend { display: flex; gap: 10px; margin-bottom: 20px; flex-wrap: wrap; justify-content: flex-end;}
.badge-legend-item { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; cursor: pointer; padding: 6px 12px; border-radius: 6px; transition: all 0.3s ease; }
.badge-legend-item:hover { background: #f3f4f6; }
.badge-legend-item.active { background: #e5e7eb; font-weight: 600; }
.badge-legend-color { width: 24px; height: 24px; border-radius: 6px; box-shadow: 0 2px 8px rgba(0,0,0,0.15); }
.badge-legend-color.all { background: #e5e7eb; }
.badge-legend-color.end { background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%); }
.badge-legend-color.release { background: linear-gradient(135deg, #10b981 0%, #34d399 100%); }
.badge-legend-color.plan { background: linear-gradient(135deg, #fbbf24 0%, #fcd34d 100%); }
.badge-legend-color.special { background: linear-gradient(135deg, #a855f7 0%, #c084fc 100%); }
/* 우측 영화 포스터 */
.movie-posters-section { flex: 1; }
.movie-posters-content { display: none; }
.movie-posters-content.active { display: flex; flex-direction: column; gap: 15px;}
.movie-poster-card {max-width: 100%; background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 4px 20px rgba(0,0,0,0.06), 0 0 0 1px rgba(0,0,0,0.02); transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); position: relative;}
.movie-poster-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.12), 0 0 0 1px rgba(99,102,241,0.1); }
.poster-badge { position: absolute; top: 15px; left: 15px; background: rgba(255,255,255,0.9); padding: 6px 12px; border-radius: 6px; font-size: 0.9rem; font-weight: 700; color: #333; z-index: 1; }
.movie-poster-img-wrapper { position: relative; overflow: hidden; background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%); width: 100%; height: 450px; }
.movie-poster-img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
.movie-poster-img[src*="no_image"] { object-fit: contain; background: #dddddd; }
.movie-poster-card:hover .movie-poster-img { transform: scale(1.05); }
.movie-posters-section .poster-info { position: absolute; bottom: 0; left: 0; right: 0; padding: 25px 20px; display: flex; flex-direction: column; background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.85) 50%, rgba(0, 0, 0, 0.7) 100%); color: #fff; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); opacity: 0; visibility: hidden; transform: translateY(20px); z-index: 10; }
.movie-posters-section .poster-info .poster-title { color: #fff; }
.movie-posters-section .poster-info .poster-info-label { color: rgba(255,255,255,0.9); }
.movie-posters-section .poster-info .poster-info-value { color: rgba(255,255,255,0.8); }
.movie-posters-section .poster-info .poster-subtitle { color: rgba(255,255,255,0.7); }
.movie-posters-section .movie-poster-card:hover .poster-info { background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.85) 50%, rgba(0,0,0,0.7) 100%); color: #fff; padding: 30px 20px; border-radius: 0 0 16px 16px; opacity: 1; visibility: visible; transform: translateY(0); }
.movie-posters-section .movie-poster-card:hover .poster-info .poster-title { color: #fff; }
.movie-posters-section .movie-poster-card:hover .poster-info .poster-info-label { color: rgba(255,255,255,0.9); }
.movie-posters-section .movie-poster-card:hover .poster-info .poster-info-value { color: rgba(255,255,255,0.8); }
.movie-posters-section .movie-poster-card:hover .poster-info .poster-subtitle { color: rgba(255,255,255,0.7); }
/* 영화 리스트 섹션의 poster-info는 기본 스타일 유지 */
.movie-list-section .poster-info { padding: 25px 20px; display: flex; flex-direction: column; background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%); opacity: 1; visibility: visible; transform: none; }
.movie-list-section .movie-poster-card:hover .poster-info { position: static; background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%); color: inherit; }
.movie-list-section .movie-poster-card:hover .poster-info .poster-title { color: #111827; }
.movie-list-section .movie-poster-card:hover .poster-info .poster-info-label { color: #333; }
.movie-list-section .movie-poster-card:hover .poster-info .poster-info-value { color: #555; }
.movie-list-section .movie-poster-card:hover .poster-info .poster-subtitle { color: #666; }
.poster-title { font-size: 1.4rem; font-weight: 800; color: #111827; margin: 0 0 15px 0; letter-spacing: -0.02em; line-height: 1.3; }
.poster-subtitle { font-size: 0.95rem; color: #666; margin: 0 0 8px 0; font-weight: 500; }
.poster-info-list { list-style: none; padding: 0; margin: 0 0 10px 0;    min-height: 170px; }
.poster-info-item { display: flex; align-items: center; margin-bottom: 5px; font-size: 0.95rem; color: #555; line-height: 1.6; }
.poster-info-label { font-weight: 600; color: #333; min-width: 80px; margin-right: 10px; }
.poster-info-value { flex: 1; color: #555; }
.poster-info-value .age-badge { margin-left: 5px; }
.poster-buttons { display: flex; gap: 10px; margin-top: 10px; }
.poster-detail-btn, .poster-booking-btn { flex: 1; text-align: center; display: inline-block; padding: 12px 24px; border-radius: 10px; font-size: 0.95rem; font-weight: 700; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); letter-spacing: -0.01em; text-decoration: none; }
.poster-detail-btn { background: #000; color: #fff; border: 1px solid #fff;}
.poster-detail-btn:hover { background: #000; transform: translateY(-2px);}
.poster-booking-btn { background: linear-gradient(135deg, #10b981 0%, #34d399 100%); color: #fff;}
.poster-booking-btn:hover { background: linear-gradient(135deg, #059669 0%, #10b981 100%); transform: translateY(-2px); }
/* 인디플러스 포항 서브 탭 스타일 */
.indieplus-tab-content { display: none; }
.indieplus-tab-content.active { display: block; }
/* 날짜 목록 스타일 */
.date-list-section { flex: 0 0 300px; margin-right: 30px; }
.date-list-card { background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%); border-radius: 16px; padding: 20px; box-shadow: 0 4px 20px rgba(0,0,0,0.06); }
.date-list { list-style: none; padding: 0; margin: 0; }
.date-list-item { padding: 15px 12px; margin-bottom: 8px; border-radius: 8px; cursor: pointer; transition: all 0.3s ease; border-left: 4px solid transparent; }
.date-list-item:hover { background: #f9fafb; border-left-color: #cbd5e1; }
.date-list-item.active { background: #f3f4f6; border-left-color: #6366f1; }
.schedule-time-list { font-size: 0.85rem; color: #333; line-height: 1.8; }
.age-badge { display: inline-block; width: 24px; height: 24px; border-radius: 50%; text-align: center; line-height: 24px; font-size: 0.75rem; font-weight: 700; margin: 0 4px; }
.age-badge.all { background: #4ecdc4; color: #fff; }
.age-badge.age12 { background: #ffd700; color: #000; }
.age-badge.age15 { background: #ff6b6b; color: #fff; }
.age-badge.age19 { background: #ff6b6b; color: #fff; }
/* 영화 탭 메뉴 스타일 */
.movie-tabs { display: flex; gap: 0; margin-bottom: 20px; border-bottom: 2px solid #e5e7eb; }
.movie-tab { padding: 12px 24px; font-size: 1rem; font-weight: 600; color: #666; background: transparent; border: none; border-bottom: 3px solid transparent; cursor: pointer; transition: all 0.3s ease; position: relative; top: 2px; }
.movie-tab:hover { color: #333; }
.movie-tab.active { color: #333; border-bottom-color: #333; }
.movie-tab-content { display: none; }
.movie-tab-content.active { display: flex;  gap: 15px; flex-wrap: wrap;}

/* movie-posters-section 안의 영화 카드는 가로로 3개씩 고정 */
.movie-posters-section .movie-tab-content.active {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    flex-wrap: nowrap;
}

/* h4 태그를 grid 밖으로 배치 */
.movie-posters-section .movie-tab-content.active .movie-section-title {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    margin: 0 0 15px 0 !important;
}
@media (max-width: 1400px) {
    .schedule-section { flex: 0 0 600px; }
    .schedule-day-header { font-size: 0.85rem; padding: 10px 6px; }
    .schedule-movie-item { font-size: 0.8rem; }
}
@media (max-width: 1200px) {
    .movie-content-wrapper { flex-direction: column; }
    .schedule-section { flex: 1; width: 100%; }    
    .date-list-section { flex: 0; margin-right: 0px;  width: 100%; }
}

/* 1200px부터 1000px 사이에서 날짜 리스트 가로로 3개씩 배치 */
@media (max-width: 1200px) and (min-width: 1001px) {
    .date-list {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    .date-list-item {
        margin-bottom: 0;
        min-width: auto;
    }
}

/* 1200px부터 800px 사이에서 movie-list-grid 가로로 3개씩 배치 */
@media (max-width: 1200px) and (min-width: 801px) {
    .movie-list-section .movie-list-grid {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 15px !important;
        padding: 0;
    }
}
@media (max-width: 768px) {
    /* 필터 탭 스타일 */
    .schedule-filter-tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 5px;
        margin-bottom: 20px;
        gap: 5px;
    }
    
    .schedule-filter-tab {
        padding: 8px 16px !important;
        font-size: 0.85rem !important;
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    /* 캘린더 모바일 스타일 */
    .schedule-card { 
        padding: 15px;  
        overflow-x: visible;
    }
    
    .schedule-calendar { 
        width: 100% !important;
    }
    
    .schedule-calendar-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        background: transparent !important;
    }
    
    /* 모바일에서 요일 헤더 숨김 */
    .schedule-header { 
        display: none !important;
    }
    
    .schedule-day-cell { 
        min-height: auto !important; 
        padding: 15px !important;
        border-radius: 8px;
        border: 2px solid #e5e7eb !important;
        margin-bottom: 0;
    }
    
    .schedule-day-number { 
        font-size: 1rem !important; 
        margin-bottom: 12px !important;
        padding-bottom: 10px !important;
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        flex-wrap: wrap !important;
    }
    
    /* 날짜 옆에 요일 표시 (JavaScript에서 추가된 경우) */
    .schedule-day-number::after {
        content: attr(data-day-name);
        font-size: 0.85rem;
        font-weight: 500;
        color: #666;
        padding: 2px 8px;
        background: #f3f4f6;
        border-radius: 4px;
    }
    
    .schedule-movie-item { 
        font-size: 0.85rem !important; 
        padding: 10px 0 !important;
        margin-bottom: 8px !important;
    }
    
    .schedule-movie-time { 
        font-size: 0.9rem !important;
        font-weight: 700 !important;
    }
    
    .schedule-movie-title { 
        font-size: 0.9rem !important;
        padding: 6px 10px !important;
    }
    
    .schedule-movie-age-badge { 
        width: 22px !important; 
        height: 22px !important; 
        line-height: 22px !important; 
        font-size: 0.7rem !important;
    }
    
    .badge-legend-item { padding: 0px 5px;}
    .badge-legend { gap: 0px;}
    /* 현재상영작 카드 가로 3개 배치 */
    .movie-tab-content.active {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr);
        gap: 8px !important;
        padding: 0 5px;
    }
    /* 전체보기 목록 가로 2개 배치 */
    .movie-list-section .movie-list-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
        padding: 0 5px;
    }
    .movie-list-section .movie-poster-card {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
    }
    .movie-list-section .movie-poster-img-wrapper {
        height: auto;
        aspect-ratio: 2 / 3;
        overflow: hidden;
    }
    .movie-list-section .movie-poster-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    /* h4 태그를 grid 밖으로 배치 */
    .movie-tab-content.active .movie-section-title {
        grid-column: 1 / -1 !important;
        width: 100% !important;
        margin: 0 0 15px 0 !important;
        padding: 0 5px;
    }
    
    /* "현재 상영 중인 영화가 없습니다." 메시지가 전체 너비를 차지하도록 */
    .movie-tab-content.active .movie-empty-message {
        grid-column: 1 / -1 !important;
        width: 100% !important;
    }
    .movie-poster-card {
        flex-direction: column;
        width: 100%;
        max-width: 100%;
        margin: 0;
    }
    .movie-poster-img-wrapper {
        height: auto;
        aspect-ratio: 2 / 3;
        overflow: hidden;
    }
    .movie-poster-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        min-height: auto;
    }
    .poster-info {
        padding: 10px 8px !important;
    }
    .poster-title {
        font-size: 0.85rem !important;
        margin-bottom: 8px !important;
        line-height: 1.2 !important;
    }
    .poster-info-list {
        min-height: auto !important;
        margin-bottom: 8px !important;
    }
    .poster-info-item {
        font-size: 0.7rem !important;
        margin-bottom: 3px !important;
        flex-wrap: wrap;
    }
    .poster-info-label {
        min-width: auto !important;
        font-size: 0.65rem !important;
        margin-right: 5px !important;
    }
    .poster-info-value {
        font-size: 0.65rem !important;
    }
    .poster-buttons {
        flex-direction: column;
        gap: 5px;
        margin-top: 8px;
    }
    .poster-detail-btn, .poster-booking-btn {
        width: 100%;
        padding: 8px 12px !important;
        font-size: 0.7rem !important;
    }
    .poster-info-item {
        align-items: flex-start;
    }
}
.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: 60px; padding-bottom: 50px; border-bottom: 2px solid #e5e7eb; gap: 6%; }
.con_box2 li:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.con_box2 li img { width: 48%; height: 420px; object-fit: cover; flex-shrink: 0; border-radius: 20px; box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0,0,0,0.02); transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
.con_box2 li img:hover { transform: scale(1.02); box-shadow: 0 12px 48px rgba(0, 0, 0, 0.15); }
.con_box2 li .box2_text_wrapper { display: flex; flex-direction: column; flex: 1; justify-content: center; }
.con_box2 li .box2_title { display: block; font-size: 2.2rem; font-weight: 800; color: #111827; margin-bottom: 24px; letter-spacing: -0.03em; line-height: 1.2; }
.con_box2 li .box2_content { color: #4b5563; line-height: 1.9; font-size: 1.15rem; 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: 2.2rem; margin-bottom: 60px; border-top: 3px solid #111827; border-bottom: 3px solid #111827; padding: 40px 10px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.6; color: #111827; background: linear-gradient(135deg, rgba(99,102,241,0.03) 0%, rgba(139,92,246,0.03) 100%); }
/* 이미지 갤러리 슬라이더 */
.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: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%); position: relative; }
.gallery-slide img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1); }
.gallery-slide img:hover { transform: scale(1.05); }
.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; }
@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; }            
    .date-list {display: flex;flex-wrap: wrap;gap: 10px;}
    .date-list-item { background: #eee; min-width: 47%;}
}
@media (max-width: 768px) {
    .movie-posters-section .movie-poster-card:hover .poster-info{display: none;}
    .intro-header h1 { font-size: 2rem; }
    .space-intro h2 {font-size: 1.5rem !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; }
    .space-intro { flex-direction: column; gap: 20px; max-width: 100%; }
    .space-title-section { position: static; flex: none; width: 100%; max-width: 100%; }
    .space-title-section .depth3_menu { padding: 0; }
    .space-title-section .depth3_menu_row { margin-bottom: 0; }
    .area-action-buttons-sidebar { flex-direction: row; margin-top: 15px; flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; white-space: nowrap; }
    .area-action-btn { flex: 1; font-size: 0.9rem; padding: 12px 15px; }
    .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; }
    .date-list-card { padding: 15px; }
    .date-list-item { padding: 12px 10px; }
    .schedule-time-list { font-size: 0.8rem; }
    .age-badge { width: 20px; height: 20px; line-height: 20px; font-size: 0.7rem; }
    .movie-tab { padding: 10px 16px; font-size: 0.9rem; }
    .movie-tab-content { gap: 12px; }
    .con_box2 li { flex-direction: column-reverse; gap: 20px; }
    .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.8rem; 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; }
    .poster-info { padding: 25px 0px;}
    .poster-title {font-size: 1.0rem;}
}
@media (max-width: 480px) {
    /* 필터 탭 작은 모바일 */
    .schedule-filter-tab {
        padding: 6px 12px !important;
        font-size: 0.8rem !important;
    }
    
    /* 캘린더 작은 모바일 - 1개 열로 세로 배치 */
    .schedule-calendar-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
    
    /* 작은 모바일에서도 요일 헤더 숨김 */
    .schedule-header {
        display: none !important;
    }
    
    .schedule-day-cell {
        padding: 12px !important;
        min-height: auto !important;
    }
    
    .schedule-day-number {
        font-size: 0.95rem !important;
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
        flex-wrap: wrap !important;
    }
    
    .schedule-day-number::after {
        content: attr(data-day-name);
        font-size: 0.75rem !important;
        font-weight: 500 !important;
        color: #666 !important;
        padding: 2px 6px !important;
        background: #f3f4f6 !important;
        border-radius: 4px !important;
    }
    
    .schedule-movie-item {
        font-size: 0.8rem !important;
        padding: 8px 0 !important;
    }
    
    .schedule-movie-time {
        font-size: 0.85rem !important;
    }
    
    .schedule-movie-title {
        font-size: 0.85rem !important;
    }
    
    .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; }
    .con_box2 li img { 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; }
    .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; }
    .date-list-item { width: 100%; }
}
/* 간단한 갤러리 스타일 */
.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;
}
@media (max-width: 768px) {
    .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;
    }
}
@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    .gallery-item-caption {
        padding: 8px;
        font-size: 12px;
    }
}
/* 아코디언 스타일 */
.accordion-container {
    margin-top: 30px;
}
.accordion-item {
    overflow: hidden;
    transition: all 0.3s ease;  
}
.accordion-header {
    padding: 30px 15px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    border: none;
    width: 100%;
    text-align: left;
    background: #fff;
    border-bottom: 1px solid #000;
}
.accordion-header:hover {
    background: #e9ecef;
}
.accordion-header.active {
    background: #000;
    color: #fff;
}
.accordion-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin: 0;
}
.accordion-header.active .accordion-title {
    color: #fff;
}
.accordion-icon {
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.3s ease;
    color: #666;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.accordion-header.active .accordion-icon {
    color: #fff;
}
.accordion-icon::before {
    content: '+';
}
.accordion-header.active .accordion-icon::before {
    content: '−';
}
.accordion-content {
    display: none;
    overflow: hidden;
    background: #fff;
}
.accordion-content.active {
    display: block;
    border-bottom: 1px solid #ccc;
}
.accordion-body {
    padding: 25px 0;
}
.accordion-body h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin: 0 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #e5e7eb;
}
.accordion-body .table_style1 {
    margin-bottom: 30px;
}
.accordion-body .list_style1 {
    margin: 15px 0;
}
.accordion-body .list_style1.left_margin {
    margin-left: 20px;
}
.rental-note {
    margin-top: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #6366f1;
}
.rental-note p {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}
.rental-note ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.rental-note ul li {
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
    color: #555;
    line-height: 1.6;
}
.rental-note ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #6366f1;
    font-weight: bold;
}
/* 페이지네이션 스타일 */
.pagination-container {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    padding: 20px 0;
}
.pagination {
    display: flex;
    align-items: center;
    gap: 5px;
}
.page-btn {
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #e5e5e5;
    background: #ffffff;
    color: #333;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.page-btn:hover:not(:disabled) {
    background: #000;
    color: #ffffff;
    border-color: #000;
}
.page-btn.active {
    background: #000;
    color: #ffffff;
    border-color: #000;
    font-weight: 600;
}
.page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.page-btn i {
    font-size: 0.8rem;
}
.pagination-ellipsis {
    padding: 0 8px;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* 영화 상세 정보 모달 스타일 */
.movie-detail-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.7);
    overflow-y: auto;
    padding: 20px;
}
.movie-detail-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}
.movie-detail-modal-content {
    background: #fff;
    border-radius: 20px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalFadeIn 0.3s ease;
}
@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}
.movie-detail-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    border-bottom: 2px solid #e5e7eb;
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 10;
    border-radius: 20px 20px 0 0;
}
.movie-detail-modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin: 0;
}
.movie-detail-modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: #666;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}
.movie-detail-modal-close:hover {
    background: #f3f4f6;
    color: #111827;
}
.movie-detail-modal-body {
    padding: 30px;
}
.movie-detail-top {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
}
.movie-detail-poster {
    flex: 0 0 280px;
}
.movie-detail-poster img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}
.movie-detail-info {
    flex: 1;
}
.movie-detail-title {
    font-size: 2rem;
    font-weight: 800;
    color: #111827;
    margin-top: 0px;
    margin-bottom: 20px;
    line-height: 1.3;
}
.movie-detail-title .movie-type-badge {
    display: inline-block;
    padding: 4px 12px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 6px;
    margin-right: 8px;
    vertical-align: middle;
}
.movie-detail-title .movie-type-badge.type-plan {
    background: linear-gradient(135deg, #fbbf24 0%, #fcd34d 100%);
    color: #000;
}
.movie-detail-title .movie-type-badge.type-end {
    background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
    color: #fff;
}
.movie-detail-title .movie-type-badge.type-release {
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    color: #fff;
}
.movie-detail-title .movie-type-badge.type-special {
    background: linear-gradient(135deg, #a855f7 0%, #c084fc 100%);
    color: #fff;
}
.movie-detail-info-grid {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 15px 20px;
    margin-bottom: 30px;
}
.movie-detail-info-label {
    font-weight: 700;
    color: #374151;
    font-size: 1rem;
}
.movie-detail-info-value {
    color: #4b5563;
    font-size: 1rem;
    line-height: 1.6;
}
.movie-detail-info-value .age-badge {
    margin-left: 5px;
}
.movie-detail-section {
    margin-bottom: 40px;
}
.movie-detail-section-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e5e7eb;
}
.movie-detail-section-content {
    color: #4b5563;
    line-height: 1.9;
    font-size: 1rem;
}
.movie-detail-section-content ul {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}
.movie-detail-section-content ul li {
    padding-left: 20px;
    position: relative;
    margin-bottom: 8px;
}
.movie-detail-section-content ul li:before {
    content: '•';
    position: absolute;
    left: 0;
    color: #6366f1;
    font-weight: bold;
}
.movie-detail-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid #e5e7eb;
}
.movie-detail-btn {
    flex: 1;
    padding: 16px 24px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}
.movie-detail-btn.booking {
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    color: #fff;
    box-shadow: 0 4px 16px rgba(16,185,129,0.3);
}
.movie-detail-btn.booking:hover {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(16,185,129,0.4);
}
.movie-detail-btn.list {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: #fff;
    box-shadow: 0 4px 16px rgba(99,102,241,0.3);
}
.movie-detail-btn.list:hover {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(99,102,241,0.4);
}
@media (max-width: 768px) {
    .movie-detail-modal {
        padding: 20px 10px;
    }
    .movie-detail-modal-content {
        max-height: 85vh;
    }
    .movie-detail-modal-header {
        padding: 20px;
    }
    .movie-detail-modal-title {
        font-size: 1.2rem;
    }
    .movie-detail-modal-body {
        padding: 20px;
    }
    .movie-detail-top {
        flex-direction: column;
        gap: 20px;
    }
    .movie-detail-poster {
        flex: 0 0 auto;
        margin: 0 auto;
    }
    .movie-detail-title {
        font-size: 1.5rem;
    }
    .movie-detail-info-grid {
        grid-template-columns: 100px 1fr;
        gap: 12px 15px;
    }
    .movie-detail-buttons {
        flex-direction: column;
    }
    .request-detail-section {padding: 0px !important;}
    .accordion-header {padding: 25px 10px !important;}
    .accordion-title, .accordion-header.active .accordion-title {font-size:15px !important;}
    .accordion-body { padding: 15px 15px !important;    font-size: 14px !important;}
    
    /* 모바일에서 검색 input 안에 돋보기 아이콘 배치 */
    .search {
        position: relative;
    }
    
    .search > label {
        position: relative;
        width: 100%;
        display: flex;
    }
    
    .search input {
        width: 100%;
        padding-right: 50px !important;
        padding-left: 18px !important;
    }
    
    .search .search_btn {
        position: absolute !important;
        right: 5px !important;
        top: 0 !important;
        width: 46px !important;
        height: 100% !important;
        font-size: 20px !important;
        z-index: 10;
        pointer-events: auto;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        background: none;
        border: none;
        cursor: pointer;
    }
    
    .search .search_btn i {
        color: #666;
    }
    
    /* notice-board-section 내부 검색도 input 안에 돋보기 아이콘 배치 */
    .notice-board-section .search,
    .notice-board-section .list_top .search {
        position: relative !important;
        flex-direction: row !important;
    }
    
    .notice-board-section .search > label,
    .notice-board-section .list_top .search > label {
        position: relative !important;
        width: 100% !important;
        display: flex !important;
        flex: 1 !important;
        margin-right: 0 !important;
    }
    
    .notice-board-section .search input,
    .notice-board-section .list_top .search input,
    .notice-board-section .search input#noticeSrhTxt,
    .notice-board-section .list_top .search input#noticeSrhTxt {
        padding-right: 50px !important;
        padding-left: 18px !important;
        width: 100% !important;
        flex: 1 !important;
    }
    
    .notice-board-section .search .search_btn,
    .notice-board-section .list_top .search .search_btn,
    .notice-board-section .search button#noticeSrhBtn,
    .notice-board-section .list_top .search button#noticeSrhBtn {
        position: absolute !important;
        right: 0 !important;
        top: 0 !important;
        width: 46px !important;
        height: 100% !important;
        font-size: 20px !important;
        z-index: 10 !important;
        pointer-events: auto;
        display: flex !important;
        align-items: center;
        justify-content: center;
        padding: 0 !important;
        background: none !important;
        border: none !important;
        cursor: pointer;
        flex: none !important;
        flex-shrink: 0 !important;
        margin: 0 !important;
    }
    
    .notice-board-section .search .search_btn i,
    .notice-board-section .list_top .search .search_btn i,
    .notice-board-section .search button#noticeSrhBtn i,
    .notice-board-section .list_top .search button#noticeSrhBtn i {
        color: #666;
    }
}
/* 상영요청 게시판 스타일 */
.notice-board-section,
.screening-request-board-section {
    margin-bottom: 40px;
}

/* .screening-request-board-section .subsection {flex-wrap: wrap;} */
.screening-request-board-section #requestReplySection {width: 100%; display: none;}

.list_top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}
.paging_number {
    font-size: 1rem;
    color: #666;
}
.paging_number b {
    color: #000;
    font-weight: 700; margin: 0 3px;
}
/* notice-board-section과 screening-request-board-section은 모두 기본 .search 스타일 사용 */
.newsList {
    margin-bottom: 30px;
    border-top: 3px solid #000;
}
.newsList li {
    position: relative;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}
.newsList li a {
    transition: 0.1s;
    color: #222;
    padding: 25px 0px;
    display: block;
}
.newsList li a:hover {
    color: var(--primary-color, #6366f1);
}
.newsList li dl dt {
    margin-bottom: 12px;
    font-size: 20px;
    font-weight: 600;
    line-height: 140%;
}
.newsList li dl dd.date {
    font-size: 18px;
    font-weight: 400;
    color: #666;
}
/* 대기중 상태 */
.waiting {
    display: inline-block;
    padding: 5px 15px;
    background-color: #f39c12;
    color: white;
    border-radius: 25px;
    font-size: 12px;
    font-weight: bold;
    text-align: center;
    margin-left: 10px;
}
/* 답변완료 상태 */
.answered {
    display: inline-block;
    padding: 5px 15px;
    background-color: #2ecc71;
    color: white;
    border-radius: 25px;
    font-size: 12px;
    font-weight: bold;
    text-align: center;
    margin-left: 10px;
}
.contact-info-box {
    margin-top: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #6366f1;
}
.contact-info-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}
.contact-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.contact-info-item {
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
    color: #555;
    line-height: 1.6;
    font-size: 1rem;
}
.contact-info-item::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #6366f1;
    font-weight: bold;
}
@media (max-width: 768px) {
    .list_top {
        flex-direction: column;
        align-items: stretch;
    }
    .newsList li a {
        padding: 15px 0px;
    }
    .newsList li dl dt {
        font-size: 16px;
    }
    .newsList li dl dd.date {
        font-size: 14px;
    }
}

/* 필터 탭 래퍼 */
.movie-filter-tabs-wrapper {
    position: relative;
    margin-bottom: 15px;
}

/* 영화 검색 섹션 스타일 */
.movie-search-section {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

.movie-search-toggle-btn {
    position: absolute;
    right: 0;
    top: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: #000;
    border: none;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s ease;
    z-index: 10;
}

.movie-search-toggle-btn:hover {
    transform: translateY(-2px);
}

.movie-search-toggle-btn:active {
    transform: translateY(0);
}

/* 다크모드 스타일 */
html.color_change .movie-search-toggle-btn {
    color: #fff;
}

html.color_change .movie-search-toggle-btn:hover {
    color: #e5e7eb;
}

.movie-search-wrapper {
    display: flex;
    align-items: center;
    gap: 5px;
    flex: 1;
    max-width: 600px;
    transition: all 0.3s ease;
    animation: slideIn 0.3s ease;
    order: 1;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}


.movie-search-input {
    flex: 1;
    padding: 10px 0;
    border: none;
    background: transparent;
    font-size: 15px;
    color: #333;
    outline: none;
    min-width: 0;
}

.movie-search-input::placeholder {
    color: #9ca3af;
}

.movie-search-btn {
    padding: 10px 24px;
    background: #333;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.movie-search-btn:hover {
    background: #1f2937;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.movie-search-btn:active {
    transform: translateY(0);
}

.movie-search-reset-btn {
    padding: 10px 20px;
    background: #f9fafb;
    color: #6b7280;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.movie-search-reset-btn:hover {
    background: #f3f4f6;
    color: #374151;
    border-color: #d1d5db;
}

.movie-search-close-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: #6b7280;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.movie-search-close-btn:hover {
    background: #f3f4f6;
    color: #374151;
}

@media (max-width: 768px) {
    /* 검색 버튼을 탭 하단에 배치 */
    .movie-filter-tabs-wrapper {
        position: relative;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    
    .movie-filter-tabs {
        order: 1;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE and Edge */
        white-space: nowrap;
        padding-bottom: 5px;
    }
    
    .movie-filter-tabs::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Opera */
    }
    
    .movie-filter-tab {
        font-size: 0.85rem !important;
        padding: 8px 5px !important;
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    /* 검색 버튼과 리스트 건수 텍스트를 같은 줄에 배치 */
    .movie-filter-tabs-wrapper {
        margin-bottom: 0 !important;
    }
    
    .movie-search-toggle-btn {
        position: static !important;
        height: 44px !important;
        width: 44px !important;
        flex-shrink: 0;
        order: 2;
    }
    
    /* 검색 버튼과 리스트 건수 텍스트를 같은 줄에 배치 */
    .movie-list-section {
        position: relative;
    }
    
    .movie-pagination-info {
        display: flex !important;
        align-items: center;
        justify-content: flex-end;
        margin-bottom: 15px !important;
        margin-top: -44px !important;
        padding: 0 5px;
        text-align: right !important;
        font-size: 13px !important;
        height: 44px;
        line-height: 44px;
        position: relative;
        z-index: 1;
        pointer-events: none;
        transition: margin-top 0.3s ease;
    }
    
    .movie-pagination-info span {
        pointer-events: auto;
    }
    
    /* 검색 영역이 표시될 때 리스트 건수 텍스트를 아래로 이동 */
    .movie-search-section:not([style*="display: none"]) ~ .movie-pagination-info,
    .movie-search-section[style*="display: block"] ~ .movie-pagination-info,
    .movie-search-section[style*="display: flex"] ~ .movie-pagination-info {
        margin-top: 10px !important;
    }
    
    .movie-search-section {
        flex-direction: row;
        align-items: center;
        order: 3;
        gap: 8px;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        box-sizing: border-box;
    }
    
    .movie-search-wrapper {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 8px;
        flex: 1;
        min-width: 0;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .movie-search-input {
        flex: 1;
        min-width: 0;
        max-width: 100%;
        order: 0;
        box-sizing: border-box;
    }
    
    .movie-search-btn {
        flex-shrink: 0;
        order: 1;
        padding: 10px 16px !important;
        white-space: nowrap;
        font-size: 0.85rem !important;
    }
    
    .movie-search-reset-btn {
        flex-shrink: 0;
        order: 2;
        padding: 10px 16px !important;
        white-space: nowrap;
        font-size: 0.85rem !important;
    }
    
    .movie-search-close-btn {
        order: 4;
        width: 100%;
        height: 40px;
    }
}