@charset "UTF-8";

.submenu {height: 87vh; z-index: 0;}
.sub_top, .submenu_2depth {display: none !important;}
.quick-menu-fixed {background: #ffffff; }

/* 메인 히어로 섹션 — 슬라이드 높이는 뷰포트(svh)와 맞춰 스크롤 시 잘림·vh 점프 완화 */
.main-reorderable-sections > :first-child { margin-top: 25px; }
.hero-section {position: relative; background: #ffffff; overflow: hidden; margin-top: 0;}
.main-reorderable-sections > .hero-section:not(:first-child) { margin-top: 0; }
.hero-slider {position: relative;}
.slide-item {position: relative; height: min(50vw, 100vh); height: min(50vw, 100svh); display: flex; align-items: center; overflow: hidden;}
.slide-image {position: absolute; top: 0; left: 0; right: 0; bottom: 80px; width: 100%; height: auto; z-index: 0; box-sizing: border-box;}
.slide-image img, .slide-image video {width: 100%; height: 100%; object-fit: fill; object-position: center; display: block;}
.slide-content {position: absolute; bottom: 0; left: 0; right: 0; z-index: 2; background: #ffffff; padding:20px; padding-right: 60px; color: #fff; text-align: left; border-bottom: 1px solid #d7d7d7; min-height: 80px;}
.performance-info {display: flex; align-items: center; margin: 0 auto;}
.performance-title {font-size: 30px; font-weight: 600; color: #000000; flex: 1; margin-right: 20px; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; box-orient: vertical;}
.performance-link {display: flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, 0.1); padding: 12px 20px; border-radius: 25px; text-decoration: none; color: #000000; font-size: 14px; font-weight: 500; transition: all 0.3s ease; backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.2);}
.performance-link:hover {background: rgba(255, 255, 255, 0.2); transform: translateX(5px);}

/* 슬라이드 네비게이션 스타일 */
.hero-slider .slick-prev,
.hero-slider .slick-next {
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgb(26 26 26 / 50%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 8;
    transform: translate(0, -50%);
    transition: background 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}
.hero-slider .slick-prev:hover,
.hero-slider .slick-prev:focus,
.hero-slider .slick-next:hover,
.hero-slider .slick-next:focus {
    background: rgb(26 26 26 / 70%);
    transform: translate(0, -50%) scale(1.05);
}
.hero-slider .slick-prev:focus-visible,
.hero-slider .slick-next:focus-visible {
    outline: 3px solid #0066cc;
    outline-offset: 2px;
}
.hero-slider .slick-prev.slick-disabled,
.hero-slider .slick-next.slick-disabled {
    opacity: 0.35;
    cursor: default;
    transform: translate(0, -50%);
}
.hero-slider .slick-prev:before,
.hero-slider .slick-next:before {
    display: none;
}
.hero-slider .slick-prev i,
.hero-slider .slick-next i {
    color: #fff;
    font-size: 14px;
    line-height: 1;
    pointer-events: none;
}
.hero-slider .slick-prev {left: 20px;}
.hero-slider .slick-next {right: 80px;}
.hero-slider .slick-dots {position: absolute; bottom: 100px; left: 50%; transform: translateX(-50%); z-index: 8; width: auto; padding: 3px 5px; border-radius: 999px; background: rgb(26 26 26 / 50%);}
/* 웹접근성: 도트 키보드 포커스 표시 */
.hero-slider .slick-dots li button:focus-visible {outline: 3px solid #0066cc; outline-offset: 3px;}
/* 주요 공연(히어로) 도트 */
.hero-slider .slick-dots li:not(.slick-autoplay-toggle-item) button {
    background: #fff;
    border: 0;
    box-shadow: none;
}
.hero-slider .slick-dots li.slick-active:not(.slick-autoplay-toggle-item) button {
    background: #fff;
    box-shadow: none;
}
.hero-slider .slick-dots li.slick-autoplay-toggle-item button.slick-autoplay-toggle i {color: #ffffff; text-shadow: none;}
.hero-slider .slick-dots li.slick-autoplay-toggle-item {display: inline-flex; align-items: center; align-self: center; margin: 0 0 0 12px; width: auto; height: auto; transform: none;}

.section-header {text-align: center; margin-bottom: 20px; display: flex; align-items: center; justify-content: center; flex-direction: column;}
.section-header h2, .section-header h3 {font-size: 45px; font-weight: 700; margin-bottom: 50px;}
.section-header p {font-size: 20px; color: #666; margin-bottom: 20px;}

/* 웹접근성(WCAG 2.2.2): 자동재생 슬라이더 일시정지/재생 버튼 (배경 없음) */
.slick-autoplay-toggle {z-index: 40; width: 20px; height: 20px; padding: 0; border: 0; background: transparent; color: inherit; font-size: 14px; line-height: 1; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; border-radius: 4px; box-shadow: none;}
.slick-autoplay-toggle:hover {opacity: 0.85;}
.slick-autoplay-toggle:focus-visible {outline: 3px solid #0066cc; outline-offset: 2px; border-radius: 4px;}
.slick-autoplay-toggle i {pointer-events: none; color: #fff; text-shadow: 0 0 4px rgb(0 0 0 / 70%);}
/* 도트가 없는 슬라이더: 컨테이너 하단 우측 */
.partner-institutions > .slick-autoplay-toggle,
.news-gallery > .slick-autoplay-toggle {position: absolute; bottom: 12px; right: 16px;}
/* 유관기관 일시정지 버튼: 다음 화살표 바로 위로 정렬 */
.partner-institutions > .slick-autoplay-toggle {top: 0; right: 3.5%; bottom: auto;}
.partner-institutions > .slick-autoplay-toggle i {color: #1a1a1a; text-shadow: none;}
/* 도트 우측 배치 + 도트와 일렬 정렬 (히어로/배너 등 도트가 있는 슬라이더) */
.slick-dots:has(.slick-autoplay-toggle-item) {display: flex; align-items: center; justify-content: center;}
/* 슬라이드 도트 크기: PC 17×17px (웹접근성 클릭/터치 영역) */
.slick-dots li:not(.slick-autoplay-toggle-item) {
    width: 17px;
    height: 17px;
    margin: 0 4px;
    vertical-align: middle;
    transition: width 0.3s ease;
}
.slick-dots li.slick-active:not(.slick-autoplay-toggle-item) {
    width: 42px;
}
.slick-dots li:not(.slick-autoplay-toggle-item) button {
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 50%;
    box-sizing: border-box;
    line-height: 0;
    font-size: 0;
    background: #fff;
    opacity: 1;
    transition: border-radius 0.3s ease;
}
.slick-dots li:not(.slick-autoplay-toggle-item) button:before {
    content: none;
    display: none;
}
.slick-dots li.slick-active:not(.slick-autoplay-toggle-item) button {
    width: 100%;
    height: 100%;
    border-radius: 999px;
    background: #fff;
}
.slick-dots li.slick-autoplay-toggle-item {display: inline-flex; align-items: center; align-self: center; margin: 0 0 0 12px; width: auto; height: auto; transform: none;}
/* 도트 버튼 공통 스타일(.slick-dots li button)이 토글에도 적용되므로 높은 우선순위로 재정의 */
.slick-dots li.slick-autoplay-toggle-item button.slick-autoplay-toggle {width: 20px; height: 20px; padding: 0; background: transparent; border: 0; border-radius: 4px; font-size: 14px; color: inherit; box-shadow: none;}
.slick-dots li.slick-autoplay-toggle-item button.slick-autoplay-toggle:hover {background: transparent; opacity: 0.85; box-shadow: none;}
.slick-dots li.slick-autoplay-toggle-item button.slick-autoplay-toggle i {color: #fff; text-shadow: 0 0 4px rgb(0 0 0 / 70%);}

/* 문화소식 배너 도트: 주요 공연(히어로)과 동일 스타일 */
.news-gallery .gallery-items .slick-dots {
    left: 50%;
    transform: translateX(-50%);
    bottom: 10px !important;
    z-index: 8;
    width: auto;
    padding: 3px 5px;
    border-radius: 999px;
    background: rgb(26 26 26 / 50%);
}
.news-gallery .gallery-items .slick-dots li button:focus-visible {outline: 3px solid #0066cc; outline-offset: 2px;}
.news-gallery .gallery-items .slick-dots li:not(.slick-autoplay-toggle-item) button {
    background: #fff;
    border: 0;
    box-shadow: none;
}
.news-gallery .gallery-items .slick-dots li.slick-active:not(.slick-autoplay-toggle-item) button {
    background: #fff;
    box-shadow: none;
}
.news-gallery .gallery-items .slick-dots li.slick-autoplay-toggle-item button.slick-autoplay-toggle i {color: #ffffff; text-shadow: none;}
.news-gallery .gallery-items .slick-dots li.slick-autoplay-toggle-item {display: inline-flex; align-items: center; align-self: center; margin: 0 0 0 12px; width: auto; height: auto; transform: none;}

/* 문화행사 섹션 */
.cultural-events {padding:55px 5% 60px 5%; margin: auto; border-bottom: 0px solid #d7d7d7; position: relative;}
.event-tabs-bar {position: relative; display: flex; justify-content: center; align-items: center; width: 100%;}
.cultural-events > .slick-autoplay-toggle {position: absolute; z-index: 2; top: auto; bottom: auto; right: auto; left: auto; transform: none;}
.cultural-events > .slick-autoplay-toggle i {color: #1a1a1a; text-shadow: none;}
/* 웹접근성: 탭을 button 요소로 사용하므로 기본 버튼 스타일 초기화(기존 span 디자인 유지) */
.event-tabs .tab, .event-tabs .tab-more,
.news-tabs .tab, .news-tabs .tab-more,
.news-content > .tab-more {background: none; border: 0; padding: 0; margin: 0; font: inherit; color: inherit; line-height: inherit; -webkit-appearance: none; appearance: none; cursor: pointer;}
.cultural-events > #eventTabMoreBtn {background: none; border: 0; margin: 0; font: inherit; line-height: inherit; -webkit-appearance: none; appearance: none; position: absolute; z-index: 2; cursor: pointer; font-size: 30px; font-weight: lighter; color: #666; padding: 0px 10px;}
.cultural-events > #eventTabMoreBtn:hover {color: var(--color2);}
.event-tabs {display: flex; justify-content: center; align-items: center; gap: 0px; font-size: 26px; color: #888888; font-weight: 500; position: relative; width: auto;}
.event-tabs .tab {height: auto; padding: 0; margin: 0 15px; cursor: pointer; transition: color 0.3s ease, border-color 0.3s ease; outline: none; border-bottom: 2px solid transparent; background: none;}
.event-tabs .tab:hover {color: var(--color2); background: none;}
.event-tabs .tab.active {color: var(--color2); font-weight: bold; background: none; border-bottom-color: var(--color2);}
.event-tabs .tab-more:hover {color: var(--color2);}
.event-tabs .tab-more {cursor: pointer; font-size: 30px; font-weight: lighter; color: #666; padding: 0px 10px;}
.cultural-events .event-cards {margin: 0 auto;}
#cultural_event_slick.event-cards--loading:not(.slick-initialized) {overflow: hidden;}
#cultural_event_slick.event-cards--loading:not(.slick-initialized) > .event-card {visibility: hidden;}
.cultural-events .event-card {margin: 20px; border-radius: 12px; overflow: hidden; transition: transform 0.3s ease; cursor: pointer;}
.cultural-events .event-card:hover {transform: translateY(-5px);}
.cultural-events .event-card:focus-visible {outline: 3px solid #0066cc; outline-offset: 3px; box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.35);}
.cultural-events .event-image { /*height: 30vw;*/height: 24vw; border-radius: 15px; overflow: hidden; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); position: relative;}
.cultural-events .event-image img {width: 100%; height: 100%;object-fit: fill;}
.cultural-events .event-image .event-type-label {position: absolute; top: 1rem; left: 12px; padding: 6px 12px; border-radius: 20px; font-size: 0.8rem; font-weight: 400; color: #ffffff; z-index: 10; letter-spacing: 0px;}
.cultural-events .event-type-label.foundation {background: var(--color3, #006596);}
.cultural-events .event-type-label.region {background: var(--color, #e325cc);}
/* 뱃지 → 제목(최대 2줄) 세로 배치: 가로 flex 시 2줄 제목 옆에 뱃지가 끼는 문제 방지 */
.cultural-events .event-title-row {display: flex; flex-direction: column; align-items: flex-start; gap: 6px; margin-bottom: 8px; width: 100%; min-width: 0; box-sizing: border-box;}
.cultural-events .event-title-row .event-title {width: 100%; max-width: 100%; flex: none; margin-bottom: 0; height: auto; max-height: calc(1.35em * 2 + 6px); font-size: 18px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; box-orient: vertical; white-space: normal; word-break: break-word; box-sizing: border-box;}
.cultural-events .event-info .event-type-label {position: static; padding: 6px 12px; border-radius: 20px; font-size: 0.8rem; font-weight: 400; color: #ffffff; letter-spacing: 0; display: inline-block; line-height: 1.2; max-width: 100%; box-sizing: border-box; word-break: keep-all; white-space: normal; text-align: center;}
.cultural-events .event-info {padding: 20px 0px; text-align: left; min-width: 0;}
.cultural-events .event-date {color: #666; margin-bottom: 10px;}
.cultural-events .event-title {font-size: 18px; font-weight: 600; height: 50px; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; box-orient: vertical; margin-bottom: 8px;}
.cultural-events .event-location {color: #666; margin-bottom: 15px;}
.cultural-events .event-location::before {content: "\f3c5"; font-family: "Font Awesome 6 Free"; font-weight: 900; margin-right: 5px;}
.cultural-events .event-link {color: #006596; text-decoration: none; font-size: 14px; font-weight: 500;}
/* 문화행사 빈 목록 — 카드 슬라이드와 동일한 영역 높이 유지 */
.cultural_event_slick.event-cards--empty {display: flex; align-items: center; justify-content: center; min-height: calc(24vw + 180px); margin-top: 20px; padding: 0 5%; box-sizing: border-box;}
.cultural-events .event-empty-state {display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; width: 100%; max-width: 480px; padding: 48px 24px; border: 1px dashed #d1d1d1; border-radius: 15px; background: #fafafa; box-sizing: border-box;}
.cultural-events .event-empty-icon {font-size: 48px; color: #bbb; margin-bottom: 16px; line-height: 1;}
.cultural-events .event-empty-message {margin: 0 0 20px; font-size: 18px; color: #666; font-weight: 500; line-height: 1.5; word-break: keep-all;}
.cultural-events .event-empty-action {padding: 10px 24px; font-size: 15px; font-weight: 500; color: #fff; background: var(--color3, #006596); border: none; border-radius: 24px; cursor: pointer; transition: background 0.2s ease, transform 0.2s ease;}
.cultural-events .event-empty-action:hover {background: var(--color2, #004d73); transform: translateY(-1px);}
/* 문화행사 슬라이드 네비게이션 스타일 */
.cultural_event_slick .slick-prev {left: -20px; top: 40%;}
.cultural_event_slick .slick-next {right: -30px; top: 40%;}
.cultural_event_slick .slick-prev:before {content: ''; background: url(/resources/view/phcf/images/prev_1.png) no-repeat 0 0; height: 35px; width: 35px; display: block;}
.cultural_event_slick .slick-next:before {content: ''; background: url(/resources/view/phcf/images/next_1.png) no-repeat 0 0; height: 35px; width: 35px; display: block;}
.cultural_event_slick .slick-dots {position: absolute; bottom: 0px; left: 50%; transform: translateX(-50%); z-index: 10;}
.cultural_event_slick .slick-dots li {display: inline-block; margin: 0 5px;}
.cultural_event_slick .slick-dots li button {background: #fff; border: 0; box-shadow: 0 0 4px rgb(0 0 0 / 70%);}
.cultural_event_slick .slick-dots li.slick-active button {background: #fff; box-shadow: 0 0 4px rgb(0 0 0 / 70%);}
.cultural_event_slick .slick-dots li button:hover {background: #fff; box-shadow: 0 0 4px rgb(0 0 0 / 70%);}

/* 문화소식 섹션 */
.cultural-news {padding:60px 5%; margin: auto;}
.news-tabs {display: flex; gap: 2%; flex-wrap: wrap; align-items: center; grid-column: 1; grid-row: 1;}
.news-tabs .tab {font-size: 23px; color: #242424; font-weight: 500; height: auto; margin-bottom: 0; cursor: pointer; transition: color 0.3s ease, border-color 0.3s ease; outline: none; padding: 0; border-bottom: 2px solid transparent; background: none;}
.news-tabs .tab:hover {color: var(--color2); background: none;}
.news-tabs .tab.active {color: var(--color2); font-weight: bold; background: none; border-bottom-color: var(--color2);}
.news-tabs .tab-more {cursor: pointer; font-size: 23px; font-weight: lighter; color: #666; padding: 0px 10px;}
.news-tabs .tab-more:hover {color: var(--color2);}
.news-content > .tab-more {cursor: pointer; font-size: 23px; font-weight: lighter; color: #666; padding: 0px 10px; align-self: center;}
.news-content > .tab-more:hover {color: var(--color2);}
.news-container {display: flex; justify-content:space-evenly; gap: 80px; margin: 0 auto; margin-top: 80px;}
.news-content {display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; gap: 10px; width: 50%;}
.news-content > .news-list {grid-column: 1 / -1; grid-row: 2;}
.news-content > .tab-more {grid-column: 2; grid-row: 1;}
.news-list {display: none;}
.news-list.active {display: block;}

.news-item {display: flex; align-items: center; gap: 10px; padding:15px 15px; margin: 10px 0px; border: 1px solid #d1d1d1; border-radius: 10px; transition: all 0.3s ease; cursor: pointer;}
.news-item:hover {transform: translateY(-3px); box-shadow: 1px 1px 6px rgb(0 0 0 / 29%);}
.news-item:hover .news-title {color: var(--color2); font-weight: bold;}
.news-item:hover .news-date {font-size: 16px;}
.news-category {font-weight: bold; min-width: 110px;}
.news-title {flex: 1; color: #333; text-decoration: none; height: 20px; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 1; line-clamp: 1; -webkit-box-orient: vertical; box-orient: vertical;}
.news-title:hover {color: #006596;}
.news-date {font-size: 14px; color: #666;}
.news-gallery {width:40%;}
.gallery-items {position: relative; max-height: 100%; border-radius: 30px; overflow: hidden; border: 1px solid #eee;}
.gallery-items img {width: 100%; height: 100%; max-height:370px; object-fit: fill;}
/* 웹접근성: 배너 링크 키보드 포커스 라인 (gallery-items가 overflow:hidden이라 안쪽으로 그림) */
.news-gallery .gallery-items .slick-slide:focus-visible,
.news-gallery .gallery-items .slick-slide:focus {outline: 4px solid #0066cc !important; outline-offset: -4px !important; border-radius: 30px; position: relative; z-index: 10;}
/* 문화소식 배너 슬라이드 네비게이션 */
.news-gallery .gallery-items .slick-prev,
.news-gallery .gallery-items .slick-next {
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgb(26 26 26 / 50%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 8;
    top: 50%;
    transform: translate(0, -50%);
    transition: background 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}
.news-gallery .gallery-items .slick-prev:hover,
.news-gallery .gallery-items .slick-prev:focus,
.news-gallery .gallery-items .slick-next:hover,
.news-gallery .gallery-items .slick-next:focus {
    background: rgb(26 26 26 / 70%);
    transform: translate(0, -50%) scale(1.05);
}
.news-gallery .gallery-items .slick-prev:focus-visible,
.news-gallery .gallery-items .slick-next:focus-visible {
    outline: 3px solid #0066cc;
    outline-offset: 2px;
}
.news-gallery .gallery-items .slick-prev.slick-disabled,
.news-gallery .gallery-items .slick-next.slick-disabled {
    opacity: 0.35;
    cursor: default;
    transform: translate(0, -50%);
}
.news-gallery .gallery-items .slick-prev:before,
.news-gallery .gallery-items .slick-next:before {
    display: none;
}
.news-gallery .gallery-items .slick-prev i,
.news-gallery .gallery-items .slick-next i {
    color: #fff;
    font-size: 14px;
    line-height: 1;
    pointer-events: none;
}
.news-gallery .gallery-items .slick-prev { left: 12px; }
.news-gallery .gallery-items .slick-next { right: 12px; }

/* 유관기관 섹션 */
.partner-institutions {padding: 0px 5% 60px 5%; margin: auto;}
.partner-logos {display: flex; justify-content: center; gap: 50px; margin: 0 auto;}
.partner-item {cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 15px; padding: 20px 0px; margin: 0px 10px; transition: all 0.3s ease;}
.partner-item:hover {transform: translateY(-3px);}
.partner-item img {width: 120px; height: 120px; border: 1px solid #b2b2b2; border-radius: 100%; object-fit: none; filter: grayscale(100%); transition: all 0.3s ease;}
/* 가로가 긴 로고 등 원 안에 맞추기(스케일 다운) — 해당 partner-item에만 부여 */
.partner-item.partner-item--logo-contain img {box-sizing: border-box; padding: 10px; object-fit: contain; object-position: center; background: #fff;}
.partner-item:hover img {filter: grayscale(0%); box-shadow: 1px 1px 6px rgb(0 0 0 / 29%);}
.partner-item span {font-weight: 600; text-align: center; margin-top: 10px; display: block;}
.partner-item:hover span {color: var(--color3);}
/* 웹접근성: 유관기관 로고 키보드 포커스 라인 (원형 로고 둘레에 동그라미) */
.partner-logos .partner-item:focus-visible,
.partner-logos .partner-item:focus {outline: none !important;}
.partner-logos .partner-item:focus-visible img,
.partner-logos .partner-item:focus img {outline: 3px solid #0066cc !important; outline-offset: 3px !important; border-radius: 100%;}
.partner-institutions .slick-prev {left: -50px;}
.partner-institutions .slick-next {right: -50px;}
.partner-institutions .slick-prev:before {content: ''; background: url(/resources/view/phcf/images/prev_1.png) no-repeat 0 0; height: 35px; width: 35px; display: block;}
.partner-institutions .slick-next:before {content: ''; background: url(/resources/view/phcf/images/next_1.png) no-repeat 0 0; height: 35px; width: 35px; display: block;}

/* 문화영상 섹션 */
.cultural-videos {color: #fff; background: #ffffff00 url(/resources/view/phcf/images/footer_bg.png) top center no-repeat; background-size: cover; color: white; padding:150px 20px 0px 20px; width: 100%; position: relative; z-index:9;}
.cultural-videos footer {background: none !important;}
.cultural-videos .section-header h2 {color: #fff;}
.cultural-videos .section-header p {color: #ffffff;}
.video-cards {display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; padding: 60px 0; margin: 0 auto; }
.video-card {text-align: center; overflow: hidden; margin: 10px; transition: transform 0.3s ease;}
.cultural-videos .video-card {overflow: visible;}
.video-card:hover {transform: translateY(-5px);}
/* 웹접근성: 문화영상 — 영상(thumbnail) 영역에만 키보드 포커스 표시 */
.cultural-videos .video-thumbnail {cursor: pointer;}
.cultural-videos .video-thumbnail:focus-visible,
.cultural-videos .video-thumbnail:focus {outline: none !important;}
.cultural-videos .video-thumbnail:focus-visible::after,
.cultural-videos .video-thumbnail:focus::after {content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0; border: 4px solid #ff0000; border-radius: 30px; box-shadow: 0 0 0 2px rgba(255, 0, 0, 0.6); pointer-events: none; z-index: 20;}

/* 웹접근성: 대본·자막 버튼 / YouTube 링크 — overflow:hidden에 가려지지 않도록 ::after 링 */
.cultural-videos .video-a11y-transcript-btn,
.cultural-videos .video-a11y-panel a {position: relative; z-index: 2;}
.cultural-videos .video-a11y-transcript-btn:focus,
.cultural-videos .video-a11y-transcript-btn:focus-visible,
.cultural-videos .video-a11y-panel a:focus,
.cultural-videos .video-a11y-panel a:focus-visible {outline: none !important; box-shadow: none !important;}
.cultural-videos .video-a11y-transcript-btn:focus::after,
.cultural-videos .video-a11y-transcript-btn:focus-visible::after,
.cultural-videos .video-a11y-panel a:focus::after,
.cultural-videos .video-a11y-panel a:focus-visible::after {
    content: ""; position: absolute; inset: -4px; border: 4px solid #ff0000; border-radius: 4px;
    box-shadow: 0 0 0 2px rgba(255, 0, 0, 0.5); pointer-events: none; z-index: 10;
}
.cultural-videos .video-a11y-panel a {display: inline-block;}

/* 도트/화살표는 영역 밖에 있어 바깥 아웃라인으로 표시 */
.cultural-videos .slick-dots li button:focus-visible,
.cultural-videos .slick-dots li button:focus,
.cultural-videos .slick-arrow:focus-visible,
.cultural-videos .slick-arrow:focus {outline: 4px solid #ff0000 !important; outline-offset: 2px !important; box-shadow: 0 0 0 3px rgba(255, 0, 0, 0.5) !important;}
/* 문화영상 도트: 문화소식 배너와 동일 (흰색 + 그림자) */
.cultural-videos .video-cards .slick-dots li:not(.slick-autoplay-toggle-item) button {
    background: #fff;
    border: 0;
    box-shadow: 0 0 4px rgb(0 0 0 / 70%);
    font-size: 0;
    line-height: 0;
    color: transparent;
    overflow: hidden;
}
.cultural-videos .video-cards .slick-dots li.slick-active:not(.slick-autoplay-toggle-item) button {
    background: #fff;
    box-shadow: 0 0 4px rgb(0 0 0 / 70%);
}
.video-thumbnail {position: relative; background: #000000; height: 500px; border-radius: 30px; overflow: hidden;}
.video-thumbnail img {width: 100%; height: 100%; object-fit: cover;}
.play-button {position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); background:transparent; color: #fff; width: 60px; height: 60px; border-radius: 50%; border: 3px solid #fff; display: flex; align-items: center; justify-content: center; font-size: 24px; cursor: pointer; transition: all 0.3s ease;}
.play-button:hover {background: rgba(0, 0, 0, 0.9); transform: translate(-50%, -50%) scale(1.1);}
.video-info {padding: 12px 0 0;}
.video-title {font-size: 18px; font-weight: 600; color: #fff; margin-bottom: 4px;}

.submenu_current_title{padding:0;}
/* 반응형 디자인 */
@media (max-width: 1630px) {
    .news-gallery {width:50%;}
    .news-content {width: 45%; padding-right: 48px;}
    .cultural-events .event-cards {padding-right: 45px;}
    .cultural_event_slick .slick-prev{left: 10px;}
    .cultural_event_slick .slick-next {right: 30px;}
    .partner-institutions .slick-prev {left: -20px;}
    .partner-institutions .slick-next {right: -35px;}
    .partner-institutions {padding: 0px 80px 60px 30px;}
}
@media (max-width: 1200px) {
    .news-container { flex-direction: column-reverse; margin-top: 30px;}
    .news-content {width: 90%; padding-right: 0px; margin: 0px 20px;}
    .news-gallery {width:94%;padding: 10px 20px;}
    .cultural-videos{background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 3%, #265b9c 15%), url(/resources/view/phcf/images/footer_bg.png) top center no-repeat; background-size: contain;}
}
@media (max-width: 1000px) {
    .slide-image img, .slide-image video {object-fit: fill;}
    .slide-content {padding: 10px; min-height: auto;}
    .hero-section .slide-item .slide-content .performance-title {font-size: 18px;}
    .cultural-events .event-image {height: 350px;}
    .cultural_event_slick.event-cards--empty {min-height: calc(350px + 180px);}
    .cultural-events .event-tabs-bar {
        width: 100%;
        max-width: 100%;
        padding: 0 52px 0 8px;
        box-sizing: border-box;
        justify-content: center;
        overflow: visible;
    }
    .cultural-events .event-tabs-bar .event-tabs {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        row-gap: 4px;
        column-gap: 0;
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        padding: 0;
        font-size: 0;
        box-sizing: border-box;
    }
    .event-tabs .tab {
        margin: 0 10px;
        padding: 2px 0;
        font-size: 22px;
        line-height: 1.35;
        white-space: nowrap;
    }
    .cultural-events > #eventTabMoreBtn {
        font-size: 22px;
        padding: 0 4px;
        margin-left: 0;
        min-width: 24px;
        min-height: 24px;
        line-height: 1;
    }
    .cultural-events > .slick-autoplay-toggle {
        min-width: 24px;
        min-height: 24px;
    }
    .cultural-events .event-type-label{font-size: 12px; padding: 4px 8px;}
    .cultural-events .event-info .event-type-label{font-size: 12px; padding: 4px 8px;}
    .cultural-events .event-title{font-size:15px; height: auto;}
    .cultural-events .event-title-row .event-title{font-size: 15px; max-height: calc(1.35em * 2 + 6px);}
    .cultural-events .event-date{font-size:14px; margin-bottom: 5px;}
    .cultural-events .event-location{font-size:14px;}
    .video-title{font-size:14px; margin-bottom: 30px;}
    .cultural-events .event-image img{object-fit: cover;}
    .news-content {
        grid-template-columns: 1fr auto;
        grid-template-rows: auto auto;
        gap: 8px 4px;
        box-sizing: border-box;
    }
    .news-tabs {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        row-gap: 6px;
        column-gap: 0;
        width: 100%;
        align-items: center;
    }
    .news-tabs .tab {
        font-size: 17px;
        margin: 0;
        padding: 2px 0;
        text-align: center;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        line-height: 1.35;
    }
    .news-content > .tab-more {
        grid-column: 2;
        grid-row: 1;
        align-self: end;
        font-size: 24px;
        padding: 0 4px;
        line-height: 1;
        min-width: 24px;
        min-height: 24px;
    }
}
@media (max-width: 1024px) {
    .cultural-news, .cultural-events {padding: 70px 0px 20px 0;}
    /* 슬라이드 도트 크기: 모바일 24×24px 이상, 선택 도트는 가로 pill */
    .slick-dots li:not(.slick-autoplay-toggle-item) {
        width: 24px;
        height: 24px;
        margin: 0 5px;
    }
    .slick-dots li.slick-active:not(.slick-autoplay-toggle-item) {
        width: 56px;
    }
    .slick-dots li:not(.slick-autoplay-toggle-item) button,
    .slick-dots li.slick-active:not(.slick-autoplay-toggle-item) button {
        width: 100%;
        height: 100%;
    }
    .slick-dots li.slick-active:not(.slick-autoplay-toggle-item) button {
        border-radius: 999px;
    }
    .section-header h2 {font-size: 36px; margin-bottom: 0;}
    .section-header p {font-size:16px;}
    .hero-section {margin-top: 0px; margin-bottom: 0px;}
    .hero-section .slide-item {height: min(75vw, 100vh); height: min(75vw, 100svh);}
    .hero-slider .slick-prev { left: 5px; }
    .hero-slider .slick-next { right: 10px; }
    .cultural-events .event-cards { padding: 0px 10px; }
    .partner-institutions { padding:0px 20px 20px 20px; }
    .performance-info {height: 50px;}
    .performance-title {font-size: 18px; margin-right: 0;}
    .performance-link {padding: 5px 0px;}
    .performance-link img {width:40px;}
    .news-content, .news-gallery {width: 100%; padding: 0px 20px; margin: 0px 0px;}
    .news-item { flex-direction: column; align-items: flex-start;}
    .partner-item {margin: 0;}
    .partner-item img { width: 80px; height: 80px; object-fit: contain !important;}
    .partner-item span {font-weight: 100; font-size: 13px; word-wrap: break-word;}
    .partner-institutions .slick-prev {left: -15px;}
    .partner-institutions .slick-next {right: -15px;}
    .gallery-items img {padding: 0px 0px;  max-height: 100%;}
    .news-gallery .gallery-items .slick-prev { left: 8px; }
    .news-gallery .gallery-items .slick-next { right: 8px; }
    .video-cards {grid-template-columns: 1fr; padding: 20px 0; }
    .cultural-events .event-card {margin: 0px 5px;}
    .cultural_event_slick .slick-prev:before{left: 0px;}
    .cultural_event_slick .slick-next {right: 5px;}
    .cultural-videos { padding: 100px 10px 0px 10px;}
    .video-thumbnail {height: auto; min-height: 230px; border-radius: 10px;}
    .video-thumbnail iframe { min-height: 230px;}
}
@media (max-width: 560px) {
    .logo img { width: 170px;    }
    .cultural-events .event-image {height: 30vh;}
    .cultural_event_slick.event-cards--empty {min-height: calc(30vh + 180px); padding: 0 10px;}
    .cultural-events .event-empty-state {padding: 32px 16px;}
    .cultural-events .event-empty-icon {font-size: 36px;}
    .cultural-events .event-empty-message {font-size: 15px;}
    .cultural-events .event-tabs-bar {padding: 0 48px 0 4px;}
    .event-tabs .tab {margin: 0 2px; font-size: 14px; padding: 1px 0;}
    .cultural-events > #eventTabMoreBtn {font-size: 20px;}
    .news-tabs .tab { font-size: 13px; padding: 1px 0; }
    .news-tabs { row-gap: 4px; }
    .news-content > .tab-more { font-size: 20px; padding: 0 2px; }
    .cultural_event_slick .slick-prev,
    .cultural_event_slick .slick-next {
        display: none !important;
    }
    .hero-slider .slick-prev,
    .hero-slider .slick-next {
        display: none !important;
    }
    .hero-slider .slick-dots {
        display: none !important;
    }
    .partner-institutions .slick-prev,
    .partner-institutions .slick-next {
        display: none !important;
    }
    .cultural_event_slick .slick-prev{left: 20px;}
    .slick-dots li:not(.slick-autoplay-toggle-item) {
        margin: 0 3px;
    }
}

/* 메인 페이지 dialog 팝업 */
.ui-widget-overlay {
    display: block !important;
    background: rgba(0, 0, 0, 0.5) !important;
    cursor: pointer !important;
}
.main_popup.ui-widget.ui-widget-content {box-shadow: 0 0 10px rgb(209 209 209 / 30%); padding: 10px; border-radius: 15px;}
.main_popup .ui-dialog-content label.input[type=checkbox] {background: #eeeeee;}
.main_popup .ui-widget-header { border: 0px solid #ddd !important; background: #ffffff !important; border-bottom: 1px solid #eeeeee !important;}
.main_popup .ui-widget-header .ui-button {border: 0px solid #c5c5c5 !important;}
.main_popup .ui-dialog-titlebar-close {background: #fff url(/resources/view/phcf/images/btn-close-search.png) no-repeat !important; top: 20px !important; right: 0px !important;}
.main_popup .ui-dialog-titlebar-close .ui-button-icon, .ui-dialog .ui-dialog-titlebar-close .ui-button-icon {background-image: none !important;}
.main_popup .ui-dialog-buttonpane button { background: #4689d3 !important; font-size: 0.9em !important;}
.main_popup .ui-dialog-buttonpane button:hover { background: #666666 !important; font-size: 0.9em !important;}
.main_popup .ui-dialog-content img {width: auto; max-width: 100%;}
.main_popup .ui-widget-content {height: auto !important;}
.main_popup .popup-checkbox-container { text-align: right;font-size: 14px;}
.main_popup .popup-checkbox-container input[type=checkbox] {margin-right: 5px;}
.main_popup table { width: 100% !important; border: 1px solid #9c9c9c !important; border-collapse: collapse; }
.main_popup table th, .main_popup table td {vertical-align: middle; }
.main_popup table th { text-align: center; background: #fafafa; color: #666666;}
.main_popup table td { text-align: left; padding: 5px 10px;}

/* 모바일 대응 */
@media only screen and (max-width: 1024px) {
    .ui-widget.ui-widget-content {top: 120px !important; left: 0px !important; margin: 10px;}
}


#cultural_event_slick .slick-track {
    margin-left: 0 !important;
    margin-right: auto !important;
  }
#cultural_event_slick .slick-slide { min-width: 0; }


.color_change .event-tabs .tab:hover {color: var(--color2); background: none;}
.color_change .event-tabs .tab.active {color: var(--color2); background: none; border-bottom-color: #e325cc;}
.color_change .news-tabs .tab:hover {color: var(--color2); background: none;}
.color_change .news-tabs .tab.active {color: var(--color2); background: none; border-bottom-color: #e325cc;}


